/* =========================
   THEME TOKENS (DARK / LIGHT)
   ========================= */
:root{
  /* Core */
  --bg:#0b0d12; --fg:#ffffff; --muted:#b0b6c3;

  /* Brand */
  --brand-1:#ff6b00;   /* PRIMÁRIO (CTA, ações) */
  --brand-2:#ffd166;   /* SECUNDÁRIO (destaques, chips) */

  /* Surfaces */
  --card:#121623; --card-2:#0f1420; --stroke:#232a3a;

  /* Feedback */
  --ok:#b9ff66; --err:#ff6b6b;

  /* Elevations */
  --shadow: 0 10px 30px rgba(0,0,0,.35);

  /* Radius & Layout */
  --radius:12px; --radius-lg:18px;
  --container:1200px;
  --gutter: clamp(16px, 4vw, 28px);      /* NOVO: padding lateral consistente */
  --section-y: clamp(3.25rem, 6.5vw, 6rem);   /* NOVO: espaçamento padrão de seção */
  --section-hero-y: clamp(4rem, 8vw, 6.5rem); /* NOVO: espaçamento especial do Hero */
}
@media (prefers-color-scheme: light){
  :root{
    --bg:#fdfdfd; --fg:#0b0d12; --muted:#5a657a;
    --brand-1:#DAA520; --brand-2:#ff8f3a;
    --card:#ffffff; --card-2:#f9fafc; --stroke:#e2e4ec;
    --ok:#3BAA3B; --err:#D64545;
    --shadow:0 6px 18px rgba(0,0,0,.08);
  }
}

/* =========================
   BASE
   ========================= */
*{ box-sizing:border-box }
body{
  margin:0; background:var(--bg); color:var(--fg);
  font:500 16px/1.55 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Inter,Arial,"Noto Sans","Apple Color Emoji","Segoe UI Emoji";
  text-rendering:optimizeLegibility; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
::selection{ background:color-mix(in oklab, var(--brand-1) 25%, transparent); color:var(--fg); }
a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid color-mix(in oklab, var(--brand-1) 60%, var(--fg)); outline-offset:3px; border-radius:8px;
}

/* Utilities de layout (NOVO) */
.container{
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:var(--gutter);   /* garante alinhamento lateral consistente */
  width:80%;
  position:relative;
}
.section{ padding-block: var(--section-y); }           /* use em todas as seções */
.section--tight{ padding-block: clamp(2rem,5vw,3.5rem); }
.section--wide{  padding-block: clamp(4rem,8vw,7rem); }

.micro{ font-size:.82rem; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* =========================
   HEADER (STICKY + GLASS)
   ========================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:color-mix(in oklab, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom:1px solid color-mix(in oklab, var(--stroke) 70%, transparent);
}
.nav-wrap{
  max-width:var(--container);
  margin-inline:auto;
  height:64px;
  display:flex; align-items:center; justify-content:space-between;
  padding-inline:var(--gutter);            /* alinhado ao container */
}
.brand img{ display:block; height:28px; width:auto; }

.nav-desktop{ display:none; gap:16px; align-items:center; }
.nav-link{
  color:var(--muted); font-size:.95rem;
  padding:.5rem .75rem; border-radius:10px;
  transition:background .2s ease, color .2s ease;
}
.nav-link:hover{ background:color-mix(in oklab, var(--card) 70%, transparent); color:var(--fg); }

/* Buttons (coerentes) */
.btn, .btn-ghost, .btn-solid, .m-btn-ghost, .m-btn-solid, .btn-primary{
  display:inline-block; border-radius:var(--radius); font-weight:700;
  padding:.6rem 1rem; transition: all .2s ease; text-decoration:none;
}
.btn-primary, .btn-solid{ background:var(--brand-1); color:var(--bg); box-shadow:var(--shadow); }
.btn-primary:hover, .btn-solid:hover{ transform: translateY(-1px); }
.btn-ghost, .m-btn-ghost{ color:var(--brand-2); border:1px solid var(--stroke); }
.btn-ghost:hover, .m-btn-ghost:hover{ background:color-mix(in oklab, var(--card) 70%, transparent); }
.m-btn-solid{ background:var(--brand-1); color:var(--bg); box-shadow:var(--shadow); }

/* Toggle (mobile) */
.nav-toggle{
  display:inline-flex; flex-direction:column; gap:4px;
  width:42px; height:42px; align-items:center; justify-content:center;
  background:transparent; border:1px solid var(--stroke); border-radius:10px;
  cursor:pointer; transition:background .2s ease;
}
.nav-toggle:hover{ background:color-mix(in oklab, var(--card) 70%, transparent); }
.nav-toggle .bar{ width:20px; height:2px; background:var(--fg); border-radius:2px; transition:transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* Drawer mobile */
.nav-mobile{
  position:fixed; inset:0; background:color-mix(in oklab, var(--bg) 80%, rgba(0,0,0,.3));
  display:grid; grid-template-rows:auto 1fr; animation: fadeIn .18s ease both;
}
.nav-mobile-inner{
  margin:72px var(--gutter) var(--gutter);
  padding:12px; border-radius:14px;
  background:var(--card); border:1px solid var(--stroke); box-shadow: var(--shadow);
  display:flex; flex-direction:column; gap:8px;
}
.m-link{ padding:.9rem 1rem; border-radius:10px; color:var(--fg); }
.m-link:hover{ background:var(--card-2); }
.m-div{ border:none; border-top:1px solid var(--stroke); margin:.5rem 0; }

/* Responsividade */
@media (min-width: 960px){
  .nav-desktop{ display:flex; }
  .nav-toggle{ display:none; }
  .nav-mobile{ display:none !important; }
}

/* =========================
   HERO
   ========================= */
.hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(1000px 480px at 15% -10%, color-mix(in oklab, var(--brand-2) 18%, transparent), transparent 60%),
    linear-gradient(90deg, color-mix(in oklab, var(--brand-1) 28%, var(--bg)) 0%, var(--bg) 100%);
  color:var(--fg);
}
@media (prefers-color-scheme: light){
  .hero{
    background:
      radial-gradient(900px 420px at 85% 10%, color-mix(in oklab, var(--brand-1) 10%, transparent), transparent 60%),
      linear-gradient(90deg, var(--bg) 0%, color-mix(in oklab, var(--brand-2) 8%, var(--bg)) 100%);
  }
}
.hero-decor{
  position:absolute; inset:0; pointer-events:none; opacity:.18;
  background:
    radial-gradient(600px 600px at -10% -10%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(700px 700px at 110% 10%, color-mix(in oklab, var(--brand-2) 25%, transparent), transparent 60%);
  filter: blur(2px);
}
.hero-container{
  max-width:var(--container);
  margin-inline:auto;
  padding: var(--section-hero-y) var(--gutter);   /* ALINHADO AO CONTAINER */
  position:relative;
}
.hero-grid{ display:grid; gap:2.25rem; align-items:center; grid-template-columns:1fr; }
@media (min-width: 960px){ .hero-grid{ grid-template-columns: 1.05fr .95fr; } }

.eyebrow{
  text-transform:uppercase; letter-spacing:.18em; font-size:.72rem;
  color:color-mix(in oklab, var(--fg) 70%, var(--muted)); margin-bottom:.5rem;
}
.hero-title{ font-size: clamp(2.5rem, 4vw, 3.8rem); line-height:1.08; font-weight: 850; margin:0; }
.grad{ color: var(--brand-1); }
.hero-sub{
  margin-top:1rem; font-size:1.1rem;
  color: color-mix(in oklab, var(--fg) 80%, var(--muted));
  max-width: 40ch;
}

.hero-ctas{ display:flex; gap:.75rem; flex-wrap:wrap; margin-top:1.25rem; }
.btn{
  display:inline-block; border-radius:14px; text-decoration:none; font-weight:750;
  padding:.9rem 1.25rem; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease; will-change: transform;
}
.btn-ghost{ color:var(--fg); border:1px solid var(--stroke); background:transparent; }
.btn-ghost:hover{ background: color-mix(in oklab, var(--card) 70%, transparent); }

.hero-bullets{ margin-top:1rem; list-style:none; padding:0; color: color-mix(in oklab, var(--fg) 76%, var(--muted)); }
.hero-bullets li{ display:flex; align-items:center; gap:.5rem; font-size:.95rem; }
.hero-bullets .dot{ width:6px; height:6px; border-radius:999px; background: var(--brand-2); display:inline-block; }

/* Card premium (Hero) */
.hero-card{
  background: var(--card); border:1px solid var(--stroke);
  border-radius:var(--radius-lg); padding:1.25rem; box-shadow: var(--shadow);
  transform-style: preserve-3d; perspective: 1000px; animation: floaty 6s ease-in-out infinite;
}
@media (min-width: 768px){ .hero-card{ padding:1.8rem; } }
.card-title{ font-size:1.1rem; font-weight:800; margin:0 0 .35rem 0; }
.card-sub{ font-size:.92rem; color: color-mix(in oklab, var(--fg) 70%, var(--muted)); margin:0; }
.stats{ display:grid; grid-template-columns: repeat(3, 1fr); gap:.6rem; margin-top:1rem; }
.stat{ text-align:center; padding:1rem; border-radius:14px; background: var(--card-2); border:1px solid var(--stroke); }
.stat-val{ font-size:1.35rem; font-weight:900; }
.stat-label{ font-size:.72rem; opacity:.75; }

/* Botão do simulador */
.btn-sim{
  margin-top:1rem; display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.65rem .9rem; border-radius:12px; font-weight:650;
  background: color-mix(in oklab, var(--card-2) 80%, transparent);
  border:1px solid var(--stroke); color: var(--fg);
  transition: background .2s ease, transform .15s ease;
}
.btn-sim:hover{ background: color-mix(in oklab, var(--brand-2) 10%, var(--card-2)); transform: translateY(-1px); }

/* =========================
   SECTION 2 (BENEFÍCIOS + COMO FUNCIONA)
   ========================= */
.sec-beneficios{
  position:relative; overflow:hidden;
  padding-block: var(--section-y);           /* usa spacing padrão */
  /* sem padding-inline: o .container controla a largura */
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg) 96%, var(--brand-2) 4%), var(--bg));
  color: var(--fg);
}
.sec-bg{
  position:absolute; inset:0; pointer-events:none; opacity:.14;
  background:
    radial-gradient(600px 600px at 10% -10%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(800px 800px at 110% 10%, color-mix(in oklab, var(--brand-2) 20%, transparent), transparent 60%);
  filter: blur(2px);
}
.sec-head{ text-align:center; max-width: 880px; margin: 0 auto 2.5rem; }
.sec-title{ font-weight: 850; font-size: clamp(2rem, 3.8vw, 2.6rem); margin:0; line-height:1.1; }
.sec-sub{ margin:.8rem auto 1.2rem; color: color-mix(in oklab, var(--fg) 80%, var(--muted)); font-size:1.05rem; }

/* Badges */
.badges{ display:flex; gap:.5rem; flex-wrap:wrap; justify-content:center; margin-top:.5rem; }
.badge{
  display:inline-flex; align-items:center; gap:.5rem;
  background: var(--card); color: var(--fg); border:1px solid var(--stroke);
  padding:.55rem .8rem; border-radius:999px; font-size:.86rem; box-shadow: var(--shadow);
}
.badge i{ font-style:normal; color: var(--brand-2); }

/* Benefícios */
.benef-grid{ display:grid; gap:1rem; grid-template-columns:1fr; margin-top:1.5rem; }
@media (min-width: 960px){ .benef-grid{ grid-template-columns: repeat(4, 1fr); } }
.benef-card{
  background: var(--card); border:1px solid var(--stroke); border-radius:16px; padding:1.1rem 1.1rem;
  box-shadow: var(--shadow); transform-style: preserve-3d; perspective: 1000px; transition: transform .2s ease;
}
@media (min-width: 768px){ .benef-card{ padding:1.35rem 1.35rem; } }
.benef-title{ margin:0; font-weight:800; font-size:1.05rem; }
.benef-copy{ margin:.35rem 0 0; font-size:.95rem; color: color-mix(in oklab, var(--fg) 72%, var(--muted)); }
.benef-card .tilt-inner{ transform: translateZ(20px); }

/* Como funciona */
.how-grid{ display:grid; gap:1rem; grid-template-columns:1fr; margin-top:1.2rem; }
@media (min-width: 960px){ .how-grid{ grid-template-columns: repeat(3, 1fr); } }
.how-card{
  background: var(--card-2); border:1px solid var(--stroke); border-radius:16px; padding:1.1rem 1.1rem;
  transform-style: preserve-3d; perspective: 1000px; transition: transform .2s ease;
}
@media (min-width: 768px){ .how-card{ padding:1.35rem 1.35rem; } }
.how-num{
  width:38px; height:38px; border-radius:12px;
  background: color-mix(in oklab, var(--brand-1) 20%, var(--card-2));
  color: var(--bg); display:grid; place-items:center; font-weight:800; border:1px solid var(--stroke);
}
@media (prefers-color-scheme: dark){
  .how-num{ background: color-mix(in oklab, var(--brand-2) 20%, var(--card-2)); color: var(--fg); }
}
.how-title{ margin:.6rem 0 .1rem; font-weight:800; }
.how-copy{ margin:0; color: color-mix(in oklab, var(--fg) 72%, var(--muted)); font-size:.95rem; }
.sec-cta{ display:flex; align-items:center; justify-content:center; gap:.75rem; margin-top: 1.5rem; }
.cta-note{ font-size:.85rem; color: color-mix(in oklab, var(--fg) 68%, var(--muted)); }

/* =========================
   INTERAÇÕES / MOTION
   ========================= */
@keyframes fadeIn{ from{ opacity:0 } to{ opacity:1 } }
@keyframes floaty { 0%{transform:translateY(0)} 50%{transform:translateY(-6px)} 100%{transform:translateY(0)} }
.tilt .tilt-inner{ transform: translateZ(22px); }
.tilt:hover{ transform: translateY(-2px) rotateX(1deg) rotateY(-1deg); }
@media (prefers-reduced-motion: reduce){
  .hero-card, .tilt, .tilt *{ animation:none !important; transition:none !important; }
}

/* ===== Footer ===== */
.footer{
  padding:36px 24px;
  border-top:1px solid var(--stroke);
  background:linear-gradient(180deg, var(--card), var(--card-2));
  font-size:.9rem; color:var(--fg);
}

/* grid do rodapé alinhado ao container do site */
.foot-grid{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  max-width:var(--container);
  margin:0 auto;
  padding-inline: var(--gutter, 24px);
}

/* bloco marca */
.foot-brand{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.foot-brand img{ height:28px; width:auto; display:block; margin-bottom:4px; }
.foot-brand p{ color: color-mix(in oklab, var(--fg) 70%, var(--muted)); font-size:.8rem; }

/* Links (sem align-self por padrão para evitar conflito no mobile) */
.foot-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}
.foot-links a{
  color: color-mix(in oklab, var(--fg) 80%, var(--muted));
  font-size:.9rem;
  text-decoration:none;
  padding:.25rem .35rem;
  border-radius:6px;
  transition:color .2s ease, background .2s ease;
}
.foot-links a:hover, .foot-links a:focus-visible{
  color:var(--fg);
  background: color-mix(in oklab, var(--card) 70%, transparent);
  outline:none;
}

/* Crédito (sem align-self por padrão) */
.foot-dev{
  display:flex;
  align-items:center;
  gap:.5rem;
  font-size:.8rem;
  color: color-mix(in oklab, var(--fg) 70%, var(--muted));
  text-align:right;
}
.foot-dev img{ height:22px; width:auto; display:block; }

/* Mobile */
@media (max-width: 720px){
  .footer{ padding:28px 16px; }

  .foot-grid{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:18px;
  }

  /* centraliza todos os blocos */
  .foot-brand{ align-items:center; }
  .foot-links{ justify-content:center; align-self:center; }
  .foot-dev{ justify-content:center; text-align:center; align-self:center; }
  .container{ width: 100%;}
}

.float-cta{
  position:sticky; bottom:0; z-index:40;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.22)) , rgba(10,12,20,.6);
  border-top:1px solid rgba(255,255,255,.08); backdrop-filter:saturate(1.1) blur(8px)
}
@media (prefers-color-scheme: light){ .float-cta{background:linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.9))} }
.fc-wrap{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 15px}
.fc-price{font-weight:700}

/* Mini slider: Testimonials */
.testi-viewport{ position:relative; overflow:hidden; }
.testi-track{
  display:flex; width:100%;
  transform: translateX(0);
  transition: transform .4s ease;
  will-change: transform;
}
.testi-slide{ min-width:100%; }

.testi-nav{
  position:absolute; top:50%; transform: translateY(-50%);
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius:10px; border:1px solid var(--stroke);
  background: color-mix(in oklab, var(--card-2) 85%, transparent);
  color: var(--fg); font-size:20px; line-height:1; cursor:pointer;
  transition: background .2s ease, transform .15s ease;
}
.testi-nav:hover{ background: color-mix(in oklab, var(--card) 70%, transparent); transform: translateY(-50%) translateY(-1px); }
.testi-prev{ left:10px; }
.testi-next{ right:10px; }

.testi-dots .testi-dot{
  width:8px; height:8px; border-radius:999px; border:1px solid var(--stroke);
  background: color-mix(in oklab, var(--card-2) 70%, transparent);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.testi-dots .testi-dot.is-active{
  transform: scale(1.2);
  background: var(--brand-2);
  border-color: color-mix(in oklab, var(--brand-2) 70%, var(--stroke));
}

/* Acessibilidade: reduz animação */
@media (prefers-reduced-motion: reduce){
  .testi-track{ transition:none; }
  .testi-nav{ transition:none; }
  .testi-dots .testi-dot{ transition:none; }
}

/* =========================
   AFILIADOS – MODAL + FORM (ajustada)
   ========================= */
.aff-modal[hidden]{ display:none !important; }
.aff-modal{
  position:fixed; inset:0; z-index:60;
  display:grid; place-items:center;
}

/* Backdrop com blur + opacidade melhor */
.aff-backdrop{
  position:absolute; inset:0;
  background:rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fadeIn .18s ease both;
}

.aff-card{
  position: relative;
  width: min(680px, 94vw);
  max-height: min(92vh, 760px);
  background: var(--card); color: var(--fg);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}

.aff-title{
  margin:0 0 .25rem 0; font-weight:850;
  font-size:clamp(1.25rem, 2.5vw, 1.6rem);
}
.aff-sub{
  margin:0;
  color:color-mix(in oklab, var(--fg) 70%, var(--muted));
  font-size:.95rem;
}

/* Botão fechar com hit-area confortável */
.aff-close{
  position: absolute; top: 10px; right: 10px;
  inline-size: 36px; block-size: 36px;
  display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--stroke);
  background: color-mix(in oklab, var(--card-2) 60%, var(--card));
  -webkit-tap-highlight-color: transparent;
}
.aff-close:hover{ background:color-mix(in oklab, var(--card-2) 80%, var(--card)); }
.aff-close:focus-visible{
  outline:2px solid color-mix(in oklab, var(--brand-1) 60%, var(--fg));
  outline-offset:3px;
}

/* Área rolável do form */
.aff-form{
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 12px 20px 0;
  scroll-padding-bottom: 100px; /* não colar no CTA */
}

.aff-grid{
  display:grid; gap:12px;
  grid-template-columns:1fr;
}
@media (min-width:720px){
  .aff-grid{ grid-template-columns:1fr 1fr; }
  .aff-full{ grid-column:1 / -1; }
}

/* Campos */
.aff-field{ display:flex; flex-direction:column; gap:6px; }
.aff-label{ font-size:.8rem; color:color-mix(in oklab, var(--fg) 78%, var(--muted)); }

.aff-input, .aff-select{
  appearance:none; width:100%; height:48px;
  padding:0 12px; border-radius:12px;
  background:var(--card-2);
  border:1px solid var(--stroke);
  color:var(--fg); font:inherit;
  transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

/* Setinha do select (não quebra layout existente) */
.aff-select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23999'%3E%3Cpath d='M1 1l4 4 4-4' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right .85rem center;
  background-size:10px 6px;
  padding-right:2rem;
}

.aff-input::placeholder{ color:color-mix(in oklab, var(--fg) 50%, var(--muted)); }

.aff-input:focus,
.aff-select:focus{
  outline:none;
  border-color:color-mix(in oklab, var(--brand-1) 46%, var(--stroke));
  box-shadow:0 0 0 3px color-mix(in oklab, var(--brand-1) 20%, transparent);
}

.aff-input[aria-invalid="true"],
.aff-select[aria-invalid="true"]{
  border-color:var(--err);
  box-shadow:0 0 0 3px color-mix(in oklab, var(--err) 20%, transparent);
}

.aff-help{ font-size:.75rem; color:color-mix(in oklab, var(--fg) 65%, var(--muted)); }
.aff-error{ font-size:.75rem; color:var(--err); }

/* Rodapé sticky do modal (CTA + termos) */
.aff-actions{
  position: sticky; bottom: 0; z-index: 3;
  padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background:
    linear-gradient(to top,
      color-mix(in oklab, var(--card) 100%, transparent),
      color-mix(in oklab, var(--card) 80%, transparent) 60%,
      transparent);
  border-top: 1px solid var(--stroke);
}

/* Botão principal */
.aff-submit{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.9rem 1.2rem; border-radius:14px; font-weight:750;
  background:linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color:var(--bg); box-shadow:var(--shadow);
  border:none; cursor:pointer; transition:transform .15s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
  margin-right: 5%;
}
.aff-submit:hover{ transform:translateY(-1px); }
.aff-submit[disabled]{ opacity:.7; cursor:progress; transform:none; }

/* Termos */
.aff-terms{
  font-size:.8rem;
  color:color-mix(in oklab, var(--fg) 74%, var(--muted));
}
.aff-terms a{ text-decoration:underline; }

/* Mobile full-screen + CTA 100% */
@media (max-width:640px){
  .aff-card{
    width:100vw; height:100vh; max-height:100vh; border-radius:0;
  }
  .aff-form{ padding:12px 16px 0; }
  .aff-actions{ padding:12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .aff-submit{ width:100%; margin-right:0; }
}

/* dvh para corrigir barra do navegador móvel */
@supports (height: 100dvh){
  .aff-card{ max-height:min(92dvh, 760px); }
  @media (max-width:640px){
    .aff-card{ height:100dvh; max-height:100dvh; }
  }
}

/* Redução de movimento */
@media (prefers-reduced-motion: reduce){
  .aff-card, .aff-backdrop, .aff-submit{ animation:none !important; transition:none !important; }
}

/* util p/ chips inline no form */
.aff-chips{ display:flex; flex-wrap:wrap; gap:6px; }
.aff-chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:.4rem .6rem; border-radius:999px; font-size:.8rem;
  background:var(--card-2); border:1px solid var(--stroke);
}

/* pequenos polimentos cross-browser */
.aff-input[type=number]::-webkit-outer-spin-button,
.aff-input[type=number]::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.aff-input[type=number]{ -moz-appearance:textfield; }

/* animações usadas */
@keyframes fadeIn{ from{opacity:0} to{opacity:1} }

/* 1) Container — largura 100% + garante que o Tailwind não sobreponha */
.container{
  max-width: var(--container) !important;
  padding-inline: var(--gutter) !important;
  width: 100%;
}

/* 2) Evitar scroll de fundo quando o menu mobile estiver aberto */
html.nav-open{ overflow: hidden; }

/* 3) Modal de afiliados acima de tudo (consent banner tem z-index gigante) */
.aff-modal{ z-index: 2147483600; }

/* 4) Conflito de .btn no bloco do HERO:
      sua regra global de .btn já existe; escopar a “segunda” pra não sobrescrever tudo */
.hero-ctas .btn{
  display:inline-block; border-radius:14px; text-decoration:none; font-weight:750;
  padding:.9rem 1.25rem; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  will-change: transform;
}
