/* ==============================
   VARIÁVEIS GLOBAIS DA MARCA
   ============================== */
:root {
  /* Paleta fornecida para a identidade visual da psicóloga. */
  --yellow-soft: #FFFAE5;
  --yellow: #FCEA96;
  --blue-soft: #D1E3EB;
  --green: #B4BE64;
  --green-ink:#B4BE64;
  --blue: #97B7E5;
  --navy: #092435;
  --white: #FFFFFF;

  /* Fontes usadas nos títulos e textos corridos. */
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;

  /* Curva de animação rápida e suave. */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

/* Reset básico para evitar diferenças entre navegadores. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--yellow-soft); color: var(--navy); font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Container centralizado que controla a largura do conteúdo. */
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* ==============================
   TRANSIÇÃO EM DEGRADÊ ENTRE SEÇÕES
   Como o site é uma página única (sem rotas separadas), a "transição entre
   páginas" acontece de duas formas: uma cortina suave ao carregar o site, e
   um leve flash a cada clique num link do menu — dando a sensação de uma
   passagem elegante, sem cortes bruscos.
   ============================== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: linear-gradient(135deg, var(--blue-soft), var(--yellow-soft) 55%, var(--yellow));
  opacity: 1;
  transition: opacity .6s var(--ease-out);
}
.page-transition.is-hidden { opacity: 0; }
.page-transition.is-flash { transition: opacity .28s var(--ease-out); }
.page-transition.is-flash.is-flash-visible { opacity: .55; }

/* ==============================
   CABEÇALHO E NAVEGAÇÃO (MENU FLUTUANTE)
   ============================== */
.site-header {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 50;
  border-radius: 24px;
  background: rgba(255,250,229,.88);
  border: 1px solid rgba(9,36,53,.08);
  box-shadow: 0 10px 30px rgba(9,36,53,.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s ease;
}
.header-inner { height: 88px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 2vw, 32px); padding: 0 8px; }
.header-inner .main-nav { justify-content: center; min-width: 0; }
@media (min-width: 761px) and (max-width: 1080px) { .logo { font-size: 21px; } .main-nav { font-size: 12px; } .header-button { padding: 12px 14px; } }
.logo { font-family: var(--font-display); font-size: 26px; letter-spacing: -.05em; transition: opacity .2s ease; }
.logo:hover { opacity: .78; }
.logo span { color: var(--green-ink); }

/* Os links do menu ficam discretos e aparecem juntos, sincronizados, quando
   o mouse passa sobre a barra flutuante. */
.main-nav { display: flex; gap: clamp(12px, 1.7vw, 30px); color: rgba(9,36,53,.7); font-size: 14px; white-space: nowrap; }
.main-nav a {
  position: relative;
  padding-bottom: 3px;
  transition: color .2s ease;
}
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--green); transition: right .25s var(--ease-out); }
.main-nav a:hover { color: var(--green); }
.main-nav a:hover::after { right: 0; }

/* Botão "Agendar conversa" do cabeçalho: enquanto o mouse permanecer em cima,
   ele fica verde (sem reverter sozinho) — só volta ao normal quando o mouse sai. */
.header-button {
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), #0d3049);
  color: var(--yellow-soft);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(9,36,53,.22);
  white-space: nowrap;
  transition: transform .2s var(--ease-out), box-shadow .2s ease, background .3s ease;
}
.header-button:hover {
  background: #25D366;
  box-shadow: 0 10px 24px rgba(37,211,102,.38);
  transform: translateY(-2px);
}
.menu-button { display: none; border: 0; background: transparent; color: var(--navy); font-size: 26px; cursor: pointer; }
.mobile-menu { display: none; }

/* ==============================
   HERO COM ESPAÇO PARA A FOTO
   A foto e o texto encolhem de forma fluida (clamp/vw) conforme a janela
   estreita, para que as letras nunca cheguem a encostar na foto antes de
   chegar no layout mobile.
   ============================== */
.hero { position: relative; min-height: 760px; padding: 150px 0 90px; overflow: hidden; background: var(--blue-soft); }
.hero-content { position: relative; z-index: 1; max-width: min(560px, 46vw); }
.hero-visual { position: absolute; top: 150px; right: 4.5%; bottom: 110px; z-index: 1; display: block; width: clamp(200px, 34vw, 540px); pointer-events: none; }
.hero-svg { display: block; width: 100%; height: 100%; min-height: 0; overflow: hidden; border-radius: 34px; box-shadow: 0 22px 48px rgba(9,36,53,.16); }
.hero-photo-wrap { position: relative; }
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); transform-origin: center; will-change: transform; }
.hero-mobile-visual { display: none; }
.hero-sign { position: absolute; right: 24px; bottom: 22px; display: grid; gap: 3px; padding: 13px 18px; border: 1px solid rgba(9,36,53,.1); border-radius: 18px; background: rgba(255,250,229,.94); color: var(--navy); box-shadow: 0 10px 22px rgba(9,36,53,.15); }
.hero-sign span { color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-sign strong { font-family: var(--font-display); font-size: 23px; font-weight: 400; }
.eyebrow { display: inline-flex; padding: 9px 15px; border: 1px solid rgba(9,36,53,.14); border-radius: 999px; background: rgba(255,250,229,.72); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h1 { max-width: 100%; margin: 34px 0 0; font-size: clamp(46px, 6.4vw, 104px); line-height: .9; letter-spacing: -.07em; overflow-wrap: break-word; }
em { color: var(--green-ink); }
.hero-description { max-width: 100%; margin: 34px 0 0; color: rgba(9,36,53,.68); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; margin-top: 34px; }
.primary-button { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: var(--green); color: var(--navy); font-size: 14px; font-weight: 700; box-shadow: 0 12px 24px rgba(180,190,100,.3); transition: transform .2s var(--ease-out), background .2s ease, box-shadow .2s ease; }
.primary-button:hover { transform: translateY(-3px); background: #99A747; box-shadow: 0 16px 30px rgba(180,190,100,.4); }
.whatsapp-type { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 11px 15px; border-radius: 999px; background: rgba(255,250,229,.84); color: var(--green); font-size: 14px; font-weight: 700; box-shadow: 0 4px 15px rgba(9,36,53,.08); transition: transform .2s var(--ease-out), box-shadow .2s ease; }
.whatsapp-type:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(9,36,53,.14); }
.type-cursor { width: 1px; height: 17px; background: currentColor; animation: blink .8s steps(2, start) infinite; }
.secondary-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 18px; border-bottom: 1px solid rgba(9,36,53,.25); padding-bottom: 7px; font-size: 14px; font-weight: 700; transition: color .2s ease; }
.secondary-link:hover { color: var(--green); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 54px; color: var(--navy); font-size: 12px; }

/* ==============================
   VÍDEO E APRESENTAÇÃO
   ============================== */
.section-video { --section-from: var(--blue-soft); background: var(--yellow-soft); }
.video-heading { max-width: 520px; margin-bottom: 38px; }
.video-heading h2 { margin: 0; font-size: clamp(54px, 7vw, 84px); line-height: .95; letter-spacing: -.06em; }
.about-copy { max-width: 650px; }
/* Foto apenas no desktop: meia-lua à direita; texto conserva o fundo original. */
@media (min-width: 761px) {
  .section-video { overflow: hidden; }
  .section-video::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 49%;
    border-radius: 55% 0 0 55% / 50% 0 0 50%;
    background: url("larissa-meia-lua.jpg") 68% center / cover no-repeat;
    pointer-events: none;
    /* Fade suave no comeco e no fim da imagem */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 95%, rgba(0, 0, 0, 0.45) 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 95%, rgba(0, 0, 0, 0.45) 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
  .section-video .container { position: relative; z-index: 1; }
  .section-video .video-heading,
  .section-video .about-copy { max-width: min(47%, 520px); }
}

.professional-note { margin-top: 30px; color: var(--navy); }
.professional-note strong { font-family: var(--font-display); font-size: 25px; font-weight: 400; }

/* ==============================
   SEÇÕES INTERNAS E TÍTULOS EM DESTAQUE
   ============================== */
.section { position: relative; padding: 120px 0; }
.section::before { content: ""; position: absolute; inset: -1px 0 auto; height: 32px; pointer-events: none; background: linear-gradient(to bottom, var(--section-from), var(--section-to)); }
.section-video { --section-to: var(--yellow-soft); }
.section-blue { --section-from: var(--yellow-soft); --section-to: var(--blue-soft); background: var(--blue-soft); }
.section-yellow { --section-from: var(--yellow-soft); --section-to: var(--yellow); background: var(--yellow); }
.section-dark { --section-from: var(--yellow); --section-to: var(--navy); background: var(--navy); color: var(--yellow-soft); }
.section-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }

/* Rótulos maiores, com mais peso e um traço de destaque — usados em "Conheça
   meu trabalho", "Abordagem e atendimentos", "Experiências", "Antes de
   começar" e "Um primeiro passo". */
.section-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding-left: 16px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-dark em { color: var(--green); }
.section-label::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--green); transform: translateY(-50%); }
.section h2 { max-width: 520px; margin: 0; font-size: clamp(54px, 7vw, 84px); line-height: .95; letter-spacing: -.06em; }
.section-copy { max-width: 650px; color: var(--navy); font-size: 18px; line-height: 1.8; }
.section-dark .section-copy { color: rgba(255,250,229,.68); }
.section-dark .section-label { color: var(--yellow-soft); }
.closing-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(40px, 7vw, 100px); align-items: center; }
.closing-heading { grid-column: 1; grid-row: 1; align-self: end; }
.closing-copy { grid-column: 1; grid-row: 2; align-self: start; }
.closing-photo { grid-column: 2; grid-row: 1 / 3; }
.closing-photo { margin: 0; height: min(560px, 48vw); overflow: hidden; border-radius: 28px; }
.closing-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 35px; }
.stat { padding: 22px; border-radius: 22px; background: rgba(255,255,255,.52); transition: transform .25s var(--ease-out), box-shadow .25s ease; }
.stat:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(9,36,53,.1); }
.stat strong { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 400; }
.stat small { color: rgba(9,36,53,.58); }

/* ==============================
   CARDS — "ABORDAGEM E ATENDIMENTOS"
   Fileira horizontal em todos os tamanhos de tela: role sozinha, bem devagar,
   e inverte de sentido ao chegar no fim (vai e volta). Também dá pra passar
   o dedo (mobile) ou usar as setas a qualquer momento — a rolagem automática
   pausa e volta sozinha alguns segundos depois.
   ============================== */
.cards {
  display: flex;
  padding: 24px 18px 28px;
  margin: -18px -18px -12px;
  gap: 16px;
  overflow-x: auto;
  /* A rolagem programática contínua não pode ser travada pelo encaixe dos cards. */
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.cards::-webkit-scrollbar { display: none; }
.approach-layout { display: block; }
.approach-layout > [data-reveal] { margin-bottom: 42px; }
.approach-layout h2 { max-width: 900px; }
.approach-layout .section-copy { max-width: none; width: 100%; }
.cards .card { flex: 0 0 calc(50% - 8px); min-height: 390px; }
.card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 25px;
  border-radius: 28px;
  background: rgba(255,250,229,.82);
  box-shadow: 0 8px 20px rgba(9,36,53,.06);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--blue), var(--green), var(--yellow), var(--blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
}
.card:hover { transform: translateY(-5px) scale(1.015); box-shadow: 0 26px 50px rgba(9,36,53,.18); z-index: 5; }
.card:hover::after { opacity: 1; }
.card.accent { background: var(--green); color: var(--navy); }
.card.accent:hover { box-shadow: 0 26px 50px rgba(180,190,100,.4); }
.card-number { font-family: var(--font-display); font-size: 52px; }
.card h3 { margin: 18px 0 10px; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.08; overflow-wrap: anywhere; }
.card p { margin: 0; color: var(--navy); line-height: 1.65; }
.card.accent p { color: var(--navy); }
.online-card { background: rgba(255,250,229,.72); }
.intro-card { background: rgba(255,255,255,.6); }
.intro-card p { color: var(--navy); }
.card-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 16px; font-size: 13px; }
.card-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.card-controls button:hover:not(:disabled) { background: var(--navy); color: var(--yellow-soft); transform: translateY(-2px); }
.card-controls button:disabled { opacity: .35; cursor: default; }

/* FAQ com respostas controladas pelo React. */
.faq-list { border-top: 1px solid rgba(9,36,53,.18); }
.faq-item { border-bottom: 1px solid rgba(9,36,53,.18); }
.faq-question { width: 100%; display: flex; justify-content: space-between; padding: 22px 0; border: 0; background: transparent; color: inherit; text-align: left; font-weight: 700; cursor: pointer; transition: color .2s ease; }
.faq-question:hover { color: var(--green); }
.faq-question span { transition: transform .2s var(--ease-out); }
.faq-question:hover span { transform: scale(1.15); }
.faq-answer { margin: -4px 0 22px; color: rgba(9,36,53,.65); line-height: 1.7; animation: faq-in .3s var(--ease-out) both; }

/* Botão flutuante que permanece acessível durante a rolagem. */
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 20; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: white; box-shadow: 0 12px 28px rgba(37,211,102,.34); transition: transform .2s var(--ease-out); animation: whats-pulse 10s ease-in-out infinite; }
.floating-whatsapp:hover { animation: whats-hover-pulse 1.6s ease-in-out infinite; }
@keyframes whats-hover-pulse {
  0%, 100% { transform: translateY(-4px) scale(1.16); box-shadow: 0 12px 28px rgba(37,211,102,.34), 0 0 0 4px rgba(37,211,102,.12); }
  50% { transform: translateY(-4px) scale(1.25); box-shadow: 0 12px 28px rgba(37,211,102,.34), 0 0 0 12px rgba(37,211,102,.2); }
}
@keyframes whats-pulse {
  0%, 90% { transform: scale(1); box-shadow: 0 12px 28px rgba(37,211,102,.34); }
  93% { transform: scale(1.16); box-shadow: 0 12px 28px rgba(37,211,102,.34), 0 0 0 12px rgba(37,211,102,.22); }
  96% { transform: scale(.95); box-shadow: 0 12px 28px rgba(37,211,102,.34), 0 0 0 4px rgba(37,211,102,.1); }
  100% { transform: scale(1); box-shadow: 0 12px 28px rgba(37,211,102,.34); }
}

/* ==============================
   RODAPÉ E ANIMAÇÕES
   ============================== */
.site-footer { padding: 32px 0; background: var(--navy); color: rgba(255,250,229,.62); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.instagram-link { display: inline-flex; align-items: center; gap: 9px; color: var(--yellow-soft); transition: color .2s ease, transform .2s var(--ease-out); }
.instagram-link:hover { color: var(--green); transform: translateY(-2px); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Entrada suave de cada item do menu mobile, em cascata. */
@keyframes menu-drop { from { opacity: 0; transform: translateY(-10px) scaleY(.97); } to { opacity: 1; transform: translateY(0) scaleY(1); } }
@keyframes menu-item-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Botão "Agendar conversa" do menu mobile: pisca, fica verde e volta ao
   normal — igual ao comportamento do ícone do WhatsApp. Roda de novo a cada
   clique (o React remonta o elemento e a animação reinicia). */
@keyframes cta-attention {
  0%, 100% { background: var(--navy); box-shadow: none; }
  8%, 24%, 40% { background: var(--navy); }
  16%, 32% { background: rgba(9,36,53,.35); }
  55% { background: #25D366; box-shadow: 0 0 0 8px rgba(37,211,102,.22); }
  85% { background: #25D366; box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ==============================
   RESPONSIVIDADE
   ============================== */
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 560px); }
  .site-header { top: 10px; left: 10px; right: 10px; border-radius: 20px; }
  .header-inner { height: 74px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 0 12px; }
  .header-inner .logo { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(20px, 6vw, 26px); }
  .main-nav, .header-button { display: none; }
  .menu-button { display: block; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 0; line-height: 1; }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    padding: 20px 16px 26px;
    overflow: hidden;
    background: var(--yellow-soft);
    border-top: 1px solid rgba(9,36,53,.12);
    border-radius: 0 0 20px 20px;
    animation: menu-drop .5s var(--ease-out) both;
  }
  .mobile-menu a { display: block; max-width: 100%; padding: 10px 0; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; opacity: 0; animation: menu-item-in .45s var(--ease-out) both; }
  .mobile-menu a:nth-child(1) { animation-delay: .06s; }
  .mobile-menu a:nth-child(2) { animation-delay: .14s; }
  .mobile-menu a:nth-child(3) { animation-delay: .22s; }
  .mobile-menu a:nth-child(4) { animation-delay: .30s; }
  .mobile-menu .mobile-cta {
    margin-top: 10px;
    padding: 14px;
    width: 100%;
    border-radius: 999px;
    background: var(--navy);
    color: var(--yellow-soft);
    text-align: center;
    font-weight: 700;
    animation: menu-item-in .45s var(--ease-out) both .38s, cta-attention 1.8s ease-in-out .85s 1 both;
  }
  .hero { min-height: 0; padding: 130px 0 70px; }
  .hero-visual { display: none; }
  .hero-mobile-visual { position: relative; display: block; width: 100%; height: 430px; margin-top: 28px; pointer-events: none; }
  .hero-mobile-visual .hero-svg { height: 100%; border-radius: 26px; }
  .hero-mobile-visual .hero-photo { border-radius: 19px; transform: scale(1.02); }
  .hero-mobile-visual .hero-sign { right: 16px; bottom: 16px; padding: 11px 14px; border-radius: 15px; }
  .hero-mobile-visual .hero-sign strong { font-size: 20px; }
  .hero-content { max-width: 100%; }
  h1 { font-size: clamp(46px, 13vw, 78px); overflow-wrap: anywhere; }
  .section h2, .video-heading h2 { font-size: clamp(42px, 11vw, 68px); overflow-wrap: anywhere; }
  .section-copy, .section-grid, .feedback-layout { min-width: 0; }
  .hero-description { font-size: 16px; }
  .section { padding: 85px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 35px; }
  .approach-layout > [data-reveal] { margin-bottom: 35px; }
  .closing-layout { grid-template-columns: 1fr; gap: 24px; }
  .closing-heading, .closing-photo, .closing-copy { grid-column: 1; grid-row: auto; }
  .closing-photo { width: 100%; height: min(110vw, 520px); }
  .stats { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* No mobile, cada card ocupa a maior parte da tela, um de cada vez. */
  .cards { gap: 14px; margin: -10px -12px -8px; padding: 16px 12px 20px; }
  .cards .card { flex: 0 0 min(82%, 310px); min-height: 390px; }

  .card h3 { font-size: 25px; }
  .card:hover { transform: none; box-shadow: 0 8px 20px rgba(9,36,53,.06); }
  .card:active { transform: scale(.98); }
}

/* Usuários que preferem menos movimento não recebem animações decorativas.
   As animações de entrada/rolagem via GSAP já são desligadas em JS (gsap.matchMedia),
   esta regra cobre as transições e keyframes puramente em CSS. A rolagem
   automática dos cards também é desligada em JS para quem ativa esta preferência. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .main-nav a { opacity: 1; transform: none; }
}

/* ==============================
   CARROSSEL DE FEEDBACKS
   Entrada com leve rotação 3D a cada troca, para transmitir a sensação de
   um carrossel realmente girando (não apenas "aparecendo").
   ============================== */
.feedback-section { --section-from: var(--blue-soft); --section-to: var(--yellow-soft); background: var(--yellow-soft); }
.feedback-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.feedback-carousel { max-width: 650px; perspective: 1400px; }
.feedback-card {
  position: relative;
  min-height: 245px;
  padding: 42px 46px 34px;
  border-radius: 30px;
  background: var(--navy);
  color: var(--yellow-soft);
  box-shadow: 0 20px 45px rgba(9,36,53,.14);
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
  transform-style: preserve-3d;
  touch-action: pan-y;
  animation: carousel-spin-in .65s var(--ease-out) both;
}
.feedback-card:hover { transform: translateY(-4px); box-shadow: 0 26px 52px rgba(9,36,53,.2); }
@keyframes carousel-spin-in {
  0%   { opacity: 0; transform: rotateY(30deg) translateX(6%) scale(.94); }
  100% { opacity: 1; transform: rotateY(0deg) translateX(0) scale(1); }
}
.feedback-quote { position: absolute; top: 12px; left: 28px; color: var(--green); font-family: var(--font-display); font-size: 78px; line-height: 1; }
.feedback-card p { margin: 20px 0 28px; font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.12; }
.feedback-card strong, .feedback-card small { display: block; }
.feedback-card strong { color: white; font-size: 14px; }
.feedback-card small { margin-top: 5px; color: rgba(255,250,229,.6); font-size: 12px; }
.feedback-controls { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 16px; color: rgba(9,36,53,.62); font-size: 12px; }
.feedback-controls button { width: 44px; height: 44px; border: 1px solid rgba(9,36,53,.18); border-radius: 50%; background: transparent; color: var(--navy); font-size: 18px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.feedback-controls button:hover { background: var(--navy); color: var(--yellow-soft); transform: translateY(-2px); }
@media (max-width: 760px) {
  .hero-mobile-visual { height: 300px; margin: 28px 0 30px; }

  .feedback-layout { grid-template-columns: 1fr; gap: 35px; }
  .feedback-card { min-height: 215px; padding: 38px 26px 28px; border-radius: 24px; }
  .feedback-card p { font-size: 25px; }
}

/* ==============================
   ACESSIBILIDADE — FOCO VISÍVEL
   ============================== */
a:focus-visible, button:focus-visible, .cards:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Acesso por teclado e leitura sem movimento forçado. */
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 250; transform: translateY(-160%); padding: 12px 18px; background: var(--navy); color: var(--yellow-soft); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
#top, section[id] { scroll-margin-top: 116px; }
.faq-heading { margin: 0; font: inherit; }
.faq-answer { margin-top: 0; }
.cards:focus-visible { outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.site-footer .logo span { color: var(--green); }
.whatsapp-type { color: var(--green-ink); }
