/* =============================
   SOFTPOWER – CSS OFICIAL
   Dark + Light | Premium UI
============================= */

/* ================= VARIÁVEIS ================= */
:root{
  --bg:#0d0f15;
  --card:#151823;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --primary:#4f46e5;
  --accent:#00ffd5;
  --border:rgba(255,255,255,.08);
}

body.light{
  --bg:#f4f6fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:rgba(0,0,0,.08);
}

/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

html{scroll-behavior:smooth}

body{
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  transition:background .3s,color .3s;
}

/* ================= HEADER ================= */
.top-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(13,15,21,.85);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  z-index:1000;
}

body.light .top-header{
  background:rgba(255,255,255,.95);
}

.logo{
  font-size:1.2rem;
  font-weight:700;
}

.logo span{color:var(--primary)}

/* ================= BOTÕES FIXOS ================= */
.menu-toggle,
.theme-toggle{
  position:fixed;
  top:18px;
  width:44px;
  height:44px;
  border-radius:14px;
  background:var(--card);
  border:1px solid var(--border);
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:1201;
  transition:.3s;
}

.menu-toggle{left:20px}
.theme-toggle{right:20px;border-radius:50%}

.menu-toggle:hover,
.theme-toggle:hover{
  transform:scale(1.05);
}

/* ================= SIDEBAR ================= */
.sidebar{
  position:fixed;
  top:0;
  left:0;
  width:260px;
  height:100vh;
  background:var(--card);
  border-right:1px solid var(--border);
  padding:30px 20px;
  transform:translateX(-100%);
  transition:.4s;
  z-index:1200;
}

.sidebar.open{transform:translateX(0)}

.sidebar-brand{
  font-size:1.6rem;
  font-weight:700;
  margin-bottom:40px;
  text-align:center;
}

.sidebar-nav{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.sidebar-nav a{
  padding:14px;
  border-radius:14px;
  color:var(--text);
  text-decoration:none;
  display:flex;
  gap:12px;
  justify-content:center;
  transition:.3s;
}

.sidebar-nav a:hover{
  background:rgba(79,70,229,.15);
  color:var(--primary);
}

.sidebar-nav a.cta{
  background:linear-gradient(135deg,var(--primary),#6366f1);
  color:#fff;
}

/* ================= HERO ================= */
.hero{
  min-height:100vh;
  padding:140px 8% 100px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero-text{
  max-width:820px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:28px;
}

.hero-text h1{
  font-size:3rem;
  line-height:1.25;
}

.hero-text p{
  max-width:680px;
  font-size:1.05rem;
  line-height:1.8;
  color:var(--muted);
}

/* ================= BOTÕES ================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 32px;
  border-radius:50px;
  background:linear-gradient(135deg,var(--primary),#6366f1);
  color:#fff;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 20px 40px rgba(79,70,229,.45);
  transition:.3s;
  margin-top: 10px;
}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 25px 60px rgba(79,70,229,.6);
}

.btn-small{
  padding:12px 24px;
  font-size:.9rem;
}

/* ================= SECTIONS ================= */
section{
  padding:100px 8%;
  text-align:center;
}

section h2{
  font-size:2.3rem;
  margin-bottom:12px;
}

section p{
  max-width:720px;
  margin:0 auto;
  color:var(--muted);
}

/* ================= SUPORTE TÉCNICO ================= */

/* Wrapper do card de suporte */
.support-wrapper{
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* Garante alinhamento interno do card */
.service-card.suporte{
  display:flex;
  flex-direction:column;
}

/* Área dos botões */
.service-card.suporte .card-actions{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* Botão outline (Tirar Dúvidas) */
.btn-outline{
  background:transparent;
  border:1px solid var(--primary);
  color:var(--primary);
  box-shadow:none;
}

.btn-outline:hover{
  background:var(--primary);
  color:#fff;
}

/* Texto abaixo do card de suporte */
.support-note{
  margin-top:18px;
  font-size:.85rem;
  color:var(--muted);
  text-align:center;
  line-height:1.4;
  max-width:280px;
  opacity:.9;
}

/* Ajuste mobile */
@media(max-width:768px){
  .support-note{
    max-width:320px;
  }
}

/* ================= GRID ================= */
.grid{
  margin-top:50px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

/* ================= CARDS ================= */
.card,
.servico{
  background:var(--card);
  padding:26px;
  border-radius:22px;
  border:1px solid var(--border);
  transition:.35s;
}

.card:hover,
.servico:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 60px rgba(0,0,0,.45);
}

.card img{
  width:100%;
  border-radius:16px;
  margin-bottom:16px;
}

/* ===================================== */
/* CARD PRINCIPAL - PADRÃO INTEGRADO     */
/* ===================================== */

.principal-estetica{
  position:relative;
  background:var(--card);
  border:2px solid var(--accent);
  border-radius:22px;
  padding:35px 25px;
  transition:.35s;
}

/* Glow elegante usando variáveis */
.principal-estetica:hover{
  transform:translateY(-8px);
  box-shadow:
    0 25px 60px rgba(0,0,0,.45),
    0 0 35px rgba(0,255,213,.25);
}

/* Badge */
.badge-principal{
  display:inline-block;
  background:linear-gradient(135deg,var(--primary),#6366f1);
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:7px 16px;
  border-radius:50px;
  margin-bottom:18px;
  letter-spacing:1px;
}

/* Título */
.principal-estetica .card-title{
  font-size:22px;
  font-weight:700;
  margin-bottom:12px;
  color:var(--text);
}

.principal-estetica .card-title span{
  display:block;
  font-size:14px;
  font-weight:500;
  color:var(--primary);
  margin-top:4px;
}

/* Descrição */
.destaque-desc{
  font-size:14px;
  margin-bottom:20px;
  line-height:1.6;
  color:var(--muted);
}

/* Lista */
.feature-list{
  font-size:14px;
  line-height:1.7;
  margin-bottom:25px;
  color:var(--text);
}

/* Preço integrado ao sistema */
.price-box{
  margin-bottom:20px;
}

.price-box .price-old{
  display:block;
  font-size:1rem;
  color:var(--muted);
  text-decoration:line-through;
  margin-bottom:6px;
}

.price-box .price-new{
  font-size:1.9rem;
  font-weight:700;
  color:var(--accent);
}

/* Botão principal padrão SoftPower */
.principal-estetica .btn-glow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 24px;
  background:linear-gradient(135deg,var(--primary),#6366f1);
  color:#fff;
  font-weight:600;
  border-radius:50px;
  text-decoration:none;
  transition:.3s;
  box-shadow:0 20px 40px rgba(79,70,229,.45);
}

.principal-estetica .btn-glow:hover{
  transform:translateY(-3px);
  box-shadow:0 25px 60px rgba(79,70,229,.6);
}

.btn-afiliado {
    display: block;
    background: linear-gradient(135deg, #00c853, #00e676);
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
}

.btn-afiliado:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.5);
}

/* Nota inferior */
.card-footer-note{
  margin-top:18px;
  font-size:12px;
  color:var(--muted);
  text-align:center;
  opacity:.8;
}

/* MOBILE */
@media(max-width:768px){
  .principal-estetica{
    padding:25px 18px;
  }

  .principal-estetica .card-title{
    font-size:18px;
  }
}
/* ================= SERVIÇOS ================= */
.service-card h3{
  font-size:1.2rem;
  margin:10px 0;
}

.service-desc{
  font-size:.95rem;
  line-height:1.6;
  color:var(--muted);
  margin-bottom:16px;
}

.price{
  display:block;
  font-size:1.8rem;
  font-weight:700;
  color:var(--accent);
  margin-bottom:20px;
}

.service-card.destaque{
  border:2px solid var(--accent);
}

.service-card.destaque:hover{
  transform:translateY(-8px);
  box-shadow:
    0 25px 60px rgba(0,0,0,.45),
    0 0 25px rgba(0,255,213,.35);
}

/* ================= CARROSSEL DE VÍDEOS ================= */
.video-carousel{
  padding:100px 8%;
}

.carousel-container{
  position:relative;
  max-width:1200px;
  margin:50px auto 0;
  overflow:hidden;
}

.carousel-track{
  display:flex;
  gap:24px;
  transition:transform .45s ease;
}

.video-card{
  min-width:320px;
  background:var(--card);
  padding:14px;
  border-radius:22px;
  border:1px solid var(--border);
  transition:.35s;
  display:flex;
  flex-direction:column;
}

.video-card:hover{
  transform:translateY(-6px);
  box-shadow:0 25px 50px rgba(0,0,0,.4);
}

.video-card video{
  width:100%;
  height:auto;
  object-fit:cover;
  border-radius:14px;
  background-color:#000;
  display:block;
}

.video-card span{
  display:block;
  margin-top:12px;
  font-weight:500;
  font-size:0.95rem;
  color:var(--text);
  text-align:center;
}

/* Botões do carrossel */
.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:50%;
  background:var(--card);
  border:1px solid var(--border);
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:10;
  transition:.3s;
}

.carousel-btn:hover{
  background:var(--primary);
  color:#fff;
}

.carousel-btn.prev{left:10px}
.carousel-btn.next{right:10px}

/* =====================================
   CAPA MATERIAIS EDUCATIVOS
===================================== */
.destaque-materiais img {
  width: 300px;          /* tamanho padrão */
  height: auto;          /* mantém proporção */
  display: block;
  margin: 0 auto 25px;   /* centralizada */
  border-radius: 18px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  transition: 0.3s ease;
}

.destaque-materiais:hover img {
  transform: scale(1.05);
}

/* ================= CONTACT ================= */
.contact{
  background:linear-gradient(135deg,#111827,#0d0f15);
}

body.light .contact{
  background:linear-gradient(135deg,#e5e7eb,#f9fafb);
}

/* ================= FOOTER PROFISSIONAL ================= */
.footer-pro{
  margin-top:60px;
  padding:40px 8% 25px;
  border-top:1px solid var(--border);
  text-align:center;
}

.footer-sections{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
  margin-bottom:25px;
}

.footer-box h4{
  font-size: 1rem;
  font-weight:600;
  margin-bottom:10px;
  color:var(--primary);
}

.footer-box a,
.footer-box span{
  display:block;
  font-size: 1rem;
  color:var(--muted);
  text-decoration:none;
  margin-bottom:6px;
  transition:.3s;
}

.footer-box a:hover{
  color:var(--primary);
}

.footer-copy{
  font-size: 1rem;
  color:var(--muted);
  opacity:.8;
  line-height:1.4;
}

/* ================= RESPONSIVO ================= */
@media(max-width:768px){
  .hero-text h1{font-size:2.2rem}
  section{padding:80px 6%}
  .video-card{min-width:260px}
}

/* ================= PREÇO CORTADO ================= */
.price-old{
  display:block;
  font-size:1rem;
  color:var(--muted);
  text-decoration:line-through;
  margin-bottom:6px;
}

.price-new{
  display:block;
  font-size:1.9rem;
  font-weight:700;
  color:var(--accent);
  margin-bottom:20px;
  animation:pricePulse 1.8s infinite;
}

@keyframes pricePulse{
  0%{transform:scale(1)}
  50%{transform:scale(1.06)}
  100%{transform:scale(1)}
}

.price {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.price-from {
  display: block;
  font-size: 0.75rem;
  opacity: 0.65;
  margin-bottom: 4px;
  font-weight: 400;
}





