/* ============================================================
   Instituto Cavazzana — style.css
   Versão 2.0 Premium | 2026
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Sora:wght@600;700&display=swap');

/* ── Variáveis ────────────────────────────────────────────── */
:root {
  --navy:        #142F52;
  --azul:        #2D7FC1;
  --azul-claro:  #3A9BD5;
  --azul-soft:   #EAF3FB;
  --verde:       #7FAD3A;
  --verde-claro: #A8C84B;
  --amarelo:     #F2B824;
  --vermelho:    #E04B3A;
  --ink:         #1E2933;
  --grafite:     #1E2933;
  --cinza:       #5C6670;
  --fundo:       #F7FAFC;
  --branco:      #FFFFFF;
  --linha:       #E6EDF3;
  --ease-premium: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  line-height: 1.75;
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: var(--azul);
  transition: color 0.3s ease;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: 'Montserrat', sans-serif;
}

h1,
h2 {
  font-family: 'Sora', 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
}

/* ── Polimento global ─────────────────────────────────────── */
::selection {
  background: var(--amarelo);
  color: var(--navy);
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--fundo);
}

::-webkit-scrollbar-thumb {
  background: rgba(20, 47, 82, 0.35);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(20, 47, 82, 0.55);
}

:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BRANDBAR
   ============================================================ */
.brandbar {
  display: flex;
  height: 4px;
  width: 100%;
}

.brandbar div {
  flex: 1;
}

.brandbar .bar-1 { background: var(--azul-claro); }
.brandbar .bar-2 { background: var(--verde-claro); }
.brandbar .bar-3 { background: var(--amarelo); }
.brandbar .bar-4 { background: var(--vermelho); }

/* ============================================================
   NAVEGAÇÃO FIXA
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--branco);
  transition: background 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}

.navbar .brandbar {
  position: absolute;
  top: 0;
  left: 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(20, 47, 82, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--azul);
}

.nav-links a.active {
  color: var(--azul);
  font-weight: 600;
}

/* Underline animado nos links de topo */
.nav-links > li > a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--azul);
  border-radius: 2px;
  transition: width 0.3s var(--ease-premium);
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  width: 100%;
}

/* ── Dropdown de Especialidades ───────────────────────────── */
.dropdown {
  position: relative;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--branco);
  border-radius: 14px;
  border: 1px solid var(--linha);
  box-shadow: 0 16px 48px rgba(20, 47, 82, 0.12);
  padding: 8px 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-premium), visibility 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--azul-soft);
  color: var(--azul);
}

/* ── Menu Mobile (hamburger) ──────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile overlay ───────────────────────────────────────── */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--branco);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: -4px 0 24px rgba(20, 47, 82, 0.12);
    transition: right 0.3s var(--ease-premium);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: auto;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 8px 16px;
    font-size: 13px;
    color: var(--cinza);
  }
}

/* ============================================================
   HERO — PÁGINA PRINCIPAL
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 47, 82, 0.92) 0%, rgba(20, 47, 82, 0.55) 55%, rgba(45, 127, 193, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--branco);
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--branco);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  animation: heroFadeUp 0.7s var(--ease-premium) both;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
  animation: heroFadeUp 0.7s var(--ease-premium) 0.15s both;
}

.hero p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 32px;
  animation: heroFadeUp 0.7s var(--ease-premium) 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.7s var(--ease-premium) 0.45s both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Indicador de scroll */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  animation: scrollBob 2.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scrollBob {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 0.75;
  }
  50% {
    transform: translate(-50%, 10px);
    opacity: 0.35;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 75vh;
  }

  .hero p {
    font-size: 16px;
  }
}

/* ── Hero Interno (páginas secundárias) ───────────────────── */
.hero-inner {
  position: relative;
  background:
    radial-gradient(900px 320px at 85% -80px, rgba(45, 127, 193, 0.28), transparent 65%),
    var(--navy);
  padding: 108px 0 52px;
  text-align: center;
}

.hero-inner h1 {
  color: var(--branco);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
}

.hero-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-top: 8px;
}

.hero-inner .breadcrumb {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-inner .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}

.hero-inner .breadcrumb a:hover {
  color: var(--amarelo);
}

.hero-inner .tag {
  display: inline-block;
  background: var(--amarelo);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s var(--ease-premium);
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--azul), #3A9BD5);
  color: var(--branco);
  box-shadow: 0 8px 24px rgba(45, 127, 193, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45, 127, 193, 0.45);
  color: var(--branco);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--branco);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--branco);
  color: var(--branco);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--branco);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.30);
}

.btn-whatsapp:hover {
  background: #1DA855;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.38);
  color: var(--branco);
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.98);
}

.btn-outline {
  background: transparent;
  color: var(--azul);
  border: 2px solid var(--azul);
}

.btn-outline:hover {
  background: var(--azul);
  color: var(--branco);
}

/* ============================================================
   SEÇÕES
   ============================================================ */
.section {
  padding: 96px 0;
}

.section-light {
  background: var(--fundo);
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}

.section-navy {
  background: var(--navy);
  color: var(--branco);
}

.section-blue {
  background: var(--azul);
  color: var(--branco);
}

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: var(--cinza);
  margin-bottom: 48px;
  max-width: 600px;
  line-height: 1.6;
}

.section-title.white {
  color: var(--branco);
}

.section-subtitle.white {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

/* ============================================================
   CARDS DE ESPECIALIDADES
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--branco);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--linha);
  box-shadow: 0 1px 3px rgba(20, 47, 82, 0.03);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), border-color 0.35s var(--ease-premium);
  text-align: center;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(20, 47, 82, 0.10);
  border-color: rgba(45, 127, 193, 0.35);
}

.card-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--branco);
  overflow: hidden;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--cinza);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   GALERIA DE ESPAÇOS
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-premium);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item .gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  background: linear-gradient(transparent, rgba(10, 24, 44, 0.62));
  color: var(--branco);
  font-weight: 600;
  font-size: 15px;
  transform: translateY(4px);
  transition: transform 0.35s var(--ease-premium);
}

.gallery-item:hover .gallery-label {
  transform: translateY(-4px);
}

/* ============================================================
   PASSOS — COMO FUNCIONA
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  position: relative;
  text-align: center;
}

.step-number {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--branco);
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(20, 47, 82, 0.06);
}

/* Linha pontilhada conectando os passos (desktop) */
@media (min-width: 769px) {
  .step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(-50% - 4px);
    width: calc(100% - 32px);
    border-top: 2px dashed var(--linha);
  }
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--cinza);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   CHECKLIST — DIFERENCIAIS
   ============================================================ */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.checklist li i {
  color: var(--verde);
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================================
   FAQ / ACCORDION — cards individuais
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: border-color 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
}

.faq-item.active {
  border-color: rgba(45, 127, 193, 0.35);
  box-shadow: 0 8px 24px rgba(20, 47, 82, 0.06);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  gap: 16px;
}

.faq-question i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--azul-soft);
  color: var(--azul);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-premium);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-premium);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--cinza);
  line-height: 1.65;
}

/* ============================================================
   BLOCO MISSÃO (fundo navy)
   ============================================================ */
.mission-block {
  text-align: center;
  padding: 80px 32px;
}

.mission-block .quote {
  font-size: 28px;
  font-weight: 300;
  color: var(--branco);
  line-height: 1.45;
  max-width: 700px;
  margin: 0 auto 24px;
}

.mission-block .quote::before {
  content: open-quote;
  font-size: 60px;
  color: var(--amarelo);
  display: block;
  margin-bottom: -12px;
  font-family: Georgia, serif;
  line-height: 1;
}

.mission-block .author {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 65ch;
  margin: 0 auto;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 72px 32px;
}

.cta-section h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s var(--ease-premium);
  text-decoration: none;
}

/* Anel de pulso */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  z-index: -1;
  animation: whatsPulse 3s ease-out infinite;
}

@keyframes whatsPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  45% {
    transform: scale(1.65);
    opacity: 0;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--branco);
}

.whatsapp-float::after {
  content: "Fale conosco";
  position: absolute;
  right: 68px;
  background: var(--navy);
  color: var(--branco);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  font-family: 'Montserrat', sans-serif;
}

.whatsapp-float:hover::after {
  opacity: 1;
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer {
  background:
    radial-gradient(1100px 380px at 50% -180px, rgba(45, 127, 193, 0.16), transparent 62%),
    var(--navy);
  color: var(--branco);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

/* Endereço clicável no rodapé */
.endereco-link,
.footer a.endereco-link {
  color: inherit;
  display: inline;
  margin-bottom: 0;
  font-size: inherit;
}

.endereco-link:hover,
.footer a.endereco-link:hover {
  color: inherit;
  text-decoration: underline;
}

.footer h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--branco);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--amarelo);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.footer .social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer .social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-size: 16px;
  margin-bottom: 0;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-premium);
}

.footer .social-links a:hover {
  background: var(--amarelo);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   DUAS COLUNAS
   ============================================================ */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-cols img {
  border-radius: 20px;
  width: 100%;
  box-shadow: 0 12px 36px rgba(20, 47, 82, 0.10);
}

.two-cols p {
  max-width: 65ch;
}

@media (max-width: 768px) {
  .two-cols {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MISSÃO / VISÃO / VALORES
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 20px;
  text-align: center;
  padding: 32px 24px;
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(20, 47, 82, 0.10);
}

.value-card i {
  font-size: 36px;
  color: var(--azul);
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--cinza);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ANIMAÇÃO FADE-IN
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MAPA EMBED
   ============================================================ */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 12px 36px rgba(20, 47, 82, 0.10);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   TRABALHE CONOSCO
   ============================================================ */
.trabalhe-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 0;
}

.trabalhe-content p {
  font-size: 17px;
  color: var(--cinza);
  line-height: 1.75;
  margin-bottom: 32px;
}

.trabalhe-content .hint {
  font-size: 14px;
  color: var(--cinza);
  margin-top: 20px;
}

/* ============================================================
   PÁGINA DE CONTATO
   ============================================================ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--branco);
  flex-shrink: 0;
}

.contact-item span {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}

/* ============================================================
   POLÍTICA DE PRIVACIDADE
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0;
}

.legal-content h2 {
  font-size: 22px;
  color: var(--navy);
  margin: 32px 0 12px;
  font-weight: 700;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--cinza);
  margin-bottom: 16px;
  max-width: 65ch;
}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-48 {
  margin-top: 48px;
}

/* ============================================================
   DEPOIMENTOS DE FAMÍLIAS
   ============================================================ */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.depoimento-card {
  background: var(--branco);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--linha);
  box-shadow: 0 1px 3px rgba(20, 47, 82, 0.03);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}

.depoimento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(20, 47, 82, 0.10);
}

.depoimento-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--navy);
  overflow: hidden;
}

.depoimento-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.video-placeholder i {
  font-size: 48px;
}

.video-placeholder span {
  font-size: 14px;
  font-weight: 500;
}

.depoimento-info {
  position: relative;
  padding: 20px;
  text-align: center;
  overflow: hidden;
}

/* Aspas decorativas atrás do nome */
.depoimento-info::before {
  content: '\201C';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 68px;
  line-height: 1;
  color: var(--azul-soft);
  pointer-events: none;
}

.depoimento-nome {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .depoimentos-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
  }
}

/* ── Thumbnail clicável ───────────────────────────────────── */
.video-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-premium);
}

.video-thumb:hover img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 24, 44, 0.30);
  transition: background 0.3s ease;
}

.play-overlay i {
  font-size: 56px;
  color: var(--branco);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s var(--ease-premium);
}

.video-thumb:hover .play-overlay {
  background: rgba(10, 24, 44, 0.15);
}

.video-thumb:hover .play-overlay i {
  transform: scale(1.15);
}

/* ── Modal de vídeo ───────────────────────────────────────── */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90vw;
  max-width: 400px;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--branco);
  font-size: 32px;
  cursor: pointer;
  padding: 4px 12px;
  z-index: 10001;
  font-family: 'Montserrat', sans-serif;
}

.video-modal-close:hover {
  color: var(--amarelo);
}

.video-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-modal-player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  background: #000;
}

/* ── Lista de valores dentro do card (sobre.html) ────────── */
.valores-lista {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 8px;
  margin-top: 12px;
  margin-left: -8px;
  margin-right: -8px;
  text-align: center;
}

.valores-lista span {
  font-size: 12px;
  color: var(--cinza);
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .valores-lista {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 0;
    margin-right: 0;
  }

  .valores-lista span {
    white-space: normal;
  }
}

/* ============================================================
   ACESSIBILIDADE — prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
