/* Site do ecossistema Adesão Plus — HTML/CSS estático, sem recursos externos (CSP: só 'self'). */
@font-face { font-family: 'Montserrat'; font-weight: 500; font-display: swap; src: url('/fonts/montserrat-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url('/fonts/montserrat-700.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url('/fonts/montserrat-800.woff2') format('woff2'); }

:root {
  --bg: #f5f7fb; --surface: #ffffff; --surface-2: #eef2f8; --text: #0b1a33; --text-2: #3c4a63; --muted: #687386;
  --border: rgba(11, 26, 51, 0.1); --primary: #01225a; --primary-soft: #e4ebf7; --accent: #fd6a01; --accent-ink: #b34700;
  --on-primary: #ffffff; --shadow: 0 1px 2px rgba(11, 26, 51, .06), 0 8px 24px rgba(11, 26, 51, .06);
  --radius: 20px; --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1120; --surface: #111a2c; --surface-2: #18233a; --text: #edf1f8; --text-2: #c2cbdb; --muted: #8b96aa;
    --border: rgba(255, 255, 255, .1); --primary: #ff7a1a; --primary-soft: #3a220f; --accent: #ff7a1a; --accent-ink: #ffa15c;
    --on-primary: #1c0d00; --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 1rem/1.6 Montserrat, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* topo */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo__mark { width: 34px; height: 34px; }
.logo b { color: var(--accent); font-weight: 800; }
.top nav { margin-left: auto; display: flex; gap: 4px; }
.top nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--text-2); font-weight: 700; font-size: .92rem; }
.top nav a:hover { background: var(--surface-2); color: var(--text); }
@media (max-width: 560px) { .top nav a:not(.top__cta) { display: none; } }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--primary); color: var(--on-primary); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: var(--surface-2); color: var(--text); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.top nav .top__cta { background: var(--primary); color: var(--on-primary); }

/* abertura */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%); z-index: -1; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 14px; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; max-width: 16ch; font-weight: 800; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-2); max-width: 56ch; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* produtos */
.section { padding: clamp(40px, 7vw, 88px) 0; }
.section h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: -.02em; margin: 0 0 10px; font-weight: 800; }
.section .sub { color: var(--text-2); margin: 0 0 32px; max-width: 60ch; }
.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.product { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11, 26, 51, .12); }
.product__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); font-size: 1.6rem; }
.product__icon img { width: 36px; height: 36px; }
.product h3 { margin: 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.product p { margin: 0; color: var(--text-2); font-size: .95rem; flex: 1; }
.product .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
/* o cartão inteiro leva para a página do produto (o botão "Entrar" continua clicável por cima) */
.product__link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.product .actions .btn { position: relative; z-index: 1; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.tag--soon { background: var(--surface-2); color: var(--muted); }
.product--featured { grid-column: 1 / -1; }
.product--reserved { border-style: dashed; background: transparent; box-shadow: none; align-items: center; justify-content: center; text-align: center; min-height: 240px; }
.product--reserved:hover { transform: none; box-shadow: none; }
.product--reserved .product__icon { background: var(--surface-2); }

/* sobre e contato */
.about { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .about { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.points li span[aria-hidden] { font-size: 1.3rem; }
.contact { padding: 24px; background: var(--primary); color: var(--on-primary); border-radius: var(--radius); }
.contact a { color: inherit; font-weight: 700; }
.contact .btn--ghost { background: var(--surface); color: var(--text); }
.contact h2 { margin-top: 0; }

/* rodapé */
.foot { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: .88rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.foot a { color: var(--text-2); }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* páginas "em breve" */
.soon { min-height: calc(100vh - 200px); display: grid; place-items: center; text-align: center; padding: 48px 0; }
.soon .card { max-width: 560px; padding: 36px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.soon h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 8px 0 12px; letter-spacing: -.02em; }
.product-details { max-width: 460px; margin: 20px auto; padding-left: 22px; color: var(--text-2); text-align: left; }
.product-details li + li { margin-top: 8px; }

/* aparecer ao rolar */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ícone de produto em imagem (marca oficial) */
.product__icon--img { background: none; overflow: hidden; }
.product__icon--img img { width: 100%; height: 100%; }

