:root{
  --primary:#0b2a45;      /* azul-marinho */
  --primary-700:#0a233a;
  --dark:#071524;
  --muted:#0f2f4e;
  --accent:#d4a53a;       /* dourado */
  --accent-700:#b7851e;
  --bg:#0b2036;
  --text:#e8eef5;
  --text-weak:#b7c3d3;
  --card:#0f2540;
  --white:#ffffff;
  --success:#2ecc71;
  --danger:#ff5252;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--text);
  background: radial-gradient(1200px 600px at 50% -10%, #12395f 0%, var(--dark) 60%) fixed;
  line-height:1.65;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
.container{width:min(1120px, 92%); margin-inline:auto}
.narrow{width:min(880px, 92%); margin-inline:auto}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  position:fixed; left:16px; top:16px; width:auto; height:auto; padding:8px 12px;
  background:var(--accent); color:#111; border-radius:8px; z-index:9999;
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(7,21,36,.7); backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header .row{display:flex; align-items:center; justify-content:space-between; min-height:64px}
.brand{display:flex; align-items:center; gap:10px}
.logo{width:40px; height:auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));}
.brand-name{font-weight:700; letter-spacing:.2px}

.nav{display:none; gap:18px; align-items:center}
.nav a{opacity:.9}
.nav a:hover{color:var(--accent)}
.nav-toggle{display:inline-flex; background:none; border:0; color:var(--text); cursor:pointer}

@media (min-width:860px){
  .nav{display:flex}
  .nav-toggle{display:none}
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 18px; border-radius:999px; border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, #163c63, #0a1e35);
  color:var(--white); box-shadow:var(--shadow); transition:.2s transform, .2s box-shadow, .2s background;
}
.btn:hover{transform:translateY(-2px); box-shadow:0 14px 34px rgba(0,0,0,.45)}
.btn--ghost{background:transparent; border-color:rgba(255,255,255,.18)}
.btn--xl{padding:16px 24px; font-size:1.05rem; font-weight:700}
.btn--sm{padding:8px 14px; font-size:.95rem}
.btn--ghost:hover{background:rgba(255,255,255,.08)}

.btn.primary, .btn:is(:hover):not(.btn--ghost){
  background:linear-gradient(180deg, var(--accent), var(--accent-700));
  color:#1b1302;
}

/* Hero */
.hero{position:relative; overflow:hidden; padding:120px 0 60px}
.hero .hero-media{position:absolute; inset:0; z-index:-1}
.hero .hero-media img{width:100%; height:100%; object-fit:cover; object-position:center bottom; opacity:.55}
.hero-overlay{
  position:absolute; inset:0;
  background:radial-gradient(1200px 600px at 50% -10%, rgba(12,44,78,.9) 0%, rgba(5,14,27,.95) 60%);
}
.hero-grid{display:grid; gap:40px; align-items:center}
.hero-copy .lead{color:var(--text-weak)}
.hero-ctas{display:flex; flex-wrap:wrap; gap:12px; margin:22px 0}
.mark{background:linear-gradient(90deg, var(--accent), #f1d383); -webkit-background-clip:text; background-clip:text; color:transparent}
.trust-badges{display:flex; gap:16px; flex-wrap:wrap; list-style:none; padding:0; margin:14px 0 0}
.trust-badges li{display:flex; align-items:center; gap:8px; color:#d7e0ec; font-size:.95rem; opacity:.95}
.hero-people{justify-self:center; max-width:560px; width:100%; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);}
.hero-people .video-embed{position:relative; width:100%; padding-bottom:56.25%; /* 16:9 aspect ratio */}
.hero-people .video-embed iframe,
.hero-people .video-embed video{position:absolute; top:0; left:0; width:100%; height:100%; border:none; object-fit:cover;}

@media (min-width:900px){
  .hero-grid{grid-template-columns: 1.1fr .9fr}
}

/* Sections */
.section{padding:72px 0}
.section--dark{background:linear-gradient(180deg, #081628, #0a1d33); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06)}
.section--focus{background:radial-gradient(600px 300px at 50% -10%, rgba(212,165,58,.12), transparent 70%)}

.section-head{text-align:center; margin-bottom:26px; width:100%;}
.section-head--centered h2{width:100%; display:block;}
.section-head--centered{text-align:center}
.list-check--centered{max-width:600px; margin-left:auto; margin-right:auto}
.countdown--centered{justify-content:center}
.cta-group--centered{justify-content:center}
.btn--primary-prominent{background:linear-gradient(180deg, var(--accent), var(--accent-700))!important; color:#1b1302!important; font-weight:700!important; font-size:1.1rem!important; padding:18px 32px!important; box-shadow:0 8px 24px rgba(212,165,58,.4)!important;}
.btn--primary-prominent:hover{transform:translateY(-3px)!important; box-shadow:0 12px 32px rgba(212,165,58,.5)!important;}
.section-head .eyebrow{letter-spacing:.18em; text-transform:uppercase; color:#d5b66b}
.section h2{font-size:clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); line-height:1.2; margin:0 0 10px}
.lead{font-size:1.05rem}

/* Cards / feature blocks */
.grid-3{display:grid; gap:18px}
.grid-2{display:grid; gap:24px}
@media (min-width:860px){ .grid-3{grid-template-columns:repeat(3, 1fr)} .grid-2{grid-template-columns:1.1fr .9fr} .learn--reversed.grid-2{grid-template-columns:.9fr 1.1fr;} }

.card{
  background:linear-gradient(180deg, #122a45, #0b2036);
  border:1px solid rgba(255,255,255,.06);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
.card .icon{color:var(--accent); margin-bottom:8px}

.tiles .tile{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius); padding:22px;
}

/* Media helpers */
.media-shadow{border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow)}
.media-center{display:flex; align-items:center; justify-content:center}
.media-center img{max-width:260px}

/* Listas */
.list-check, .list-dash{margin:0; padding:0; list-style:none}
.list-check li{display:flex; gap:10px; align-items:flex-start; margin:10px 0; padding-left:28px; position:relative}
.list-check li::before{
  content:"";
  position:absolute; left:0; top:.4em; width:18px; height:18px;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.2l-3.5-3.5 1.4-1.4L9 13.4l7.1-7.1 1.4 1.4z"/></svg>') no-repeat center/contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.2l-3.5-3.5 1.4-1.4L9 13.4l7.1-7.1 1.4 1.4z"/></svg>') no-repeat center/contain;
  background:var(--accent);
}
.list-dash li{margin:8px 0; padding-left:18px; position:relative}
.list-dash li::before{content:"—"; position:absolute; left:0; color:var(--accent)}

/* Accordion */
.accordion details{
  background:linear-gradient(180deg, #0f2540, #0b2036);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px; margin:10px 0; overflow:hidden;
}
.accordion summary{
  cursor:pointer; padding:16px 18px; list-style:none; font-weight:700;
}
.accordion summary::-webkit-details-marker{display:none}
.accordion .acc-content{padding:0 18px 18px}
.accordion details[open] summary{color:var(--accent)}
.accordion .module-image{margin-bottom:16px; border-radius:8px; overflow:hidden; max-width:300px; margin-left:auto; margin-right:auto;}
.accordion .module-image img{width:100%; display:block;}

/* Carrossel de módulos */
.modules-carousel{display:grid; gap:40px; align-items:center; margin-top:40px;}
.carousel-images{position:relative; width:100%; min-height:400px; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);}
.carousel-image-wrapper{position:absolute; inset:0; background-size:contain; background-position:center; background-repeat:no-repeat; background-color:#0a1d33; opacity:0; transition:opacity .6s ease;}
.carousel-image-wrapper.active{opacity:1;}

.carousel-content{position:relative;}
.module-content{display:none; animation:fadeIn .4s ease;}
.module-content.active{display:block;}
.module-content h3{color:var(--accent); margin-bottom:16px; font-size:1.3rem;}
.module-content p{line-height:1.8;}

.carousel-controls{display:flex; align-items:center; justify-content:space-between; margin-top:24px; gap:16px;}
.carousel-btn{background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); color:var(--text); padding:12px; border-radius:50%; cursor:pointer; transition:all .2s; display:flex; align-items:center; justify-content:center;}
.carousel-btn:hover{background:var(--accent); color:#1b1302; transform:scale(1.05);}
.carousel-dots{display:flex; gap:8px; flex:1; justify-content:center;}
.carousel-dot{width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.3); cursor:pointer; transition:all .2s; border:none; padding:0;}
.carousel-dot.active{background:var(--accent); width:30px; border-radius:999px;}

@keyframes fadeIn{from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:none;}}

@media (min-width:900px){
  .modules-carousel{grid-template-columns:.9fr 1.1fr;}
}

/* Seção com background image */
.section--bg-image{position:relative; background-size:cover; background-position:center bottom; background-attachment:fixed;}
.section-bg-overlay{position:absolute; inset:0; background:rgba(11,32,54,.85); z-index:0;}
.section--bg-image .container{position:relative; z-index:1;}

/* Seção O que vai aprender com background */
.section--bg-learn{position:relative; background-size:cover; background-position:center; background-attachment:fixed; background-repeat:no-repeat; min-height:600px; padding:100px 0; overflow:hidden;}
.section-bg-overlay--learn{background:rgba(11,32,54,.5);}
.section--bg-learn .container{position:relative; z-index:1;}
.learn-content-wrapper{max-width:700px; margin:40px auto 0; padding:50px 40px; background:rgba(11,32,54,.85); border-radius:var(--radius); backdrop-filter:blur(8px); box-shadow:0 12px 40px rgba(0,0,0,.4);}
.learn-content-wrapper .list-check{width:100%; padding-left:0;}

/* Mentores */
.mentor.card{padding:28px 20px; text-align:center;}
.mentor-photo{width:100%; max-width:240px; margin:0 auto 20px; border-radius:8px; overflow:hidden; aspect-ratio:4/5;}
.mentor-photo img{width:100%; height:100%; display:block; object-fit:cover; object-position:center top;}
.mentor.card h3{margin-top:0; margin-bottom:14px; font-size:1.1rem; font-weight:700; color:var(--white);}
.mentor.card p{margin:0; line-height:1.65; font-size:0.95rem;}

.section-image img{width:100%; display:block;}

/* Seção Garantia */
.section--guarantee{background:linear-gradient(180deg, #0b2036, #081628); padding:80px 0;}
.guarantee-wrapper{display:grid; gap:50px; align-items:center; max-width:1100px; margin:0 auto;}
.guarantee-content{text-align:center; width:100%;}
.title-no-wrap{white-space:nowrap; word-break:keep-all; width:100%; font-size:clamp(1.8rem, 1.5rem + 2vw, 2.5rem)!important; display:block;}
.guarantee-badge{display:flex; justify-content:center; align-items:center;}
.guarantee-badge img{max-width:420px; width:100%; height:auto; filter:drop-shadow(0 12px 24px rgba(0,0,0,.4));}
@media (min-width:860px){
  .guarantee-wrapper{grid-template-columns:1.1fr .9fr; gap:60px;}
  .guarantee-content{text-align:left;}
}

/* Oferta */
.offer .bonus{margin-top:14px; border-top:1px dashed rgba(255,255,255,.14); padding-top:16px}
.countdown{
  display:flex; align-items:center; gap:10px; margin:16px 0; color:#ffd783;
  background:rgba(212,165,58,.08); border:1px solid rgba(212,165,58,.25); padding:10px 12px; border-radius:12px;
}
.cta-group{display:flex; flex-wrap:wrap; gap:12px; margin-top:12px}
.fine{opacity:.75; font-size:.95rem}
.fine--centered{text-align:center; margin-top:20px;}

/* Formulário */
.form .form-grid{
  display:grid; gap:12px; grid-template-columns:1fr; margin-bottom:8px;
}
.form label{display:grid; gap:6px; font-weight:600}
.form input{
  background:#0a1d33; border:1px solid rgba(255,255,255,.12);
  color:var(--text); padding:12px 14px; border-radius:10px; outline:none;
}
.form input:focus{border-color:var(--accent); box-shadow:0 0 0 4px rgba(212,165,58,.15)}
.form-actions{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
.form-note{opacity:.7; font-size:.9rem}
.form-feedback{margin-top:10px; font-weight:700}
.form-feedback.success{color:#86f39d}
.form-feedback.error{color:#ff9a9a}

@media (min-width:760px){
  .form .form-grid{grid-template-columns:repeat(2, 1fr)}
}

/* Vídeo modal */
.video-modal{
  position:fixed; inset:0; background:rgba(4,10,18,.85);
  display:none; align-items:center; justify-content:center; padding:24px; z-index:100;
}
.video-modal[aria-hidden="false"]{display:flex}
.video-wrapper{width:min(980px, 96vw)}
.video-wrapper video{width:100%; border-radius:12px; box-shadow:var(--shadow); border:1px solid rgba(255,255,255,.18)}
.video-close{
  position:absolute; right:20px; top:16px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
  color:var(--white); border-radius:999px; padding:10px; cursor:pointer;
}

/* Footer */
.footer{padding:28px 0; border-top:1px solid rgba(255,255,255,.08); background:#081628}
.footer .row{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap}
.nav--footer{display:flex; gap:16px}

/* Microanimações */
.reveal{opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease}
.reveal.is-visible{opacity:1; transform:none}

.parallax img{transform:translateY(0); transition:transform .2s linear}

/* ==========================
   Mobile-first refinements
   ========================== */
@media (max-width:900px){
  .hero{padding:96px 0 48px}
  .hero-grid{grid-template-columns:1fr; gap:28px}
  .hero-people{max-width:520px}
  .trust-badges{gap:10px}
}

@media (max-width:760px){
  .section{padding:56px 0}
  .container{width:min(100%, 94vw)}
  .narrow{width:min(100%, 94vw)}
  .lead{font-size:1rem}
  .hero-ctas{gap:10px}
  .btn--xl{padding:14px 18px; font-size:1rem}

  /* Stacking controls */
  .grid-3{grid-template-columns:1fr; gap:16px}
  .grid-2{grid-template-columns:1fr; gap:16px}
  .tiles .tile{padding:18px}
  .card{padding:18px}

  /* Offer section buttons full-width for better tap targets */
  .cta-group{flex-direction:column; align-items:stretch}
  .cta-group .btn{justify-content:center; width:100%}
  .countdown{justify-content:center}

  /* Background attachments can cause jank on mobile */
  .section--bg-image{background-attachment:scroll}
  .section--bg-learn{background-attachment:scroll; padding:72px 0}
  .learn-content-wrapper{margin:24px auto 0; padding:24px}

  /* First fold (hero) cleanup for mobile */
  .hero{display:none !important}
  .hero .hero-media{display:none !important}
  .hero-overlay{display:none !important}
  .hero-people{margin:0 auto}
  .hero-mobile-only h1{margin:8px 0 10px !important}
  .hero-mobile-only .hero-people{margin-top:8px !important}
  .hero-mobile-only .lead{margin-top:10px !important}
  #hero-title-mobile, #hero-title{line-height:1.15 !important}
  .hero-mobile-only .lead{line-height:1.6; font-size:.98rem}
  .list-check--centered{ text-align:left; }
  .list-check--centered li{ justify-content:flex-start; }

  /* Mobile menu panel */
  .nav{position:fixed; top:64px; left:0; right:0; background:rgba(7,21,36,.95); border-top:1px solid rgba(255,255,255,.12); padding:8px 12px; display:none; flex-direction:column; gap:0; z-index:200}
  .nav a{padding:12px 8px; border-bottom:1px solid rgba(255,255,255,.08)}
  #checkout {
    background: linear-gradient(rgba(5,20,35,.82), rgba(5,20,35,.82)), url('assets/2.jpg') center center/cover no-repeat !important;
    color: #fff;
    border: 1px solid rgba(255,255,255,.13);
  }
  #beneficios .card, 
  .section--bg-image .card {
    background: linear-gradient(rgba(5,20,35,.82), rgba(5,20,35,.82)), url('assets/backadvogados.jpg') center center/cover no-repeat !important;
    color:white;
  }
  .section--bg-learn .card {
    background: linear-gradient(rgba(5,20,35,.82), rgba(5,20,35,.82)), url('assets/1.png') center center/cover no-repeat !important;
    color:white; 
  }
  .section--focus #checkout {
    background: linear-gradient(rgba(5,20,35,.82), rgba(5,20,35,.82)), url('assets/2.jpg') center center/cover no-repeat !important;
    color:white;
  }
  .tiles .tile {
    background: linear-gradient(rgba(5,20,35,.83), rgba(5,20,35,.81)), url('assets/back1.jpg') center center/cover no-repeat !important;
    color:white;
  }
}

@media (max-width:480px){
  .header .row{min-height:58px}
  .brand-name{font-size:.95rem}
  .logo{width:34px}
  .section{padding:48px 0}
  .section h2{font-size:clamp(1.3rem, 1.1rem + 2.5vw, 1.6rem)}
  .trust-badges li{font-size:.9rem}
  .carousel-images{min-height:260px}
}

/* Guarantee wrap fix on mobile */
@media (max-width:760px){
  .title-no-wrap{white-space:normal !important}
  .guarantee-badge img{max-width:320px}
}

/* Footer adjustments */
.brand--footer{display:flex; flex-direction:column; align-items:center; gap:8px}
.brand--footer .logo{width:90px}
@media (max-width:760px){
  .footer .row{flex-direction:column; justify-content:center; align-items:center}
}

.footer-main { width:100vw; max-width:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:36px 0 22px 0; background: #071524; gap:8px; }
.logo--footer { width:110px; max-width:90vw; margin:0 auto 10px auto; display:block; }
.footer-main span { color:#b2cce6; font-size:1.06rem; text-align:center; margin-top:7px; }
