:root{
  --blue-900:#0a2240;--blue-800:#123a68;--blue-700:#19528f;--yellow:#ffc83d;--yellow-2:#ffb703;
  --gray-900:#18212b;--gray-700:#5c6978;--gray-300:#dfe6ee;--gray-100:#f5f8fb;--white:#fff;--danger:#a42828;--success:#0f7b4d;
  --radius:18px;--shadow:0 18px 40px rgba(16,46,79,.12);--glow:#ffc83d;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--gray-100);color:var(--gray-900)}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,92%);margin:0 auto;padding:0 1rem}
.muted{color:var(--gray-700)}

/* ===== HEADER / NAVBAR ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(10,34,64,.96);
  backdrop-filter:blur(8px);
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  position:relative;
  flex-wrap:nowrap;
}

/* ===== BRAND / LOGO ===== */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:1.2rem;
  font-weight:800;
  color:#fff;
  flex-shrink:0;
}

.brand-icon{
  height:80px;
  width:auto;
  transition:transform .2s ease;
}

.brand-icon:hover{
  transform:scale(1.05);
}

/* ===== MENU TOGGLE (HAMBURGER) ===== */
.menu-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.2);
  background:transparent;
  color:#fff;
  padding:8px 12px;
  border-radius:10px;
  font-size:22px;
  cursor:pointer;
  transition:all 0.3s ease;
  flex-shrink:0;
  position:relative;
  width:45px;
  height:45px;
  align-items:center;
  justify-content:center;
}

.menu-toggle:hover{
  border-color:rgba(255,255,255,.4);
  background:rgba(255,255,255,.08);
}

/* Animação do ícone hamburger ao abrir */
.menu-toggle.open{
  transform:rotate(90deg);
}

/* ===== NAV LINKS (MENU) ===== */
.nav-links{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  color:#eef5ff;
  flex:1;
}

.nav-links a:not(.btn){
  opacity:.92;
  position:relative;
  padding:6px 0;
  white-space:nowrap;
  transition:opacity 0.3s ease;
}

.nav-links a:not(.btn)::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0;
  height:2px;
  background:var(--yellow);
  transition:width .3s ease;
}

.nav-links a:not(.btn):hover{
  opacity:1;
}

.nav-links a:not(.btn):hover::after{
  width:100%;
}

/* ===== BOTÕES ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,var(--yellow),var(--yellow-2));
  padding:12px 18px;
  border-radius:12px;
  font-weight:800;
  color:#1f2530;
  border:none;
  box-shadow:0 10px 20px rgba(255,183,3,.25);
  transition:.2s;
  cursor:pointer;
  white-space:nowrap;
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 15px 30px rgba(255,183,3,.35);
}

.btn-outline{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:none;
}

.btn-outline:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.6);
}

.btn-dark{
  background:var(--blue-900);
  color:#fff;
  box-shadow:none;
}

.btn-dark:hover{
  background:var(--blue-800);
}

.btn-small{
  padding:9px 12px;
  border-radius:10px;
  font-size:.94rem;
}

.btn-whatsapp{
  background:#25d366;
  color:#fff;
  box-shadow:0 10px 20px rgba(37,211,102,.25);
}

.btn-whatsapp:hover{
  background:#1fad53;
  transform:scale(1.05);
}

.btn-social{
  width:40px;
  height:40px;
  padding:0;
  border-radius:50%;
  background:rgba(255,255,255,.1);
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all 0.3s ease;
  font-size:1.2rem;
}

.btn-social:hover{
  background:var(--yellow);
  color:var(--blue-900);
  transform:translateY(-3px);
  box-shadow:0 10px 20px rgba(255,195,61,.3);
}

/* ===== SEÇÕES ===== */
section{padding:54px 0}
.section-title{font-size:clamp(1.7rem,3vw,2.3rem);margin:0 0 10px}
.section-subtitle{margin:0 0 26px;color:var(--gray-700);max-width:760px}
.tag{display:inline-block;padding:8px 12px;border-radius:999px;background:#dceefe;color:var(--blue-800);font-weight:800;font-size:.85rem;margin-bottom:16px}

/* ===== HERO ===== */
.hero{
  background:radial-gradient(circle at top right,#1f5d9b 0,#123a68 36%,#0a2240 70%);
  color:#fff;
  padding:70px 0 56px;
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:center;
}

.hero-copy h1{
  font-size:clamp(2.1rem,4.7vw,4rem);
  line-height:1.06;
  margin:0 0 16px;
}

.hero-copy p{
  font-size:1.08rem;
  color:#e8f2ff;
  max-width:620px;
}

.cta-group{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}

.hero-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:26px;
  padding:0;
  list-style:none;
}

.hero-list li{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  padding:13px 14px;
  font-size:.95rem;
}

.hero-visual{position:relative}
.hero-card{background:#fff;color:#18212b;border-radius:22px;box-shadow:var(--shadow);overflow:hidden}
.hero-slide{display:none}
.hero-slide.active{display:block}
.hero-slide img{aspect-ratio:4/3;object-fit:cover;width:100%}
.hero-slide .caption{padding:16px 18px}
.slider-dots{display:flex;gap:8px;padding:0 18px 18px}
.slider-dots button{width:10px;height:10px;border-radius:50%;border:none;background:#cad8e8;cursor:pointer;transition:background 0.3s}
.slider-dots button.active{background:var(--yellow-2)}
.hero-note{margin-top:12px;color:#555;text-align:center;font-size:.9rem}

/* ===== GRIDS ===== */
.cards,.plans,.testimonials,.faq-grid,.stats-grid,.dashboard-grid,.grid-2,.course-grid{
  display:grid;
  gap:18px;
}

.cards,.plans,.testimonials,.stats-grid,.dashboard-grid,.course-grid{
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

.grid-2{grid-template-columns:1fr 1fr}

/* ===== CARDS COM HOVER ILUMINADO ===== */
.card{
  background:#fff;
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute;
  top:-50%;
  right:-50%;
  width:100%;
  height:100%;
  background:radial-gradient(circle at center,rgba(255,195,61,.15),transparent);
  pointer-events:none;
  opacity:0;
  transition:opacity 0.3s ease;
}

.card:hover{
  box-shadow:0 24px 50px rgba(16,46,79,.15),0 0 40px rgba(255,195,61,.2);
  transform:translateY(-4px);
}

.card:hover::before{
  opacity:1;
}

.card h3,.card h4{margin-top:0}
.icon-badge{width:48px;height:48px;border-radius:14px;background:#e8f2ff;display:grid;place-items:center;font-size:1.5rem;margin-bottom:14px;transition:all 0.3s ease}

.card:hover .icon-badge{
  background:var(--yellow);
  transform:scale(1.15) rotate(10deg);
}

.price{font-size:2rem;font-weight:800;color:var(--blue-800);margin:12px 0}
.price small{font-size:.95rem;color:var(--gray-700);font-weight:700}

.banner{
  background:linear-gradient(90deg,#0c2b4b,#123a68);
  color:#fff;
  border-radius:24px;
  padding:28px;
  transition:all 0.3s ease;
}

.banner:hover{
  box-shadow:0 0 40px rgba(255,195,61,.2);
  transform:translateY(-2px);
}

.banner a{color:#fff}

/* ===== FORM ===== */
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.form-group.full{
  grid-column:1/-1;
}

label{
  display:block;
  font-weight:700;
  margin-bottom:7px;
}

input,select,textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid #d6deea;
  border-radius:12px;
  background:#fff;
  color:#18212b;
  outline:none;
  font-family:inherit;
}

input:focus,select:focus,textarea:focus{
  border-color:#3b82f6;
  box-shadow:0 0 0 3px rgba(59,130,246,.12);
}

textarea{
  min-height:120px;
  resize:vertical;
}

/* ===== ALERTS ===== */
.alert{
  padding:14px 16px;
  border-radius:14px;
  margin:18px 0;
  font-weight:700;
}

.alert-success{
  background:#ecfdf4;
  color:#0f7b4d;
  border:1px solid #c6f6dd;
}

.alert-error{
  background:#fff1f1;
  color:var(--danger);
  border:1px solid #ffd3d3;
}

/* ===== TABELAS ===== */
.table{
  width:100%;
  border-collapse:collapse;
}

.table th,.table td{
  padding:12px;
  border-bottom:1px solid #e5edf5;
  text-align:left;
  vertical-align:top;
}

.table th{
  font-size:.93rem;
  color:#44515f;
  background:#fafcff;
}

.table tr:hover td{
  background:#fafcff;
}

/* ===== PROFILE / BADGES ===== */
.profile-card{
  display:flex;
  align-items:center;
  gap:16px;
}

.profile-avatar{
  width:84px;
  height:84px;
  border-radius:50%;
  border:4px solid #e8f2ff;
  object-fit:cover;
  background:#fff;
}

.profile-avatar.small{
  width:42px;
  height:42px;
  border-width:2px;
}

.kpi{
  font-size:2rem;
  font-weight:800;
  color:var(--blue-800);
  margin:0;
}

.kpi-label{
  margin:.25rem 0 0;
  color:var(--gray-700);
}

.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:#eef5ff;
  color:var(--blue-800);
  font-weight:700;
  font-size:.86rem;
}

.status-active{background:#ecfdf4;color:#0f7b4d}
.status-pending{background:#fff9e8;color:#946200}
.status-inactive{background:#f2f4f7;color:#697786}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top{
  position:fixed;
  bottom:30px;
  right:30px;
  width:50px;
  height:50px;
  background:var(--yellow);
  color:var(--blue-900);
  border:none;
  border-radius:50%;
  cursor:pointer;
  display:none;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  z-index:99;
  box-shadow:0 10px 25px rgba(255,195,61,.4);
  transition:all 0.3s ease;
}

.scroll-to-top.show{
  display:flex;
}

.scroll-to-top:hover{
  transform:translateY(-5px) scale(1.1);
  box-shadow:0 15px 35px rgba(255,195,61,.5);
}

/* ===== FOOTER ===== */
.site-footer{
  background:#091b31;
  color:#fff;
  padding:40px 0 20px;
  margin-top:54px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
  margin-bottom:30px;
}

.footer-grid h3,.footer-grid h4{
  margin:0 0 12px;
  color:#fff;
}

.footer-grid p{
  margin:0 0 8px;
  font-size:.95rem;
  opacity:.85;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{
  margin:8px 0;
}

.footer-links a{
  color:#fff;
  opacity:.8;
  transition:opacity 0.3s ease;
}

.footer-links a:hover{
  opacity:1;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
  flex-wrap:wrap;
  gap:20px;
}

.social-icons{
  display:flex;
  gap:12px;
  align-items:center;
}

.footer-copy{
  font-size:.9rem;
  opacity:.7;
  text-align:center;
  flex:1;
}

/* ===== RESPONSIVO - TABLET (768px) ===== */
@media (max-width:1024px){
  
  .hero-grid{
    gap:20px;
  }

  .grid-2{
    grid-template-columns:1fr;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  section{
    padding:40px 0;
  }

  .brand-icon{
    height:70px;
  }

}

/* ===== RESPONSIVO - MOBILE (767px e abaixo) ===== */
@media (max-width:767px){

  /* Header mobile */
  .menu-toggle{
    display:flex;
  }

  .nav{
    padding:10px 0;
  }

  .brand-icon{
    height:50px;
  }

  .brand span{
    display:none; /* Esconde o texto do brand em mobile */
  }

  /* Menu mobile */
  .nav-links{
    position:fixed;
    top:64px; /* Altura do header */
    left:0;
    right:0;
    width:100%;
    background:rgba(10,34,64,.98);
    flex-direction:column;
    align-items:stretch;
    padding:0;
    gap:0;
    max-height:0;
    overflow:hidden;
    transition:max-height 0.3s ease;
    backdrop-filter:blur(8px);
    border-bottom:1px solid rgba(255,255,255,.1);
  }

  .nav-links.open{
    max-height:600px; /* Altura máxima do menu */
  }

  .nav-links a{
    padding:14px 16px;
    border-bottom:1px solid rgba(255,255,255,.05);
    display:block;
    width:100%;
  }

  .nav-links a:not(.btn){
    padding:14px 16px;
  }

  .nav-links a:not(.btn)::after{
    display:none; /* Remove underline em mobile */
  }

  .nav-links .btn{
    margin:8px 16px;
    width:calc(100% - 32px);
  }

  .nav-links .btn-small{
    width:calc(100% - 32px);
    margin:0 16px 8px;
  }

  /* Hero mobile */
  .hero{
    padding:40px 0 30px;
  }

  .hero-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .hero-copy h1{
    font-size:1.8rem;
  }

  .hero-copy p{
    font-size:1rem;
  }

  .hero-list{
    grid-template-columns:1fr;
  }

  .hero-list li{
    padding:10px 12px;
    font-size:.9rem;
  }

  /* Grids mobile */
  .cards,.plans,.testimonials,.stats-grid,.dashboard-grid,.course-grid{
    grid-template-columns:1fr;
  }

  .grid-2{
    grid-template-columns:1fr;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  /* Cards mobile */
  .card{
    padding:18px;
  }

  .card h3{
    font-size:1.1rem;
  }

  /* Seções mobile */
  section{
    padding:30px 0;
  }

  .section-title{
    font-size:1.4rem;
  }

  /* Buttons mobile */
  .cta-group{
    flex-direction:column;
  }

  .cta-group .btn{
    width:100%;
  }

  /* Banner mobile */
  .banner{
    padding:20px;
  }

  .banner h3{
    font-size:1.2rem;
  }

  /* Tabelas mobile */
  .table{
    font-size:.85rem;
  }

  .table th,.table td{
    padding:8px;
  }

  /* Footer mobile */
  .site-footer{
    padding:25px 0 15px;
    font-size:.9rem;
  }

  .footer-grid{
    gap:20px;
  }

  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }

  .social-icons{
    justify-content:center;
  }

  .footer-copy{
    text-align:center;
  }

  /* Container mobile */
  .container{
    padding:0 1rem;
  }

  /* Scroll to top mobile */
  .scroll-to-top{
    bottom:20px;
    right:20px;
    width:45px;
    height:45px;
    font-size:1.2rem;
  }

}

/* ===== RESPONSIVO - EXTRA SMALL (<480px) ===== */
@media (max-width:480px){

  body{
    font-size:14px;
  }

  .hero-copy h1{
    font-size:1.5rem;
    line-height:1.2;
  }

  .section-title{
    font-size:1.2rem;
  }

  .card{
    padding:14px;
  }

  .icon-badge{
    width:40px;
    height:40px;
    font-size:1.2rem;
  }

  .price{
    font-size:1.5rem;
  }

  .nav{
    gap:12px;
  }

  section{
    padding:20px 0;
  }

  .container{
    padding:0 0.75rem;
  }

  .scroll-to-top{
    bottom:15px;
    right:15px;
    width:40px;
    height:40px;
    font-size:1rem;
  }

}

/* ===== UTILITÁRIOS ===== */
.spacer-top{
  margin-top:20px;
}

.text-center{
  text-align:center;
}

.text-right{
  text-align:right;
}

.mt{margin-top:20px}
.mb{margin-bottom:20px}
.pt{padding-top:20px}
.pb{padding-bottom:20px}