/* ============================================================
   FirstOnAI — Landing page
   Pure CSS. Mobile-first with desktop enhancements.
   ============================================================ */

:root {
  /* Palette */
  --cream:        #FBF7F1;
  --cream-soft:   #FDFAF5;
  --card:         #FFFFFF;
  --navy:         #14263F;
  --navy-soft:    #1E3454;
  --ink:          #46505E;
  --ink-muted:    #6B7482;
  --border:       #EEE6D8;
  --border-soft:  #F0EADF;

  --gold:         #B0812F;
  --gold-light:   #E9B77F;
  --gold-lighter: #F5DFC1;
  --bronze-1:     #CBA063;
  --bronze-2:     #A9772E;

  --grad-gold:    linear-gradient(120deg, #D9A94E 0%, #A9772E 100%);
  --grad-btn:     linear-gradient(135deg, #C99C5B 0%, #A9772E 100%);
  --grad-band:    linear-gradient(120deg, #FBEFDD 0%, #F7E7CF 100%);

  --shadow-sm:    0 2px 10px rgba(20, 38, 63, .05);
  --shadow-md:    0 12px 34px rgba(20, 38, 63, .08);
  --shadow-btn:   0 10px 24px rgba(169, 119, 46, .28);

  --radius:       14px;
  --radius-lg:    20px;
  --radius-pill:  999px;

  --maxw:         1300px;
  --gutter:       clamp(20px, 4vw, 48px);

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.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;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.section-eyebrow {
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-pill); border: 0;
  background: var(--grad-btn); color: #fff;
  box-shadow: var(--shadow-btn);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(169,119,46,.36); filter: brightness(1.03); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(169,119,46,.5); outline-offset: 2px; }
.btn-sm { padding: 11px 20px; font-size: .88rem; }
.btn-block { width: 100%; }

.link-plain { font-weight: 500; color: var(--navy); font-size: .92rem; transition: color .15s; }
.link-plain:hover { color: var(--gold); }

/* ---------- Decorative flow lines ----------
   Cobrem a PÁGINA INTEIRA (não por seção). O SVG usa
   preserveAspectRatio="none", então esticamos em 100% x 100%. */
body { position: relative; }
.flow-lines {
  position: absolute; inset: 0; z-index: -1; height: 100%; min-height: 100%;
  background-image: url("assets/decorative/flow-lines-desktop.svg");
  background-repeat: no-repeat; background-position: top center; background-size: 100% 100%;
  pointer-events: none; opacity: 1;
}
@media (max-width: 720px) {
  .flow-lines { background-image: url("assets/decorative/flow-lines-mobile.svg"); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 241, .82);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(238, 230, 216, .7);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 104px; }
.brand { display: inline-flex; align-items: center; transition: transform .2s ease; }
.brand:hover { transform: scale(1.03); }
.brand-logo { width: auto; height: 80px; }
.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-size: .92rem; font-weight: 500; color: var(--navy); transition: color .15s; }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; margin-left: auto;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.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); }

.mobile-nav { border-top: 1px solid var(--border); background: var(--cream-soft); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; padding: 16px var(--gutter) 24px; }
.mobile-nav a { display: block; padding: 12px 4px; font-weight: 500; color: var(--navy); }
.mobile-nav .btn { display: flex; margin-top: 12px; padding: 15px 26px; font-weight: 600; color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 76px) 0 clamp(30px, 5vw, 40px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.15rem); margin-bottom: 22px; letter-spacing: -.02em; }
.hero-lead { font-size: 1.06rem; color: var(--ink); max-width: 480px; margin-bottom: 28px; }
.hero-lead strong { color: var(--navy); font-weight: 600; }

.analyze-form {
  display: flex; gap: 10px; background: var(--card); padding: 8px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); max-width: 600px;
}
.analyze-form.stacked { flex-direction: column; background: none; border: 0; padding: 0; box-shadow: none; max-width: 440px; }
.input-wrap { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.input-icon { position: absolute; left: 16px; color: var(--gold); pointer-events: none; }
.analyze-form input {
  width: 100%; border: 0; background: transparent; padding: 13px 16px 13px 44px;
  font-family: inherit; font-size: .95rem; color: var(--navy); border-radius: var(--radius-pill);
}
.analyze-form.stacked .input-wrap {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.analyze-form input::placeholder { color: #A9AEB6; }
.analyze-form input:focus { outline: none; }
.analyze-form input:focus-visible { outline: 2px solid rgba(169,119,46,.4); outline-offset: 2px; }

.form-hint { font-size: .82rem; color: var(--ink-muted); margin-top: 14px; }
.check-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.check-list li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--navy); }
.check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; font-size: .72rem;
  background: var(--gold-lighter); color: var(--bronze-2);
}

.hero-visual { position: relative; text-align: center; }
/* Glow suave atrás do camaleão — preenche o espaço e evita
   ampliar demais o PNG (que é pequeno). */
.hero-chameleon-wrap {
  position: relative; display: grid; place-items: center;
  min-height: 460px;
}
.hero-chameleon-wrap::before {
  content: ""; position: absolute; z-index: 0;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(233,183,127,.22), rgba(245,223,193,.10) 46%, transparent 70%);
  filter: blur(6px);
}
.hero-chameleon {
  position: relative; z-index: 1;
  width: 100%; max-width: 430px; margin-inline: auto;
  image-rendering: auto;
  filter: drop-shadow(0 20px 34px rgba(20,38,63,.20));
}
.hero-visual-caption {
  font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted);
  margin-top: 8px; line-height: 1.9;
}

/* ---------- Platforms ---------- */
.platforms { padding: clamp(30px, 5vw, 48px) 0; }
.platform-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px clamp(24px, 5vw, 56px); margin-top: 26px;
}
.platform-row li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.ai-logo { width: 26px; height: 26px; flex-shrink: 0; color: var(--navy-soft); }

/* ---------- Why ---------- */
.why { padding: clamp(48px, 7vw, 80px) 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.why h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 22px; }
.why-copy p { font-size: 1.05rem; margin-bottom: 30px; max-width: 440px; }

.stat-list { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.stat-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold);
  background: radial-gradient(circle at 30% 30%, #FBEFDD, #F5E4CC);
}
.stat-value { display: block; font-size: 1.5rem; color: var(--navy); font-weight: 700; line-height: 1.1; }
.stat-card p { font-size: .92rem; color: var(--ink-muted); margin-top: 2px; }

/* ---------- How it works ---------- */
.how { padding: clamp(48px, 7vw, 80px) 0; }
.how .section-title { margin-bottom: 52px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  font-size: 1.5rem; font-weight: 700; color: var(--bronze-2);
  background: var(--cream-soft); border: 1px solid var(--gold-lighter); box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--ink-muted); font-size: .96rem; }
/* connector line */
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 74px; right: -20px; height: 1px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(20px, 4vw, 36px) 0; }
.cta-band-inner {
  background: var(--grad-band); border: 1px solid var(--gold-lighter); border-radius: 28px;
  padding: clamp(32px, 5vw, 52px); display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 40px; align-items: center; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.cta-band .eyebrow { color: var(--bronze-2); }

/* ---------- Benefits ---------- */
.benefits { padding: clamp(48px, 7vw, 80px) 0; }
.benefits .section-title { margin-bottom: 50px; }
.benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; text-align: center; }
.benefit-icon {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold);
  background: radial-gradient(circle at 30% 30%, #FBEFDD, #F5E4CC);
}
.benefit h3 { font-size: 1.02rem; margin-bottom: 8px; }
.benefit p { font-size: .88rem; color: var(--ink-muted); }

/* ---------- Testimonials ---------- */
.testimonials { padding: clamp(48px, 7vw, 80px) 0; }
.testimonials .section-title { margin-bottom: 50px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.testimonial blockquote { margin: 0 0 22px; font-size: .98rem; color: var(--ink); line-height: 1.65; }
.author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: .82rem; font-weight: 600; color: #fff;
  background: var(--grad-btn);
}
.author strong { display: block; color: var(--navy); font-size: .95rem; }
.author span { font-size: .82rem; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(48px, 7vw, 80px) 0 clamp(60px, 8vw, 96px); }
.faq .section-title { margin-bottom: 44px; }
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: transform .25s ease;
}
.faq-mark::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-mark::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 24px 22px; color: var(--ink-muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-soft); border-top: 1px solid var(--border); padding: clamp(40px, 6vw, 64px) 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1fr) 2.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 10px; }
.footer-brand p { font-size: .86rem; color: var(--ink-muted); max-width: 300px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-col-title { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .9rem; color: var(--navy); transition: color .15s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  margin-top: clamp(32px, 5vw, 48px); padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--ink-muted);
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  /* camaleão vem ABAIXO do texto/campo de URL no mobile */
  .hero-visual { order: 0; margin-top: 8px; }
  .hero-chameleon-wrap { min-height: 300px; }
  .hero-chameleon-wrap::before { width: 300px; height: 300px; }
  .hero-chameleon { max-width: 300px; }
  .hero-visual-caption { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 34px; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 20px; }
  .cta-band-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero h1 br { display: none; }
  .hero-chameleon-wrap { min-height: 230px; }
  .hero-chameleon-wrap::before { width: 230px; height: 230px; }
  .hero-chameleon { max-width: 220px; }
  .analyze-form { flex-direction: column; background: none; border: 0; box-shadow: none; padding: 0; }
  .analyze-form .input-wrap {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
  }
  .analyze-form .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps .step:not(:last-child)::after { display: none; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; align-items: start; }
  .step-num { margin-bottom: 0; grid-row: span 2; }
  .benefit-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stat-card { align-items: flex-start; gap: 14px; padding: 18px; }
  .stat-icon { width: 42px; height: 42px; }
}

/* ============================================================
   Scroll reveal / animations
   ============================================================ */
/* ---------- Plans (carrossel) ---------- */
.plans { padding: clamp(48px, 7vw, 80px) 0; scroll-margin-top: 72px; }
.plans-lead { max-width: 680px; margin: 14px auto 44px; color: var(--ink-muted); font-size: 1rem; }
.plan-carousel { position: relative; }
/* Trilho: 3 cards por vez no desktop, 2 no tablet, 1 (com o próximo aparecendo) no celular. */
.plan-grid {
  --gap: 24px; --per: 3;
  display: flex; gap: var(--gap); align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: 4px;
  padding: 18px 4px 24px; margin: 0 -4px; scrollbar-width: none;
}
.plan-grid::-webkit-scrollbar { display: none; }
.plan-grid:focus-visible { outline: 3px solid rgba(169,119,46,.4); outline-offset: 4px; border-radius: var(--radius-lg); }
.plan {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  scroll-snap-align: start;
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.plan-free { background: var(--cream-soft); border-style: dashed; border-color: var(--gold-light); }
.plan-featured { border: 2px solid var(--bronze-1); box-shadow: var(--shadow-md); }
.plan-badge {
  position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--grad-btn); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
/* Alturas fixas no topo do card: preço, descrição e botão ficam na mesma linha em todos. */
.plan-name { font-size: 1.4rem; }
.plan-audience { font-size: .86rem; font-weight: 600; color: var(--ink-muted); margin-top: 4px; min-height: 2.8em; }
.plan-price { font-size: 2.4rem; font-weight: 700; color: var(--navy); line-height: 1.1; margin-top: 12px; white-space: nowrap; }
.plan-per { font-size: .95rem; font-weight: 500; color: var(--ink-muted); margin-left: 4px; }
.plan-note { font-size: .8rem; color: var(--ink-muted); margin-top: 6px; min-height: 2.6em; }
.plan-desc { font-size: .92rem; color: var(--ink); margin-top: 10px; min-height: 5.6em; }
.plan .btn { margin: 16px 0 20px; white-space: nowrap; }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--gold-light); box-shadow: none; }
.btn-outline:hover { box-shadow: var(--shadow-sm); }
.plan-features { display: grid; gap: 11px; border-top: 1px solid var(--border-soft); padding-top: 20px; }
.plan-features li { display: flex; gap: 10px; font-size: .9rem; color: var(--navy); line-height: 1.45; }
.plan-check { flex-shrink: 0; margin-top: 2px; color: #2f8a57; }
.plan-nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--navy); border: 1px solid var(--gold-light); box-shadow: var(--shadow-md);
  transition: opacity .2s, transform .2s;
}
.plan-nav:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); }
.plan-nav:focus-visible { outline: 3px solid rgba(169,119,46,.5); outline-offset: 2px; }
.plan-nav:disabled { opacity: 0; pointer-events: none; }
.plan-prev { left: -24px; }
.plan-next { right: -24px; }
.plans-foot { max-width: 720px; margin: 20px auto 0; font-size: .82rem; color: var(--ink-muted); }
@media (max-width: 1100px) { .plan-grid { --per: 2; } .plan-prev { left: -8px; } .plan-next { right: -8px; } }
@media (max-width: 680px) {
  .plan-grid { --per: 1; --gap: 16px; padding-right: 12%; }
  .plan { padding: 26px 22px; }
  .plan-desc, .plan-audience, .plan-note { min-height: 0; }
  .plan-nav { width: 42px; height: 42px; }
  .plan-prev { left: -6px; } .plan-next { right: -6px; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s cubic-bezier(.16,.84,.44,1),
                transform .7s cubic-bezier(.16,.84,.44,1);
    will-change: opacity, transform;
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  /* Hero entra na carga da página */
  .hero-copy.reveal { transform: translateY(20px); }
  .hero-visual.reveal { transform: translateY(20px) scale(.94); }
  .hero-visual.reveal.is-visible { transform: none; }

  /* Cascata (stagger) para grupos de cards */
  .stat-card.reveal,
  .step.reveal,
  .benefit.reveal,
  .testimonial.reveal,
  .faq-item.reveal { transform: translateY(40px) scale(.98); }
  .stat-card.reveal.is-visible,
  .step.reveal.is-visible,
  .benefit.reveal.is-visible,
  .testimonial.reveal.is-visible,
  .faq-item.reveal.is-visible { transform: none; }

  .stat-card:nth-child(2).reveal,
  .step:nth-child(2).reveal,
  .benefit:nth-child(2).reveal,
  .testimonial:nth-child(2).reveal,
  .faq-item:nth-child(2).reveal { transition-delay: .10s; }

  .stat-card:nth-child(3).reveal,
  .step:nth-child(3).reveal,
  .benefit:nth-child(3).reveal,
  .testimonial:nth-child(3).reveal,
  .faq-item:nth-child(3).reveal { transition-delay: .20s; }

  .stat-card:nth-child(4).reveal,
  .benefit:nth-child(4).reveal,
  .faq-item:nth-child(4).reveal { transition-delay: .30s; }
  .benefit:nth-child(5).reveal { transition-delay: .40s; }

  /* Camaleão flutua suavemente e reage ao mouse */
  .hero-chameleon { animation: floaty 6s ease-in-out infinite; }
  @keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(-1.5deg); }
  }

  /* Header encolhe levemente ao rolar */
  .site-header.scrolled { box-shadow: 0 6px 24px rgba(20,38,63,.07); }
  .site-header.scrolled .header-inner { height: 84px; }
  .site-header.scrolled .brand-logo { height: 64px; }
  .site-header { transition: box-shadow .3s ease; }
  .site-header .header-inner { transition: height .3s ease; }
  .site-header .brand-logo { transition: height .3s ease, transform .2s ease; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .hero-chameleon { animation: none; }
}

/* ---------- Lead modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(20, 38, 63, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .22s ease;
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-open { opacity: 1; }

.modal {
  position: relative; width: 100%; max-width: 500px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 40px);
  transform: translateY(14px) scale(.98); transition: transform .22s ease;
}
.modal-overlay.is-open .modal { transform: none; }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--cream); color: var(--ink); transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--gold-lighter); color: var(--bronze-2); }
.modal-close:focus-visible { outline: 3px solid rgba(169,119,46,.5); outline-offset: 2px; }

.modal .eyebrow { margin-bottom: 10px; }
.modal-title { font-size: clamp(1.35rem, 3.2vw, 1.7rem); margin-bottom: 12px; text-wrap: balance; }
.modal-desc { font-size: .95rem; color: var(--ink); margin-bottom: 20px; }
.modal-desc strong { color: var(--navy); font-weight: 600; }

.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-form .field { display: flex; flex-direction: column; gap: 6px; }
.modal-form label { font-size: .82rem; font-weight: 600; color: var(--navy); }
.modal-form input {
  width: 100%; border: 1px solid var(--border); background: var(--cream-soft);
  padding: 13px 16px; border-radius: var(--radius); font-family: inherit;
  font-size: .95rem; color: var(--navy); transition: border-color .15s, box-shadow .15s;
}
.modal-form input::placeholder { color: #A9AEB6; }
.modal-form input:focus { outline: none; }
.modal-form input:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169,119,46,.18); }
.modal-form .btn { margin-top: 6px; }
.modal-hint { font-size: .8rem; color: var(--ink-muted); text-align: center; margin-top: 2px; }
.modal-hint:empty { display: none; }
/* Como funciona (abaixo dos campos), garantia (logo acima do botão) e
   "grátis" (abaixo do botão). */
.modal-steps { font-size: .84rem; line-height: 1.55; color: var(--ink); }
.modal-trust {
  display: flex; align-items: center; gap: 10px; margin-top: 2px;
  padding: 11px 14px; border-radius: var(--radius);
  background: var(--cream); border: 1px solid var(--border);
  font-size: .88rem; font-weight: 500; line-height: 1.4; color: var(--navy);
}
.modal-trust svg { flex: none; color: var(--gold); }
.modal-form .modal-trust + .btn { margin-top: 0; }
/* Turnstile ainda vazio não soma um segundo espaçamento antes da garantia. */
.modal-form .turnstile-slot:empty + .modal-trust { margin-top: -14px; }
.modal-free { margin-top: -4px; }
.turnstile-slot { display: flex; justify-content: center; }
.turnstile-slot:not(:empty) { margin: 4px 0 2px; }

.modal-success { text-align: center; }
.modal-success[hidden] { display: none; }
.modal-success .wa-badge {
  width: 76px; height: 76px; margin: 4px auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #25D366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .3);
}
.modal-success .modal-hint { margin: -8px 0 20px; }

body.modal-open { overflow: hidden; }

/* ============================================================
   Aceite, consentimento e páginas legais
   ============================================================ */
.legal-notice { font-size: .8rem; line-height: 1.5; color: var(--ink-muted); display: grid; gap: 6px; }
.legal-notice a, .consent a { color: var(--navy); text-decoration: underline; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; line-height: 1.45; color: var(--ink-muted); cursor: pointer; }
.consent input { margin-top: 3px; flex: none; }

.legal-page { padding: 40px 0 64px; background: var(--cream-soft); }
.legal-doc { max-width: 820px; color: var(--ink); line-height: 1.7; }
.legal-doc h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.legal-doc h2 { font-size: 1.2rem; color: var(--navy); margin: 34px 0 10px; scroll-margin-top: 90px; }
.legal-doc p, .legal-doc ul, .legal-doc ol { margin: 0 0 12px; }
.legal-doc ul, .legal-doc ol { padding-left: 22px; }
.legal-doc ul { list-style: disc; } .legal-doc ol { list-style: decimal; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--navy); text-decoration: underline; overflow-wrap: anywhere; }
.legal-doc hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
.legal-table { overflow-x: auto; margin: 0 0 14px; }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--card); }
.legal-doc th, .legal-doc td { border: 1px solid var(--border); padding: 9px 10px; text-align: left; vertical-align: top; }
.legal-doc th { background: var(--cream); color: var(--navy); }
.legal-header-actions { margin-left: auto; }

.dsr { margin-top: 44px; padding: 26px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; }
.dsr h2 { margin-top: 0; }
.dsr-form { display: grid; gap: 14px; }
.dsr-form .field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.dsr-form label, .dsr-form legend { font-weight: 600; color: var(--navy); font-size: .92rem; }
.dsr-form input[type=text], .dsr-form input[type=email], .dsr-form input[type=tel], .dsr-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px; font: inherit; background: var(--cream-soft);
}
.dsr-opt { display: flex; gap: 8px; align-items: flex-start; font-weight: 400 !important; color: var(--ink) !important; }
.dsr-opt input { margin-top: 5px; }
.dsr-hint { font-size: .82rem; color: var(--ink-muted); margin: 0; }
.dsr-error { color: #b42318; font-weight: 600; font-size: .9rem; }
.dsr-success { font-weight: 600; color: var(--navy); background: var(--cream); border-radius: 12px; padding: 16px; }

/* Aviso de cookies: pílula pequena no canto, só "Usamos cookies." e o botão
   Aceitar, numa linha (no celular, antes ocupava ~165px de altura). */
.foa-cc { position: fixed; left: 16px; bottom: 16px; z-index: 1000; width: max-content;
  display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .96);
  color: #5b6573; border: 1px solid #ebe4d8; box-shadow: 0 6px 20px rgba(20, 38, 63, .08); font-size: 13px; line-height: 1.3;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.foa-cc-text { margin: 0; white-space: nowrap; }
.foa-cc-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.foa-cc-btn { flex: none; font: inherit; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid #e3dccf; cursor: pointer; background: transparent; color: #14263f; }
.foa-cc-btn:hover { background: #f6f2ea; }
.foa-cc-btn:focus-visible { outline: 2px solid #b0812f; outline-offset: 2px; }
@media (max-width: 720px) { .foa-cc { left: 12px; bottom: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); font-size: 12px; } }
/* Formulário da análise aberto: o aviso sai da frente (volta ao fechar). No
   celular ele ficava sobre o botão "Fazer análise gratuita" e a mensagem da
   verificação, e o toque no botão caía no aviso. */
body.modal-open .foa-cc { display: none; }

/* ============================================================
   Blog, guias e páginas de conteúdo (HTML gerado por build/generate.mjs)
   ============================================================ */
.content-body main { padding-bottom: clamp(48px, 7vw, 88px); }
.hub, .article { max-width: 860px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; padding-top: clamp(24px, 4vw, 40px); font-size: .86rem; color: var(--ink-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--gold); }

/* Hub /blog */
.hub-head { padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--border); }
.hub-head h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); letter-spacing: -.02em; margin-bottom: 20px; }
.hub-lead { font-size: 1.06rem; color: var(--ink); max-width: 720px; }
.hub-lead a, .prose a, .content-cta-inline a { color: var(--navy); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
.hub-lead a:hover, .prose a:hover, .content-cta-inline a:hover { color: var(--gold); }
.hub-featured { padding: clamp(28px, 4vw, 40px) 0; border-bottom: 1px solid var(--border); }
.post-featured .post-title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.post-featured .post-summary { font-size: 1.05rem; }
.hub-recent { padding: clamp(28px, 4vw, 40px) 0 8px; }
.hub-recent-title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 18px; }
.post-list .post { padding: 24px 0; border-top: 1px solid var(--border); }
.post-meta { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.post-title { font-size: 1.25rem; line-height: 1.25; margin-bottom: 8px; }
.post-title a:hover { color: var(--gold); }
.post-summary { color: var(--ink-muted); max-width: 640px; }
.read-more { display: inline-flex; gap: 10px; margin-top: 12px; font-weight: 600; color: var(--navy); }
.read-more:hover { color: var(--gold); }

/* Artigo */
.article-head { padding: clamp(18px, 3vw, 28px) 0 clamp(22px, 3vw, 32px); }
.article-head .eyebrow { margin-bottom: 14px; }
.article-head h1 { font-size: clamp(2rem, 4.8vw, 3.1rem); letter-spacing: -.02em; margin-bottom: 18px; }
.article-dek { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--ink); margin-bottom: 16px; }
.article-meta { font-size: .86rem; color: var(--ink-muted); }
.prose { max-width: 720px; font-size: 1.06rem; line-height: 1.75; color: var(--ink); }
.prose p, .prose ul, .prose ol, .prose .table-wrap { margin: 0 0 20px; }
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.2; margin: 38px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose ul { list-style: disc; padding-left: 22px; } .prose ol { list-style: decimal; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose code { font-size: .9em; background: var(--cream-soft); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--bronze-1); color: var(--bronze-2); font-style: italic; font-size: 1.12rem; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--card); }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--cream); color: var(--navy); }
.prose tbody th { color: var(--navy); font-weight: 600; }

/* CTA de fim de página */
.content-cta {
  margin: clamp(32px, 5vw, 48px) 0 0; padding: clamp(24px, 4vw, 36px);
  background: var(--grad-band); border: 1px solid var(--gold-lighter); border-radius: var(--radius-lg);
  display: grid; gap: 18px; justify-items: start;
}
.content-cta-text { font-size: 1.06rem; color: var(--navy); max-width: 640px; }
.content-cta .btn { white-space: normal; text-align: center; }

/* Leia também */
.related { margin-top: clamp(32px, 5vw, 48px); padding-top: 20px; border-top: 1px solid var(--border); }
.related a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); color: var(--navy); font-weight: 500; }
.related a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .content-cta { justify-items: stretch; }
  .content-cta .btn { width: 100%; }
  .prose { font-size: 1rem; }
}

/* Páginas comerciais e de funcionalidades (template "page") */
.page { max-width: 960px; }
.page-head { padding: clamp(18px, 3vw, 28px) 0 clamp(18px, 3vw, 26px); }
.page-head h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); letter-spacing: -.02em; }
.page-prose { max-width: 820px; }
.page-lead { font-size: clamp(1.1rem, 2vw, 1.28rem); color: var(--navy); line-height: 1.6; }

/* Passos numerados dentro de conteúdo (mesmo visual dos passos da home, em coluna) */
.prose .content-steps { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; grid-template-columns: 1fr; gap: 26px; }
.prose .content-steps .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; align-items: start; margin: 0; }
.prose .content-steps .step::after { display: none; }
.prose .content-steps .step-num { margin: 0; grid-row: span 2; }
.prose .content-steps h3 { margin: 6px 0 6px; font-size: 1.15rem; }
.prose .content-steps p { margin: 0; color: var(--ink); }

/* FAQ dentro de conteúdo (mesmo visual do FAQ da home) */
.prose .content-faq { max-width: none; margin: 0 0 20px; }
.prose .faq-item summary { font-size: 1rem; }
.prose .faq-answer p { margin: 0; }
.prose .table-wrap table { min-width: 640px; }

/* Home: H1 mais longo (plano editorial) e nota de "Como funciona" */
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.55rem); }
.hero-lead { max-width: 540px; }
.how-note { max-width: 760px; margin: 44px auto 0; color: var(--ink-muted); font-size: .98rem; }
.how-note a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
.how-more { margin-top: 14px; }
.plans-foot a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Home: grade de planos, hero, faixa das IAs e linha decorativa
   ============================================================ */
/* Planos: 4 colunas no desktop, 2 no tablet, carrossel com pontos no celular */
.plan-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  overflow: visible; scroll-snap-type: none; padding: 18px 0 8px; margin: 0;
}
.plan { padding: 28px 20px 24px; min-width: 0; }
.plan-price { font-size: clamp(1.75rem, 2.3vw, 2.2rem); }
.plan-desc { min-height: 6.8em; }
.plan .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 13px 16px; font-size: .9rem; }
.plan-badge { left: 20px; }
.plan-nav, .plan-dots { display: none; }
@media (max-width: 1099px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .plan { padding: 30px 26px 26px; }
  .plan-price { font-size: 2.2rem; }
  .plan-desc { min-height: 0; }
}
@media (max-width: 680px) {
  .plan-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    padding: 18px 4px 12px; margin: 0 -4px;
  }
  .plan { flex: 0 0 84%; scroll-snap-align: start; padding: 26px 22px; }
  .plan-nav { display: grid; }
  .plan-dots { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
}
.plan-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--gold-lighter); transition: background .2s, transform .2s; }
.plan-dot[aria-current="true"] { background: var(--bronze-2); transform: scale(1.15); }
.plan-dot:focus-visible { outline: 3px solid rgba(169,119,46,.5); outline-offset: 2px; }

/* Hero: H1 em forma de pergunta (mais longo) */
.hero h1 { font-size: clamp(2rem, 3.8vw, 3.05rem); line-height: 1.12; }
@media (max-width: 640px) { .hero h1 { font-size: 1.85rem; } }
.check-list a { text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
.check-list a:hover { color: var(--gold); }

/* Faixa das IAs */
.platforms-note { margin-top: 18px; font-size: .86rem; color: var(--ink-muted); }

/* Linha decorativa mais suave, para não disputar com o texto */
.flow-lines { opacity: .45; }

/* Fonte de dado citado (hero e card de estatística) */
.stat-source { font-size: .74rem; line-height: 1.45; color: var(--ink-muted); margin-top: 6px; }
.stat-card .stat-question { color: var(--navy); font-weight: 600; margin-top: 8px; }
.stat-source a { text-decoration: underline; text-underline-offset: 2px; }
.stat-source a:hover { color: var(--gold); }
.why .stat-list { align-self: center; }

/* Celular: header mais baixo e hero mais compacta, para o campo do site e o
   botão "Analisar minha marca" aparecerem sem rolar. */
@media (max-width: 640px) {
  .header-inner, .site-header.scrolled .header-inner { height: 64px; }
  /* O PNG tem ~22% de área transparente em cima/embaixo e ~9% à esquerda:
     a imagem cresce e as margens negativas "comem" essa folga, sem aumentar
     o header (o desenho visível fica com ~40px de altura). */
  .brand-logo, .site-header.scrolled .brand-logo { height: 70px; margin: -3px 0 -3px -14px; }
  .hero { padding-top: 14px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: 1.75rem; margin-bottom: 14px; }
  .hero-lead { font-size: 1rem; line-height: 1.55; margin-bottom: 18px; }
}

/* Checks da hero: o círculo não encolhe quando o texto quebra em duas linhas */
.check { flex: 0 0 20px; }

/* Modal da análise: quando é mais alto que a tela, começa do topo e rola
   (align-items:center cortava o topo, com o botão de fechar, sem permitir rolar).
   margin:auto mantém centralizado quando cabe. */
.modal-overlay { align-items: flex-start; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.modal { margin: auto; }
.modal-close { position: sticky; top: 0; float: right; margin: -8px -8px 0 8px; z-index: 2; box-shadow: var(--shadow-sm); }
@media (max-width: 640px) {
  .modal-overlay { padding: 12px; }
  .modal { padding: 20px 18px 18px; }
  .modal .eyebrow { margin-bottom: 6px; }
  .modal-title { font-size: 1.25rem; margin-bottom: 8px; }
  .modal-title br { display: none; }
  .modal-desc { font-size: .88rem; margin-bottom: 14px; }
  .modal-form { gap: 10px; }
  .modal-form .field { gap: 4px; }
  .modal-form input { padding: 11px 14px; }
  .legal-notice { font-size: .74rem; }
  .modal-form .btn { margin-top: 2px; }
  .modal-steps { font-size: .8rem; line-height: 1.5; }
  .modal-trust { padding: 9px 12px; font-size: .84rem; gap: 8px; }
  .modal-form .turnstile-slot:empty + .modal-trust { margin-top: -10px; }
  /* Texto do botão longo: quebra em vez de vazar da tela. */
  .modal-form .btn { padding: 13px 18px; white-space: normal; text-align: center; line-height: 1.3; }
  .modal-free { margin-top: -2px; }
}
/* Notebook com tela baixa (ex.: 1366×768): mesmo ritmo compacto do celular,
   para o botão aparecer sem rolar. */
@media (min-width: 641px) and (max-height: 860px) {
  .modal { padding: 26px 32px 24px; }
  .modal .eyebrow { margin-bottom: 6px; }
  .modal-title { font-size: 1.4rem; margin-bottom: 8px; }
  .modal-desc { font-size: .9rem; margin-bottom: 14px; }
  .modal-form { gap: 10px; }
  .modal-form .field { gap: 4px; }
  .modal-form input { padding: 10px 14px; }
  .modal-steps { font-size: .8rem; line-height: 1.5; }
  .legal-notice { font-size: .74rem; }
  .modal-trust { padding: 8px 12px; font-size: .84rem; }
  .modal-form .turnstile-slot:empty + .modal-trust { margin-top: -10px; }
  .modal-form .btn { margin-top: 0; padding: 13px 22px; }
}

/* CTA flutuante da home ("Analisar minha marca grátis"): dourado como os
   outros botões. Escondido por padrão; script.js mostra (.is-visible) quando
   nenhum formulário de análise está na tela e sobe o botão (style.bottom)
   quando o aviso de cookies ocupa o mesmo lugar. Desktop: canto inferior
   direito. Celular: centralizado na base, acima da área segura do iPhone. */
.float-cta {
  position: fixed; z-index: 150; right: 24px;
  bottom: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 8px 22px rgba(169, 119, 46, .24), 0 2px 8px rgba(20, 38, 63, .08);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px);
  transition: opacity .2s ease, transform .2s ease, box-shadow .18s ease, filter .18s ease, visibility 0s linear .2s;
}
.float-cta.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.float-cta.is-visible:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(169, 119, 46, .3), 0 2px 8px rgba(20, 38, 63, .08); }
/* Fim da página: o rodapé ganha espaço para o botão não cobrir a última linha. */
.has-float-cta .footer-bottom { padding-bottom: 88px; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 720px) {
  .float-cta {
    left: 16px; right: 16px; margin-left: auto; margin-right: auto;
    width: max-content; max-width: calc(100% - 32px);
    bottom: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    white-space: normal; text-align: center; line-height: 1.25;
  }
}
@media (max-width: 360px) { .float-cta { font-size: .88rem; padding: 14px 22px; } }
@media (prefers-reduced-motion: reduce) {
  .float-cta, .float-cta.is-visible:hover { transform: none; }
  .float-cta, .float-cta.is-visible { transition: none; }
}
