/* ============ TOKENS — TRANSHIP ============ */
:root{
  --primary: #002149;
  --primary-rgb: 0,33,73;
  --accent: #1e40af;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --accent-hover: #1e3a8a;
  --accent-rgb: 30,64,175;
  --dark: #1e293b;
  --white: #FFFFFF;
  --bg: #f6f8fb;
  --bg-input: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-card: #e2e8f0;
  --success: #22c55e;
  --error: #ef4444;
  --radius: 14px;
  --radius-sm: 8px;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.03), 0 1px 3px rgba(0,0,0,.04);
  --shadow-card: 0 4px 20px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.08);
  --header-h: 64px;
  --sidebar-w: 250px;
  --ease: cubic-bezier(.4,0,.2,1);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; overflow-x:hidden; height:100%;}
body{
  font-family:var(--sans);
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:grayscale;
  min-height:100vh;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer; border:none; background:none;}
input,select,textarea{font-family:inherit;}
:focus-visible{outline:2px solid var(--accent); outline-offset:2px;}
::selection{background:var(--accent); color:#fff;}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:translateY(0);}}
@keyframes slideInRight{from{transform:translateX(100%);}to{transform:translateX(0);}}
@keyframes slideInLeft{from{transform:translateX(-100%);}to{transform:translateX(0);}}
@keyframes scaleIn{from{opacity:0;transform:scale(.95);}to{opacity:1;transform:scale(1);}}
@keyframes pulse{0%,100%{opacity:1;}50%{opacity:.6;}}
.view{display:none;}
.view.active{display:block;}
.container{max-width:1200px; margin:0 auto; padding:0 24px;}

/* ============ HEADER ============ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:var(--primary);
  height:var(--header-h);
  box-shadow:0 4px 20px rgba(0,0,0,.12);
}
.header-inner{
  max-width:1200px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; height:100%;
  gap:20px;
}
.header-logo{flex-shrink:0;}
.header-logo img{height:44px; width:auto;}
.header-nav{display:flex; align-items:center; gap:6px;}
.header-nav a{
  font-weight:600; font-size:.85rem;
  color:rgba(255,255,255,.6);
  padding:8px 14px;
  border-radius:var(--radius-sm);
  transition:color .2s var(--ease), background .2s var(--ease);
}
.header-nav a:hover,
.header-nav a.ativo{color:#fff; background:rgba(255,255,255,.08);}
.header-search{
  display:flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  padding:8px 16px;
  margin-left:auto;
  flex:1; max-width:320px;
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.header-search:focus-within{border-color:rgba(255,255,255,.3); background:rgba(255,255,255,.12);}
.header-search i{color:rgba(255,255,255,.4); font-size:.82rem;}
.header-search input{
  background:transparent; border:none; outline:none;
  color:#fff; font-size:.84rem; width:100%;
}
.header-search input::placeholder{color:rgba(255,255,255,.35);}
.header-actions{display:flex; align-items:center; gap:8px; flex-shrink:0;}
.header-cart{
  position:relative;
  color:#fff; font-size:1.15rem;
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.08);
  border-radius:50%;
  transition:background .2s var(--ease), transform .15s var(--ease);
}
.header-cart:hover{background:rgba(255,255,255,.15); transform:scale(1.05);}
.header-cart-badge{
  position:absolute; top:-2px; right:-2px;
  background:var(--accent); color:#fff;
  font-size:.6rem; font-weight:700;
  width:18px; height:18px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  animation:scaleIn .25s var(--ease);
}
.btn-header{
  padding:8px 14px;
  font-weight:600; font-size:.78rem;
  border-radius:var(--radius-sm);
  transition:all .2s var(--ease);
}
.btn-header-entrar{
  background:rgba(255,255,255,.08); color:#fff;
  border:1px solid rgba(255,255,255,.16);
}
.btn-header-entrar:hover{background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.3); transform:translateY(-1px);}
.btn-header-cadastrar{background:var(--accent); color:#fff;}
.btn-header-cadastrar:hover{background:var(--accent-hover); transform:translateY(-1px);}
.hamburger{
  display:none; font-size:1.2rem; color:#fff;
  width:40px; height:40px; min-width:40px;
  align-items:center; justify-content:center;
  border-radius:var(--radius-sm);
  transition:background .2s var(--ease);
}
.hamburger:hover{background:rgba(255,255,255,.1);}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 18px;
  border-radius:8px;
  font-weight:600; font-size:.82rem;
  transition:all .2s var(--ease);
  position:relative; overflow:hidden;
  letter-spacing:.01em;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px); box-shadow:0 4px 12px rgba(0,0,0,.08);}
.btn:active{transform:translateY(0); box-shadow:0 2px 6px rgba(0,0,0,.06);}
.btn-accent{background:var(--accent); color:#fff;}
.btn-accent:hover{background:var(--accent-hover); box-shadow:0 4px 16px rgba(var(--accent-rgb),.3);}
.btn-dark{background:var(--primary); color:#fff;}
.btn-dark:hover{opacity:.9;}
.btn-outline{
  background:var(--surface); color:var(--text); border:1px solid var(--border);
}
.btn-outline:hover{background:var(--bg); border-color:#cbd5e1;}
.btn-ghost{background:transparent; color:var(--accent); font-weight:600;}
.btn-ghost:hover{text-decoration:underline;}
.btn-sm{padding:6px 12px; font-size:.76rem;}
.btn-icon{
  width:34px; height:34px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg); color:var(--text); font-size:.9rem;
  transition:all .2s var(--ease);
}
.btn-icon:hover{background:#e2e8f0; transform:scale(1.05);}

/* ============ HERO ============ */
.hero-section{margin-top:var(--header-h);}
.banner-carousel{position:relative; overflow:hidden; background:var(--primary);}
.banner-track{display:flex; transition:transform .6s var(--ease);}
.banner-slide{min-width:100%; position:relative;}
.banner-slide img{width:100%; height:auto; display:block; object-fit:cover; max-height:480px;}
.banner-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px;
  background:rgba(255,255,255,.9);
  border:none; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; color:var(--dark);
  cursor:pointer; z-index:5;
  box-shadow:0 2px 12px rgba(0,0,0,.15);
  transition:all .2s var(--ease);
}
.banner-arrow:hover{background:#fff; transform:translateY(-50%) scale(1.1); box-shadow:0 4px 16px rgba(0,0,0,.2);}
.banner-arrow.prev{left:16px;}
.banner-arrow.next{right:16px;}
.banner-dots{
  position:absolute; bottom:14px; left:50%; transform:translateX(-50%);
  display:flex; gap:8px; z-index:5;
}
.banner-dots span{
  width:10px; height:10px; border-radius:50%;
  background:rgba(255,255,255,.35);
  cursor:pointer; transition:all .3s var(--ease);
}
.banner-dots span.ativo{background:#fff; transform:scale(1.3);}

/* ============ STATS ============ */
.stats-banner{background:var(--primary); padding:18px 0; text-align:center; border-top:1px solid rgba(255,255,255,.06);}
.stats-banner p{font-size:.86rem; font-weight:700; color:#fff;}
.stats-banner span{color:var(--accent);}

/* ============ SECTIONS ============ */
section{padding:60px 0;}
.section-header{margin-bottom:32px;}
.section-header h2{font-size:1.5rem; font-weight:700; color:var(--text);}
.section-header p{color:var(--text-muted); margin-top:8px; font-size:.9rem;}

/* ============ SOBRE ============ */
.sobre-section{background:var(--surface);}
.sobre-inner{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;}
.sobre-img img{width:100%; border-radius:var(--radius); object-fit:cover;}
.sobre-texto h3{font-size:1.5rem; font-weight:700; color:var(--text); margin-bottom:14px;}
.sobre-texto p{color:var(--text-muted); font-size:.9rem; line-height:1.7; margin-bottom:14px;}

/* ============ IMAGE SECTION ============ */
.image-section{padding:0 0 60px;}
.image-section img{width:100%; max-height:500px; object-fit:cover; border-radius:var(--radius);}

/* ============ EYEBROW ============ */
.eyebrow{font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--accent);}

/* ============ PRODUCTS ============ */
.products-section{background:var(--surface);}
.products-section .section-title{font-size:1.5rem; font-weight:700; color:var(--text); margin-bottom:24px; display:inline-block;}
.products-section .section-title:hover{text-decoration:underline;}
.products-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.product-card{
  background:var(--surface); border:1px solid var(--border-card); border-radius:var(--radius);
  overflow:hidden; transition:all .25s var(--ease); display:flex; flex-direction:column;
  box-shadow:var(--shadow-sm);
}
.product-card:hover{box-shadow:var(--shadow-card); transform:translateY(-3px);}
.product-card-img{width:100%; aspect-ratio:16/10; object-fit:cover; background:var(--bg); display:block; transition:transform .4s var(--ease);}
.product-card:hover .product-card-img{transform:scale(1.03);}
.product-card-title{padding:14px 14px 0; font-size:.84rem; font-weight:700; color:var(--text); line-height:1.3; flex:1;}
.product-card-bottom{padding:12px 14px 14px;}
.product-card-price{font-size:1rem; font-weight:700; color:var(--text); margin-bottom:10px;}
.product-card-btns{display:flex; gap:8px;}
.product-card-btns .btn{flex:1; justify-content:center; font-size:.76rem; padding:8px 10px;}
.products-ver-mais{text-align:center; margin-top:32px;}
.products-ver-mais .btn{background:var(--accent); color:#fff; padding:12px 32px; font-weight:700; border-radius:var(--radius-sm);}
.products-ver-mais .btn:hover{background:var(--accent-hover);}

/* ============ COMO FUNCIONA ============ */
.como-funciona{background:var(--primary); color:#fff;}
.como-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.06); border-radius:var(--radius); overflow:hidden;}
.como-item{background:var(--primary); padding:26px 20px; transition:background .3s var(--ease);}
.como-item:hover{background:rgba(15,23,42,.85);}
.como-num{font-size:.8rem; font-weight:700; color:var(--accent);}
.como-item h4{margin:10px 0 8px; font-size:.95rem; font-weight:700;}
.como-item p{font-size:.8rem; color:rgba(255,255,255,.5);}

/* ============ DEPOIMENTOS ============ */
.depoimentos-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.depoimento{background:var(--surface); border:1px solid var(--border-card); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow-sm); transition:all .25s var(--ease);} 
.depoimento:hover{box-shadow:var(--shadow-card); transform:translateY(-2px);}
.depoimento p{font-style:italic; font-size:.86rem; margin-bottom:12px; color:var(--text);}
.depoimento-autor{display:flex; align-items:center; gap:10px; font-size:.8rem; font-weight:600;}
.depoimento-autor .avatar{width:32px; height:32px; border-radius:var(--radius-sm); background:var(--accent);}

/* ============ PLANOS ============ */
.planos{background:var(--bg);}
.planos-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.plano{background:var(--surface); border:1px solid var(--border-card); border-radius:var(--radius); padding:24px; display:flex; flex-direction:column; box-shadow:var(--shadow-sm); transition:all .25s var(--ease);}
.plano:hover{box-shadow:var(--shadow-card); transform:translateY(-2px);}
.plano.destaque{border-color:var(--accent); box-shadow:var(--shadow-lg); position:relative;}
.plano.destaque::before{content:'Mais procurado'; position:absolute; top:-12px; left:28px; background:var(--accent); color:#fff; font-size:.64rem; font-weight:700; padding:4px 12px; border-radius:var(--radius-sm); text-transform:uppercase;}
.plano h3{font-size:1.1rem; font-weight:700;}
.plano .preco{font-size:1.8rem; font-weight:700; margin:10px 0; color:var(--text);}
.plano .preco span{font-size:.82rem; color:var(--text-muted); font-weight:500;}
.plano ul{list-style:none; display:grid; gap:8px; margin:16px 0; font-size:.82rem;}
.plano ul li{display:flex; gap:8px;}
.plano ul i{color:var(--success);}
.pag-icones{display:flex; gap:8px; margin-top:12px;}
.pag-icones span{font-size:.64rem; font-weight:700; border:1px solid var(--border); padding:3px 8px; color:var(--text-muted); letter-spacing:.04em; border-radius:var(--radius-sm);}

/* ============ FOOTER ============ */
.site-footer{background:var(--primary); color:rgba(255,255,255,.6); padding:48px 0 0;}
.footer-inner{max-width:1200px; margin:0 auto; padding:0 24px;}
.footer-cols{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,.1);}
.footer-col h3,.footer-col h4{color:#fff; font-size:.95rem; font-weight:700; margin-bottom:14px;}
.footer-col p{font-size:.84rem; line-height:1.6; margin-bottom:14px;}
.footer-col ul{list-style:none; display:grid; gap:8px;}
.footer-col ul li,.footer-col ul li a{font-size:.88rem; color:rgba(255,255,255,.6); transition:color .2s var(--ease);}
.footer-col ul li a:hover{color:#fff;}
.footer-social{display:flex; gap:14px; margin-top:8px;}
.footer-social a{color:#fff; font-size:1rem; transition:all .2s var(--ease); width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,.08);}
.footer-social a:hover{background:rgba(255,255,255,.15); transform:translateY(-2px);}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; padding:20px 0; font-size:.78rem; flex-wrap:wrap; gap:10px;}
.footer-legal{padding:16px 0 20px; border-top:1px solid rgba(255,255,255,.08); font-size:.72rem; color:rgba(255,255,255,.35); text-align:center;}
.footer-lang{display:flex; align-items:center; gap:6px; background:rgba(255,255,255,.08); padding:6px 14px; border-radius:var(--radius-sm); font-size:.78rem; color:rgba(255,255,255,.6); cursor:pointer; transition:background .2s var(--ease);}
.footer-lang:hover{background:rgba(255,255,255,.12);}

/* ============ LOGIN ============ */
.tela-cheia{min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--bg); padding:24px;}
.card-login{background:var(--surface); border:1px solid var(--border-card); border-radius:var(--radius); width:100%; max-width:420px; padding:32px 28px; box-shadow:var(--shadow-lg); text-align:center; animation:scaleIn .4s var(--ease);}
.card-login h2{font-size:1.2rem; font-weight:700; margin-bottom:6px;}
.card-login p{color:var(--text-muted); font-size:.82rem; margin-bottom:20px;}
.campo{text-align:left; margin-bottom:14px;}
.campo label{display:block; font-size:.7rem; font-weight:700; margin-bottom:5px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted);}
.campo input,.campo select,.campo textarea{
  width:100%; padding:10px 14px; border:1px solid var(--border); border-radius:var(--radius-sm);
  font-size:.88rem; background:var(--surface);
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.campo input:hover,.campo select:hover,.campo textarea:hover{border-color:#cbd5e1;} 
.campo input:focus,.campo select:focus,.campo textarea:focus{border-color:var(--accent); background:#fff; box-shadow:0 0 0 3px rgba(var(--accent-rgb),.08); outline:none;}
.tabs-alt{display:flex; gap:0; background:var(--bg); padding:4px; margin-bottom:18px; border-radius:var(--radius-sm); border:1px solid var(--border-card);} 
.tabs-alt button{flex:1; padding:8px 10px; font-size:.8rem; font-weight:700; background:transparent; color:var(--text-muted); border-radius:var(--radius-sm); transition:all .2s var(--ease);} 
.tabs-alt button.ativo{background:var(--primary); color:#fff; box-shadow:0 4px 12px rgba(15,23,42,.15);}
.link-voltar{display:inline-flex; align-items:center; gap:6px; color:var(--text); font-size:.82rem; margin-bottom:22px; transition:color .2s var(--ease);}
.link-voltar:hover{color:var(--accent);}
.aviso{font-size:.72rem; background:var(--bg); border:1px solid var(--border); padding:10px 12px; margin-top:14px; color:var(--text-muted); text-align:left; border-radius:var(--radius-sm);}

/* ============ APP SHELL ============ */
.app-shell{display:grid; grid-template-columns:var(--sidebar-w) 1fr; min-height:100vh; background:var(--bg);}
.app-lateral{
  background:linear-gradient(180deg,var(--primary) 0%,#001535 100%); color:#fff; padding:0;
  display:flex; flex-direction:column;
  position:sticky; top:0; height:100vh;
  overflow-y:auto; z-index:50;
  border-right:1px solid rgba(255,255,255,.05);
}
.app-lateral::-webkit-scrollbar{width:4px;}
.app-lateral::-webkit-scrollbar-thumb{background:rgba(255,255,255,.1); border-radius:4px;}
.app-lateral .marca-nome,.app-lateral .marca-nome small{color:#fff;}
.app-lateral .marca{
  margin-bottom:8px; padding:22px 18px 18px;
  display:flex; align-items:center; gap:12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(0,0,0,.15);
}
.app-nav{list-style:none; display:grid; gap:4px; flex:1; padding:14px 10px;}
.app-nav li{position:relative;}
.app-nav button,.app-nav a{
  width:100%; text-align:left; display:flex; align-items:center; gap:12px;
  padding:10px 14px; border-radius:8px; color:rgba(255,255,255,.55);
  font-size:.78rem; font-weight:500; background:transparent;
  transition:all .25s var(--ease); letter-spacing:.01em;
  position:relative;
}
.app-nav button i,.app-nav a i{
  width:18px; text-align:center; font-size:.95rem; opacity:.65;
  transition:all .25s var(--ease);
}
.app-nav button:hover,.app-nav a:hover{
  background:rgba(255,255,255,.04); color:rgba(255,255,255,.95);
}
.app-nav button:hover i,.app-nav a:hover i{opacity:.9; transform:scale(1.05);}
.app-nav button.ativo,.app-nav a.ativo{
  background:linear-gradient(90deg,rgba(var(--accent-rgb),.18) 0%,rgba(var(--accent-rgb),.04) 100%);
  color:#fff; font-weight:600;
}
.app-nav a.ativo::before{
  content:''; position:absolute; left:-10px; top:50%; transform:translateY(-50%);
  width:3px; height:24px; background:var(--accent); border-radius:0 3px 3px 0;
}
.app-nav a.ativo i{color:var(--accent); opacity:1;}
.app-sair{margin-top:auto; padding:14px 10px; border-top:1px solid rgba(255,255,255,.06);}
.app-sair button,.app-sair a{
  width:100%; color:rgba(255,255,255,.4); display:flex; align-items:center; gap:12px;
  padding:10px 14px; font-weight:500; font-size:.78rem; text-decoration:none;
  border-radius:8px; transition:all .2s var(--ease);
}
.app-sair button i,.app-sair a i{width:18px; text-align:center; font-size:.9rem;}
.app-sair button:hover,.app-sair a:hover{background:rgba(239,68,68,.12); color:#ff6b6b;}
.app-main{padding:28px 32px; overflow-y:auto; background:var(--bg); min-height:100vh;}
.app-topo{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:24px; flex-wrap:wrap; gap:14px;
  background:var(--surface); border:1px solid var(--border-card);
  padding:18px 22px; border-radius:var(--radius);
  box-shadow:0 1px 3px rgba(0,0,0,.04);
  position:relative; overflow:hidden;
}
.app-topo::before{
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--primary),var(--accent));
}
.app-topo h1{font-size:1.3rem; font-weight:800; animation:fadeIn .4s var(--ease); color:var(--text); letter-spacing:-.01em;}
.app-topo p{color:var(--text-muted); font-size:.82rem; margin-top:3px; font-weight:400;}
.app-topo-info{display:flex; flex-direction:column; gap:6px;}
.app-topo-acoes{display:flex; gap:10px; align-items:center; flex-shrink:0;}
.app-breadcrumb{
  display:flex; align-items:center; gap:7px;
  font-size:.72rem; color:var(--text-muted); font-weight:600;
  text-transform:uppercase; letter-spacing:.04em;
}
.app-breadcrumb i{font-size:.65rem; opacity:.6;}
.app-breadcrumb i:first-child{font-size:.82rem; opacity:.7;}
.app-breadcrumb .atual{color:var(--accent); font-weight:700;}
.marca{display:flex; align-items:center; gap:10px;}
.marca-nome{font-size:.95rem; font-weight:700; color:#fff;}
.marca-nome small{display:block; font-size:.6rem; letter-spacing:.08em; color:rgba(255,255,255,.4); text-transform:uppercase; font-weight:600; margin-top:1px;}

/* ============ PROGRESSO ============ */
.progresso-wrap{background:var(--surface); border:1px solid var(--border-card); border-radius:var(--radius); padding:16px 20px; margin-bottom:20px; display:flex; align-items:center; gap:20px; box-shadow:var(--shadow-sm); animation:fadeIn .4s var(--ease);}
.anel{width:52px; height:52px; border-radius:50%; flex-shrink:0; background:conic-gradient(var(--accent) calc(var(--pct,0)*1%), var(--bg) 0); display:flex; align-items:center; justify-content:center; position:relative; transition:background .6s var(--ease);}
.anel::before{content:''; position:absolute; inset:5px; background:var(--surface); border-radius:50%;}
.anel span{position:relative; font-size:.74rem; font-weight:700;}

/* ============ MODULOS ============ */
.modulos{display:grid; gap:10px;}
.modulo{background:var(--surface); border:1px solid var(--border-card); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:all .25s var(--ease);}
.modulo:hover{box-shadow:var(--shadow-card);}
.modulo-head{display:flex; align-items:center; gap:12px; padding:13px 16px; cursor:pointer; transition:background .2s var(--ease);}
.modulo-head:hover{background:rgba(0,0,0,.015);}
.modulo-head .indice-num{font-size:.85rem; font-weight:700; color:var(--accent);}
.modulo-head h3{font-size:.9rem; font-weight:700; flex:1;}
.modulo-head i.chev{transition:transform .3s var(--ease); color:var(--text-muted);}
.modulo.aberto .chev{transform:rotate(180deg);}
.modulo-status{font-size:.6rem; font-weight:700; padding:3px 8px; text-transform:uppercase; border-radius:999px;}
.modulo-status.liberado{background:#dcfce7; color:#16a34a;}
.modulo-status.bloqueado{background:var(--bg); color:var(--text-muted);}
.aulas-lista{display:none; border-top:1px solid var(--border-card);}
.modulo.aberto .aulas-lista{display:block; animation:fadeIn .3s var(--ease);}
.aula{display:flex; align-items:center; gap:10px; padding:11px 16px 11px 44px; font-size:.82rem; border-bottom:1px solid var(--border-card); transition:background .2s var(--ease);}
.aula:last-child{border-bottom:none;}
.aula:hover{background:rgba(0,0,0,.01);}
.aula i.status-icone{color:var(--text-muted); width:14px;}
.aula.concluida i.status-icone{color:var(--success);}
.aula.bloqueada{color:var(--text-muted);}
.aula-acao{margin-left:auto; font-size:.72rem; font-weight:700; color:var(--accent); transition:all .2s var(--ease); padding:4px 10px; border-radius:var(--radius-sm);}
.aula-acao:not(:disabled):hover{background:rgba(var(--accent-rgb),.08);}
.aula-acao:disabled{color:var(--border); cursor:not-allowed;}

/* ============ ADMIN ============ */
.painel-cards{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px;}
.pcard{
  background:var(--surface); border:1px solid var(--border-card); border-radius:var(--radius);
  padding:18px 20px; box-shadow:0 1px 3px rgba(0,0,0,.03);
  transition:all .25s var(--ease); animation:fadeIn .4s var(--ease);
  position:relative; overflow:hidden;
}
.pcard::before{
  content:''; position:absolute; top:0; left:0; width:4px; height:100%;
  background:var(--accent); opacity:.7;
}
.pcard:nth-child(1)::before{background:var(--accent);}
.pcard:nth-child(2)::before{background:#f59e0b;}
.pcard:nth-child(3)::before{background:var(--primary);}
.pcard:nth-child(4)::before{background:var(--success);}
.pcard:nth-child(2){animation-delay:.05s;}
.pcard:nth-child(3){animation-delay:.1s;}
.pcard:nth-child(4){animation-delay:.15s;}
.pcard:hover{box-shadow:0 4px 20px rgba(0,0,0,.06); transform:translateY(-2px);}
.pcard b{font-size:1.75rem; font-weight:800; display:block; color:var(--text); line-height:1.2; letter-spacing:-.02em;}
.pcard span{font-size:.7rem; color:var(--text-muted); font-weight:600; text-transform:uppercase; letter-spacing:.05em; margin-top:6px; display:block;}
.tabela-wrap{
  background:var(--surface); border:1px solid var(--border-card); border-radius:var(--radius);
  overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.03); animation:fadeIn .4s var(--ease) .1s both;
}
table{width:100%; border-collapse:collapse; font-size:.84rem;}
th{
  text-align:left; background:linear-gradient(180deg,var(--surface-soft),var(--surface));
  padding:13px 18px; font-size:.68rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.06em; color:var(--text-muted);
  border-bottom:1px solid var(--border-card);
}
td{padding:14px 18px; border-top:1px solid #f1f5f9; transition:background .15s var(--ease); vertical-align:middle; color:var(--text);}
tr:hover td{background:rgba(var(--primary-rgb),.02);}
.badge{
  font-size:.66rem; font-weight:700; padding:4px 11px; border-radius:6px;
  white-space:nowrap; display:inline-flex; align-items:center; gap:5px;
  letter-spacing:.02em;
}
.badge::before{content:''; width:6px; height:6px; border-radius:50%;}
.badge.pub{background:#dcfce7; color:#16a34a;}
.badge.pub::before{background:#16a34a;}
.badge.rasc{background:#f1f5f9; color:var(--text-muted);}
.badge.rasc::before{background:var(--text-muted);}

/* Curso table row */
.curso-nome-cell{display:flex; align-items:center; gap:14px; min-width:200px;}
.curso-nome-cell strong{font-size:.88rem; display:block; line-height:1.3; font-weight:700;}
.curso-nome-cell small{color:var(--text-muted); font-size:.72rem; display:block; margin-top:3px; line-height:1.4;}
.curso-stats-cell{white-space:nowrap;}
.stat-pill{
  display:inline-flex; align-items:center; gap:5px;
  background:var(--bg); border:1px solid var(--border-card); border-radius:6px;
  padding:5px 11px; font-size:.76rem; font-weight:700;
}
.stat-pill i{font-size:.72rem;}
.stat-pill span{font-size:.64rem; color:var(--text-muted); font-weight:600; text-transform:uppercase;}
.curso-preco{font-size:.92rem; font-weight:700; white-space:nowrap; color:var(--text);}
.curso-acoes-cell{display:flex; gap:6px;}
.acoes-tab{display:flex; gap:6px;}
.acoes-tab button{
  width:34px; height:34px; background:var(--bg); color:var(--text);
  border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition:all .2s var(--ease); border:1px solid transparent;
}
.acoes-tab button:hover{background:var(--accent); color:#fff; border-color:var(--accent); transform:translateY(-1px);}

/* ============ ADMIN TOOLBAR ============ */
.admin-toolbar{
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px;
  align-items:center;
}
.admin-busca{
  display:flex; align-items:center; gap:10px;
  background:var(--surface); border:1px solid var(--border-card);
  border-radius:8px; padding:0 14px; flex:1; min-width:220px; max-width:440px;
  transition:all .2s var(--ease); box-shadow:var(--shadow-sm);
}
.admin-busca:focus-within{border-color:var(--accent); box-shadow:0 0 0 3px rgba(var(--accent-rgb),.08);}
.admin-busca i{color:var(--text-muted); font-size:.9rem; flex-shrink:0;}
.admin-busca input{
  width:100%; padding:11px 0; border:none; outline:none;
  font-size:.88rem; background:transparent; color:var(--text);
}
.admin-busca input::placeholder{color:var(--text-muted);}
.admin-select{
  padding:11px 14px; border:1px solid var(--border-card); border-radius:8px;
  font-family:var(--sans); font-size:.86rem; background:var(--surface);
  color:var(--text); box-shadow:var(--shadow-sm); transition:all .2s var(--ease);
  cursor:pointer;
}
.admin-select:focus{border-color:var(--accent); outline:none; box-shadow:0 0 0 3px rgba(var(--accent-rgb),.08);}

/* ============ ADMIN TABS ============ */
.admin-tabs{
  display:flex; gap:4px; border-bottom:2px solid var(--border-card);
  margin-bottom:24px; overflow-x:auto; -webkit-overflow-scrolling:touch;
  padding-bottom:0;
}
.admin-tab{
  padding:12px 20px; font-size:.82rem; font-weight:600;
  color:var(--text-muted); cursor:pointer;
  border:none; background:transparent;
  margin-bottom:-2px; transition:all .2s var(--ease);
  white-space:nowrap; display:flex; align-items:center; gap:8px;
  border-bottom:2px solid transparent; border-radius:8px 8px 0 0;
}
.admin-tab i{font-size:.9rem; opacity:.7; transition:opacity .2s var(--ease);}
.admin-tab:hover{color:var(--text); background:rgba(var(--primary-rgb),.02);}
.admin-tab:hover i{opacity:.9;}
.admin-tab.ativo{color:var(--accent); border-bottom-color:var(--accent); font-weight:700;}
.admin-tab.ativo i{color:var(--accent); opacity:1;}

/* ============ CERTIFICADO ============ */
.cert-wrap{display:flex; flex-direction:column; align-items:center; gap:20px;}
#certCanvas{max-width:100%; border-radius:var(--radius); box-shadow:var(--shadow-card); background:#fff;}

/* ============ CHECKOUT ============ */
.overlay{position:fixed; inset:0; background:rgba(15,23,42,.55); backdrop-filter:blur(6px); display:none; align-items:stretch; justify-content:center; z-index:200; padding:0;}
.overlay.aberto{display:flex;}
.modal{background:#fff; border-radius:0; width:100%; height:100%; padding:24px 28px; overflow-y:auto; box-shadow:none; animation:fadeIn .3s var(--ease); display:flex; flex-direction:column;}
.modal-topo{display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; flex-shrink:0; padding-bottom:16px; border-bottom:1px solid var(--border-card);}
.modal-topo h3{font-size:1.1rem; font-weight:700;}
.modal-topo button{background:var(--bg); width:36px; height:36px; border-radius:8px; display:flex; align-items:center; justify-content:center; transition:all .2s var(--ease); flex-shrink:0; color:var(--text);}
.modal-topo button:hover{background:#e2e8f0; transform:rotate(90deg);}
.metodo-tabs{display:flex; gap:6px; margin-bottom:16px;}
.metodo-tabs button{flex:1; padding:10px 4px; border:1px solid var(--border); font-size:.76rem; font-weight:700; display:flex; flex-direction:column; align-items:center; gap:4px; color:var(--text-muted); border-radius:var(--radius-sm); transition:all .2s var(--ease);}
.metodo-tabs button.ativo{border-color:var(--accent); color:var(--text); background:rgba(99,102,241,.04);}
.pane-metodo{display:none;}
.pane-metodo.ativo{display:block; animation:fadeIn .25s var(--ease);}
.pix-box{text-align:center; padding:16px; border:1px dashed var(--border); border-radius:var(--radius);}
.pix-box .qr{width:130px; height:130px; margin:0 auto 10px; background:repeating-conic-gradient(var(--dark) 0% 25%, #fff 0% 50%) 0 0/20px 20px; border-radius:var(--radius-sm);}

/* ============ TOAST ============ */
.toast{
  position:fixed; bottom:22px; left:50%; transform:translateX(-50%) translateY(200%);
  background:var(--primary); color:#fff; padding:12px 22px; border-radius:var(--radius-sm);
  font-size:.84rem; font-weight:600; display:flex; align-items:center; gap:8px;
  transition:transform .35s var(--ease), opacity .35s var(--ease); z-index:300;
  box-shadow:0 8px 24px rgba(0,0,0,.15);
  opacity:0; visibility:hidden; pointer-events:none;
}
.toast.mostrar{transform:translateX(-50%) translateY(0); opacity:1; visibility:visible; pointer-events:auto;}

/* ============ CARRINHO LATERAL ============ */
.carrinho-panel{
  position:fixed; top:0; right:0; bottom:0; width:380px; max-width:90vw;
  background:var(--surface); z-index:110; display:flex; flex-direction:column;
  box-shadow:-8px 0 40px rgba(0,0,0,.15);
  transform:translateX(100%); transition:transform .35s var(--ease);
}
.carrinho-panel.aberto{transform:translateX(0);}
.carrinho-topo{display:flex; justify-content:space-between; align-items:center; padding:16px 20px; border-bottom:1px solid var(--border-card);}
.carrinho-topo h3{font-size:.95rem; font-weight:700; display:flex; align-items:center; gap:8px;}
.carrinho-lista{flex:1; overflow-y:auto; padding:16px 20px;}
.carrinho-item{display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--border-card); animation:fadeIn .3s var(--ease);}
.carrinho-item img{width:52px; height:52px; object-fit:cover; border-radius:var(--radius-sm); flex-shrink:0;}
.carrinho-item-info{flex:1; min-width:0;}
.carrinho-item-info h4{font-size:.82rem; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.carrinho-item-info span{font-size:.84rem; color:var(--accent); font-weight:700;}
.carrinho-footer{padding:16px 20px; border-top:1px solid var(--border-card); background:var(--bg);}
.carrinho-total{display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; font-size:1rem;}

/* ============ SEARCH ============ */
.search-resultados{
  position:absolute; top:calc(100% + 6px); left:0; right:0;
  background:var(--surface); border:1px solid var(--border-card); border-radius:var(--radius);
  box-shadow:var(--shadow-lg); max-height:300px; overflow-y:auto;
  display:none; z-index:200;
}
.header-search{position:relative;}
.search-item{
  display:flex; align-items:center; gap:10px; padding:10px 14px;
  font-size:.82rem; cursor:pointer; border-bottom:1px solid var(--border-card);
  transition:background .15s var(--ease);
}
.search-item:last-child{border-bottom:none;}
.search-item:hover{background:var(--bg);}
.search-item img{width:40px; height:40px; object-fit:cover; border-radius:var(--radius-sm); flex-shrink:0;}

/* ============ CHECKOUT ITEMS ============ */
.checkout-itens{max-height:160px; overflow-y:auto; margin-bottom:12px;}
.checkout-item{display:flex; justify-content:space-between; padding:8px 0; font-size:.84rem; border-bottom:1px solid var(--border-card);}
.checkout-total-linha{display:flex; justify-content:space-between; align-items:center; padding:12px 0; font-size:1.1rem; font-weight:700; border-bottom:1px solid var(--border-card); margin-bottom:16px;}

/* ============ MODAL FORM ============ */
.modal-body{max-width:640px; width:100%; margin:0 auto; flex:1;}
.modal-body-full{width:100%; flex:1;}
.modal-form .campo{margin-bottom:14px;}
.modal-form .campo label{display:block; font-size:.7rem; font-weight:700; margin-bottom:5px; text-transform:uppercase; color:var(--text-muted);}
.modal-form .campo input,.modal-form .campo textarea,.modal-form .campo select{
  width:100%; padding:10px 14px; border:1px solid var(--border); border-radius:var(--radius-sm);
  font-size:.88rem; background:var(--surface);
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.modal-form .campo input:focus,.modal-form .campo textarea:focus{border-color:var(--accent); background:#fff; box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1); outline:none;}

/* ============ COMMUNITY ============ */
.community-grid{display:grid; gap:14px;}
.post-card{background:var(--surface); border:1px solid var(--border-card); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow-sm); transition:all .25s var(--ease); animation:fadeIn .4s var(--ease);}
.post-card:hover{box-shadow:var(--shadow-card);}
.post-header{display:flex; align-items:center; gap:10px; margin-bottom:12px;}
.post-avatar{width:36px; height:36px; border-radius:var(--radius-sm); background:var(--accent); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:.75rem; flex-shrink:0;}
.post-meta{font-size:.76rem; color:var(--text-muted);}
.post-meta strong{color:var(--text); display:block; font-size:.84rem;}
.post-texto{font-size:.88rem; line-height:1.6; margin-bottom:12px;}
.post-acoes{display:flex; gap:16px; padding-top:10px; border-top:1px solid var(--border-card);}
.post-acoes button{display:flex; align-items:center; gap:6px; font-size:.76rem; font-weight:600; color:var(--text-muted); transition:color .2s var(--ease);}
.post-acoes button:hover{color:var(--accent);}

/* ============ MENU OVERLAY ============ */
.menu-overlay{
  position:fixed; inset:0; background:rgba(15,23,42,.4); backdrop-filter:blur(4px);
  opacity:0; pointer-events:none;
  transition:opacity .3s var(--ease);
}
.menu-overlay.aberto{opacity:1; pointer-events:auto;}
/* Overlay do carrinho: abaixo do painel (z-index 110) */
#carrinhoOverlay{z-index:109;}
/* Overlay do menu lateral: abaixo do sidebar (z-index 200) */
#menuOverlay{z-index:199;}
.app-fechar{
  display:none; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:var(--radius-sm);
  background:rgba(255,255,255,.08); color:#fff;
  margin-left:auto; font-size:.85rem;
  transition:background .2s var(--ease);
}
.app-fechar:hover{background:rgba(255,255,255,.15);}

/* ============ RESPONSIVE ============ */
@media (max-width:960px){
  .products-grid{grid-template-columns:repeat(2,1fr);}
  .sobre-inner{grid-template-columns:1fr;}
  .footer-cols{grid-template-columns:1fr 1fr;}
  .como-grid{grid-template-columns:1fr 1fr;}
  .header-nav{
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    position:fixed; top:var(--header-h); left:0; right:0;
    background:var(--primary); max-height:0; overflow:hidden;
    opacity:0; visibility:hidden;
    transition:max-height .3s var(--ease), opacity .25s var(--ease), visibility .25s;
    z-index:99; box-shadow:0 12px 32px rgba(0,0,0,.3);
  }
  .header-nav.mobile-aberto{
    max-height:calc(100vh - var(--header-h)); opacity:1; visibility:visible; overflow-y:auto;
  }
  /* Todos os links do menu mobile com visual igual */
  .header-nav a{padding:16px 20px; width:100%; border-bottom:1px solid rgba(255,255,255,.06); font-size:.92rem;}
  .header-search{display:none;}
  /* Hamburger visível e actions empurrados para direita */
  .site-header .hamburger{display:flex; position:relative; z-index:101;}
  .header-actions{margin-left:auto;}
  .banner-arrow{display:none;}
}
@media (min-width:641px){
  /* Apenas o hamburger do app-shell some no desktop */
  .app-topo .hamburger{display:none !important;}
}
@media (max-width:640px){
  .products-grid,.depoimentos-grid,.planos-grid,.como-grid{grid-template-columns:1fr;}
  .footer-cols{grid-template-columns:1fr;}
  .painel-cards{grid-template-columns:1fr 1fr;}

  /* Sidebar vira overlay deslizante */
  .app-shell{grid-template-columns:1fr; overflow:hidden;}
  .app-lateral{
    position:fixed; top:0; bottom:0; left:0; width:260px; z-index:200;
    transform:translateX(-100%); height:100vh;
    transition:transform .3s var(--ease);
    box-shadow:none;
    overflow-y:auto;
  }
  .app-lateral.aberta{transform:translateX(0); box-shadow:16px 0 40px rgba(0,0,0,.3);}
  .app-lateral .app-fechar{display:flex;}

  /* Conteúdo principal */
  .app-main{padding:16px 14px; overflow-x:hidden; width:100%;}
  .app-topo{padding:14px 16px; gap:10px;}
  .app-topo h1{font-size:1rem;}

  /* Admin tabs viram grid 2 colunas no mobile */
  .admin-tabs{display:grid; grid-template-columns:1fr 1fr; gap:4px; overflow-x:visible; border-bottom:none;}
  .admin-tab{text-align:center; padding:10px 8px; font-size:.74rem; border-bottom:none; border-radius:8px;}
  .admin-tab.ativo{border-bottom:none; background:rgba(var(--accent-rgb),.08);}
  .cfg-row{grid-template-columns:1fr;}

  /* Tabelas viram cards empilhados no mobile */
  .tabela-wrap{border:none; background:transparent; box-shadow:none; border-radius:0;}
  table{display:block;}
  thead{display:none;}
  tbody{display:flex; flex-direction:column; gap:12px;}
  tr{
    display:flex; flex-direction:column; gap:0;
    background:var(--surface); border:1px solid var(--border-card);
    border-radius:var(--radius); overflow:hidden;
    box-shadow:var(--shadow-sm); padding:0;
  }
  td{padding:12px 14px; border-top:none; font-size:.82rem;}
  td:first-child{padding-bottom:4px;}
  td:last-child{
    display:flex; gap:8px; flex-wrap:wrap;
    padding:10px 14px 14px;
    border-top:1px solid var(--border-card);
  }

  /* Card layout spécifique pour cours */
  .curso-nome-cell{gap:12px; min-width:0;}
  .curso-nome-cell img{width:48px; height:48px;}
  .curso-nome-cell strong{font-size:.9rem;}
  .curso-nome-cell small{font-size:.74rem;}
  .curso-stats-cell{display:flex; flex-wrap:wrap; gap:6px; padding:0 14px 6px;}
  .stat-pill{font-size:.78rem; padding:5px 12px;}
  .stat-pill i{font-size:.78rem;}
  .curso-preco{font-size:.92rem;}
  .curso-acoes-cell{gap:8px;}
  .curso-acoes-cell .acao-btn{width:36px; height:36px; font-size:.85rem;}

  /* Cards de progresso / KPIs */
  .progresso-wrap{flex-direction:column; align-items:flex-start; gap:12px;}

  /* Botão de logout mobile (visível apenas em mobile) */
  .btn-logout-mobile{display:inline-flex !important;}

  /* Formulários e inputs não estouram */
  *,*::before,*::after{box-sizing:border-box;}
  input,select,textarea{max-width:100%; box-sizing:border-box;}
  .form-group{max-width:100%;}
  .app-main{min-width:0;}
  .painel-cards{gap:10px;}
  .pcard{padding:14px;}
  .pcard b{font-size:1.2rem;}

  /* Prevenir scroll horizontal */
  html,body{overflow-x:hidden;}
  .app-shell{max-width:100vw;}
}
@media (max-width:420px){
  .painel-cards{grid-template-columns:1fr;}
  .app-topo{flex-direction:column; align-items:stretch;}
  .app-topo .btn{width:100%; justify-content:center;}
}

/* "Entrar" no menu mobile — oculto no desktop, igual aos outros links no dropdown */
.nav-entrar{display:none;}
@media (max-width:960px){
  .nav-entrar{display:block;}
  .header-entrar-desktop{display:none !important;}
}

/* Logout mobile — oculto no desktop, visível no mobile via CSS acima */
.btn-logout-mobile{
  display:none;
  color:var(--error) !important;
  border-color:rgba(204,89,91,.4) !important;
  padding:8px 14px !important;
  font-size:.8rem !important;
  white-space:nowrap;
}
