/* ============================================================
   Leo Ribeiro — Treinamento de Alta Performance
   Tema escuro + azul (preto/azul, alto contraste)
   ============================================================ */

:root{
  --background: 220 10% 5%;
  --foreground: 0 0% 98%;
  --card: 220 10% 9%;
  --card-foreground: 0 0% 95%;
  --border: 220 10% 20%;
  --muted: 220 10% 15%;
  --muted-foreground: 220 6% 62%;
  --primary: 212 90% 55%;
  --primary-glow: 212 95% 68%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 10% 12%;

  --gradient-hero: linear-gradient(135deg, hsl(220 10% 5%) 0%, hsl(220 10% 8%) 50%, hsl(212 90% 14%) 100%);
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  --shadow-card: 0 10px 30px -10px hsl(0 0% 0% / .5);
  --shadow-glow: 0 0 40px hsl(var(--primary) / .3);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1152px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important;}
}

body{
  margin:0;
  font-family:var(--font);
  background:hsl(var(--background));
  color:hsl(var(--foreground));
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font:inherit;}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 1.25rem;
}

.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:1rem;top:-3rem;
  background:hsl(var(--primary));color:hsl(var(--primary-foreground));
  padding:.6rem 1rem;border-radius:.5rem;z-index:1000;
  transition:top .2s ease;
}
.skip-link:focus{top:1rem;}

:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px;}

h1,h2,h3,h4{margin:0;font-weight:700;letter-spacing:-.01em;}
p{margin:0;}

.eyebrow{
  display:inline-block;
  padding:.5rem 1rem;
  background:hsl(var(--primary) / .15);
  border:1px solid hsl(var(--primary) / .5);
  border-radius:999px;
  color:hsl(var(--primary-glow));
  font-size:.85rem;
  font-weight:600;
}

.section-head{
  text-align:center;
  max-width:640px;
  margin:0 auto 3rem;
}
.section-head h2{
  font-size:clamp(1.75rem,3.5vw,2.5rem);
  margin-bottom:.9rem;
}
.section-head .bar{
  width:5rem;height:4px;border-radius:999px;
  background:var(--gradient-primary);
  margin:0 auto 1.5rem;
}
.section-head p{color:hsl(var(--muted-foreground));font-size:1.05rem;line-height:1.65;}

section{padding:5rem 0;}
@media (max-width:640px){
  section{padding:3.5rem 0;}
  .section-head{max-width:calc(100% - 2rem);}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.85rem 1.75rem;
  border-radius:.6rem;
  font-weight:700;
  font-size:1rem;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn-cta{
  background:hsl(var(--primary));
  color:hsl(var(--primary-foreground));
  box-shadow:var(--shadow-glow);
  text-transform:uppercase;
  letter-spacing:.02em;
}
.btn-cta:hover{background:hsl(var(--primary-glow));}
.btn-outline{
  background:transparent;
  border-color:hsl(var(--border));
  color:hsl(var(--foreground));
}
.btn-outline:hover{border-color:hsl(var(--primary));color:hsl(var(--primary-glow));}
.btn-block{width:100%;}
.btn-lg{padding:1.1rem 2.25rem;font-size:1.05rem;}
.btn[disabled]{opacity:.6;cursor:not-allowed;transform:none;}

/* ---------- Header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:hsl(var(--background) / .95);
  backdrop-filter:blur(8px);
  border-bottom:1px solid hsl(var(--border));
}
.site-header .row{
  display:flex;align-items:center;justify-content:space-between;
  padding:1rem 0;
}
.brand{font-size:1.4rem;font-weight:800;letter-spacing:-.01em;}
.brand span{color:hsl(var(--primary));}
.main-nav{display:flex;align-items:center;gap:2rem;}
.main-nav a{color:hsl(var(--foreground));font-weight:500;transition:color .15s ease;}
.main-nav a:hover{color:hsl(var(--primary-glow));}
.header-cta{display:flex;align-items:center;gap:1rem;}
.nav-toggle{
  display:none;background:none;border:0;color:hsl(var(--foreground));
  padding:.4rem;cursor:pointer;
}
.nav-toggle .icon-close{display:none;}
.nav-toggle[aria-expanded="true"] .icon-menu{display:none;}
.nav-toggle[aria-expanded="true"] .icon-close{display:block;}
.mobile-nav{
  display:none;
  border-top:1px solid hsl(var(--border));
  padding:1rem 0 1.25rem;
}
.mobile-nav.open{display:block;}
.mobile-nav a{display:block;padding:.65rem 0;color:hsl(var(--foreground));font-weight:500;}

@media (max-width:860px){
  .main-nav, .header-cta{display:none;}
  .nav-toggle{display:inline-flex;}
}
@media (max-width:420px){
  .brand{font-size:1.15rem;}
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding-top:7.5rem;
  overflow:hidden;
  background:var(--gradient-hero);
}
.hero::before{
  content:"";position:absolute;inset:0;opacity:.08;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .row{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center;
  padding:3rem 0 4rem;
}
.hero-copy h1{
  font-size:clamp(2.2rem,4.8vw,3.5rem);
  line-height:1.08;
  margin:1.1rem 0 1.25rem;
  text-wrap:balance;
}
.hero-copy h1 em{
  font-style:normal;
  background:var(--gradient-primary);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-copy > p{
  font-size:1.2rem;color:hsl(var(--muted-foreground));
  max-width:46ch;margin-bottom:2rem;line-height:1.6;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem;}
.hero-badges{
  list-style:none;margin:0;padding:0;
  display:flex;flex-wrap:wrap;gap:.6rem .75rem;
}
.hero-badges li{
  display:inline-flex;align-items:center;gap:.35rem;
  font-size:.82rem;font-weight:600;color:hsl(var(--foreground));
  background:hsl(var(--card));border:1px solid hsl(var(--border));
  border-radius:999px;padding:.45rem .9rem;
  white-space:nowrap;
}
.hero-media{position:relative;border-radius:1.5rem;overflow:hidden;box-shadow:var(--shadow-glow);}
.hero-media img{
  width:100%;height:clamp(320px,42vw,560px);object-fit:cover;object-position:top;
  filter:grayscale(1);transition:filter .5s ease;
}
.hero-media:hover img{filter:grayscale(0);}
.hero-badge{
  position:absolute;top:1.25rem;left:1.25rem;
  background:hsl(var(--primary));color:hsl(var(--primary-foreground));
  padding:.55rem 1.1rem;border-radius:999px;font-weight:800;font-size:.8rem;
  box-shadow:var(--shadow-glow);
}

@media (max-width:900px){
  .hero .row{grid-template-columns:1fr;padding-top:1rem;}
  .hero-media{order:-1;}
}

/* ---------- Stats bar ---------- */
.stats{
  background:hsl(var(--card));
  border-bottom:1px solid hsl(var(--border));
}
.stats .row{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;
  padding:2.75rem 0;
}
.stat b{
  display:block;font-size:clamp(1.5rem,3.5vw,2.2rem);
  color:hsl(var(--primary));font-weight:800;
}
.stat span{color:hsl(var(--muted-foreground));font-size:.9rem;}
.stat{text-align:center;}
@media (max-width:640px){.stats .row{grid-template-columns:repeat(2,1fr);}}

/* ---------- Sobre ---------- */
.sobre{background:hsl(var(--card));}
.sobre .row{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:center;}
.sobre-media{position:relative;}
.sobre-media img{
  border-radius:1.5rem;object-fit:cover;object-position:top;width:100%;height:clamp(300px,32vw,460px);
  border:2px solid hsl(var(--primary) / .2);box-shadow:var(--shadow-glow);
}
.sobre-tag{
  position:absolute;top:1.25rem;left:1.25rem;
  background:var(--gradient-primary);color:#fff;
  padding:.75rem 1rem;border-radius:1rem;box-shadow:var(--shadow-glow);
}
.sobre-tag b{display:block;font-size:1.05rem;}
.sobre-tag span{font-size:.78rem;opacity:.9;}
.sobre-exp{
  position:absolute;bottom:-1.25rem;right:-1rem;
  background:hsl(var(--card));border:2px solid hsl(var(--primary));
  padding:1rem 1.25rem;border-radius:1rem;box-shadow:var(--shadow-glow);text-align:center;
}
.sobre-exp b{display:block;font-size:1.6rem;color:hsl(var(--primary));}
.sobre-exp span{font-size:.78rem;color:hsl(var(--muted-foreground));}
.sobre-copy h2{font-size:clamp(1.75rem,3.5vw,2.4rem);margin-bottom:.9rem;}
.sobre-copy .bar{width:5rem;height:4px;border-radius:999px;background:var(--gradient-primary);margin-bottom:1.5rem;}
.sobre-copy p{color:hsl(var(--muted-foreground));font-size:1.05rem;line-height:1.7;margin-bottom:1.1rem;}
.sobre-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:1.75rem 0 2rem;}
.sobre-item{display:flex;gap:.85rem;align-items:flex-start;}
.sobre-item .ico{
  flex:none;width:2.5rem;height:2.5rem;border-radius:.6rem;
  background:hsl(var(--primary) / .12);color:hsl(var(--primary));
  display:flex;align-items:center;justify-content:center;
}
.sobre-item h4{font-size:.95rem;margin-bottom:.2rem;}
.sobre-item p{font-size:.85rem;margin:0;}
@media (max-width:900px){
  .sobre .row{grid-template-columns:1fr;}
  .sobre-media{order:-1;margin-bottom:1.5rem;}
  .sobre-grid{grid-template-columns:1fr;}
}

/* ---------- Como funciona ---------- */
.como-funciona .steps{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;
}
.step{
  background:hsl(var(--card));border:1px solid hsl(var(--border));
  border-radius:1rem;padding:1.75rem 1.5rem;position:relative;
  transition:border-color .2s ease, transform .2s ease;
}
.step:hover{border-color:hsl(var(--primary) / .5);transform:translateY(-3px);}
.step .n{
  font-size:.8rem;font-weight:800;color:hsl(var(--primary));
  letter-spacing:.06em;margin-bottom:.75rem;display:block;
}
.step h3{font-size:1.05rem;margin-bottom:.5rem;}
.step p{color:hsl(var(--muted-foreground));font-size:.9rem;line-height:1.55;}
@media (max-width:900px){.como-funciona .steps{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.como-funciona .steps{grid-template-columns:1fr;}}

/* ---------- Depoimentos ---------- */
.depoimentos-carousel{
  overflow:hidden;margin-top:2.5rem;
  mask-image:linear-gradient(to right,transparent,black 4%,black 96%,transparent);
  -webkit-mask-image:linear-gradient(to right,transparent,black 4%,black 96%,transparent);
}
.depoimentos-track{
  display:flex;gap:1.75rem;width:max-content;
  animation:testi-scroll 48s linear infinite;
}
.testi-track-dup{display:contents;}
.depoimentos-carousel:hover .depoimentos-track,
.depoimentos-carousel:focus-within .depoimentos-track{animation-play-state:paused;}
@keyframes testi-scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
.testi-card{
  background:hsl(var(--background));border:1px solid hsl(var(--border));
  border-radius:1.1rem;padding:1.75rem;display:flex;flex-direction:column;gap:1rem;
  flex:0 0 min(82vw,22rem);
}
.testi-top{display:flex;gap:1rem;align-items:center;}
.testi-top img{width:3.25rem;height:3.25rem;border-radius:999px;object-fit:cover;border:2px solid hsl(var(--primary) / .4);}
.testi-avatar{
  width:3.25rem;height:3.25rem;border-radius:999px;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:hsl(var(--muted));color:hsl(var(--primary));
  border:2px solid hsl(var(--primary) / .4);
}
.testi-top b{display:block;font-size:1rem;}
.testi-top span{font-size:.8rem;color:hsl(var(--muted-foreground));}
.stars{color:hsl(var(--primary));font-size:.85rem;letter-spacing:.1rem;}
.testi-card p.quote{color:hsl(var(--muted-foreground));font-size:.92rem;line-height:1.6;font-style:italic;}
.testi-result{
  font-size:.82rem;font-weight:700;color:hsl(var(--primary-glow));
  border-top:1px solid hsl(var(--border));padding-top:.85rem;
}
.depoimentos-note{
  text-align:center;color:hsl(var(--muted-foreground));font-size:.85rem;
  margin-top:2.25rem;
}

/* ---------- FAQ ---------- */
.faq-list{max-width:760px;margin:0 auto;}
.faq-item{border-bottom:1px solid hsl(var(--border));}
.faq-item summary{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.25rem 0;cursor:pointer;font-weight:600;font-size:1.02rem;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary .plus{
  flex:none;width:1.5rem;height:1.5rem;border-radius:999px;border:1px solid hsl(var(--border));
  display:flex;align-items:center;justify-content:center;color:hsl(var(--primary));
  transition:transform .2s ease;
}
.faq-item[open] summary .plus{transform:rotate(45deg);}
.faq-item p{color:hsl(var(--muted-foreground));font-size:.95rem;line-height:1.65;padding:0 0 1.5rem;}

/* ---------- Contato ---------- */
.contato-box{
  max-width:640px;margin:0 auto;text-align:center;
  background:hsl(var(--card));border:1px solid hsl(var(--border));
  border-radius:1.25rem;padding:3rem 2.25rem;
}
.contact-cards{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin:2.25rem 0;}
.contact-card{
  background:hsl(var(--background));border:1px solid hsl(var(--border));
  border-radius:1rem;padding:1.5rem 1.25rem;text-align:center;
  transition:border-color .2s ease, transform .2s ease;
}
.contact-card:hover{transform:translateY(-3px);}
.contact-card .ico{margin:0 auto .75rem;width:2.75rem;height:2.75rem;border-radius:999px;display:flex;align-items:center;justify-content:center;}
.contact-card.wa .ico{background:hsl(142 71% 45% / .15);color:hsl(142 71% 55%);}
.contact-card.ig .ico{background:hsl(330 81% 60% / .15);color:hsl(330 81% 65%);}
.contact-card b{display:block;margin-bottom:.15rem;}
.contact-card span{font-size:.82rem;color:hsl(var(--muted-foreground));display:block;margin-bottom:.35rem;}
.online-note{
  display:inline-block;margin-top:.5rem;padding:.55rem 1.1rem;border-radius:999px;
  background:hsl(var(--primary) / .12);color:hsl(var(--primary-glow));font-size:.88rem;font-weight:600;
}
@media (max-width:560px){.contact-cards{grid-template-columns:1fr;}}

/* ---------- Footer ---------- */
.site-footer{background:hsl(var(--card));border-top:1px solid hsl(var(--border));padding:3.5rem 0 2rem;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2.5rem;margin-bottom:2.5rem;}
.footer-brand p{color:hsl(var(--muted-foreground));font-size:.92rem;margin-top:.75rem;line-height:1.6;max-width:32ch;}
.footer-col h4{font-size:1rem;margin-bottom:1rem;}
.footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem;}
.footer-col a,.footer-col p{color:hsl(var(--muted-foreground));font-size:.92rem;}
.footer-col a:hover{color:hsl(var(--primary-glow));}
.footer-bottom{
  border-top:1px solid hsl(var(--border));padding-top:1.75rem;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:.75rem;
  color:hsl(var(--muted-foreground));font-size:.85rem;
}
.footer-bottom a{color:hsl(var(--muted-foreground));}
.footer-bottom a:hover{color:hsl(var(--primary-glow));}
.made-by{
  display:inline-flex;align-items:center;gap:.4rem;
  font-size:.8rem;opacity:.75;transition:opacity .2s ease;
}
.made-by:hover{opacity:1;}
.made-by img{height:.85rem;width:auto;}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr;}}

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp{
  position:fixed;bottom:1.5rem;right:1.5rem;z-index:90;
  width:3.5rem;height:3.5rem;border-radius:999px;
  background:hsl(142 71% 45%);color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px hsl(0 0% 0% / .4);
  transition:transform .2s ease;
}
.fab-whatsapp:hover{transform:scale(1.08);}

/* ---------- Política de privacidade ---------- */
.legal{padding:8.5rem 0 5rem;}
.legal .container{max-width:760px;}
.legal h1{font-size:2rem;margin-bottom:1.5rem;}
.legal h2{font-size:1.2rem;margin:2rem 0 .75rem;color:hsl(var(--primary-glow));}
.legal p,.legal li{color:hsl(var(--muted-foreground));font-size:.98rem;line-height:1.7;margin-bottom:.9rem;}
.legal ul{padding-left:1.25rem;}
.legal a{color:hsl(var(--primary-glow));}
.back-link{display:inline-block;margin-bottom:2rem;color:hsl(var(--primary-glow));font-weight:600;}
