/* ============================================================
   DESIGN TOKENS — paleta extraída do consultório real:
   verde-musgo da poltrona, madeira clara, dourado da marca "YA"
   ============================================================ */
:root {
  --ink:        #1c241a;   /* texto principal / verde-carvão profundo, tom do veludo do sofá */
  --ink-70:     rgba(28,36,26,.72);
  --ink-55:     rgba(28,36,26,.56);
  --ink-35:     rgba(28,36,26,.35);
  --ink-14:     rgba(28,36,26,.14);
  --ink-08:     rgba(28,36,26,.08);

  --moss:       #55694f;   /* verde-musgo — cor de marca */
  --moss-deep:  #2c3826;
  --moss-mist:  #e9eee1;

  --sand:       #f5f0e4;   /* fundo quente, cor de papel */
  --sand-deep:  #ece1c9;
  --paper:      #fffdf8;

  --gold:       #a9814f;   /* dourado fosco do logotipo */
  --gold-deep:  #8a6a3f;
  --gold-mist:  #efe2c7;

  --white:      #ffffff;

  --shadow-fab: 0 10px 28px rgba(33,43,31,.22);
  --shadow-nav: 0 8px 30px rgba(33,43,31,.08);

  --ease: cubic-bezier(.4,0,.2,1);
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Work Sans', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink-70);
  line-height: 1.65;
  background: var(--sand);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16.5px;
}

.nav-wrapper { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.whatsapp-fab { bottom: calc(26px + env(safe-area-inset-bottom)); right: calc(26px + env(safe-area-inset-right)); }
.scroll-top { bottom: calc(96px + env(safe-area-inset-bottom)); right: calc(26px + env(safe-area-inset-right)); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 480;
}

p { max-width: 62ch; }
a { color: var(--moss); text-decoration: none; transition: color .25s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* ============================================================
   OVERFLOW GUARD — impede que itens de grid/flex com imagem
   mantenham a largura intrínseca da imagem e estourem a coluna
   (bug clássico do CSS Grid/Flexbox: min-width:auto por padrão)
   ============================================================ */
html, body { max-width: 100%; overflow-x: hidden; }
.hero-grid > *, .dtm-grid > *, .team-feature > *, .service-hero-grid > *,
.article-layout > *, .gallery-grid > *, .related-grid > *, .footer-grid > * {
  min-width: 0;
}
.team-secondary, .byline { min-width: 0; }
.team-secondary img, .byline img { min-width: 0; flex-shrink: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 460;
  font-size: 1.06rem;
  color: var(--moss);
  margin-bottom: 12px;
}

.link-underline {
  color: var(--ink);
  font-weight: 500;
  background-image: linear-gradient(var(--moss), var(--moss));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  padding-bottom: 2px;
  transition: background-size .3s var(--ease), color .3s var(--ease);
}
.link-underline:hover { color: var(--moss); background-size: 100% 2px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: 15px 30px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  min-height: 44px;
}
.btn-primary { background: var(--moss); color: var(--white); }
.btn-primary:hover { background: var(--moss-deep); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(55,69,47,.25); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(138,106,63,.28); }
.btn-ghost { background: transparent; border-color: var(--ink-14); color: var(--ink); }
.btn-ghost:hover { border-color: var(--moss); color: var(--moss); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.from-left  { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.visible { opacity: 1; transform: translate(0); }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar { background: var(--moss-deep); color: rgba(255,255,255,.78); font-size: .82rem; padding: 9px 0; }
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: var(--gold-mist); }
.top-bar .inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.top-bar .links { display: flex; align-items: center; gap: 20px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav-wrapper {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 240, 228, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-08);
  transition: box-shadow .3s var(--ease);
}
.nav-wrapper.scrolled { box-shadow: var(--shadow-nav); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.nav-logo img { height: 46px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) {
  color: var(--ink-70); font-size: .92rem; font-weight: 500;
  padding: 9px 15px; border-radius: 100px; transition: all .25s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) { color: var(--moss); background: var(--moss-mist); }
.nav-links .btn { margin-left: 6px; padding: 11px 22px; font-size: .88rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 110; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 4px; transition: all .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none; position: fixed; inset: 0; background: rgba(245,240,228,.98);
  backdrop-filter: blur(18px); z-index: 105; flex-direction: column;
  justify-content: center; align-items: flex-start; gap: 4px;
  padding: 90px clamp(28px, 8vw, 60px) 32px;
  overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a { font-family: var(--serif); font-size: 2.1rem; color: var(--ink); padding: 10px 0; }
.mobile-nav a:hover { color: var(--moss); }
.mobile-nav .btn { margin-top: 18px; font-family: var(--sans); font-size: .92rem; padding: 14px 24px; white-space: nowrap; }

/* ============================================================
   ATENDIMENTO STRIP
   ============================================================ */
.info-strip { background: var(--sand-deep); color: var(--ink-70); text-align: center; padding: 11px 0; font-size: .86rem; }
.info-strip strong { color: var(--ink); font-weight: 600; }
.info-strip i { color: var(--moss); margin-right: 8px; }

/* ============================================================
   HERO — retrato editorial (não banner escuro genérico)
   ============================================================ */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.6rem);
  margin-bottom: 22px;
  max-width: 15ch;
  font-variation-settings: 'SOFT' 12, 'WONK' 1;
}
.hero-desc { font-size: 1.08rem; color: var(--ink-55); max-width: 46ch; margin-bottom: 34px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-facts { display: flex; gap: 40px; padding-top: 28px; border-top: 1px solid var(--ink-14); }
.hero-facts dt { font-size: .76rem; text-transform: none; color: var(--ink-35); margin-bottom: 4px; }
.hero-facts dd { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }

.hero-photo { position: relative; }
.hero-photo .frame {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 2/2.55; background: var(--sand-deep);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before {
  content: ''; position: absolute; top: 22px; left: -22px; right: 22px; bottom: -22px;
  border: 1.5px solid var(--gold); border-radius: 6px; z-index: -1;
}
.hero-photo-caption {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  background: rgba(33,43,31,.72); backdrop-filter: blur(6px);
  color: var(--white); padding: 16px 18px; border-radius: 4px;
  font-size: .86rem; line-height: 1.5;
}
.hero-photo-caption strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 450; color: var(--gold-mist); margin-bottom: 2px; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--paper); }
.head { max-width: 640px; margin-bottom: 52px; }
.head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.head p { color: var(--ink-55); margin-top: 14px; font-size: 1.02rem; }
.head.center { max-width: 620px; margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================================
   DTM INTRO
   ============================================================ */
.dtm-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px,5vw,72px); align-items: center; }
.dtm-image { border-radius: 6px; overflow: hidden; aspect-ratio: 4/3.1; }
.dtm-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dtm-image:hover img { transform: scale(1.035); }
.dtm-content h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 20px; max-width: 14ch; }
.dtm-content .lead { font-size: 1.08rem; color: var(--ink); margin-bottom: 16px; }
.dtm-content .body-text { color: var(--ink-55); margin-bottom: 16px; }
.check-list { margin: 26px 0 30px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; font-weight: 500; color: var(--ink); }
.check-list .icon-check {
  width: 24px; height: 24px; background: var(--moss-mist); border-radius: 50%;
  display: grid; place-items: center; color: var(--moss); font-size: .68rem; flex-shrink: 0; margin-top: 2px;
}

/* ============================================================
   TRATAMENTOS — índice editorial (a lista é, de fato, um menu)
   ============================================================ */
.tx-list { border-top: 1px solid var(--ink-14); }
.tx-row {
  display: flex; align-items: center; gap: 24px;
  padding: 26px 4px; border-bottom: 1px solid var(--ink-14);
  transition: background .3s var(--ease);
}
.tx-row:hover { background: var(--moss-mist); }
.tx-num { font-family: var(--serif); font-size: 1.05rem; color: var(--gold); width: 30px; flex-shrink: 0; }
.tx-thumb { width: 86px; height: 86px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--sand-deep); }
.tx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tx-body { flex: 1; min-width: 0; }
.tx-body h3 { font-size: 1.22rem; margin-bottom: 4px; }
.tx-body p { font-size: .92rem; color: var(--ink-55); }
.tx-go {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink-14);
  display: grid; place-items: center; color: var(--ink-55); font-size: .95rem;
  transition: all .3s var(--ease);
}
.tx-row:hover .tx-go { background: var(--moss); border-color: var(--moss); color: var(--white); }

/* ============================================================
   DEPOIMENTOS — faixa editorial, sem cartões-padrão
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink-14); }
.testi { padding: 8px 32px 8px 0; border-right: 1px solid var(--ink-14); }
.testi:last-child { border-right: none; padding-right: 0; }
.testi:first-child { padding-left: 0; }
.testi-mark { font-family: var(--serif); font-size: 3.2rem; color: var(--gold-mist); line-height: 1; margin-bottom: 8px; }
.testi-text { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; color: var(--ink); line-height: 1.55; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-initial {
  width: 38px; height: 38px; border-radius: 50%; background: var(--moss-mist); color: var(--moss);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.05rem; flex-shrink: 0;
}
.testi-author .name { font-weight: 600; color: var(--ink); font-size: .88rem; }
.testi-author .detail { font-size: .78rem; color: var(--ink-35); }
.testi-stars { color: var(--gold); font-size: .8rem; letter-spacing: 2px; margin-bottom: 14px; }

/* ============================================================
   EQUIPE
   ============================================================ */
.team-feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px,6vw,80px); align-items: center; margin-bottom: 60px; }
.team-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 3/3.7; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-copy .role { font-size: .9rem; color: var(--moss); font-weight: 600; margin-bottom: 8px; }
.team-copy h3 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-bottom: 4px; }
.team-copy .cro { font-size: .82rem; color: var(--ink-35); margin-bottom: 18px; }
.team-copy .bio { color: var(--ink-55); margin-bottom: 18px; max-width: 52ch; }
.credentials { border-top: 1px solid var(--ink-14); padding-top: 14px; margin-bottom: 22px; max-width: 52ch; }
.credentials li { display: flex; align-items: baseline; gap: 11px; padding: 5px 0; font-size: .89rem; color: var(--ink-70); }
.credentials li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.team-social a {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--ink-14); color: var(--ink-55); transition: all .25s var(--ease);
}
.team-social a:hover { background: var(--moss); border-color: var(--moss); color: var(--white); }

.team-secondary { display: flex; align-items: center; gap: 28px; padding-top: 44px; border-top: 1px solid var(--ink-14); }
.team-secondary img { width: 108px; height: 108px; border-radius: 6px; object-fit: cover; object-position: center 12%; flex-shrink: 0; }
.team-secondary h4 { font-size: 1.35rem; margin-bottom: 2px; }
.team-secondary .cro { font-size: .8rem; color: var(--ink-35); margin-bottom: 8px; }
.team-secondary p { font-size: .92rem; color: var(--ink-55); max-width: 56ch; }

/* ============================================================
   CTA BANNER — foto real, sem blobs decorativos
   ============================================================ */
.cta-banner { position: relative; padding: clamp(70px, 10vw, 120px) 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(33,43,31,.92) 0%, rgba(33,43,31,.78) 45%, rgba(33,43,31,.45) 100%); }
.cta-banner .container { position: relative; z-index: 2; max-width: 640px; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; max-width: 13ch; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 32px; max-width: 44ch; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; border-top: 1px solid var(--ink-14); }
.faq-item { border-bottom: 1px solid var(--ink-14); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 460; color: var(--ink);
  min-height: 44px;
}
.faq-question:hover { color: var(--moss); }
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--moss-mist);
  display: grid; place-items: center; flex-shrink: 0; font-size: .75rem; color: var(--moss);
  transition: all .35s var(--ease);
}
.faq-item.open .faq-icon { background: var(--moss); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-answer-inner { padding-bottom: 24px; color: var(--ink-55); font-size: .96rem; line-height: 1.8; max-width: 62ch; }

/* ============================================================
   GALERIA DO CONSULTÓRIO
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { border-radius: 6px; overflow: hidden; position: relative; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.gallery-item.wide img { aspect-ratio: 16/9.2; }
.gallery-item:not(.wide) img { aspect-ratio: 4/4.6; }
.gallery-item:hover img { transform: scale(1.045); }

/* ============================================================
   INSTAGRAM CTA
   ============================================================ */
.instagram-cta { background: var(--moss); padding: 44px 0; text-align: center; }
.instagram-cta h3 { color: var(--white); margin-bottom: 8px; font-size: 1.5rem; }
.instagram-cta p { color: rgba(255,255,255,.82); margin-bottom: 22px; font-size: .95rem; }

/* ============================================================
   MAP
   ============================================================ */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 380px; border: none; display: block; filter: grayscale(20%) contrast(105%) sepia(4%); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--moss-deep); color: rgba(255,255,255,.66); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 44px; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 18px; }
.footer-brand p { font-size: .88rem; line-height: 1.75; max-width: 320px; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: rgba(255,255,255,.7); transition: all .25s var(--ease);
}
.footer-socials a:hover { background: var(--gold); color: var(--white); transform: translateY(-3px); }
.footer h4 { color: var(--white); font-family: var(--serif); font-weight: 460; font-size: 1.15rem; margin-bottom: 20px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: .88rem; }
.footer-contact i { color: var(--gold-mist); margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--gold-mist); }
.footer-hours { background: rgba(255,255,255,.06); border-radius: 6px; padding: 22px; }
.footer-hours li { display: flex; justify-content: space-between; padding: 8px 0; font-size: .85rem; }
.footer-hours li + li { border-top: 1px solid rgba(255,255,255,.08); }
.footer-hours .day { color: rgba(255,255,255,.5); }
.footer-hours .time { color: var(--white); font-weight: 500; }
.footer-hours .note { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--gold-mist); font-size: .82rem; font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.4);
}

/* ============================================================
   WHATSAPP FAB + SCROLL TOP
   ============================================================ */
.whatsapp-fab {
  position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px; background: #25d366; color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: 28px; box-shadow: var(--shadow-fab);
  z-index: 200; text-decoration: none; transition: transform .25s var(--ease);
}
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.05); color: #fff; }

.scroll-top {
  position: fixed; bottom: 96px; right: 26px; width: 42px; height: 42px; background: var(--ink);
  color: var(--white); border: none; border-radius: 50%; display: grid; place-items: center;
  font-size: .82rem; cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .3s var(--ease); z-index: 199; box-shadow: var(--shadow-nav);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--moss); transform: translateY(-3px); }

/* ============================================================
   TOUCH / MOBILE BASE
   ============================================================ */
a, button, [role="button"], input, select, textarea { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
input, select, textarea { font-size: max(16px, 1em); }

/* ============================================================
   BREADCRUMB (páginas internas de tratamento)
   ============================================================ */
.breadcrumb { padding: 18px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-35); }
.breadcrumb a { color: var(--ink-55); }
.breadcrumb a:hover { color: var(--moss); }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--ink-14); }
.breadcrumb li[aria-current] { color: var(--ink-55); }

/* ============================================================
   SERVICE HERO (topo das páginas de tratamento)
   ============================================================ */
.service-hero { padding: clamp(28px, 5vw, 44px) 0 clamp(48px, 7vw, 80px); }
.service-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.service-hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 18px; max-width: 17ch; }
.service-hero .lead { font-size: 1.08rem; color: var(--ink-55); max-width: 50ch; margin-bottom: 30px; line-height: 1.75; }
.service-hero-image { border-radius: 6px; overflow: hidden; aspect-ratio: 4/3.3; }
.service-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   ARTIGO / CONTEÚDO DE TRATAMENTO
   ============================================================ */
.article { max-width: 720px; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 48px 0 18px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.2rem; margin: 28px 0 12px; }
.article p { color: var(--ink-70); margin-bottom: 18px; line-height: 1.8; max-width: 68ch; }
.article ul.plain { margin: 0 0 22px; }
.article ul.plain li {
  position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink-70); line-height: 1.7; max-width: 64ch;
}
.article ul.plain li::before {
  content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.article .callout {
  background: var(--moss-mist); border-radius: 6px; padding: 22px 26px; margin: 28px 0;
  font-size: .96rem; color: var(--ink); max-width: 64ch;
}
.article .callout strong { color: var(--moss-deep); }

.byline {
  display: flex; align-items: center; gap: 14px; margin: 28px 0 8px;
  padding: 16px 0; border-top: 1px solid var(--ink-14); border-bottom: 1px solid var(--ink-14);
}
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.byline .name { font-weight: 600; color: var(--ink); font-size: .92rem; }
.byline .cred { font-size: .8rem; color: var(--ink-35); }

.article-layout { display: grid; grid-template-columns: 1fr .34fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.article-aside { position: sticky; top: 100px; }
.aside-card {
  background: var(--paper); border: 1px solid var(--ink-14); border-radius: 6px; padding: 26px;
  margin-bottom: 20px;
}
.aside-card h4 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.aside-card ul { font-size: .86rem; color: var(--ink-55); }
.aside-card ul li { padding: 6px 0; border-top: 1px solid var(--ink-14); display: flex; justify-content: space-between; gap: 8px; }
.aside-card ul li:first-child { border-top: none; }

/* Perguntas específicas do tratamento (sem schema FAQPage — Q&A editorial) */
.article-faq dt { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); margin: 20px 0 6px; }
.article-faq dt:first-child { margin-top: 0; }
.article-faq dd { color: var(--ink-55); font-size: .95rem; line-height: 1.7; max-width: 64ch; }

/* Tratamentos relacionados */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  display: block; border: 1px solid var(--ink-14); border-radius: 6px; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.related-card:hover { border-color: var(--moss); transform: translateY(-3px); }
.related-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.related-card .body { padding: 18px 20px; }
.related-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.related-card p { font-size: .86rem; color: var(--ink-55); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1140px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; order: -1; }
  .hero-copy h1 { max-width: none; }
  .team-secondary p { max-width: 100%; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; display: flex; gap: 20px; flex-wrap: wrap; }
  .article-aside .aside-card { flex: 1; min-width: 240px; }
}

@media (max-width: 900px) {
  .dtm-grid { grid-template-columns: 1fr; gap: 36px; }
  .dtm-content h2 { max-width: none; }
  .team-feature { grid-template-columns: 1fr; }
  .team-photo { max-width: 320px; margin: 0 auto; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi { border-right: none !important; border-bottom: 1px solid var(--ink-14); padding: 28px 0 !important; }
  .testi:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-hero-image { max-width: 420px; order: -1; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .top-bar { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .hero { padding-top: 24px; text-align: left; }
  .hero-photo { max-width: 300px; }
  .hero-facts { flex-direction: column; gap: 16px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.wide img { aspect-ratio: 16/10; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-brand p { max-width: 100%; }

  .team-secondary { flex-direction: column; align-items: flex-start; text-align: left; }
  .team-secondary img { width: 100%; max-width: 220px; aspect-ratio: 1; }

  .map-section iframe { height: 300px; }
  .cta-banner .container { max-width: 100%; }

  .whatsapp-fab { width: 52px; height: 52px; font-size: 25px; bottom: 18px; right: 18px; }
  .scroll-top { bottom: 84px; right: 18px; width: 38px; height: 38px; }

  .service-hero-image { max-width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: clamp(48px, 9vw, 72px) 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .tx-row { gap: 14px; padding: 20px 0; }
  .tx-thumb { width: 58px; height: 58px; }
  .tx-num { width: 20px; font-size: .92rem; }
  .tx-body h3 { font-size: 1.08rem; }
  .tx-body p { font-size: .86rem; }
  .tx-go { width: 34px; height: 34px; font-size: .8rem; }
  .gallery-grid { grid-template-columns: 1fr; gap: 10px; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item:not(.wide) img { aspect-ratio: 4/3.4; }
  .faq-question { font-size: 1.02rem; }
  .footer-hours { padding: 18px; }
  .cta-banner h2 { max-width: none; }
}

@media (max-width: 380px) {
  .hero-copy h1 { font-size: 2.05rem; }
  .hero-desc { font-size: .96rem; }
  .btn { padding: 14px 22px; font-size: .9rem; }
  .head h2 { font-size: 1.55rem; }
}

/* ============================================================
   ACCESSIBILITY / REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
