/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f7fa;
    color: #1a1a1a;
    line-height: 1.6;
}

html, body {
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

:root {
    --header-height: 80px;
}

body {
    padding-top: calc(var(--header-height) + 32px);
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
}


/* =========================
   TOP BAR (REDES SOCIAIS)
========================= */
.top-bar{
background:#00c853;
color:#fff;
font-size:13px;
width:100%;
position:fixed;
top:0;
z-index:1100;
}

.top-bar-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:6px 20px;
}

.top-bar-text{
font-weight:500;
}

.top-bar-social{
display:flex;
align-items:center;
gap:12px;
}

.top-bar-social a{
display:flex;
align-items:center;
justify-content:center;
color:#fff;
opacity:0.9;
transition:0.25s;
}

.top-bar-social a:hover{
opacity:1;
transform:scale(1.1);
}

.top-bar-social svg{
fill:white;
}


/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 32px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease; /* 🔥 animação suave */
    width: 100%;
}

/* ESTADO AO ROLAR */
.header.scrolled {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 12px 40px; /* 🔥 mantém alinhado (ANTES QUEBRAVA) */
    background: rgba(255,255,255,0.92); /* leve transparência */
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;

    transition: all 0.25s ease;
}

/* 🔥 efeito geral */
.logo:hover {
    filter: brightness(1.05);
}

/* 🔥 imagem */
.logo img {
    transition: transform 0.25s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* 🔥 texto */
.logo-text {
    transition: all 0.25s ease;
}

.logo:hover .logo-text {
    opacity: 0.85;
}


.logo img {
    height: 38px;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .top {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}

.logo-text .bottom {
    font-size: 1rem;
    font-weight: 800;
    color: #00c853;
}

.logo-text .top {
    letter-spacing: 0.3px;
}

.logo-text .bottom {
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav a:hover {
    background: #00c853;
    color: #fff;
    padding: 5px 14px;
    border-radius: 6px;
    transition: 0.3s;
}


.btn-nav {
    background: #00c853;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
}

/* HERO */
.hero {
    position: relative;
    height: 90vh;
    background: url("/static/images/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* OVERLAY */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85) 20%,
        rgba(0,0,0,0.6) 60%,
        rgba(0,0,0,0.3) 100%
    );

    backdrop-filter: blur(2px);
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    color: #fff;
    max-width: 700px;
    padding: 10px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 35px;
}

.hero p {
    font-size: 1.2rem;
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 30% 40%,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.8)
    );
}

.hero h1 {
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero p {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}



/* BOTÕES */
.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #005724, #00e676);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
}

a.btn.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #00aaff);;
}

/* GLOW EFFECT */
.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    top: 20%;
    left: 65%;
}

/* CARDS */
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 40px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 240px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card i {
    font-size: 26px;
    margin-bottom: 10px;
    color: #00c853;
}

/* SECTION */
.section {
    padding: 70px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section h2 {
    margin-bottom: 20px;
}

.section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.section li {
    margin: 12px 0;
}

/* CTA FINAL */
.cta {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #00c853, #00e676);
    color: white;
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* ESCONDER BOTÃO FECHAR NO DESKTOP */
.menu-close {
    display: none;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .header {
        padding: 15px 20px;
    }

    /* MENU LATERAL (AJUSTADO) */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 40px 20px;
        transition: 0.3s ease;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        display: flex; /* IMPORTANTE */
        align-items: stretch;
    }

    .nav a {
        margin: 15px 0;
        font-size: 1.1rem;
    }

    .nav.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    /* BOTÃO FECHAR */
    .menu-close {
        display: block;
        font-size: 22px;
        margin-bottom: 20px;
        cursor: pointer;
        align-self: flex-end;
    }

    /* OVERLAY */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 100;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* MANTENDO SEU RESTO */
    .hero {
        height: 10%;
        padding: 10px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .cards {
        padding: 40px 20px;
    }

    .hero::after {
        width: 35%;
    }
}


.video {
    padding: 80px 20px;
    text-align: center;
}

.video h2 {
    margin-bottom: 20px;
}

p.video-sub {
    margin-bottom: 10px;
}


/* Primeiro */
.video-sub .highlight {
    position: relative;
    font-weight: 600;
}

.video-sub .highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 4px;

    background: linear-gradient(135deg, #c80000, #e60000);
    border-radius: 2px;

    opacity: 0.4;
}




/* RESPONSIVO (IMPORTANTE) */
.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: none;
}



/* BOTÃO WHATSAPP FLUTUANTE */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #00c853, #00e676);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 999;
    transition: transform 0.2s ease;
}

/* HOVER */
.whatsapp-float:hover {
    transform: scale(1.08);
}

/* PULSO DISCRETO */
.whatsapp-float::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0,200,83,0.3);
    animation: pulse 2.5s infinite;
    z-index: -1;
}

/* ANIMAÇÃO SUAVE */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}


/* BOTÃO TELEGRAM FLUTUANTE */
.telegram-float {
    position: fixed;
    bottom: 90px; /* acima do WhatsApp */
    right: 20px;

    width: 58px;
    height: 58px;

    background: linear-gradient(135deg, #0088cc, #00aaff);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 999;

    transition: transform 0.2s ease;
}

/* HOVER */
.telegram-float:hover {
    transform: scale(1.08);
}

/* PULSO TELEGRAM */
.telegram-float::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0,136,204,0.3); /* azul Telegram */
    animation: pulseTelegram 2.5s infinite;
    z-index: -1;
}

/* ANIMAÇÃO TELEGRAM */
@keyframes pulseTelegram {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}



/* =======================
   FOOTER
======================= */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* =======================
   BRAND
======================= */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    width: 140px;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 14px;
    color: #cbd5f5;
    margin-bottom: 15px;
}

.footer-hold {
    font-size: 13px;
    color: #94a3b8;
}

/* =======================
   LINKS
======================= */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #cbd5f5;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00e676;
}

/* =======================
   CONTATO
======================= */
.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-contact {
    display: flex;
    flex-direction: column;
}

/* CONTAINER DOS BOTÕES */
.footer-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* BOTÃO BASE */
.footer-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    border-radius: 8px;

    color: white;
    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
    min-width: 130px;
}

/* WHATSAPP */
.footer-whatsapp {
    background: #00c853;
}

.footer-whatsapp:hover {
    transform: scale(1.05);
}

/* TELEGRAM */
.footer-telegram {
    background: linear-gradient(135deg, #0088cc, #00aaff);
}

.footer-telegram:hover {
    transform: scale(1.05);
}

/* ÍCONES */
.footer-buttons a svg {
    flex-shrink: 0;
}

/* =======================
   REDES SOCIAIS
======================= */
.footer-social a {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 10px;
    text-decoration: none;
    color: #cbd5f5;
    font-size: 14px;

    transition: 0.25s;
}

.footer-social a:hover {
    color: #00e676;
    transform: translateX(4px);
}

.footer-social svg {
    flex-shrink: 0;
    transition: 0.25s;
}

.footer-social a:hover svg {
    transform: scale(1.1);
}

/* =======================
   FOOTER BOTTOM
======================= */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;

    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

.footer-voraxus {
    margin-top: 5px;
}

/* =======================
   WRAPPER
======================= */
.float-wrapper {
    position: fixed;
    right: 20px;
    z-index: 999;
}

/* POSIÇÃO */
.whatsapp-wrapper {
    bottom: 5%;
}

.telegram-wrapper {
    bottom: 13%;
}

/* =======================
   BALÃO
======================= */
.float-msg {
    position: absolute;
    right: 70px;
    bottom: 50%;

    transform: translateY(50%) translateX(20px);
    opacity: 0;

    background: #111827;
    color: #fff;
    font-size: 13px;

    padding: 8px 12px;

    border-radius: 10px 10px 2px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);

    white-space: nowrap;

    /* 🔥 ESSENCIAL */
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
    pointer-events: none;
}

/* =======================
   SETA (rabinho do balão)
======================= */
.float-msg::after {
    content: "";
    position: absolute;

    right: -6px; /* gruda no botão */
    top: 50%;

    transform: translateY(-50%);

    width: 0;
    height: 0;

    border-left: 6px solid #111827; /* cor do balão */
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* =======================
   ATIVO
======================= */
.float-wrapper.show .float-msg {
    opacity: 1;
    transform: translateY(50%) translateX(0);
}

.msg-text {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.float-wrapper.show .msg-text.active {
    opacity: 1;
}

/* DIGITANDO */
.typing {
    display: none;
    align-items: center;
    gap: 4px;
}

.typing span {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;

    opacity: 0.3;
    animation: typingBounce 1.4s infinite;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

/* =======================
   RESPONSIVO
======================= */
@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        max-width: 100%;
    }

    .footer-copy {
        justify-content: center;
    }

    .footer-buttons {
        justify-content: center;
    }

    /* POSIÇÃO */
    .whatsapp-wrapper {
        bottom: 6%;
    }
    .telegram-wrapper {
        bottom: 14%;
    }
}

@keyframes typingBounce {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

/* =======================
   COPIAR CONTATO (NOVO)
======================= */
.footer-copy {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 8px;

    font-size: 13px;
    color: #cbd5f5;

    cursor: pointer;
    transition: 0.25s;
}

.footer-copy:hover {
    color: #00e676;
    transform: translateX(3px);
}

.footer-copy svg {
    flex-shrink: 0;
}

.footer-copy.copied {
    color: #00e676;
}



/* =============================================================================================
   LISTA COM ÍCONES (PADRÃO)
================================================================================================ */

.icon-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;

    font-size: 0.98rem;
    color: #374151;
    line-height: 1.6;
}

.icon-list li:last-child {
    border-bottom: none;
}


/* =========================
   SVG PADRONIZADO
========================= */

.icon-list svg {
    width: 22px;
    height: 22px;

    stroke: #00c853;
    stroke-width: 2;

    fill: none;

    flex-shrink: 0;

    margin-top: 2px;
}


/* =========================
   HOVER SUAVE (premium)
========================= */

.icon-list li:hover {
    background: #f9fafb;
    border-radius: 8px;
    padding-left: 8px;
    transition: all 0.2s ease;
}


/* =========================
   LINK DENTRO DA SECTION
========================= */

.section a {
    color: #00c853;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 200, 83, 0.3);
}

.section a:hover {
    border-bottom: 1px solid #00c853;
}

.section.errors {
    border-left: 4px solid #ef4444;
    background: #fffafa;
}

.section.errors .icon-list svg {
    stroke: #ef4444;
}

/* =========================
   AJUSTE RESPONSIVO
========================= */

@media (max-width: 768px) {

    .icon-list li {
        font-size: 0.95rem;
        gap: 10px;
    }

    .icon-list svg {
        width: 20px;
        height: 20px;
    }

}


/* =========================
   DROPDOWN PROFISSIONAL
========================= */

.dropdown {
    position: relative;
}

/* MENU */
.dropdown-menu {
    position: absolute;
    top: 23px;
    left: 0;

    background: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    min-width: 220px;
    z-index: 999;

    /* 🔥 ANIMAÇÃO */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.25s ease;
}

/* LINKS */
.dropdown-menu a {
    display: block;
    margin: 8px 0;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
}

/* 🔥 ABRIR SUAVE */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-top {
    display: none;
}

@media (max-width: 768px) {
    .menu-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .dropdown-menu {
        position: static;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        display: none;
        box-shadow: none;
        padding-left: 15px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .top-bar-container{
        padding:5px 15px;
        font-size:12px;
    }
        
        .header{
        top:29px;
    }
        
        body{
        padding-top: calc(var(--header-height) + 30px);
    }
}



/* DESTAQUE PRINCIPAL ========================================*/
.highlight-primary{
color:var(--green-primary);
font-weight:700;
}

/* DESTAQUE SECUNDÁRIO */
.highlight-secondary {
    color: #ffffff;
    font-weight: 800;
}

/* OPCIONAL: EFEITO PREMIUM */
.highlight-primary,
.highlight-secondary{
position:relative;
}

.highlight-primary::after{
background:var(--green-primary);
}


.highlight-primary{
background:linear-gradient(135deg,#23ff7e,#00e676);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
font-weight:800;
}

.highlight-secondary{
background:linear-gradient(135deg,#ffd700);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
font-weight:800;
}

/* Sublinhado dos parágrafos ----------------------------------------*/
.underline-highlight {
    position: relative;
    font-weight: 700;
    color: inherit;
    white-space: nowrap;
}

.underline-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;

    width: 100%;
    height: 2px;

    background: linear-gradient(135deg, #19ff79);
    border-radius: 2px;
    opacity: 0.5;

    z-index: -1;
}

.underline-highlight.danger::after {
    background: linear-gradient(135deg, #fff);
    opacity: 0.5;
}


/* Copiar número de telefone -------------------------------*/
.copy-number {
    display: flex;
    align-items: center;
    gap: 6px;

    cursor: pointer;
    font-weight: 600;
    font-size: 13px;

    transition: all 0.25s ease;
}

.copy-number:hover {
    color: #00e676;
    transform: scale(1.03);
}

.phone-icon {
    transition: transform 0.25s ease;
}

.copy-number:hover .phone-icon {
    transform: rotate(-8deg) scale(1.1);
}

/* feedback quando copiar */
.copy-number.copied {
    color: #00e676;
}

/* Remove o azul do numero */
.copy-number,
.copy-number a {
    color: inherit !important;
    text-decoration: none !important;
}

/* iOS auto-detect fix */
a[href^="tel"] {
    color: inherit !important;
    text-decoration: none !important;
}


/* Onde fazia apostila de Haia */
.underline-strong{
text-decoration: underline;
text-decoration-thickness: 3px;
text-underline-offset: 3px;
text-decoration-color: #00c853;
font-weight: 600;
}

.underline-danger{
text-decoration: underline;
text-decoration-thickness: 3px;
text-underline-offset: 3px;
text-decoration-color: #ff1744;
font-weight: 600;
}

/* Chamada para açao */
.cta-main{
display:block;
width:100%;
max-width:420px;
margin:15px auto 0 auto;
background:#00c853;
color:#fff !important;
padding:14px 18px;
text-align:center;
border-radius:6px;
font-weight:700;
text-decoration:none;
}
.cta-main:hover{
background:#00b248;
}