/* ============================================================
   Estagio DNN — tema "Cartão de Acesso" (light, vinho+dourado+creme)
   Schibsted Grotesk (títulos) + Inter (texto)
   ============================================================ */

:root{
  --bg: #F8F4ED;
  --bg-card: #FFFFFF;
  --bg-alt: #F1E9DD;
  --line: #E3D7C4;
  --text: #2B2420;
  --text-soft: #6B5F53;
  --wine: #7A2048;
  --wine-soft: #9C3A66;
  --gold: #D9A441;
  --ink: #2B2420;
  --shadow-lg: 0 24px 50px -24px rgba(43,36,32,.22);
  --shadow-sm: 0 8px 18px -10px rgba(43,36,32,.18);
  --radius: 10px;
}

/* ---- hardening defensivo ---- */
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{ overflow-x:hidden; }

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:'Inter', system-ui, sans-serif; line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ font-family:'Schibsted Grotesk', 'Inter', sans-serif; font-weight:700; line-height:1.15; margin:0 0 .5em; color:var(--ink); }
h1{ font-size:clamp(2rem, 4.2vw, 3.1rem); }
h2{ font-size:clamp(1.5rem, 2.8vw, 2.15rem); }
h3{ font-size:1.12rem; font-weight:700; }
p{ margin:0 0 1em; color:var(--text-soft); }
ul,ol{ margin:0; padding:0; list-style:none; }
.skip-link{ position:absolute; left:-999px; top:0; background:var(--wine); color:#fff; padding:.6em 1em; z-index:200; }
.skip-link:focus{ left:0; }

.section{ max-width:1160px; margin:0 auto; padding:4.6rem 1.5rem; }
.eyebrow{ display:inline-flex; align-items:center; gap:.4em; font-size:.84rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--wine); margin-bottom:.9em; }
.section-lead{ max-width:620px; font-size:1.04rem; }
.link-arrow{ display:inline-flex; align-items:center; gap:.5em; font-weight:700; color:var(--wine); margin-top:1.2em; }

/* ---- chip decoration (linguagem de forma própria do tema) ---- */
.chip-deco{ display:inline-flex; width:30px; height:30px; align-items:center; justify-content:center; border-radius:7px; background:color-mix(in srgb, var(--gold) 22%, transparent); color:var(--wine); }

/* ---- botões ---- */
.btn{ display:inline-flex; align-items:center; gap:.55em; padding:.85em 1.5em; border-radius:9px; font-weight:700; font-size:.97rem; border:1px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary{ background:var(--wine); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--wine-soft); transform:translateY(-2px); box-shadow:0 14px 26px -12px color-mix(in srgb, var(--wine) 55%, transparent); }
.btn-outline{ border-color:var(--line); color:var(--text); background:var(--bg-card); }
.btn-outline:hover{ border-color:var(--wine); color:var(--wine); }
.btn-block{ width:100%; justify-content:center; }

/* ---- header ---- */
header.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  header.site-header{
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
.header-inner{ max-width:1160px; margin:0 auto; padding:.9rem 1.5rem; display:flex; align-items:center; justify-content:space-between; gap:1.2rem; }
.brand{ display:flex; align-items:center; gap:.6em; font-family:'Schibsted Grotesk',sans-serif; font-weight:700; font-size:1.05rem; white-space:nowrap; color:var(--ink); }
.brand img{ width:40px; height:40px; }
.main-nav{ display:flex; align-items:center; gap:1.6rem; }
.main-nav ul{ display:flex; gap:1.4rem; }
.main-nav a{ font-weight:600; font-size:.95rem; color:var(--text-soft); }
.main-nav a:hover, .main-nav a.active{ color:var(--wine); }
.main-nav a.btn-primary{ color:#fff; }
.nav-toggle{ display:none; }

@media (max-width: 880px){
  .main-nav{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--bg); border-bottom:1px solid var(--line);
    max-height:0; overflow:hidden; transition:max-height .3s ease;
  }
  .main-nav.open{ max-height:420px; }
  .main-nav ul{ flex-direction:column; padding:1.2rem 1.5rem 0; gap:0; }
  .main-nav ul li{ border-bottom:1px solid var(--line); }
  .main-nav ul li a{ display:block; padding:.9rem 0; }
  .main-nav .btn-nav{ margin:1.2rem 1.5rem 1.5rem; }
  .nav-toggle{ display:flex; flex-direction:column; justify-content:center; gap:5px; width:40px; height:40px; background:none; border:none; cursor:pointer; }
  .nav-toggle span{ width:24px; height:2px; background:var(--ink); display:block; transition:.2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
}
@media (min-width: 881px){ .nav-toggle{ display:none; } }

/* ---- hero centralizado (Modelo C) ---- */
.hero-center{ max-width:880px; margin:0 auto; padding:4.5rem 1.5rem 2.5rem; text-align:center; display:flex; flex-direction:column; align-items:center; }
.hero-lead{ font-size:1.1rem; max-width:620px; }
.hero-ctas{ display:flex; gap:1rem; flex-wrap:wrap; justify-content:center; margin:1.6rem 0 1.8rem; }
.trust-chips{ display:flex; flex-wrap:wrap; gap:.7rem; justify-content:center; margin-bottom:2.6rem; }
.trust-chips li{ display:flex; align-items:center; gap:.45em; font-size:.87rem; font-weight:600; color:var(--text-soft); background:var(--bg-card); border:1px solid var(--line); padding:.5em .9em; border-radius:999px; }
.trust-chips li svg{ color:var(--wine); flex:none; }

/* ---- access card (hero visual) ---- */
.access-card{ width:min(420px, 92vw); aspect-ratio:16/10; background:linear-gradient(150deg, var(--wine), #5A1736); border-radius:20px; box-shadow:var(--shadow-lg); padding:1.6rem; display:flex; flex-direction:column; justify-content:space-between; position:relative; }
.access-card-top{ display:flex; align-items:center; justify-content:space-between; }
.access-card-top .chip-deco{ background:color-mix(in srgb, var(--gold) 55%, transparent); color:#fff; }
.live-dot{ font-size:.7rem; font-weight:800; letter-spacing:.06em; color:var(--gold); background:color-mix(in srgb, var(--gold) 18%, transparent); padding:.3em .7em; border-radius:999px; animation:pulseBadge 2.2s ease-in-out infinite; }
@keyframes pulseBadge{ 0%,100%{ opacity:1; } 50%{ opacity:.55; } }
.access-card-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:8px; margin:1rem 0; }
.access-card-grid span{ height:5px; border-radius:3px; background:color-mix(in srgb, #fff 24%, transparent); }
.access-card-grid span:nth-child(3n){ background:var(--gold); }
.access-card-bottom{ display:flex; align-items:center; gap:.8rem; }
.play-badge{ display:flex; width:40px; height:40px; align-items:center; justify-content:center; border-radius:10px; background:var(--gold); color:var(--wine); }
.access-card-lines{ display:flex; flex-direction:column; gap:6px; flex:1; }
.access-card-lines i{ display:block; height:6px; border-radius:3px; background:color-mix(in srgb, #fff 18%, transparent); }
.access-card-lines i:last-child{ width:60%; }

/* ---- stat band ---- */
.stat-band{ max-width:1160px; margin:0 auto; padding:0 1.5rem 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.stat-tile{ background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius); padding:1.5rem; text-align:center; }
.stat-tile strong{ display:block; font-family:'Schibsted Grotesk',sans-serif; font-size:2rem; color:var(--wine); }
.stat-tile span{ color:var(--text-soft); font-size:.88rem; }
.stat-accent{ background:color-mix(in srgb, var(--gold) 14%, var(--bg-card)); border-color:color-mix(in srgb, var(--gold) 45%, transparent); }
.stat-accent strong{ color:#9C6B12; }

/* ---- benefit cards ---- */
.benefit-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; margin-top:2.2rem; }
.benefit-card{ background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius); padding:1.7rem; }
.benefit-card .icon{ display:inline-flex; width:48px; height:48px; align-items:center; justify-content:center; border-radius:10px; background:color-mix(in srgb, var(--wine) 10%, transparent); color:var(--wine); margin-bottom:1em; }
.benefit-card:nth-child(even) .icon{ background:color-mix(in srgb, var(--gold) 20%, transparent); color:#9C6B12; }

/* ---- planos (card quadrado, bordado, ribbon diagonal) ---- */
.plans-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.3rem; margin-top:2.2rem; }
.plan-card{ position:relative; overflow:hidden; background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius); padding:2rem 1.6rem; display:flex; flex-direction:column; }
.plan-card.featured{ border-color:var(--gold); border-width:2px; padding-top:2.6rem; }
.chip-deco{ margin-bottom:1em; }
.plan-ribbon{
  position:absolute; top:26px; right:-36px; width:140px; text-align:center;
  transform:rotate(38deg); background:var(--gold); color:var(--wine);
  font-size:.66rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  padding:.35em 0; box-shadow:0 4px 10px color-mix(in srgb, var(--gold) 40%, transparent);
}
.plan-card h3{ font-size:1.25rem; margin-bottom:.3em; }
.plan-price{ font-family:'Schibsted Grotesk',sans-serif; font-size:2rem; font-weight:700; color:var(--ink); margin:0; }
.plan-price span{ font-size:1rem; font-weight:600; color:var(--text-soft); vertical-align:top; margin-right:.2em; font-family:'Inter',sans-serif; }
.plan-per-month{ font-size:.85rem; color:var(--text-soft); margin:.2em 0 .6em; }
.plan-note{ font-size:.84rem; color:var(--wine); margin-bottom:1.2em; min-height:2.6em; }
.plan-features{ display:flex; flex-direction:column; gap:.6em; margin-bottom:1.6em; flex:1; }
.plan-features li{ display:flex; align-items:center; gap:.5em; font-size:.88rem; color:var(--text-soft); }
.plan-features svg{ color:var(--wine); flex:none; }
.plans-note{ text-align:center; color:var(--text-soft); font-size:.9rem; margin-top:2rem; }
/* nunca transform:translateY permanente no featured — só em :hover (ver seção 8 do skill) */
.plan-card:hover{ transform:translateY(-4px); transition:transform .18s ease; box-shadow:var(--shadow-sm); }

/* ---- steps ---- */
.steps{ display:flex; flex-direction:column; gap:1.3rem; margin-top:2.2rem; }
.steps li{ display:flex; gap:1.2rem; align-items:flex-start; background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem; }
.step-num{ flex:none; width:42px; height:42px; border-radius:10px; background:var(--wine); color:#fff; font-family:'Schibsted Grotesk',sans-serif; font-size:1.1rem; font-weight:700; display:flex; align-items:center; justify-content:center; }
.steps h3{ margin-bottom:.3em; }

/* ---- devices ---- */
.device-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:2.1rem; }
.device-tile{ display:flex; flex-direction:column; align-items:center; gap:.6em; text-align:center; background:var(--bg-card); border:1px solid var(--line); border-bottom:3px solid var(--gold); border-radius:8px; padding:1.3rem .6rem; font-size:.85rem; font-weight:600; color:var(--text-soft); }
.device-icon{ width:46px; height:46px; border-radius:9px; background:color-mix(in srgb, var(--wine) 8%, transparent); color:var(--wine); display:flex; align-items:center; justify-content:center; }
.device-tile:hover{ border-bottom-color:var(--wine); color:var(--ink); }

/* ---- blog ---- */
.blog-cards{ display:flex; flex-direction:column; gap:1.4rem; margin-top:2rem; }
.blog-card{ display:grid; grid-template-columns:260px 1fr; gap:1.4rem; background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; align-items:center; }
.blog-card img{ width:100%; height:100%; object-fit:cover; aspect-ratio:16/9; }
.blog-card > div{ padding:1.2rem 1.4rem 1.2rem 0; }
.blog-tag{ font-size:.75rem; font-weight:700; color:#9C6B12; text-transform:uppercase; letter-spacing:.05em; }
.blog-card h3{ margin:.4em 0; }

/* ---- FAQ ---- */
.faq-list{ margin-top:2rem; display:flex; flex-direction:column; gap:.8rem; }
.faq-item{ background:var(--bg-card); border:1px solid var(--line); border-radius:9px; padding:0; }
.faq-item summary{ cursor:pointer; list-style:none; padding:1.1rem 1.3rem; font-weight:700; display:flex; justify-content:space-between; align-items:center; gap:1rem; color:var(--ink); }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-chevron{ flex:none; transition:transform .2s ease; color:var(--wine); }
.faq-item[open] .faq-chevron{ transform:rotate(180deg); }
.faq-item p{ padding:0 1.3rem 1.2rem; margin:0; }

/* ---- CTA final ---- */
.cta-final{ padding-top:0; }
.cta-box{ background:linear-gradient(135deg, color-mix(in srgb, var(--wine) 10%, var(--bg-card)), color-mix(in srgb, var(--gold) 14%, var(--bg-card))); border:1px solid var(--line); border-radius:20px; padding:3rem 2rem; text-align:center; display:flex; flex-direction:column; align-items:center; gap:.8rem; }
.cta-box .btn{ margin-top:.6rem; }

/* ---- footer ---- */
.site-footer{ background:var(--ink); border-top:1px solid var(--line); padding:3.5rem 1.5rem 1.5rem; }
.site-footer p{ color:#C9BEB2; }
.site-footer .brand{ color:#fff; }
.footer-inner{ max-width:1160px; margin:0 auto; display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:2rem; }
.footer-brand p{ font-size:.9rem; max-width:320px; }
.footer-whatsapp{ display:inline-flex; align-items:center; gap:.5em; font-weight:700; color:var(--gold); margin-top:.8em; }
.footer-col h3{ font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; color:#fff; margin-bottom:1em; }
.footer-col ul{ display:flex; flex-direction:column; gap:.6em; }
.footer-col a{ font-size:.88rem; color:#C9BEB2; }
.footer-col a:hover{ color:var(--gold); }
.footer-bottom{ max-width:1160px; margin:2.4rem auto 0; padding-top:1.4rem; border-top:1px solid rgba(255,255,255,.12); }
.footer-bottom p{ font-size:.8rem; margin:0; color:#9C9088; }

.whatsapp-float{ position:fixed; bottom:22px; right:22px; width:58px; height:58px; border-radius:50%; background:var(--wine); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg); z-index:60; }

/* ---- página genérica ---- */
.page-hero{ max-width:800px; margin:0 auto; padding:4rem 1.5rem 1rem; text-align:center; }
.page-icon-badge{ display:inline-flex; width:54px; height:54px; align-items:center; justify-content:center; border-radius:12px; background:color-mix(in srgb, var(--wine) 10%, transparent); color:var(--wine); margin-bottom:1.2em; }
.page-hero .section-lead{ margin:0 auto; }
.not-found .btn{ margin-top:1.4rem; }

.legal-section{ max-width:750px; }
.legal-section h2{ font-size:1.22rem; margin-top:1.6em; }
.blog-post h2{ font-size:1.28rem; }

.table-wrap{ overflow-x:auto; margin-top:1.6rem; }
.comparison-table{ width:100%; border-collapse:collapse; background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.comparison-table th, .comparison-table td{ padding:.9rem 1.1rem; text-align:left; border-bottom:1px solid var(--line); font-size:.92rem; }
.comparison-table th{ color:var(--wine); font-size:.8rem; text-transform:uppercase; letter-spacing:.04em; background:var(--bg-alt); }
.comparison-table tr:last-child td{ border-bottom:none; }

.contact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; margin-top:2rem; }
.contact-card{ background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius); padding:1.8rem; text-align:center; display:flex; flex-direction:column; align-items:center; gap:.6em; }
.contact-card .icon{ width:50px; height:50px; border-radius:10px; background:color-mix(in srgb, var(--wine) 10%, transparent); color:var(--wine); display:flex; align-items:center; justify-content:center; }
.contact-card:hover{ border-color:var(--wine); }

/* ---- responsivo ---- */
@media (max-width: 980px){
  .stat-band{ grid-template-columns:repeat(2,1fr); }
  .benefit-grid{ grid-template-columns:repeat(2,1fr); }
  .plans-grid{ grid-template-columns:repeat(2,1fr); }
  .device-grid{ grid-template-columns:repeat(3,1fr); }
  .footer-inner{ grid-template-columns:1fr 1fr; }
  .blog-card{ grid-template-columns:1fr; }
  .blog-card > div{ padding:0 1.2rem 1.2rem; }
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width: 620px){
  .stat-band{ grid-template-columns:1fr 1fr; }
  .benefit-grid{ grid-template-columns:1fr; }
  .plans-grid{ grid-template-columns:1fr; }
  .device-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-inner{ grid-template-columns:1fr; gap:1.6rem; }
  .comparison-table{ font-size:.85rem; }
}
