/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #100d09;
  --bg-2:      #17130d;
  --bg-3:      #201911;
  --cream:     #F2EBDA;
  --cream-2:   #DDD2BC;
  --cream-3:   #8B7E68;
  --gold:      #C9A227;
  --gold-2:    #E4C158;
  --gold-dark: #8f7017;
  --ink:       #17130d;
  --paper:     #F2EBDA;
  --line:      rgba(242,235,218,.14);
  --line-dark: rgba(23,19,13,.14);

  --serif: "Poppins", system-ui, -apple-system, sans-serif;
  --sans:  "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-card: 16px;
  --maxw: 1200px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --marquee-h: 68px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; text-wrap: balance; line-height: 1.1; letter-spacing: -0.02em; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }

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

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--ink);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  width: min(var(--maxw), 100% - 3rem);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex; align-items: center;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold);
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Typography
   ============================================================= */
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.9vw, 1.35rem); }
.lede { font-size: clamp(.98rem, 1.3vw, 1.05rem); color: var(--cream-2); max-width: 56ch; text-align: justify; hyphens: none; }
p strong, .lede strong { color: var(--gold); font-style: italic; font-weight: 700; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 12px 30px -10px rgba(201,162,39,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(201,162,39,.7); }
.btn-ghost {
  background: transparent; color: var(--cream); border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: .65rem 1.2rem; font-size: .85rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(16,13,9,.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--cream); }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand em { color: var(--gold); font-style: normal; }
.brand img.brand__word { width: auto; height: 26px; border-radius: 0; object-fit: contain; }
@media (min-width: 640px) { .brand img.brand__word { height: 32px; } }
.nav-links { display: none; align-items: center; gap: 2rem; font-size: .92rem; }
.nav-links a { position: relative; padding: .3rem 0; color: var(--cream-2); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-cta { display: none; }
.nav-burger {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
}
.nav-burger svg { width: 20px; height: 20px; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
}

.nav-drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
  background: var(--bg); padding: 2rem 1.5rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav-drawer.is-open { opacity: 1; transform: none; pointer-events: auto; }
.nav-drawer ul { display: flex; flex-direction: column; gap: 1.4rem; font-size: 1.4rem; font-family: var(--serif); }
.nav-drawer .btn { margin-top: 1.6rem; width: 100%; }

/* WhatsApp float button */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #0b1a0f;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(0,0,0,.55);
  transition: transform .3s var(--ease-bounce);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Cards */
.card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 1.8rem; height: 100%;
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.card:hover { transform: translateY(-6px); border-color: rgba(201,162,39,.4); box-shadow: 0 22px 44px -20px rgba(0,0,0,.6); }
.card h3 { margin-bottom: .5rem; }
.card .lede { color: var(--cream-3); font-size: .95rem; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(201,162,39,.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.photo { background: #fff; padding: 3px; overflow: hidden; }
.icon-badge.photo img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }

/* Service card (button) */
.service-card {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; transition: transform .4s var(--ease-out), border-color .4s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(201,162,39,.45); }
.service-card .service-photo { aspect-ratio: 4/3; overflow: hidden; width: 100%; }
.service-card .service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.service-card:hover .service-photo img { transform: scale(1.07); }
.service-card-body { padding: 1.5rem 1.6rem 1.8rem; }
.service-card-body h3, .service-card-body > p.lede { text-align: center; }
.service-card ul { margin-top: .8rem; display: flex; flex-direction: column; gap: .35rem; }
.service-card li { font-size: .85rem; color: var(--cream-3); display: flex; gap: .5rem; }
.service-card li::before { content: "—"; color: var(--gold); flex: none; }
.cta-hint {
  margin-top: 1.2rem; display: inline-flex; align-items: center; gap: .4rem;
  color: var(--gold); font-weight: 600; font-size: .9rem;
}
.service-card:hover .cta-hint { text-decoration: underline; }

/* Flip cards (before/after — signature effect) */
.flip-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.flip-card { perspective: 1400px; aspect-ratio: 3/4; }
.flip-card-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .8s var(--ease-soft);
}
.flip-card:focus-within .flip-card-inner,
.flip-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--line);
}
.flip-front img { width: 100%; height: 100%; object-fit: cover; }
.flip-front .flip-tag {
  position: absolute; top: .9rem; left: .9rem;
  background: rgba(16,13,9,.75); color: var(--gold);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; border: 1px solid rgba(201,162,39,.4);
}
.flip-back {
  transform: rotateY(180deg);
  background: var(--gold); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: .6rem;
  padding: 1.6rem;
}
.flip-back h4 { font-family: var(--serif); font-size: 1.3rem; }
.flip-back p { font-size: .92rem; color: rgba(23,19,13,.78); }
.flip-hint { position: absolute; bottom: .8rem; right: .9rem; font-size: .7rem; color: var(--cream-3); }

/* Flip-back with a real "depois" photo instead of the flat gold panel */
.flip-back.has-photo {
  background-size: cover; background-position: center;
  color: var(--cream-1); justify-content: flex-end;
}
.flip-back.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,13,9,.15) 0%, rgba(16,13,9,.35) 45%, rgba(16,13,9,.92) 100%);
}
.flip-back.has-photo > * { position: relative; z-index: 1; }
.flip-back.has-photo h4 { color: var(--gold); }
.flip-back.has-photo p { color: rgba(242,235,218,.88); }
.flip-back .flip-tag {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  background: rgba(201,162,39,.92); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}

/* Trust strip: real insurer partner logos (flat white cutouts — keep on light/paper bands only) */
.insurer-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 2rem; }
.insurer-strip img {
  height: 40px; width: auto; padding: .7rem 1.1rem; background: #fff; border-radius: 10px;
  box-shadow: 0 10px 24px -14px rgba(23,19,13,.35);
  filter: grayscale(.35); opacity: .88; transition: filter .3s, opacity .3s, transform .3s;
}
.insurer-strip img:hover { filter: none; opacity: 1; transform: translateY(-2px); }

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
}

/* Qualify modal */
.qualify-dialog {
  border: none; border-radius: var(--radius-card); padding: 0;
  width: min(480px, 92vw);
  max-height: min(640px, 86vh); overflow-y: auto;
  margin: auto;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
}
.qualify-dialog::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(3px); }
.qualify-form { padding: 2rem; position: relative; }
.qualify-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(23,19,13,.08); font-size: 1.2rem; line-height: 1;
}
.qualify-form h3 { margin-top: .3rem; font-size: 1.4rem; }
.qualify-question { margin-top: 1.5rem; }
.qualify-question p { font-size: .9rem; font-weight: 600; margin-bottom: .6rem; }
.qualify-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.qualify-option {
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: .55rem 1rem; font-size: .85rem; cursor: pointer; transition: all .25s var(--ease-out);
}
.qualify-option:has(input:checked) {
  background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 600;
}
.qualify-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qualify-submit { margin-top: 1.8rem; width: 100%; }

/* =============================================================
   6. Sections
   ============================================================= */
section { padding-block: 3rem; }
@media (min-width: 769px) { section { padding-block: 4.5rem; } }

.band-dark { background: var(--bg); }
.band-paper { background: var(--paper); color: var(--ink); }
.band-paper .eyebrow { color: var(--gold-dark); }
.band-paper p strong, .band-paper .lede strong { color: var(--gold-dark); }
.band-paper h2, .band-paper h3 { color: var(--ink); }
.band-paper .lede { color: rgba(23,19,13,.7); }
.band-paper .card { background: #fff; border-color: var(--line-dark); color: var(--ink); }
.band-paper .card .lede { color: rgba(23,19,13,.62); }
.band-paper .btn-ghost { border-color: var(--line-dark); color: var(--ink); }
.band-paper .btn-ghost:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

.band-gold { background: var(--gold); color: var(--ink); }
.band-gold h2, .band-gold h3 { color: var(--ink); }
.band-gold .service-card h3 { color: var(--cream); text-align: center; }
.band-gold .lede { color: rgba(23,19,13,.75); }
.band-gold .service-card .lede { color: var(--cream-3); }
.band-gold .btn-primary { background: var(--ink); color: var(--cream); box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
.band-gold .btn-primary:hover { transform: translateY(-2px); }
.band-gold .btn-ghost { border-color: rgba(23,19,13,.35); color: var(--ink); }

/* Hero — foto a tela cheia (padrão canônico do archetype Dark Warm) */
.hero {
  position: relative; min-height: calc(100svh - var(--nav-h) - var(--marquee-h));
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding-top: calc(var(--nav-h) + 1rem); padding-bottom: 1.8rem;
  overflow: clip; text-align: left;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 22s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-bg-tint {
  /* Overlay bem mais leve que a versão anterior — a foto real (nítida, dia claro)
     precisa se manter vívida; o contraste do texto vem de um vinheta centrada,
     não de escurecer a imagem inteira (igual ao hero da Atencio Digital). */
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(16,13,9,.6), transparent 72%),
    linear-gradient(180deg, rgba(16,13,9,.25) 0%, rgba(16,13,9,.18) 35%, rgba(16,13,9,.3) 70%, rgba(16,13,9,.55) 100%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: 1; pointer-events: none;
  background: radial-gradient(45% 40% at 50% 8%, rgba(201,162,39,.2), transparent 70%);
  filter: blur(60px);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: none; width: 100%; margin-inline: 0; padding-inline: 1.5rem;
}
.hero-title { max-width: 16ch; }
.hero-sub { max-width: 48ch; }
.hero-meta {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: flex-start;
  font-size: .85rem; color: var(--cream-2); margin-bottom: .8rem;
}
.hero-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: #3fd06b; box-shadow: 0 0 0 4px rgba(63,208,107,.18); }
.hero-title em { color: var(--gold); font-style: normal; }
.hero-sub { margin-top: .9rem; margin-inline: 0; text-align: left; }
.hero-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-start; }
.hero-rating { margin-top: 1.2rem; display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--cream-2); justify-content: flex-start; flex-wrap: wrap; }
.hero-rating strong { color: var(--gold); font-size: 1.1rem; }
.hero-figure {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5;
  border: 1px solid var(--line);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16,13,9,.75));
}

/* Instagram reel embed (replaces a static photo — keeps its own natural size) */
.ig-embed-wrap { display: flex; justify-content: center; }
.ig-embed-wrap iframe { border-radius: 16px !important; }
.ig-embed-fallback {
  max-width: 340px; margin: 0 auto; padding: 2.4rem 1.6rem; text-align: center;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-card);
}
.ig-embed-fallback a { color: var(--gold); font-weight: 600; text-decoration: underline; }

/* Page hero (inner pages) */
.page-hero { padding-top: calc(var(--nav-h) + .6rem); padding-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero .eyebrow { margin-bottom: 1rem; }

/* Grids */
.grid-2 { display: grid; gap: 1.6rem; }
.grid-3 { display: grid; gap: 1.6rem; }
.grid-4 { display: grid; gap: 1.3rem; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.section-head { max-width: 60ch; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
@media (min-width: 900px) {
  .section-head--oneline { max-width: none; }
  .section-head--oneline h2, .section-head--oneline .lede { white-space: nowrap; max-width: none; }
  .page-hero--oneline h1, .page-hero--oneline .lede { white-space: nowrap; max-width: none; }
}

.band-gold .eyebrow { color: var(--ink); }

/* Marquee (seguradoras / diferenciais ticker) */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.marquee-track {
  display: flex; gap: 3rem; width: max-content;
  animation: marquee 26s linear infinite;
  padding-block: 1.1rem;
}
.marquee span { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--gold); white-space: nowrap; letter-spacing: -.01em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee--logos .marquee-track { align-items: center; gap: 1.8rem; padding-block: .9rem; }
.marquee--logos img { height: 24px; width: auto; padding: .35rem .8rem; background: #fff; border-radius: 8px; flex: none; }

/* Testimonials */
.testi-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 1.8rem;
}
.testi-stars { color: var(--gold); font-size: 1rem; letter-spacing: .1em; margin-bottom: .8rem; }
.testi-card p { font-size: .98rem; color: var(--cream-2); }
.testi-card footer { margin-top: 1rem; font-size: .85rem; color: var(--cream-3); font-weight: 600; }

/* Contact info cards */
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding-block: 1rem; border-top: 1px solid var(--line-dark); }
.info-row:first-child { border-top: none; }
.info-row .icon-badge { flex: none; margin: 0; }
.info-row h4 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.info-row p { font-size: .92rem; color: rgba(23,19,13,.68); }
.band-dark .info-row { border-top-color: var(--line); }
.band-dark .info-row p { color: var(--cream-3); }

.map-frame {
  border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line-dark);
  aspect-ratio: 16/10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-frame--compact { aspect-ratio: 3/4; }

/* Compact contact info rows (used when the "Fale com a gente" card shares a row with the map + a photo) */
.info-row--compact { padding-block: .55rem; gap: .7rem; }
.info-row--compact h4 { font-size: .85rem; }
.info-row--compact p { font-size: .82rem; }
.icon-badge--sm { width: 32px; height: 32px; border-radius: 9px; }
.icon-badge--sm svg { width: 15px; height: 15px; }

.contact-photo { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Catalog placeholders */
.listing-card {
  background: var(--bg-3); border: 1px dashed var(--line); border-radius: var(--radius-card);
  padding: 2rem 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--cream-3);
}
.listing-card svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: .4rem; }
.listing-real {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; color: var(--cream);
}
.listing-real img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.listing-real .listing-body { padding: 1.2rem 1.4rem 1.5rem; text-align: center; }
.listing-real h3 { color: var(--cream); }
.listing-real p { color: var(--cream-3); margin-top: .3rem; }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 1.3rem .9rem; }
.footer-top { display: grid; gap: 1.2rem; margin-bottom: .8rem; }
.footer-brand .brand { margin-bottom: .35rem; }
.footer-brand .brand img { width: 30px; height: 30px; }
.footer-brand .brand img.brand__word { width: auto; height: 22px; }
.footer-brand p { color: var(--cream-3); font-size: .85rem; max-width: 40ch; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: .4rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; color: var(--cream-2); }
.footer-nav-split { display: flex; gap: 1.4rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--cream-3); }
@media (min-width: 960px) {
  .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

/* =============================================================
   7. Effects
   ============================================================= */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

.splash {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  animation: splashSafety .01s 3.6s forwards;
}
.splash img { width: 64px; height: 64px; animation: splashPulse 1.4s ease-in-out infinite; }
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-out); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }
@keyframes splashPulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }

/* =============================================================
   8. Responsive helpers already inlined above (mobile-first) */

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  /* Marquee é "slow marquee" — a própria gotcha A.2 da skill diz para NUNCA
     desativar isso com reduced-motion (só efeitos intrusivos: partículas,
     autoplay, parallax >40px). Windows liga essa preferência por padrão em
     muitas instalações — desativar aqui deixava a marquesina "travada". */
  .splash { animation: none; opacity: 0; pointer-events: none; }
  .hero-bg img { animation: none; transform: scale(1); }
}

/* =============================================================
   10. Assistente de IA (fab + painel de chat)
   ============================================================= */
.fab-stack {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80;
  display: flex; flex-direction: column; align-items: flex-end; gap: .9rem;
}
.fab {
  width: 58px; height: 58px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; color: #0b1a0f;
  box-shadow: 0 14px 30px -8px rgba(0,0,0,.55);
  transition: transform .3s var(--ease-bounce);
  position: relative;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab svg { width: 28px; height: 28px; }
.fab-whatsapp { background: #25D366; }
.fab-chat { background: var(--gold); color: var(--ink); }
.fab-chat-dot {
  position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 999px;
  background: #25D366; border: 2px solid var(--bg);
  animation: fabDotPulse 2.4s ease-in-out infinite;
}
@keyframes fabDotPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

.chat-panel {
  position: fixed; right: 1.2rem; bottom: 6.2rem; z-index: 81;
  width: 340px; max-width: calc(100vw - 2.4rem);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-dark); border-radius: var(--radius-card);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-header {
  background: var(--bg); color: var(--cream); padding: .9rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header strong { font-family: var(--serif); font-size: .98rem; }
.chat-header span { display: block; color: var(--cream-3); font-size: .76rem; margin-top: 1px; }
.chat-close { background: none; border: none; color: var(--cream); cursor: pointer; padding: .3rem; opacity: .8; }
.chat-close:hover { opacity: 1; }
.chat-messages {
  flex: 1; max-height: 340px; min-height: 180px; overflow-y: auto;
  padding: .9rem 1rem; display: flex; flex-direction: column; gap: .6rem;
  background: var(--paper);
}
.chat-msg { max-width: 85%; padding: .55rem .75rem; border-radius: 14px; font-size: .88rem; line-height: 1.45; }
.chat-msg.bot { background: #fff; border: 1px solid var(--line-dark); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--gold); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 600; }
.chat-msg.chat-typing { color: var(--cream-3); font-style: italic; background: transparent; border: none; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .8rem; background: var(--paper); }
.chat-chip {
  background: #fff; border: 1px solid var(--line-dark); border-radius: 999px;
  padding: .4rem .8rem; font-size: .78rem; cursor: pointer; color: var(--ink);
  transition: border-color .2s, color .2s;
}
.chat-chip:hover { border-color: var(--gold-dark); color: var(--gold-dark); }
.chat-input-row { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line-dark); background: #fff; }
.chat-input-row input {
  flex: 1; border: 1px solid var(--line-dark); border-radius: 999px; padding: .55rem .9rem;
  font-family: inherit; font-size: .88rem; color: var(--ink); background: var(--paper);
}
.chat-input-row input:focus { outline: none; border-color: var(--gold-dark); }
.chat-send {
  width: 38px; height: 38px; border-radius: 999px; background: var(--gold); color: var(--ink);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-send:disabled { opacity: .5; cursor: default; }
@media (max-width: 480px) {
  .chat-panel { right: .6rem; left: .6rem; width: auto; bottom: 5.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fab-chat-dot { animation: none; }
}

/* =============================================================
   11. Componentes clonados da Atencio Digital (estrutura/tamanho —
   cor e conteúdo permanecem os reais da Império Car)
   ============================================================= */

/* Nav social icons */
.nav-social { display: none; align-items: center; gap: .9rem; margin-left: .5rem; padding-left: 1.2rem; border-left: 1px solid var(--line); }
.nav-social a { color: var(--cream-3); transition: color .2s var(--ease-out); }
.nav-social a:hover { color: var(--gold); }
@media (min-width: 960px) { .nav-social { display: flex; } }

/* Problema — lista numerada de dores */
.pain-list { display: grid; gap: 1.4rem; margin-top: 2rem; }
@media (min-width: 720px) { .pain-list { grid-template-columns: repeat(2, 1fr); } }
.pain-list--stack { grid-template-columns: 1fr; }

/* Pain-list + Diferenciais merged into one dark section, side by side */
.merge-grid { display: grid; gap: 2.6rem; }
@media (min-width: 860px) { .merge-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.pain-item { display: flex; gap: 1rem; align-items: flex-start; }
.pain-num { font-weight: 700; color: var(--gold); font-size: .95rem; padding-top: .15rem; flex: none; }
.pain-item p { font-size: 1rem; }

/* Como funciona — passos numerados */
.steps { display: grid; gap: 1.2rem; margin-top: 2rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--bg-3); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius-card); padding: 1.6rem 1.4rem;
}
.step-dot {
  width: 38px; height: 38px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.02rem; margin-top: 1rem; }
.step p { font-size: .92rem; margin-top: .5rem; color: var(--cream-3); }

/* Diferenciais — bento assimétrico */
.bento-row { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .bento-row { grid-template-columns: repeat(3, 1fr); } }
.bento-row--compact { grid-template-columns: repeat(2, 1fr) !important; margin-top: 1.4rem; gap: .8rem; }
.bento-row--compact .bento-item { padding: 1.1rem; min-height: 128px; }
.bento-row--compact .bento-icon { width: 32px; height: 32px; margin-bottom: .5rem; }
.bento-row--compact .bento-item h3 { font-size: .86rem; }
.bento-row--compact .bento-item p { font-size: .76rem; margin-top: .3rem; }
.bento-item {
  border-radius: var(--radius-card); border: 1px solid var(--line); padding: 1.6rem;
  display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden;
  background: var(--bg-3); min-height: 160px;
}
.bento-item.tinted { background: linear-gradient(160deg, rgba(201,162,39,.14), var(--bg-3) 60%); border-color: rgba(201,162,39,.3); }
.bento-icon {
  width: 38px; height: 38px; border-radius: 11px; background: rgba(201,162,39,.14);
  display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: .8rem; flex-shrink: 0;
}
.bento-item h3 { font-size: 1.02rem; }
.bento-item p { font-size: .88rem; margin-top: .4rem; color: var(--cream-3); }
.bento-item.imaged { padding: 0; justify-content: flex-end; grid-column: span 1; }
@media (min-width: 720px) { .bento-item.imaged { grid-column: span 2; } }
@media (min-width: 960px) { .bento-item.imaged { grid-column: span 1; } }
.bento-item.imaged img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bento-item.imaged::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(16,13,9,.88)); z-index: 1; }
.bento-item.imaged .bento-text { position: relative; z-index: 2; padding: 1.6rem; }
.bento-item.imaged h3, .bento-item.imaged p { color: var(--cream); }
.bento-item.imaged p { color: var(--cream-2); }

/* Prova social — cartões com borda tracejada */
.prova-grid { display: grid; gap: 1.4rem; margin-top: 2rem; }
@media (min-width: 720px) { .prova-grid { grid-template-columns: repeat(3, 1fr); } }
.prova-card {
  background: var(--bg-3); border: 1.5px dashed var(--line); border-radius: var(--radius-card); padding: 1.4rem;
  display: block; text-decoration: none; color: inherit; transition: transform .3s var(--ease-out), border-color .3s var(--ease-out);
}
.prova-card:hover { transform: translateY(-4px); border-color: var(--gold); border-style: solid; }
.prova-stars { color: var(--gold); font-size: 1rem; letter-spacing: .1em; margin-bottom: .7rem; }
.prova-card p.quote { color: var(--cream-2); font-size: .95rem; }
.prova-who { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; }
.prova-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.prova-card p.who { margin-top: 0; font-weight: 600; font-size: .82rem; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; }

/* Objeções — respondidas de frente */
.objecoes-list { display: flex; flex-direction: column; margin-top: 1.5rem; }
.objecao-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.objecao-item:last-child { border-bottom: 1px solid var(--line); }
.objecao-icon {
  width: 26px; height: 26px; border-radius: 999px; background: rgba(201,162,39,.14); color: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .1rem;
}
.objecao-item h3 { font-size: 1rem; }
.objecao-item p { font-size: .94rem; margin-top: .3rem; color: var(--cream-3); }

/* FAQ — <details> nativo */
.faq-list { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.5rem; }
.faq-item {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 1.1rem 1.3rem;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--gold); font-size: 1.3rem; font-weight: 400; flex: none;
  transition: transform .25s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: .8rem; font-size: .94rem; color: var(--cream-3); }

/* band-paper overrides for the new components */
.band-paper .step { background: #fff; border-color: var(--line-dark); }
.band-paper .step p { color: rgba(23,19,13,.6); }
.band-paper .bento-item { background: #fff; border-color: var(--line-dark); }
.band-paper .bento-item.tinted { background: linear-gradient(160deg, rgba(201,162,39,.1), #fff 60%); }
.band-paper .bento-item p { color: rgba(23,19,13,.62); }
.band-paper .prova-card { background: #fff; border-color: var(--line-dark); }
.band-paper .prova-card p.quote { color: rgba(23,19,13,.7); }
.band-paper .objecao-item { border-top-color: var(--line-dark); }
.band-paper .objecao-item:last-child { border-bottom-color: var(--line-dark); }
.band-paper .objecao-item p { color: rgba(23,19,13,.62); }
.band-paper .faq-item { background: #fff; border-color: var(--line-dark); }
.band-paper .faq-item p { color: rgba(23,19,13,.62); }
