/* =========================================================
   YASMIN AIRES — PSICÓLOGA INFANTIL
   Identidade visual: acolhimento, ciência, leveza, delicadeza
   ========================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* `clip` (e não `hidden`) impede a rolagem lateral criada pela gaveta
     do menu fora da tela sem quebrar o position: sticky do cabeçalho */
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Paleta pastel & neutra */
  --bg: #FBF6EE;
  --bg-alt: #F4EDE0;
  --surface: #FFFFFF;

  --ink: #35312A;
  --ink-soft: #6E6759;
  --ink-faint: #9C9384;

  --sage: #7E9773;
  --sage-dark: #5C7654;
  --sage-pale: #E7EDE0;
  --sage-tint: #EFF3E9;

  /* Gradiente exclusivo dos botões: mais profundo que --sage para o texto
     branco passar em 4.5:1 (WCAG AA) do início ao fim do degradê. */
  --btn-from: #647C59;
  --btn-to: #4A6142;

  --lavender: #A79BCB;
  --lavender-dark: #8574B3;
  --lavender-pale: #ECE7F7;

  --sky: #8FB4CB;
  --sky-dark: #6C97B1;
  --sky-pale: #E5F0F5;

  --line: rgba(53, 49, 42, 0.1);

  /* Tipografia */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;

  /* Raios */
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(53, 49, 42, 0.06);
  --shadow-md: 0 14px 34px rgba(53, 49, 42, 0.09);
  --shadow-lg: 0 28px 64px rgba(53, 49, 42, 0.14);

  /* Movimento */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: .3s var(--ease);
  --t-med: .55s var(--ease);

  /* Layout */
  --gutter: 28px;
}

/* ---------- BASE ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  /* evita que títulos longos estourem em telas estreitas */
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.05rem, 1.4rem + 3.2vw, 4.1rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.6vw, 2.7rem); }
h3 { font-size: 1.28rem; font-weight: 600; }

p { color: var(--ink-soft); }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.wrap {
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 10vw, 130px); }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 18px;
}
.eyebrow.center { text-align: center; }

.section-head { max-width: 680px; margin-inline: auto; text-align: center; margin-bottom: 56px; }
.section-lead { margin-top: 16px; font-size: 1.08rem; }
.placeholder-note { font-style: italic; font-size: 0.95rem; opacity: 0.85; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 0 0 10px 0; z-index: 999;
}
.skip-link:focus { left: 0; }

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 0.98rem;
  padding: 15px 28px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  text-align: center;
}
.btn .icon { width: 19px; height: 19px; }

.btn-primary {
  background: linear-gradient(135deg, var(--btn-from) 0%, var(--btn-to) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--sage); color: var(--sage-dark); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 0.88rem; min-height: 42px; }
.btn-lg { padding: 19px 38px; font-size: 1.08rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(251, 246, 238, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(53,49,42,0.05); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px;
  transition: padding var(--t-fast);
}
.site-header.scrolled .header-inner { padding-block: 12px; }

.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo-mark { width: 30px; height: 30px; color: var(--sage-dark); flex-shrink: 0; }
.logo-text {
  display: flex; flex-direction: column; line-height: 1.15; min-width: 0;
  font-family: var(--font-display); font-weight: 500; font-size: 1.24rem; color: var(--ink);
}
.logo-text em { font-style: normal; font-size: 0.6rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }

/* Escopado ao `ul` de propósito: o .nav-cta é um <a> irmão da lista e não
   pode herdar a cor/o display dos links de navegação. */
.main-nav ul { display: flex; gap: 34px; }
.main-nav ul a { font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); position: relative; padding-block: 4px; transition: color var(--t-fast); }
.main-nav ul a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--sage-dark);
  transition: width var(--t-fast);
}
.main-nav ul a:hover { color: var(--ink); }
.main-nav ul a:hover::after { width: 100%; }

/* CTA que só existe dentro do menu mobile */
.nav-cta { display: none; }

/* Trava de segurança: `.main-nav .nav-cta` (0-2-0) vence qualquer regra
   de link de navegação, mesmo que o escopo `ul` acima seja alterado. */
.main-nav .nav-cta {
  color: #fff;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-bottom: 0;
  text-align: center;
}
.main-nav .nav-cta::after { content: none; }
.main-nav .nav-cta:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; padding: 8px; margin-right: -8px; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-shut { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-shut { display: block; }

.nav-scrim {
  position: fixed; inset: 0; z-index: 180;
  background: rgba(53, 49, 42, 0.35);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity var(--t-med);
}
.nav-scrim.visible { opacity: 1; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-block: clamp(44px, 8vw, 96px) clamp(64px, 9vw, 120px); overflow: hidden; }

.hero-blob {
  position: absolute; top: -12%; right: -14%; width: 62vw; height: 62vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle at 30% 30%, var(--sage-tint), var(--lavender-pale) 60%, transparent 78%);
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  animation: blobMorph 22s ease-in-out infinite alternate;
  z-index: 0;
  opacity: .9;
  pointer-events: none;
}
@keyframes blobMorph {
  0%   { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; transform: rotate(0deg) scale(1); }
  50%  { border-radius: 55% 45% 40% 60% / 55% 60% 40% 45%; transform: rotate(8deg) scale(1.03); }
  100% { border-radius: 38% 62% 55% 45% / 40% 50% 50% 60%; transform: rotate(-6deg) scale(1); }
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero-lead { margin-top: 22px; font-size: 1.1rem; max-width: 54ch; }
.hero-lead strong { color: var(--sage-dark); font-weight: 700; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
/* No desktop a coluna do hero tem 569px e o par de botões pede 588px no
   padding padrão — 22px de padding interno mantém os dois na mesma linha. */
@media (min-width: 961px) {
  .hero-ctas .btn { padding-inline: 22px; }
}

.trust-row { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 36px; }
.trust-row li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); }
.trust-row .icon { width: 17px; height: 17px; color: var(--sage-dark); }

.hero-media { position: relative; }
.hero-photo-frame {
  position: relative; border-radius: 40px 140px 40px 140px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  border: 6px solid var(--surface);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.floating-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border-radius: var(--radius-md);
  padding: 14px 18px; box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
}
.floating-card .icon { width: 24px; height: 24px; color: var(--sage-dark); }
.floating-card strong { display: block; font-size: 0.92rem; font-weight: 700; }
.floating-card span { display: block; font-size: 0.76rem; color: var(--ink-faint); }

.card-crp { top: 8%; left: -8%; animation-delay: 0s; }
.card-formato { bottom: 9%; right: -9%; animation-delay: -3s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.dot { position: absolute; border-radius: 50%; opacity: .55; }
.dot-1 { width: 22px; height: 22px; background: var(--lavender); top: 2%; right: 14%; animation: floatCard 7s ease-in-out infinite; }
.dot-2 { width: 14px; height: 14px; background: var(--sky); bottom: 2%; left: 10%; animation: floatCard 5s ease-in-out infinite -1.5s; }

/* ---------- SOBRE ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; }
.about-photo-frame {
  border-radius: 140px 40px 140px 40px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4; border: 6px solid var(--surface); position: relative; z-index: 1;
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.blob-accent { position: absolute; border-radius: 50%; z-index: 0; filter: blur(2px); }
.blob-sage { width: 60%; height: 60%; background: var(--sage-pale); bottom: -14%; left: -16%; }

.about-copy p { margin-top: 18px; }
.about-copy h2 { margin-top: 6px; }
.about-copy strong { color: var(--sage-dark); font-weight: 700; }

.credential-list { margin-top: 30px; display: flex; flex-direction: column; gap: 13px; }
.credential-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.credential-list .icon { width: 19px; height: 19px; color: var(--sage-dark); margin-top: 2px; }

/* ---------- CARDS (Áreas de Atuação) ---------- */
.grid { display: grid; gap: 26px; }
.cards-grid { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%; margin-bottom: 20px;
  background: var(--sage-pale); color: var(--sage-dark);
  transition: transform var(--t-med);
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card-icon .icon { width: 27px; height: 27px; }

.card:nth-child(3n+2) .card-icon { background: var(--lavender-pale); color: var(--lavender-dark); }
.card:nth-child(3n+3) .card-icon { background: var(--sky-pale); color: var(--sky-dark); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

/* ---------- PARA QUEM ---------- */
.para-quem-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.para-quem-grid h2 { margin-top: 6px; }
.para-quem-grid .section-lead { margin-bottom: 8px; }

.para-quem-photo {
  margin-top: 32px; max-width: 320px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 16 / 11;
}
.para-quem-photo img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  object-position: center 30%;
}

.profile-list { display: flex; flex-direction: column; gap: 14px; }
.profile-chip {
  background: var(--surface); border-radius: var(--radius-pill);
  padding: 18px 28px; font-weight: 600; font-size: 1rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--sage);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.profile-list li:nth-child(2n) { border-left-color: var(--lavender); }
.profile-list li:nth-child(3n) { border-left-color: var(--sky); }
.profile-chip:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }

/* ---------- DEPOIMENTOS ---------- */
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-card {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  padding: 36px 30px 30px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote-icon { width: 30px; height: 30px; color: var(--lavender-dark); }
.testimonial-card p { color: var(--ink); font-size: 1rem; font-style: italic; line-height: 1.6; }
.testimonial-author { font-weight: 700; font-size: 0.88rem; color: var(--sage-dark); }
.placeholder-badge {
  align-self: flex-start; background: var(--sage-tint); color: var(--sage-dark);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill);
}

/* ---------- CTA DE CONTATO ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding-block: clamp(64px, 9vw, 110px);
  background: linear-gradient(160deg, var(--sage-tint) 0%, var(--lavender-pale) 55%, var(--sky-pale) 100%);
}
.cta-band-inner { text-align: center; max-width: 700px; }
.cta-icon { width: 38px; height: 38px; color: var(--sage-dark); margin-inline: auto; margin-bottom: 18px; }
.cta-band p { margin: 18px auto 32px; font-size: 1.05rem; max-width: 56ch; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: #E9E5DB; padding-top: 68px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 44px; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text em { color: #B4AD9E; }
.site-footer .logo-mark { color: var(--sage); }
.footer-brand p { color: #B4AD9E; margin-top: 14px; font-size: 0.92rem; }
.footer-note { max-width: 34ch; }

.footer-col h4 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: #B4AD9E; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: #E9E5DB; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--sage); }
.footer-col .icon { width: 17px; height: 17px; color: var(--sage); flex-shrink: 0; }
.footer-links a { font-weight: 600; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 22px; }
.footer-bottom p { color: #948F82; font-size: 0.85rem; text-align: center; }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-dark);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top .icon { width: 20px; height: 20px; transform: rotate(180deg); }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: .3s; }
.reveal-group .reveal:nth-child(6) { transition-delay: .36s; }
.reveal-group .reveal:nth-child(7) { transition-delay: .42s; }
.reveal-group .reveal:nth-child(8) { transition-delay: .48s; }

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

/* --- Notebooks pequenos / tablets landscape --- */
@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .main-nav ul { gap: 24px; }
}

/* --- Menu vira gaveta; colunas viram pilha --- */
@media (max-width: 960px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(80vw, 340px);
    height: 100dvh;
    background: var(--surface); box-shadow: var(--shadow-lg);
    padding: 96px 30px 40px;
    transform: translateX(100%);
    /* fechada fica fora da árvore de foco e de leitores de tela */
    visibility: hidden;
    transition: transform var(--t-med), visibility var(--t-med);
    z-index: 190;
    display: flex; flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a {
    font-size: 1.05rem; display: block;
    padding-block: 14px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav ul a::after { display: none; }
  .nav-toggle { display: block; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; margin-inline: auto; order: -1; width: 100%; }
  .hero-lead, .hero-copy { max-width: none; }
  .card-crp { left: -4%; }
  .card-formato { right: -4%; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 400px; margin-inline: auto; width: 100%; }

  .para-quem-grid { grid-template-columns: 1fr; }
  .para-quem-photo { max-width: 100%; }
}

/* --- Telefones: some com o CTA do header, CTA vai para a gaveta --- */
@media (max-width: 640px) {
  .header-cta { display: none; }
  .nav-cta {
    display: inline-flex;
    margin-top: 28px;
    width: 100%;
  }
  .header-inner { padding-block: 14px; }
  .site-header.scrolled .header-inner { padding-block: 10px; }
}

/* --- Telefones em geral --- */
@media (max-width: 720px) {
  :root { --gutter: 22px; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  /* alvos de toque confortáveis nos links do rodapé */
  .footer-col ul { gap: 4px; }
  .footer-col a, .footer-col span { padding-block: 10px; }
  .section-head { margin-bottom: 40px; }
  .grid { gap: 18px; }
  .hero-photo-frame, .about-photo-frame { border-radius: 32px; }
  .about-photo-frame { aspect-ratio: 4 / 5; }
  .blob-sage { display: none; }

  /* cards flutuantes saem da sobreposição e viram lista legível */
  .hero-media { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
  .floating-card {
    position: static; animation: none;
    width: 100%; box-shadow: var(--shadow-sm);
  }
  .dot { display: none; }

  .profile-chip:hover { transform: none; }
  .card:hover, .testimonial-card:hover { transform: none; }
}

/* --- Telas abaixo de 480px --- */
@media (max-width: 480px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }

  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  .cta-band .btn { width: 100%; }

  .trust-row { flex-direction: column; gap: 10px; margin-top: 28px; }
  .hero-lead { font-size: 1.02rem; margin-top: 18px; }

  .card { padding: 28px 22px; border-radius: 26px; }
  .card-icon { width: 52px; height: 52px; margin-bottom: 16px; }
  .card-icon .icon { width: 24px; height: 24px; }

  .profile-chip { padding: 16px 22px; font-size: 0.95rem; }
  .testimonial-card { padding: 28px 24px 26px; border-radius: 26px; }
  .section-lead { font-size: 1rem; }
  .credential-list li { font-size: 0.94rem; }
}

/* --- Telefones estreitos: 420px e abaixo --- */
@media (max-width: 420px) {
  :root { --gutter: 18px; }

  .section { padding-block: 14px; 
  margin-bottom: 14px;}
  .hero { padding-block: 32px 52px; }
  .section-head { margin-bottom: 32px; }

  /* logotipo mais compacto para caber ao lado do menu */
  .logo-mark { width: 26px; height: 26px; }
  .logo-text { font-size: 1.1rem; }
  .logo-text em { font-size: 0.55rem; letter-spacing: 0.08em; }
  .nav-toggle .icon { width: 24px; height: 24px; }

  .main-nav { width: min(86vw, 320px); padding: 88px 24px 32px; }

  .eyebrow { font-size: 0.72rem; letter-spacing: 0.12em; margin-bottom: 14px;
  margin-top: 24px; }

  .eyebrow.center, h2 {
    text-align: left;
  }
  .hero-lead { font-size: 0.98rem; }
  .btn { padding: 14px 22px; font-size: 0.94rem; }
  .btn-lg { padding: 16px 24px; font-size: 1rem; }

  .hero-media { gap: 10px; }
  .hero-photo-frame { border-radius: 26px; border-width: 5px; }
  .about-photo-frame { border-radius: 26px; border-width: 5px; }
  .floating-card { padding: 12px 14px; gap: 10px; border-radius: 18px; }
  .floating-card .icon { width: 21px; height: 21px; }
  .floating-card strong { font-size: 0.87rem; }
  .floating-card span { font-size: 0.73rem; }

  .card { padding: 24px 20px; border-radius: 22px; }
  .card h3 { font-size: 1.14rem; }
  .card p { font-size: 0.92rem; }

  .profile-list { gap: 11px; }
  .profile-chip { padding: 15px 20px; font-size: 0.92rem; border-left-width: 3px; }

  .testimonial-card { padding: 24px 20px 22px; gap: 14px; border-radius: 22px; }
  .testimonial-card p { font-size: 0.95rem; }

  .para-quem-photo { margin-top: 26px; border-radius: 22px; }
  .credential-list { margin-top: 24px; gap: 11px; }

  .cta-band { padding-block: 56px; }
  .cta-band p { font-size: 0.98rem; margin-bottom: 26px; }
  .cta-icon { width: 32px; height: 32px; }

  .site-footer { padding-top: 52px; }
  .footer-inner { gap: 30px; padding-bottom: 34px; }
  .footer-bottom p { font-size: 0.8rem; }

  .back-to-top { right: 14px; width: 42px; height: 42px; }
}

/* --- Telefones muito estreitos (iPhone SE, 320px) --- */
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  h1 { font-size: 1.92rem; }
  h2 { font-size: 1.55rem; }
  .logo-text { font-size: 1.02rem; }
  .logo-text em { font-size: 0.5rem; }
  .btn { padding: 13px 18px; font-size: 0.9rem; }
  .card { padding: 22px 18px; }
  .profile-chip { padding: 14px 18px; font-size: 0.88rem; }
  .floating-card strong { font-size: 0.83rem; }
  .floating-card span { font-size: 0.7rem; }
}
