/* ==========================================================================
   LP Íntera Odontologia Integrada — Sorocaba-SP
   Paleta: branco + marsala
   ========================================================================== */

:root {
  --wine-950: #3A171C;
  --wine-900: #4E2027;
  --wine-800: #6B2D34;
  --wine-700: #803C42;
  --wine-600: #955251; /* marsala */
  --wine-400: #BD8483;
  --wine-300: #D9B2B0;
  --wine-100: #F5E9E7;
  --wine-50:  #FBF6F5;

  --ink: #2E1C1E;
  --muted: #6F5E5F;
  --line: #EDE2E0;
  --bg: #FFFFFF;
  --bg-soft: #FAF6F4;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(78, 32, 39, .06), 0 2px 8px rgba(78, 32, 39, .04);
  --shadow-md: 0 14px 34px -14px rgba(78, 32, 39, .25);
  --container: 1200px;
  --header-h: 76px;
  --trust-h: 60px;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-variant-numeric: lining-nums;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--wine-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-900); }
h1, h2, h3, .step-n, .hero-facts strong { font-variant-numeric: lining-nums; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; color: var(--wine-900); }
h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.08; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
h1, h2, h3, summary, .eyebrow, .section-head p, .cta-final p { text-wrap: balance; }
p, li, address { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--wine-600); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--wine-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); line-height: 1.4; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine-600); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--wine-300); }

/* Botões ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .9375rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-wine {
  background: linear-gradient(135deg, var(--wine-600) 0%, var(--wine-800) 100%); color: #fff;
  box-shadow: 0 10px 22px -10px rgba(107, 45, 52, .6);
}
.btn-wine:hover { background: linear-gradient(135deg, var(--wine-700) 0%, var(--wine-900) 100%); color: #fff; }
.btn-ghost { background: transparent; color: var(--wine-900); border-color: rgba(78, 32, 39, .22); }
.btn-ghost:hover { border-color: var(--wine-800); color: var(--wine-900); background: #fff; box-shadow: var(--shadow-sm); }
.btn-white { background: #fff; color: var(--wine-800); }
.btn-white:hover { background: var(--wine-100); color: var(--wine-900); }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

/* brilho ao passar o mouse */
.btn-wine, .btn-white { position: relative; overflow: hidden; isolation: isolate; }
.btn-wine::after, .btn-white::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn-wine:hover::after, .btn-white:hover::after { transform: translateX(120%); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--wine-700);
}
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .3s ease; }

.brand { display: flex; flex-direction: column; flex-shrink: 0; text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.875rem; letter-spacing: .14em; color: var(--wine-800); }
.brand-sub { font-size: .625rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; padding-left: 2px; }
.brand:hover .brand-name { color: var(--wine-900); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--wine-600); transform: scaleX(0); transition: transform .2s; transform-origin: left;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--wine-800); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--wine-900); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Espaço reservado para fotos -------------------------------------------- */
.ph {
  display: grid; place-items: center; text-align: center; width: 100%; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); color: var(--wine-700);
  font-size: .875rem; font-weight: 600; letter-spacing: .04em;
  background:
    repeating-linear-gradient(135deg, rgba(149, 82, 81, .06) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--wine-100), var(--wine-50));
  border: 1px dashed var(--wine-300);
}
.ph--sm { aspect-ratio: 1 / 1; border-radius: var(--radius); font-size: .8125rem; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 80px;
  background:
    radial-gradient(900px 520px at 90% 0%, rgba(149, 82, 81, .10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-title {
  font-family: var(--font-serif); font-weight: 500; letter-spacing: -.015em; color: var(--wine-900);
  font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1.02; margin-bottom: 24px; text-wrap: balance;
}
.hero-title em { display: block; font-style: italic; color: var(--wine-600); }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 32em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero-facts { display: flex; gap: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--font-serif); font-weight: 600; font-size: 1.625rem; color: var(--wine-800); line-height: 1.15; }
.hero-facts span { font-size: .875rem; color: var(--muted); }

.hero-media { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.hero-media::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: 0;
  border-radius: var(--radius-lg); background: var(--wine-800); transition: transform .5s ease;
}
.hero-media:hover::before { transform: translate(6px, 6px); }
.hero-media > .ph, .hero-media > img { position: relative; z-index: 1; background-color: #fff; }
.hero-media > img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; z-index: 2; left: -36px; bottom: 44px;
  display: flex; align-items: center; gap: 12px; max-width: 250px;
  padding: 14px 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md);
  font-size: .8125rem; line-height: 1.35; color: var(--muted);
}
.hero-badge svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--wine-100); color: var(--wine-700); }
.hero-badge strong { display: block; color: var(--wine-900); font-size: .875rem; }

/* Faixa ------------------------------------------------------------------ */
.trust { background: var(--wine-800); color: #fff; padding: 18px 0; }
.trust-marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.trust-list { display: flex; flex-shrink: 0; align-items: center; animation: marquee 40s linear infinite; }
.trust-marquee:hover .trust-list { animation-play-state: paused; }
.trust-list li { display: flex; align-items: center; font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; color: rgba(255, 255, 255, .92); white-space: nowrap; }
.trust-list li::before { content: "✦"; font-style: normal; font-size: .625rem; color: var(--wine-300); margin: 0 28px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* Seções ----------------------------------------------------------------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-wine {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .8);
  background: linear-gradient(160deg, var(--wine-800), var(--wine-950));
}
.section-wine::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -280px;
  border-radius: 50%; background: radial-gradient(circle, rgba(217, 178, 176, .18), transparent 65%); pointer-events: none;
}
.section-wine > .container { position: relative; z-index: 1; }
.section-wine h2, .section-wine h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head .eyebrow { justify-content: center; }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; margin: 0; }
.section-head--left { text-align: left; margin: 0 0 32px; }
.section-head--left .eyebrow { justify-content: flex-start; }

.section-cta { margin-top: 44px; text-align: center; }
.note { margin: 28px auto 0; font-size: .8125rem; color: var(--muted); text-align: center; max-width: 560px; }

.icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--wine-100); color: var(--wine-700); margin-bottom: 20px;
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.icon svg { width: 26px; height: 26px; }

.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; }
.checklist svg { width: 18px; height: 18px; color: var(--wine-600); margin-top: 3px; }

/* Destaques -------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.feature {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--wine-300); }
.feature:hover .icon { background: var(--wine-700); color: #fff; }
.feature-tag { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-600); }
.feature h3 { font-family: var(--font-serif); font-weight: 600; font-size: 2rem; line-height: 1.05; margin-bottom: 12px; }
.feature > p:not(.feature-tag) { color: var(--muted); font-size: .9875rem; }
.feature .checklist { margin: 4px 0 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.feature .btn { margin-top: auto; align-self: flex-start; }

.feature--dark { background: linear-gradient(160deg, var(--wine-700), var(--wine-900)); border-color: transparent; color: rgba(255, 255, 255, .85); }
.feature--dark h3 { color: #fff; }
.feature--dark .feature-tag { color: var(--wine-300); }
.feature--dark > p:not(.feature-tag) { color: rgba(255, 255, 255, .78); }
.feature--dark .icon { background: rgba(255, 255, 255, .12); color: #fff; }
.feature--dark:hover .icon { background: #fff; color: var(--wine-800); }
.feature--dark .checklist { border-color: rgba(255, 255, 255, .16); }
.feature--dark .checklist svg { color: var(--wine-300); }

/* Estética --------------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  position: relative; overflow: hidden;
  padding: 28px 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  transition: box-shadow .3s ease, transform .3s ease;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--wine-600), var(--wine-300));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.service:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service:hover::before { transform: scaleX(1); }
.service:hover .icon { background: var(--wine-700); color: #fff; transform: scale(1.05); }
.service p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* Resultados ------------------------------------------------------------- */
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.result { margin: 0; padding: 14px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s ease; }
.result:hover { box-shadow: var(--shadow-md); }
.result-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.result figcaption { padding: 14px 6px 4px; font-family: var(--font-serif); font-size: 1.375rem; font-weight: 600; color: var(--wine-900); text-align: center; }

/* Como funciona ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 32px 26px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step-n { display: block; font-family: var(--font-serif); font-size: 3rem; font-weight: 500; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--wine-600); margin-bottom: 18px; }
.step h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.625rem; }
.step p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* Sobre ------------------------------------------------------------------ */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.about-media { position: relative; margin: 0; }
.about-media::after {
  content: ""; position: absolute; width: 130px; height: 130px; right: -22px; top: -22px; z-index: -1;
  border-radius: 26px; background: var(--wine-600);
}
.about-media > .ph, .about-media > img { background-color: #fff; }
.about-media > img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-copy h2 { font-size: clamp(2.25rem, 3.6vw, 3rem); margin-bottom: 6px; }
.about-reg { font-size: .875rem; color: var(--muted); letter-spacing: .03em; margin-bottom: 26px; }
.about-copy > div p { color: #4A3A3C; }

.quote { margin: 30px 0 0; padding: 26px 30px; border-left: 3px solid var(--wine-600); background: var(--wine-50); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; line-height: 1.35; color: var(--wine-900); margin-bottom: 12px; }
.quote cite { font-style: normal; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wine-600); }

/* Diferenciais ----------------------------------------------------------- */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.diff { transition: transform .3s ease; }
.diff:hover { transform: translateY(-3px); }
.diff .icon { background: rgba(255, 255, 255, .1); color: var(--wine-300); margin-bottom: 18px; }
.diff:hover .icon { background: #fff; color: var(--wine-800); }
.diff h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.625rem; margin-bottom: 8px; }
.diff p { margin: 0; font-size: .9875rem; }

/* FAQ -------------------------------------------------------------------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem; color: var(--wine-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; color: var(--wine-600); transition: transform .3s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq summary:hover { color: var(--wine-600); }
.faq details p { margin: 0; padding: 0 40px 24px 0; color: var(--muted); }

/* Contato ---------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; align-items: flex-start; gap: 18px; }
.contact-list .icon { margin: 0; width: 48px; height: 48px; border-radius: 14px; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-600); margin-bottom: 4px; }
.contact-list address { margin-bottom: 6px; color: var(--ink); }
.contact-list a:not(.link-arrow) { font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--wine-50); }
.map iframe { display: block; width: 100%; height: 440px; border: 0; }

/* CTA final -------------------------------------------------------------- */
.cta-final {
  position: relative; overflow: hidden;
  padding: 88px 0; text-align: center; color: rgba(255, 255, 255, .88);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(255, 255, 255, .14), transparent 70%),
    linear-gradient(135deg, var(--wine-600), var(--wine-800));
}
.cta-final::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 700px; height: 700px; margin: -350px 0 0 -350px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16);
  animation: ripple 4.5s ease-out infinite; pointer-events: none;
}
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.cta-final > .container { position: relative; z-index: 1; }
.cta-inner { max-width: 760px; }
.cta-final h2 { color: #fff; font-size: clamp(2.25rem, 4vw, 3.25rem); }
.cta-final p { font-size: 1.125rem; margin-bottom: 32px; }

/* Rodapé ----------------------------------------------------------------- */
.site-footer { background: var(--wine-950); color: rgba(255, 255, 255, .7); font-size: .9375rem; padding: 64px 0 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--wine-300); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-grid p { margin: 0 0 6px; }
.footer-brand { font-family: var(--font-serif); font-weight: 600; font-size: 1.75rem; letter-spacing: .14em; color: #fff; }
.footer-h { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-300); margin-bottom: 12px !important; }
.footer-bottom { padding-top: 24px; font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0 0 4px; }

/* WhatsApp flutuante ----------------------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; isolation: isolate;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35);
  transform: translateY(120px); opacity: 0; transition: transform .35s, opacity .35s, background-color .2s;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float.is-visible:hover { background: #1EBE5A; color: #fff; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: #25D366; z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { from { transform: scale(1); opacity: .5; } to { transform: scale(1.35); opacity: 0; } }

/* Barra de progresso de leitura */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
  background: linear-gradient(90deg, var(--wine-300), var(--wine-700));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* Animações de entrada --------------------------------------------------- */
.js .reveal { opacity: 0; translate: 0 14px; transition: opacity .6s ease, translate .6s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.js .reveal.is-visible { opacity: 1; translate: none; }

.js .hero-copy > *, .js .hero-media { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .hero-copy > :nth-child(1) { animation-delay: .05s; }
.js .hero-copy > :nth-child(2) { animation-delay: .15s; }
.js .hero-copy > :nth-child(3) { animation-delay: .25s; }
.js .hero-copy > :nth-child(4) { animation-delay: .35s; }
.js .hero-copy > :nth-child(5) { animation-delay: .45s; }
.js .hero-media { animation-name: rise-photo; animation-duration: 1s; animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rise-photo { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .hero-copy > *, .js .hero-media { opacity: 1; animation: none; }
  .trust-list { animation: none; }
  .trust-list[aria-hidden="true"], .cta-final::before, .wa-float::before { display: none; }
}

/* Desktop: seções com a altura da tela ----------------------------------- */
@media (min-width: 961px) {
  .site-header.is-scrolled .header-inner { height: 64px; }
  .hero {
    display: flex; align-items: center; padding: 40px 0;
    min-height: calc(100vh - var(--header-h) - var(--trust-h));
    min-height: calc(100svh - var(--header-h) - var(--trust-h));
  }
  .hero > .container { width: 100%; }
}
@media (min-width: 961px) and (max-height: 820px) {
  .hero-media { max-width: 380px; }
}

/* Responsivo ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature { padding: 30px 24px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 32px; background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(78, 32, 39, .25);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav a.is-active { color: var(--wine-600); }
  .nav-cta { margin-top: 24px; padding: 16px 24px; }

  .hero { padding: 32px 0 64px; }
  .hero-grid, .about, .faq-wrap, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { order: -1; max-width: 460px; margin: 0 auto; justify-self: center; }
  .hero-badge { left: -12px; bottom: 24px; }
  .feature-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .result:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); }
  .about-media { max-width: 440px; }
  .diff-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .faq-wrap { gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 20px; }
  .btn { white-space: normal; text-align: center; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p:last-child:not(.eyebrow) { font-size: 1.0625rem; }
  h2 { font-size: 2.125rem; }

  .brand-name { font-size: 1.5rem; }
  .brand-sub { font-size: .5625rem; letter-spacing: .22em; }

  .hero { padding-top: 20px; }
  .hero-grid { gap: 36px; }
  .hero-copy { text-align: center; }
  .hero .eyebrow { justify-content: center; }
  .hero .eyebrow::before { display: none; }
  .hero-title { font-size: 2.875rem; }
  .lede { font-size: 1.0625rem; margin: 0 auto 28px; }
  .hero-actions { justify-content: center; margin-bottom: 32px; }
  .hero-actions .btn { width: 100%; padding: 16px 24px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 20px; }
  .hero-facts li { align-items: center; }
  .hero-facts strong { font-size: 1.25rem; }
  .hero-facts span { font-size: .75rem; line-height: 1.35; }
  .hero-media .ph { aspect-ratio: 5 / 4; }
  .hero-media::before { inset: 12px -10px -12px 12px; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -22px; max-width: none; width: max-content; }

  .trust { padding: 14px 0; }
  .trust-list li { font-size: 1.0625rem; }
  .trust-list li::before { margin: 0 18px; }

  .feature { padding: 26px 22px; }
  .feature h3 { font-size: 1.75rem; }
  .feature .btn { align-self: stretch; }

  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; }
  .service .icon { grid-row: span 2; margin: 2px 0 0; width: 44px; height: 44px; }
  .service .icon svg { width: 22px; height: 22px; }
  .service h3 { font-size: 1rem; margin-bottom: 4px; }
  .service p { font-size: .875rem; line-height: 1.5; }
  .section-cta .btn { width: 100%; }

  .result-grid { grid-template-columns: 1fr; gap: 14px; }
  .result:last-child:nth-child(odd) { width: 100%; }

  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 20px; }
  .step-n { grid-row: span 2; font-size: 2.25rem; margin: 0; }
  .step h3 { font-size: 1.375rem; margin-bottom: 4px; }

  .about { gap: 36px; }
  .about-media::after { right: -6px; top: -10px; width: 72px; height: 72px; }
  .about-media .ph { aspect-ratio: 4 / 4.4; }
  .quote { padding: 20px 22px; }
  .quote p { font-size: 1.3125rem; }

  .diff-grid { grid-template-columns: 1fr; gap: 26px; }
  .diff { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
  .diff .icon { grid-row: span 2; margin: 0; width: 46px; height: 46px; }
  .diff h3 { font-size: 1.375rem; margin-bottom: 2px; }

  .faq summary { font-size: 1rem; padding: 18px 0; }
  .faq details p { padding-right: 0; }

  .map iframe { height: 320px; }
  .contact-list a:not(.link-arrow) { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .link-arrow { min-height: 44px; }

  .cta-final { padding: 64px 0; }
  .cta-final .btn { width: 100%; }
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .site-footer a { display: inline-block; padding: 10px 0; margin: -8px 0; }
  .btn-sm { min-height: 44px; }

  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* ==========================================================================
   v2 — título com palavra-chave, carrossel do Instagram, barra do celular
   ========================================================================== */

/* Título do topo: "Dentista em Sorocaba" + frase principal, tudo dentro do H1 */
.hero-kicker {
  display: block; font-style: normal; font-weight: 600; font-size: .44em; line-height: 1.2;
  letter-spacing: 0; color: var(--wine-700); margin-bottom: .22em;
}
.hero-title > span:not(.hero-kicker) { display: block; }

/* Âncoras dos serviços (links de anúncio e sitelinks) */
.feature[id], .service[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.feature:target, .service:target { border-color: var(--wine-600); box-shadow: 0 0 0 3px var(--wine-100), var(--shadow-md); }

/* Carrossel no estilo de post do Instagram --------------------------------- */
.ig {
  width: 100%; max-width: 460px; justify-self: center; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(78, 32, 39, .45);
}
.ig-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.ig-avatar {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; padding: 2px;
  background: linear-gradient(45deg, #F9CE34, #EE2A7B 55%, #6228D7);
}
.ig-avatar span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  border: 2px solid #fff; background: var(--wine-800); color: #fff;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; line-height: 1; padding-top: 5px;
}
.ig-user { margin: 0; min-width: 0; line-height: 1.25; font-size: .875rem; }
.ig-user strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-user span { font-size: .75rem; color: var(--muted); }
.ig-follow {
  margin-left: auto; flex-shrink: 0; padding: 7px 16px; border-radius: 8px;
  background: var(--wine-700); color: #fff; font-size: .8125rem; font-weight: 700; text-decoration: none;
}
.ig-follow:hover { background: var(--wine-900); color: #fff; }

.ig-frame { position: relative; background: #1b1b1b; }
.ig-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.ig-track::-webkit-scrollbar { display: none; }
.ig-track:focus-visible { outline-offset: -3px; }
.ig-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 4 / 5; }
.ig-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }

.ig-count {
  position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(18, 18, 18, .7); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}
.ig-nav {
  position: absolute; top: 50%; width: 34px; height: 34px; margin-top: -17px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .88); color: #262626; box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  transition: opacity .2s, transform .2s;
}
.ig-nav svg { width: 16px; height: 16px; }
.ig-nav:hover { transform: scale(1.08); }
.ig-prev { left: 10px; }
.ig-prev svg { transform: scaleX(-1); }
.ig-next { right: 10px; }
.ig-nav[disabled] { opacity: 0; pointer-events: none; }

.ig-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 14px 4px; }
.ig-icons { display: flex; gap: 14px; }
.ig-icons svg, .ig-save { width: 24px; height: 24px; color: #262626; }
.ig-save { justify-self: end; }
.ig-dots { display: flex; }
.ig-dots button {
  width: 14px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.ig-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C8C8C8; transition: background-color .2s, transform .2s; }
.ig-dots button[aria-selected="true"]::before { background: var(--wine-600); transform: scale(1.15); }
.ig-caption { margin: 0; padding: 4px 14px 16px; font-size: .875rem; line-height: 1.5; color: #262626; }
.ig-caption strong { margin-right: 4px; }

.about-actions { margin-top: 28px; }

.footer-services { margin-top: 12px !important; font-size: .8125rem; color: rgba(255, 255, 255, .5); }

/* Barra de agendamento fixa no celular ------------------------------------ */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .wa-float { display: none; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgba(78, 32, 39, .4);
    transform: translateY(110%); transition: transform .35s ease;
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { padding: 13px 12px; font-size: .9375rem; white-space: nowrap; }
  .menu-open .mobile-cta { transform: translateY(110%); }
  .site-footer { padding-bottom: 96px; }

  .hero-kicker { font-size: .5em; }
  .ig { border-radius: 16px; }
  .ig-nav { display: none; }
  .about-actions .btn { width: 100%; }
}
@media (max-width: 960px) {
  .about .ig { order: -1; }
}

/* ==========================================================================
   v3 — Equipe: Dr. Tiago (vídeo em formato Reel) + Dra. Beatriz (carrossel)
   ========================================================================== */
#equipe .section-head { margin-bottom: 56px; }
#equipe .about + .about { margin-top: 88px; padding-top: 88px; border-top: 1px solid var(--line); }
.about[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.about--reverse { grid-template-columns: 1.15fr .85fr; }
.about--reverse > .ig { order: 2; }

.person-name { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; font-size: clamp(2.25rem, 3.6vw, 3rem); line-height: 1.08; margin-bottom: 6px; }

.credentials { display: grid; gap: 12px; margin: 8px 0 0; padding: 22px 24px; border-radius: var(--radius); background: var(--wine-50); border: 1px solid var(--wine-100); }
.credentials li { display: flex; align-items: flex-start; gap: 12px; font-size: .9875rem; color: #4A3A3C; }
.credentials svg { width: 18px; height: 18px; margin-top: 4px; color: var(--wine-600); }
.credentials strong { color: var(--wine-900); }

.feature-pro { font-size: .875rem !important; margin-top: -4px; }
.feature-pro a { font-weight: 700; }
.feature--dark .feature-pro a { color: #fff; }

/* Cartão do Reel: mesmo visual do post do Instagram */
.reel {
  margin: 0; width: 100%; max-width: 340px; justify-self: center; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(78, 32, 39, .45);
}
.reel .ig-caption { padding-top: 12px; }
.reel-frame { position: relative; aspect-ratio: 9 / 16; background: #1b1b1b; }
.reel-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel-btn {
  position: absolute; bottom: 14px; width: 40px; height: 40px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(18, 18, 18, .6); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .2s, transform .2s;
}
.reel-btn:hover { background: rgba(18, 18, 18, .8); transform: scale(1.06); }
.reel-btn svg { width: 20px; height: 20px; }
.reel-sound { right: 14px; }
.reel-play { left: 14px; }
.reel-sound .i-on, .reel-sound[aria-pressed="true"] .i-off { display: none; }
.reel-sound[aria-pressed="true"] .i-on { display: block; }
.reel-play .i-play, .reel.is-paused .reel-play .i-pause { display: none; }
.reel.is-paused .reel-play .i-play { display: block; }

@media (max-width: 960px) {
  .about--reverse { grid-template-columns: 1fr; }
  .about--reverse > .ig, .about .reel { order: -1; }
  #equipe .about + .about { margin-top: 64px; padding-top: 64px; }
}
@media (max-width: 640px) {
  #equipe .section-head { margin-bottom: 36px; }
  #equipe .about + .about { margin-top: 48px; padding-top: 48px; }
  .person-name { font-size: 2.25rem; }
  .credentials { padding: 18px; }
  .reel { max-width: 340px; border-radius: 16px; }
}

/* ==========================================================================
   v4 — ajustes finos do celular
   ========================================================================== */
@media (max-width: 640px) {
  /* Topo: foto mais baixa para o botão de agendar aparecer na primeira tela */
  .hero { padding-top: 16px; }
  .hero-grid { gap: 36px; }
  .brand { padding: 4px 0; }
  .hero-media .ph, .hero-media > img { aspect-ratio: 16 / 10; }
  .hero-media::before { inset: 10px -8px -10px 10px; }
  .hero-badge { bottom: -18px; padding: 10px 14px; gap: 10px; }
  .hero-badge svg { width: 30px; height: 30px; padding: 7px; }
  .hero .eyebrow { font-size: .6875rem; letter-spacing: .1em; margin-bottom: 10px; }
  .hero-title { font-size: 2.625rem; margin-bottom: 18px; }
  .lede { font-size: 1rem; margin-bottom: 24px; }
  .hero-actions { gap: 10px; margin-bottom: 28px; }
  .hero-actions .btn { padding: 15px 22px; }

  /* Logo: subtítulo legível */
  .brand-sub { font-size: .625rem; letter-spacing: .2em; }

  /* Reel do Dr. Tiago: não ocupar a tela inteira */
  .reel { max-width: 280px; }

  /* Áreas de toque de pelo menos 44 px */
  .ig-follow { padding: 11px 16px; }
  .feature-pro a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .section-head a[href^="https://wa.me"] { display: inline-block; padding: 10px 2px; margin: -10px 0; }
}

/* Celulares de tela baixa (iPhone SE/8): foto do topo mais estreita, sem o selo */
@media (max-width: 640px) and (max-height: 700px) {
  .hero-grid { gap: 22px; }
  .hero-media .ph, .hero-media > img { aspect-ratio: 21 / 9; }
  .hero-badge { display: none; }
  .hero-title { font-size: 2.375rem; margin-bottom: 14px; }
  .lede { margin-bottom: 20px; }
}

/* Palavras longas (ex.: @interaodontologiaintegrada) não podem alargar a página */
.contact > *, .contact-list li > div, .footer-grid > * { min-width: 0; }
.contact-list a, .site-footer a { overflow-wrap: anywhere; }

/* ==========================================================================
   v5 — vídeo no topo (tour pela clínica)
   ========================================================================== */
.hero-media--video { max-width: 340px; }
.hero-media--video .hero-video {
  position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 9 / 16; height: auto;
  object-fit: cover; border-radius: var(--radius-lg); background: var(--wine-900);
  box-shadow: 0 30px 60px -30px rgba(78, 32, 39, .55);
}
.hero-media--video .hero-badge { left: -64px; bottom: 56px; }
.hero-sound { z-index: 2; right: 14px; bottom: 14px; }
@media (min-width: 961px) and (max-height: 820px) {
  .hero-media--video { max-width: 300px; }
}

/* Celular: o vídeo vertical vira o fundo do topo, com o texto por cima */
@media (max-width: 640px) {
  .hero:has(.hero-media--video) {
    display: flex; align-items: flex-end; padding: 0; color: #fff;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    background: var(--wine-950);
  }
  .hero:has(.hero-media--video) > .hero-grid { display: block; width: 100%; }
  .hero-media--video {
    position: absolute; inset: 0; max-width: none; width: auto; margin: 0; z-index: 0;
  }
  .hero-media--video::before { display: none; }
  .hero-media--video .hero-video { height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .hero-media--video::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(58, 23, 28, .15) 0%, rgba(58, 23, 28, 0) 22%, rgba(58, 23, 28, .55) 45%, rgba(46, 18, 22, .92) 68%, #2E1216 100%);
  }
  .hero-media--video .hero-badge { display: none; }
  .hero-sound { top: 14px; bottom: auto; right: 14px; }

  .hero:has(.hero-media--video) .hero-copy { position: relative; z-index: 2; padding: 150px 0 28px; }
  .hero:has(.hero-media--video) .eyebrow { color: var(--wine-300); }
  .hero:has(.hero-media--video) .hero-title { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
  .hero:has(.hero-media--video) .hero-kicker { color: var(--wine-300); }
  .hero:has(.hero-media--video) .hero-title em { color: #F0CFCC; }
  .hero:has(.hero-media--video) .lede { color: rgba(255, 255, 255, .86); }
  .hero:has(.hero-media--video) .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
  .hero:has(.hero-media--video) .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
  .hero:has(.hero-media--video) .hero-facts { border-color: rgba(255, 255, 255, .18); }
  .hero:has(.hero-media--video) .hero-facts strong { color: #fff; }
  .hero:has(.hero-media--video) .hero-facts span { color: rgba(255, 255, 255, .7); }
}
.hero-sound .i-on, .hero-sound[aria-pressed="true"] .i-off { display: none; }
.hero-sound[aria-pressed="true"] .i-on { display: block; }
@media (max-width: 640px) {
  /* o vídeo se posiciona pela seção inteira (não pelo bloco interno) */
  .hero:has(.hero-media--video) > .hero-grid { position: static; }
  /* texto mais baixo para não cobrir o rosto no vídeo */
  .hero:has(.hero-media--video) .hero-facts { display: none; }
  .hero:has(.hero-media--video) .hero-actions { margin-bottom: 0; }
  .hero:has(.hero-media--video) .hero-copy { padding: 200px 0 24px; }
}

/* ==========================================================================
   v6 — Resultados com fotos reais (área de imagem quadrada em todos os cards)
   ========================================================================== */
.result-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: #111; }
.result-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Antes | Depois lado a lado */
.result-media.result-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
.result-half { position: relative; overflow: hidden; border-radius: 0; }
.result-half:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.result-half:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.result-tag {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(18, 18, 18, .65); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.result-tag--after { background: var(--wine-700); }

/* Mini-carrossel (facetas de porcelana) */
.result-track {
  display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none;
}
.result-track::-webkit-scrollbar { display: none; }
.result-track:focus-visible { outline-offset: -3px; }
.result-track img { flex: 0 0 100%; scroll-snap-align: start; }
.result-count {
  position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 999px;
  background: rgba(18, 18, 18, .65); color: #fff; font-size: .75rem; font-weight: 600;
}
.result-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; }
.result-dots button { width: 20px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.result-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transition: background-color .2s, transform .2s; }
.result-dots button[aria-selected="true"]::before { background: #fff; transform: scale(1.2); }

@media (max-width: 960px) {
  .result-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .result-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
