:root{
  --bg: #FFFCF3;
  --bg-warm: #FFF6DC;
  --yellow: #FEBE30;
  --yellow-deep: #DAA329;
  --yellow-pale: #FFF5DE;
  --lilac: #A5889B;
  --lilac-ink: #79566B;
  --lilac-deep: #5B2749;
  --lilac-pale: #EFE9ED;
  --teal: #0FB6CA;
  --magenta: #BF3360;
  --ink: #2E2A22;
  --muted: #6B624E;
  --line: #E9DFC4;
  --white: #FFFFFF;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(46,42,34,0.28);
  --pig: #B4680E;
  --gig: #B33951;
  --aig: #2F6B4F;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
picture{ display:contents; }
a{ color: inherit; }
h1,h2,h3{
  font-family: 'Fraunces', serif;
  font-weight: 560;
  line-height: 1.14;
  margin: 0 0 0.5em 0;
  color: var(--lilac-deep);
}
p{ margin: 0 0 1em 0; }
.container{ max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section{ padding: 96px 0; }
.section-head{ max-width: 620px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 38px); }
.section-head p{ color: var(--muted); font-size: 18px; margin-bottom:0; }

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
  background: var(--lilac-deep); color: var(--yellow-pale); padding: 12px 20px;
  border-radius: 0 0 10px 0; font-weight:700; z-index: 100; text-decoration:none;
}
.skip-link:focus{ left:0; top:0; width:auto; height:auto; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: 'Nunito Sans', sans-serif; font-weight: 700; font-size: 16px;
  text-decoration:none; border: 1.5px solid transparent; cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--lilac-deep); color: var(--yellow-pale); box-shadow: var(--shadow); }
.btn-primary:hover{ background: var(--lilac-ink); }
.btn-ghost{ background: transparent; border-color: var(--lilac-deep); color: var(--lilac-deep); }
.btn-ghost:hover{ background: rgba(74,56,118,0.06); }
.focus-ring:focus-visible{ outline: 3px solid var(--lilac-deep); outline-offset: 3px; }

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

/* ---------- HEADER ---------- */
header{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,252,243,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
header.scrolled{ border-color: var(--line); box-shadow: 0 6px 22px -18px rgba(46,42,34,0.4); }
.nav{ max-width: var(--max); margin: 0 auto; padding: 18px 32px; display:flex; align-items:center; justify-content: space-between; }
.brand{ font-family:'Fraunces', serif; font-size: 20px; font-weight: 600; text-decoration:none; color: var(--lilac-deep); display:flex; align-items:center; gap: 11px; line-height:1.15; }
.brand-icon{ width:38px; height:auto; flex-shrink:0; display:block; }
.brand-text{ display:flex; flex-direction:column; }
.brand small{ font-family:'Nunito Sans', sans-serif; font-weight: 600; font-size: 12.5px; color: var(--muted); letter-spacing: .01em; }
.nav-links{ display:flex; align-items:center; gap: 26px; list-style:none; margin:0; padding:0; }
.nav-links a{ text-decoration:none; font-weight: 600; font-size: 15px; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color .2s ease, color .2s ease; white-space:nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"]{ border-color: var(--yellow-deep); color: var(--lilac-deep); }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-cta .btn{ padding: 10px 20px; font-size:14.5px; }
.menu-toggle{ display:none; background:none; border:none; cursor:pointer; padding: 8px; margin-right:-8px; }
.menu-toggle span{ display:block; width:24px; height:2.4px; background: var(--lilac-deep); margin: 5px 0; border-radius:2px; transition: transform .25s ease, opacity .25s ease; }
.mobile-panel{ display:none; flex-direction:column; gap: 4px; padding: 8px 32px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
.mobile-panel a{ text-decoration:none; color: var(--ink); font-weight:700; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size:16px; }
.mobile-panel .btn{ margin-top:14px; justify-content:center; }
body.nav-open .mobile-panel{ display:flex; }
body.nav-open .menu-toggle span:nth-child(1){ transform: translateY(7.4px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2){ opacity:0; }
body.nav-open .menu-toggle span:nth-child(3){ transform: translateY(-7.4px) rotate(-45deg); }
@media (max-width: 1000px){ .nav-links, .nav-cta .btn-ghost{ display:none; } .menu-toggle{ display:block; } }

/* ---------- PAGE HEADER (interior pages) ---------- */
.page-header{
  padding: 60px 0 52px;
  background: linear-gradient(180deg, var(--yellow-pale) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.breadcrumb{ font-size: 14px; color: var(--muted); margin-bottom: 16px; display:flex; gap:8px; align-items:center; }
.breadcrumb a{ color: var(--lilac-deep); text-decoration:none; font-weight:700; display:inline-block; padding: 4px 0; }
.page-header h1{ font-size: clamp(30px, 4vw, 44px); max-width: 22ch; }
.page-header .lede{ color: var(--muted); font-size: 18px; max-width: 60ch; margin-top: 10px; margin-bottom:0; }

/* ---------- HERO (home) ---------- */
.hero{ position:relative; overflow:hidden; padding: 76px 0 100px; background: radial-gradient(120% 140% at 82% 8%, var(--yellow-pale) 0%, var(--bg) 58%); }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items:center; }
.hero-eyebrow{ font-weight: 700; color: var(--lilac-ink); font-size: 15px; margin-bottom: 18px; display:flex; align-items:center; gap:10px; }
.hero-eyebrow .dot{ width:8px; height:8px; border-radius:50%; background: var(--yellow-deep); }
.hero h1{ font-size: clamp(34px, 4.6vw, 54px); max-width: 12.5ch; letter-spacing: -0.01em; }
.hero .lede{ font-size: 19px; color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 34px; }
.hero-meta{ display:flex; gap: 26px; flex-wrap:wrap; font-size:14.5px; color: var(--muted); font-weight:600; }
.hero-meta span{ display:flex; align-items:center; gap:8px; }
.hero-meta svg{ width:16px; height:16px; flex-shrink:0; color: var(--lilac); }
.hero-visual{ position:relative; height: 420px; }
.blob{ position:absolute; border-radius:50%; opacity:.55; }
.blob-1{ width:230px; height:230px; background: var(--yellow-pale); top:6%; right:2%; filter: blur(30px); }
.blob-2{ width:150px; height:150px; background: var(--lilac-pale); bottom:8%; left:4%; filter: blur(26px); opacity:.8; }
.hero-photo{ position:relative; height:100%; border-radius:22px; overflow:hidden; box-shadow: var(--shadow); border:1px solid var(--line); background: var(--white); }
.hero-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 22%; display:block; }
@media (max-width: 900px){ .hero-grid{ grid-template-columns: 1fr; } .hero-visual{ height: 320px; order:-1; } }

/* ---------- HOME TEASERS ---------- */
.teaser-link{
  display:flex; align-items:center; gap: 22px; padding: 24px 4px;
  text-decoration:none; color: inherit; border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.teaser-link:first-child{ border-top: 1px solid var(--line); }
.teaser-link:hover{ background: rgba(74,56,118,0.04); }
.teaser-icon{ width:46px; height:46px; flex-shrink:0; border-radius: 14px; background: var(--yellow-pale); display:flex; align-items:center; justify-content:center; color: var(--lilac-deep); }
.teaser-icon svg{ width:24px; height:24px; }
.teaser-title{ flex:1; font-family:'Fraunces', serif; font-size: 20px; font-weight: 560; color: var(--ink); }
.teaser-title span{ display:block; font-family:'Nunito Sans', sans-serif; font-weight:600; font-size: 14px; color: var(--muted); margin-top:2px; }
.teaser-arrow{ width:20px; height:20px; color: var(--lilac-deep); flex-shrink:0; }
.section-foot-link{ margin-top: 30px; display:inline-flex; align-items:center; gap:8px; font-weight:700; color: var(--lilac-deep); text-decoration:none; }
.section-foot-link:hover{ text-decoration:underline; }

.split-teaser{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items:center; }
.split-teaser.reverse{ grid-template-columns: 1.1fr 0.9fr; }
.split-teaser.reverse .split-visual{ order:2; }
@media (max-width: 880px){ .split-teaser, .split-teaser.reverse{ grid-template-columns: 1fr; } .split-teaser.reverse .split-visual{ order:-1; } }

/* ---------- SERVICES / AREAS ---------- */
.services{ background: var(--bg-warm); }
.area-block{ padding: 52px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.area-block:last-child{ border-bottom:none; }
.area-grid{ display:grid; grid-template-columns: 148px 1fr; gap: 28px; align-items:start; }
.area-photo{ width:100%; aspect-ratio: 1/1; border-radius: 18px; overflow:hidden; box-shadow: var(--shadow); background: var(--yellow-pale); }
.area-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.area-head{ display:flex; align-items:center; gap: 22px; margin-bottom: 18px; }
.area-icon{ width:52px; height:52px; flex-shrink:0; border-radius: 15px; background: var(--yellow-pale); display:flex; align-items:center; justify-content:center; color: var(--lilac-deep); }
.area-icon svg{ width:26px; height:26px; }
.area-head h2{ font-size: 26px; margin:0; }
.area-block p{ max-width: 68ch; color: var(--muted); font-size: 17px; }
@media (max-width: 640px){
  .area-grid{ grid-template-columns: 1fr; }
  .area-photo{ width: 112px; margin-bottom: 4px; }
}

/* ---------- CALCULATOR TEASER (home) ---------- */
#calc-teaser{ background: var(--lilac-pale); }
.calc-teaser-visual{ border-radius: 24px; background: rgba(255,255,255,0.55); border: 1px solid rgba(74,56,118,0.14); aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.calc-teaser-visual svg{ width:46%; height:46%; color: var(--lilac-deep); }
.calc-teaser-visual.has-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---------- ABOUT ---------- */
.about-grid{ display:grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items:start; }
.about-portrait{ position:relative; aspect-ratio: 4/5; border-radius: 26px; background: linear-gradient(160deg, var(--yellow) 0%, var(--yellow-deep) 100%); display:flex; align-items:center; justify-content:center; overflow:hidden; box-shadow: var(--shadow); }
.about-portrait svg{ width:58%; height:58%; color: rgba(74,56,118,0.85); }
.about-portrait .ring{ position:absolute; inset: 14px; border: 1.5px dashed rgba(74,56,118,0.35); border-radius: 20px; }
.about-portrait.photo-portrait{ background: linear-gradient(160deg, var(--lilac-pale) 0%, var(--white) 100%); }
.about-portrait.photo-portrait img{ position:relative; width:100%; height:100%; object-fit:cover; z-index:1; display:block; }
.about-portrait.photo-portrait .ring{ z-index:2; border-color: rgba(255,245,222,0.6); }
.about-copy p{ color: var(--ink); font-size: 17px; }
.about-copy .quote{ font-family:'Fraunces', serif; font-style: italic; font-size: 21px; color: var(--lilac-deep); border-left: 3px solid var(--yellow-deep); padding-left: 20px; margin: 28px 0; }
.about-credentials{ margin-top: 28px; display:flex; flex-wrap:wrap; gap:12px; }
.pill{ font-size:13.5px; font-weight:700; color: var(--lilac-deep); background: var(--lilac-pale); padding: 8px 16px; border-radius: 999px; }
@media (max-width: 880px){ .about-grid{ grid-template-columns: 1fr; } .about-portrait{ max-width: 320px; margin: 0 auto; } }

/* ---------- TELEMEDICINE ---------- */
.tele{ background: var(--lilac-deep); color: var(--yellow-pale); }
.tele h1, .tele h2{ color: var(--white); }
.tele .lede, .tele .section-head p{ color: rgba(241,234,251,0.8); }
.tele-copy p{ color: rgba(241,234,251,0.85); font-size:17px; }
.tele-list{ list-style:none; margin: 24px 0 30px; padding:0; display:flex; flex-direction:column; gap:14px; }
.tele-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15.5px; color: rgba(241,234,251,0.92); }
.tele-list svg{ width:20px; height:20px; flex-shrink:0; margin-top:2px; color: var(--yellow); }
.tele .btn-primary{ background: var(--yellow); color: var(--lilac-deep); }
.tele .btn-primary:hover{ background: var(--yellow-deep); }
.tele-visual{ border-radius: 24px; background: rgba(255,255,255,0.06); border: 1px solid rgba(241,234,251,0.18); aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.tele-visual svg{ width:52%; height:52%; color: var(--yellow); }
.tele-visual.has-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---------- CONTACT ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-card h2, .contact-card h3{ font-size:19px; margin-bottom: 18px; }
.contact-row{ display:flex; gap:14px; align-items:flex-start; padding: 12px 0; border-top:1px solid var(--line); font-size:15.5px; }
.contact-row:first-of-type{ border-top:none; padding-top:0; }
.contact-row svg{ width:19px; height:19px; color: var(--lilac); flex-shrink:0; margin-top:2px; }
.contact-row a{ text-decoration:none; font-weight:700; color: var(--lilac-deep); }
.social-row{ display:flex; gap:12px; margin-top:22px; }
.social-btn{ width:42px; height:42px; border-radius:12px; background: var(--lilac-pale); display:flex; align-items:center; justify-content:center; color: var(--lilac-deep); text-decoration:none; transition: background .2s ease, transform .2s ease; }
.social-btn:hover{ background: var(--yellow); transform: translateY(-2px); }
.social-btn svg{ width:19px; height:19px; }
@media (max-width: 880px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------- CTA STRIP ---------- */
.cta-strip{ background: var(--yellow-pale); }
.cta-strip .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding-top:56px; padding-bottom:56px; }
.cta-strip h2{ margin-bottom:6px; font-size: 26px; }
.cta-strip p{ color: var(--muted); margin:0; }

/* ---------- FOOTER ---------- */
footer{ background: var(--bg-warm); border-top:1px solid var(--line); padding: 44px 0; }
.footer-grid{ display:flex; justify-content:space-between; align-items:flex-start; gap:24px; flex-wrap:wrap; }
.footer-brand{ display:flex; align-items:center; gap:12px; font-family:'Fraunces', serif; font-size:18px; color: var(--lilac-deep); font-weight:600; }
.footer-brand-icon{ width:34px; height:auto; flex-shrink:0; display:block; }
.footer-brand small{ display:block; font-family:'Nunito Sans', sans-serif; font-weight:600; font-size:13px; color: var(--muted); margin-top:4px; }
.footer-links{ display:flex; gap:24px; list-style:none; padding:0; margin:0; flex-wrap:wrap; }
.footer-links a{ text-decoration:none; color: var(--ink); font-weight:600; font-size:14.5px; display:inline-block; padding: 6px 2px; }
.footer-links a:hover{ color: var(--lilac-deep); }
.footer-bottom{ margin-top: 34px; padding-top: 22px; border-top:1px solid var(--line); font-size:13.5px; color: var(--muted); }

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float{ position: fixed; bottom: 24px; right: 24px; width: 58px; height:58px; border-radius: 50%; background: var(--lilac-deep); color: var(--yellow-pale); display:flex; align-items:center; justify-content:center; box-shadow: 0 14px 30px -12px rgba(74,56,118,0.55); z-index: 60; text-decoration:none; transition: transform .2s ease, background .2s ease; }
.wa-float:hover{ transform: scale(1.06); background: var(--lilac-ink); }
.wa-float svg{ width:26px; height:26px; }

/* ==================================================================
   CALCULADORA DE TAMANHO AO NASCER
   ================================================================== */
.calc-author{ display:flex; align-items:center; gap:16px; margin-bottom:24px; }
.calc-author img{ width:64px; height:64px; border-radius:50%; object-fit:cover; box-shadow: var(--shadow); flex-shrink:0; }
.calc-author-text{ font-size:14.5px; color: var(--muted); line-height:1.5; }
.calc-author-text strong{ display:block; color: var(--lilac-deep); font-family:'Fraunces', serif; font-size:16.5px; font-weight:600; margin-bottom:2px; }
.calc-notice{
  background: var(--yellow-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 28px;
  line-height: 1.6;
}
.calc-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 40px;
}
.calc-card fieldset{ border:none; padding:0; margin:0 0 22px; }
.calc-card legend{ font-weight: 700; font-family:'Fraunces', serif; font-size: 17px; color: var(--lilac-deep); padding:0; margin-bottom: 12px; }
.field-group{ margin-bottom: 20px; }
.field-label{ display:block; font-weight:700; font-size:14.5px; margin-bottom:8px; color: var(--ink); }
.calc-card input[type="number"]{
  width:100%; padding: 12px 14px; border:1.5px solid var(--line); border-radius: 12px;
  font-size:16px; font-family:'Nunito Sans', sans-serif; background: var(--bg); color: var(--ink);
}
.calc-card input[type="number"]:focus{ outline: 3px solid var(--lilac-deep); outline-offset: 1px; border-color: var(--lilac-deep); }
.radio-row{ display:flex; gap: 24px; }
.radio-option input{ width:20px; height:20px; accent-color: var(--lilac-deep); margin:0; }
.radio-option{ display:flex; align-items:center; gap:8px; font-weight:600; cursor:pointer; font-size:15.5px; }
.ga-row{ display:grid; grid-template-columns: 1fr auto 1fr auto; gap:10px; align-items:center; }
.ga-unit{ color: var(--muted); font-size:13.5px; white-space:nowrap; }
.hint{ margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.actions{ display:flex; gap:14px; margin-top: 10px; flex-wrap:wrap; }

.calc-error{
  margin-top: 24px; padding: 14px 18px; border-radius: 12px;
  background: #FDF0EE; border: 1px solid #E3A190; color: #8A3A26; font-size: 15px;
}

.calc-results{ margin-top: 32px; border-top: 1px solid var(--line); padding-top: 28px; }

.calc-banner{ padding: 14px 18px; border-radius: 12px; font-size: 14.5px; margin-bottom: 16px; line-height:1.6; }
.calc-banner-warning{ background: #FFF1E6; border: 1px solid #F3A97A; color: #7A3B0E; }
.calc-banner-info{ background: var(--lilac-pale); border: 1px solid rgba(74,56,118,0.25); color: var(--lilac-deep); }

.cmp-table-scroll{ overflow-x:auto; margin-bottom: 20px; -webkit-overflow-scrolling:touch; }
.cmp-table{ width:100%; min-width: 520px; border-collapse: collapse; }
.cmp-table th, .cmp-table td{ border: 1px solid var(--line); padding: 12px 14px; vertical-align: top; text-align:left; font-size: 14.5px; }
.cmp-table thead th{ background: var(--bg-warm); font-size: 12px; text-transform: uppercase; letter-spacing:.03em; color: var(--muted); }
.cmp-table tbody th{ font-weight:700; background: var(--bg-warm); white-space: nowrap; color: var(--ink); }
.cmp-cell{ min-width: 200px; }
.cmp-value{ font-weight:700; margin-bottom:4px; }
.cmp-value.cmp-na{ color: var(--muted); font-weight:500; font-style: italic; }
.cmp-metric{ font-size: 14.5px; margin-bottom: 3px; }
.cmp-meta{ font-size: 12px; color: var(--muted); margin-top: 3px; }
.cmp-flag{ color: var(--pig); font-weight:700; font-size:12px; }
.cmp-row-classification th, .cmp-row-classification td{ background: rgba(74,56,118,0.04); }

.cmp-badge{ display:inline-block; padding: 6px 12px; border-radius: 999px; font-weight:700; font-size: 13px; color: #fff; }
.cmp-badge-pig{ background: var(--pig); }
.cmp-badge-gig{ background: var(--gig); }
.cmp-badge-aig{ background: var(--aig); }

.calc-details{ margin-bottom: 22px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 14.5px; background: var(--bg); }
.calc-details summary{ cursor:pointer; font-weight:700; color: var(--lilac-deep); }
.calc-details-content{ margin-top: 12px; line-height:1.6; color: var(--ink); }
.calc-details-content p{ margin: 0 0 10px; }

.calc-fixed-disclaimer{ border-top: 1px solid var(--line); padding-top: 14px; font-weight:600; font-size: 14px; color: var(--muted); margin-bottom:0; }

.calc-sources{ font-size: 13px; color: var(--muted); line-height: 1.7; }
.calc-sources h2{ font-size: 17px; color: var(--lilac-deep); margin-bottom: 10px; }
.calc-sources a{ color: var(--lilac-deep); font-weight:700; text-decoration:none; }
.calc-sources a:hover{ text-decoration:underline; }

@media (max-width: 560px){
  .calc-card{ padding: 22px; }
  .cmp-table{ min-width:0; }
  .cmp-cell{ min-width: 150px; }
  .ga-row{ grid-template-columns: 1fr 1fr; }
  .ga-row .ga-unit{ display:none; }
}
