/* =========================================================
   Dra. Giovanna Nery · Cirurgiã-Dentista
   ========================================================= */
:root {
  --ivory: #f7f5f3;
  --cream: #eeebe6;
  --sand: #e2ddd5;
  --greige: #d0c8bd;
  --taupe: #8a93a0;
  --mocha: #56667a;
  --ink: #34404f;
  --ink-2: #414e60;
  --champagne: #b9a48b;
  --white: #fffefc;
  --slate: #607185;
  --beige: #d5c6b4;

  --serif: "Playfair Display", Georgia, serif;
  --brand: "Josefin Sans", "Jost", "Helvetica Neue", Arial, sans-serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 22px;
  --radius-lg: 34px;
  --shadow-sm: 0 4px 14px rgba(52, 64, 79, .06);
  --shadow: 0 18px 50px -18px rgba(52, 64, 79, .22);
  --shadow-soft: 0 10px 30px -12px rgba(80, 95, 115, .25), 0 1px 0 rgba(255, 255, 255, .8) inset;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--mocha); }
p { margin: 0 0 1em; }
::selection { background: var(--ink); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.fill { fill: currentColor; stroke: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--sans); font-weight: 400; font-size: .74rem;
  letter-spacing: .32em; text-transform: uppercase; color: var(--mocha);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 18px 0 16px; }
.section-head p { color: var(--mocha); margin: 0; }

.divider { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--champagne); margin: 22px auto; }
.divider::before, .divider::after { content: ""; width: 70px; height: 1px; background: currentColor; opacity: .6; }
.divider span { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid currentColor; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 16px 30px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 400; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--bg);
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-outline { --bg: transparent; --fg: var(--ink); border-color: rgba(52, 64, 79, .35); }
.btn-outline:hover { --bg: var(--ink); --fg: var(--ivory); }
.btn-light { --bg: var(--ivory); --fg: var(--ink); }
.btn-sm { padding: 12px 22px; font-size: .74rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; color: var(--ink); border-bottom: 1px solid rgba(52, 64, 79, .25); padding-bottom: 4px; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: .9em; border-color: var(--ink); }
.link-arrow .icon { width: 1em; height: 1em; }

/* ---------- topbar ---------- */
.topbar { background: var(--ink); color: rgba(247, 245, 243, .82); font-size: .78rem; letter-spacing: .06em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 40px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 15px; height: 15px; }
.topbar-group { display: flex; gap: 26px; align-items: center; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
/* blur lives on a pseudo-element so it doesn't become the containing block of the fixed mobile nav */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247, 245, 243, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.scrolled { border-color: var(--sand); box-shadow: 0 8px 30px -20px rgba(52, 64, 79, .35); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--brand); font-weight: 300; font-size: 1.12rem; letter-spacing: .14em; text-transform: uppercase; }
.brand-sub { font-size: .6rem; font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: var(--mocha); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { display: none; }
.nav .btn::after { display: none; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--greige); align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 18px; height: 1px; background: var(--ink); position: relative; transition: background .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--ink); transition: transform .35s var(--ease); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 70px) 0 clamp(150px, 16vw, 190px); overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(255, 254, 252, .95), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%); }
.hero-watermark { position: absolute; inset: auto 0 40px 0; font-family: var(--serif); font-size: clamp(5rem, 13vw, 12.5rem); line-height: .8; color: rgba(96, 113, 133, .09); white-space: nowrap; text-align: center; pointer-events: none; letter-spacing: -.02em; user-select: none; }
.hero .container { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(30px, 5vw, 70px); position: relative; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); margin: 22px 0 24px; }
.hero h1 em { display: inline; }
.hero-lead { font-size: 1.12rem; color: var(--mocha); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 38px; }
.credentials { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mocha); }
.credentials span { display: inline-flex; align-items: center; gap: 8px; }
.credentials .icon { color: var(--champagne); }

.hero-visual { position: relative; justify-self: center; width: min(440px, 100%); }
.arch { position: relative; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 626 / 820; box-shadow: var(--shadow); background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.arch-outline { position: absolute; inset: -16px -16px 16px 16px; border: 1px solid var(--greige); border-radius: 999px 999px var(--radius-lg) var(--radius-lg); z-index: -1; }
.seal { position: absolute; left: -58px; bottom: 60px; width: 150px; height: 150px; border-radius: 50%; background: rgba(247, 245, 243, .92); backdrop-filter: blur(6px); box-shadow: var(--shadow); display: grid; place-items: center; }
.seal .ring { position: absolute; inset: 10px; animation: spin 38s linear infinite; }
.seal .mono { width: 46%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-chip { position: absolute; right: -28px; top: 64px; background: var(--white); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: .86rem; line-height: 1.3; }
.hero-chip strong { font-weight: 500; display: block; }
.hero-chip .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--mocha); }

/* ---------- feature cards ---------- */
.features { position: relative; margin-top: clamp(-120px, -12vw, -96px); z-index: 2; }
.features .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 30px 26px 28px; box-shadow: var(--shadow); text-align: center; transition: transform .45s var(--ease); border: 1px solid rgba(226, 221, 213, .6); }
.feature:hover { transform: translateY(-6px); }
.feature .ic { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--mocha); }
.feature .ic .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.22rem; margin-bottom: 10px; }
.feature p { font-size: .92rem; color: var(--mocha); margin: 0; line-height: 1.6; }

/* ---------- about ---------- */
.about .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media .small { position: absolute; right: -40px; bottom: -40px; width: 46%; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--ivory); box-shadow: var(--shadow); aspect-ratio: 3 / 4; }
.about-media .small img { width: 100%; height: 100%; object-fit: cover; }
.about-media .logo-mark { position: absolute; left: -40px; top: -40px; width: 130px; padding: 12px; border-radius: 50%; background: rgba(247, 245, 243, .94); box-shadow: var(--shadow); z-index: 2; }
.about h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 18px 0 22px; }
.about .lead { font-size: 1.1rem; color: var(--ink-2); }
.about p { color: var(--mocha); }
.quote { margin: 32px 0; padding: 26px 30px; border-left: 1px solid var(--champagne); background: linear-gradient(90deg, var(--cream), transparent); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.22rem; line-height: 1.5; color: var(--ink); margin: 0 0 10px; }
.quote cite { font-style: normal; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mocha); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 34px; }
.pillar { border-top: 1px solid var(--greige); padding-top: 16px; }
.pillar strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.12rem; margin-bottom: 4px; color: var(--ink); }
.pillar span { font-size: .88rem; color: var(--mocha); line-height: 1.5; display: block; }

/* ---------- procedures ---------- */
.procedures { background: var(--white); }
.procedures::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 0% 0%, var(--cream), transparent 70%), radial-gradient(600px 400px at 100% 100%, var(--cream), transparent 70%); pointer-events: none; }
.procedures .container { position: relative; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.tab { padding: 13px 26px; border-radius: 999px; border: 1px solid var(--greige); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; transition: all .3s var(--ease); background: transparent; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.tab-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tab-panel[hidden] { display: none; }
.tab-panel.show { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.proc { position: relative; background: var(--ivory); border-radius: var(--radius); padding: 34px 30px 30px; border: 1px solid var(--sand); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s; }
.proc:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.proc .ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--mocha); background: var(--white); box-shadow: var(--shadow-soft); margin-bottom: 22px; }
.proc .ic .icon { width: 28px; height: 28px; }
.proc .num { position: absolute; top: 26px; right: 28px; font-family: var(--serif); font-style: italic; color: var(--greige); font-size: 1.5rem; }
.proc h3 { font-size: 1.42rem; margin-bottom: 10px; }
.proc p { font-size: .95rem; color: var(--mocha); line-height: 1.65; flex: 1; }
.proc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 20px; }
.proc .tags span { font-size: .7rem; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--mocha); }
.proc .link-arrow { align-self: flex-start; }

/* ---------- results ---------- */
.results { overflow: hidden; }
.results .section-head h2 em { color: var(--mocha); }
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px; }
.track::-webkit-scrollbar { display: none; }
.result { scroll-snap-align: start; margin: 0; }
.result .img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; background: var(--sand); box-shadow: var(--shadow-sm); position: relative; }
.result .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.result:hover .img img { transform: scale(1.04); }
.result .badge { position: absolute; left: 14px; top: 14px; background: rgba(247, 245, 243, .92); padding: 6px 12px; border-radius: 999px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.result figcaption { padding: 16px 4px 0; }
.result figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.result figcaption span { font-size: .88rem; color: var(--mocha); }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 20px; }
.carousel-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--greige); display: grid; place-items: center; transition: all .3s; }
.carousel-nav button:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.carousel-nav .icon { width: 20px; height: 20px; }
.disclaimer { text-align: center; font-size: .8rem; color: var(--taupe); margin-top: 18px; }

/* ---------- agenda aberta ---------- */
.agenda { background: #eceae6; overflow: hidden; padding: clamp(70px, 9vw, 110px) 0; }
.agenda-bg { position: absolute; inset: -40px; display: flex; flex-direction: column; justify-content: center; gap: 0; font-family: var(--serif); font-size: clamp(6rem, 14vw, 13rem); line-height: .86; color: rgba(52, 64, 79, .07); white-space: nowrap; pointer-events: none; user-select: none; }
.agenda-bg div:nth-child(even) { transform: translateX(-12%); font-style: italic; }
.agenda-card { position: relative; max-width: 760px; margin: 0 auto; background: #f7f5f3; border: 1px solid rgba(52, 64, 79, .35); border-radius: 40px; padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 60px); text-align: center; box-shadow: 0 30px 60px -30px rgba(52, 64, 79, .35); }
.agenda-card h2 { font-size: clamp(3rem, 8vw, 5.6rem); line-height: .92; color: var(--slate); letter-spacing: -.02em; }
.agenda-card h2 em { display: block; font-weight: 700; color: var(--slate); }
.agenda-card .divider { margin: 26px auto 22px; }
.agenda-card p { color: var(--mocha); max-width: 460px; margin: 0 auto 28px; }

/* ---------- steps ---------- */
.steps .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps .grid::before { content: ""; position: absolute; top: 37px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--greige) 15%, var(--greige) 85%, transparent); }
.step { text-align: center; padding: 0 18px; position: relative; }
.step .n { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px; background: var(--ivory); border: 1px solid var(--greige); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--mocha); position: relative; }
.step h3 { font-size: 1.28rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--mocha); margin: 0; }

/* ---------- tips ---------- */
.tips { background: var(--cream); }
.tips .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tip { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.tip:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tip .img { aspect-ratio: 4 / 4.2; overflow: hidden; }
.tip .img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.tip .body { padding: 24px 26px 28px; }
.tip small { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); }
.tip h3 { font-size: 1.32rem; margin: 8px 0 10px; }
.tip p { font-size: .93rem; color: var(--mocha); margin-bottom: 16px; }

/* ---------- faq ---------- */
.faq .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq .section-head { text-align: left; margin: 0; position: sticky; top: 120px; }
.faq .section-head .btn { margin-top: 28px; }
.faq-list details { border-bottom: 1px solid var(--greige); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: 1.24rem; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--greige); flex: none; position: relative; transition: transform .4s var(--ease), background .3s; }
.faq-list summary .plus::before, .faq-list summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-list summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-list details[open] summary .plus { background: var(--ink); }
.faq-list details[open] summary .plus::before { background: var(--ivory); }
.faq-list details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0); background: var(--ivory); }
.faq-list .answer { padding: 0 60px 24px 0; color: var(--mocha); }

/* ---------- contact ---------- */
.contact { background: var(--white); }
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.contact h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 18px 0 20px; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 14px; }
.contact-list a, .contact-list li > div { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: var(--ivory); border: 1px solid var(--sand); transition: background .3s, transform .35s var(--ease); }
.contact-list a:hover { background: var(--cream); transform: translateX(4px); }
.contact-list .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--mocha); box-shadow: var(--shadow-sm); flex: none; }
.contact-list small { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); line-height: 1.4; }
.contact-list strong { font-weight: 400; font-size: 1.02rem; }
.contact-media { position: relative; }
.contact-media .frame { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); max-width: 440px; margin-left: auto; }
.contact-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.contact-media .note { position: absolute; left: 0; bottom: 40px; background: var(--ivory); border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow); max-width: 260px; font-size: .9rem; line-height: 1.5; }
.contact-media .note strong { font-family: var(--serif); font-weight: 400; font-size: 1.12rem; display: block; margin-bottom: 4px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(247, 245, 243, .72); padding: 80px 0 30px; font-size: .92rem; }
.footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(247, 245, 243, .12); }
.footer .logo { width: 210px; margin-bottom: 22px; }
.footer h4 { font-family: var(--sans); font-weight: 400; color: var(--ivory); font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer .social { display: flex; gap: 10px; margin-top: 20px; }
.footer .social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(247, 245, 243, .2); display: grid; place-items: center; transition: background .3s, color .3s; }
.footer .social a:hover { background: var(--ivory); color: var(--ink); }
.footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .8rem; color: rgba(247, 245, 243, .5); }

/* ---------- floating whatsapp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(52, 64, 79, .55); transition: transform .35s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ink); animation: pulse 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 28px; height: 28px; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header-cta .btn { display: none; }
  .features .grid { grid-template-columns: repeat(2, 1fr); }
  .tab-panel { grid-template-columns: repeat(2, 1fr); }
  .track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar .hide-sm { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--ivory); flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: 40px; transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; z-index: 70; }
  .nav a { font-size: 1rem; }
  .nav .btn { display: inline-flex; margin-top: 10px; font-size: .78rem; }
  .menu-open .nav { transform: none; visibility: visible; transition: transform .5s var(--ease); box-shadow: -30px 0 60px -30px rgba(52, 64, 79, .4); }
  .menu-open .menu-toggle { position: relative; z-index: 80; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(52, 64, 79, .35); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 65; }
  .menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .credentials { justify-content: center; }
  .hero-visual { width: min(360px, 84%); margin-top: 10px; }
  .seal { left: -36px; width: 120px; height: 120px; bottom: 40px; }
  .hero-chip { right: -24px; top: 30px; }
  .about .container, .faq .container, .contact .container { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin: 0 auto 30px; }
  .faq .section-head { position: static; text-align: center; }
  .contact-media .frame { margin: 0 auto; }
  .steps .grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .steps .grid::before { display: none; }
  .tips .grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero .eyebrow { letter-spacing: .2em; font-size: .68rem; }
  .hero .eyebrow::before, .hero .eyebrow::after { width: 20px; }
  .topbar .container { justify-content: center; }
  .topbar-group.right { display: none; }
  .header .container { height: 72px; }
  .brand img { height: 42px; }
  .brand-name { font-size: .92rem; letter-spacing: .1em; }
  .brand-sub { font-size: .52rem; letter-spacing: .34em; }
  .features .grid, .tab-panel { grid-template-columns: 1fr; }
  .feature { display: grid; grid-template-columns: 58px 1fr; text-align: left; gap: 0 18px; padding: 22px; align-items: center; }
  .feature .ic { margin: 0; grid-row: span 2; }
  .feature h3 { margin-bottom: 4px; }
  .track { grid-auto-columns: 78%; }
  .pillars { grid-template-columns: 1fr; }
  .about-media .small { right: -10px; bottom: -30px; }
  .about-media .logo-mark { left: -12px; top: -24px; width: 90px; }
  .steps .grid { grid-template-columns: 1fr; }
  .faq-list .answer { padding-right: 0; }
  .contact-media .note { position: relative; left: auto; bottom: auto; margin: -50px auto 0; }
  .footer .grid { grid-template-columns: 1fr; }
  .hero-chip { display: none; }
  .btn { padding: 15px 24px; }
}

/* =========================================================
   Dra. Giovanna Nery · seções específicas
   ========================================================= */
.seal .ring { width: calc(100% - 20px); height: calc(100% - 20px); fill: var(--slate); font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .06em; overflow: visible; }
.seal .mono { width: 50%; }
.hero-chip .dot { color: var(--slate); }
.about-media { width: 100%; }
.nav a, .brand-name { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 901px) { .nav { gap: 24px; } .nav a { letter-spacing: .12em; } }
.stars { display: inline-flex; gap: 3px; color: var(--champagne); }
.stars .icon { width: 16px; height: 16px; }

/* tratamentos: aba com 2 cards centralizada */
.tab-panel.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }

/* primeira consulta */
.first-visit { background: var(--cream); }
.first-visit .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.first-visit-media .frame { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); max-width: 460px; }
.first-visit-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.first-visit h2, .tech h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 20px; }
.first-visit p, .tech p { color: var(--mocha); }
.checklist { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--white); border: 1px solid var(--sand); border-radius: 16px; font-size: .98rem; }
.checklist .ic { width: 32px; height: 32px; border-radius: 50%; background: var(--slate); color: var(--ivory); display: grid; place-items: center; flex: none; }
.checklist .ic .icon { width: 17px; height: 17px; stroke-width: 2; }

/* tecnologia */
.tech .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.tech-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.tech-list li { display: flex; gap: 16px; align-items: flex-start; }
.tech-list .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--slate); box-shadow: var(--shadow-soft); flex: none; }
.tech-list .ic .icon { width: 24px; height: 24px; }
.tech-list strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.18rem; margin-bottom: 2px; }
.tech-list li > span:last-child { font-size: .93rem; color: var(--mocha); line-height: 1.55; }
.tech-media { position: relative; padding-bottom: 60px; }
.tech-media .frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); max-width: 440px; margin-left: auto; }
.tech-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.tech-media .small { position: absolute; left: 0; bottom: 0; width: 64%; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--ivory); box-shadow: var(--shadow); background: #1d1b33; }
.tech-media .small img { width: 100%; height: auto; }

/* casos */
.results { background: var(--white); }

/* depoimentos */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 34px 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink); flex: 1; }
.review figcaption { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.reviews-cta { text-align: center; margin-top: 40px; }

/* contato: atalhos de WhatsApp */
.wa-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.wa-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--greige); background: var(--ivory); font-size: .9rem; line-height: 1.3; transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.wa-chips a:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); transform: translateY(-2px); }
.wa-chips .icon { width: 18px; height: 18px; }

/* mapa */
.contact-media .map-frame { background: var(--sand); border-radius: var(--radius-lg); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3); }

@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .first-visit .container, .tech .container { grid-template-columns: 1fr; }
  .first-visit-media .frame { margin: 0 auto 10px; max-width: 380px; }
  .tech-media { max-width: 460px; margin: 10px auto 0; width: 100%; }
}
@media (max-width: 640px) {
  .tab-panel.two { grid-template-columns: 1fr; }
  .tech-media { padding-bottom: 40px; }
  .tech-media .small { width: 72%; border-width: 6px; }
  .wa-chips a { font-size: .86rem; }
}
