/* ============================================================
   AD ACADEMY — HOME (LIGHT THEME)
   Design: Elegante, Moderno, Profissional
   ============================================================ */

/* === RESET & VARS === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --c-white: #ffffff;
    --c-bg: #ffffff;
    --c-bg-alt: #ffffff;
    --c-surface: #ffffff;
    --c-border: #F1F5F9;
    --c-text: #0F172A;
    --c-text-2: #64748B;
    --c-text-3: #94A3B8;
    --c-accent: #4F46E5;
    --c-accent-dk: #3730A3;
    --c-accent-lt: #EEF2FF;
    --c-accent-2: #7C3AED;
    --c-orange: #F97316;
    --c-green: #10B981;
    --c-red: #EF4444;
    --c-yellow: #F59E0B;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, .12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, .16);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: 'Inter', system-ui, sans-serif;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--c-bg);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--c-accent);
}

/* === SHARED LAYOUT === */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 800;
    color: var(--c-text);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 0.6rem;
}

.text-accent {
    color: var(--c-accent);
}

.section-desc {
    color: var(--c-text-2);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-border);
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.brand-logo:hover .logo-light {
    transform: rotate(-10deg) translateY(-5px);
    filter: drop-shadow(0 10px 15px rgba(79, 70, 229, 0.3));
}

.logo-light { 
    height: 60px; 
    width: auto; 
    object-fit: contain; 
    padding: 5px 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza os links no espaço disponível */
    gap: 2.2rem;
    flex-grow: 1;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-text-2);
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-accent);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--c-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.btn-login {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--c-text-2);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-login:hover {
    color: var(--c-accent);
}

.btn-register {
    font-size: 0.88rem;
    font-weight: 700;
    color: white;
    background: var(--c-accent);
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(79, 70, 229, .35);
}

button.btn-register {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-register:hover {
    background: var(--c-accent-dk);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, .4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* === HERO === */
.hero-section {
    padding: 80px 2.5rem 0px; /* 80px é exatamente a altura do header. Fica 100% encostado na linha do menu */
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

/* Blobs removidos para visual minimalista */
.hero-bg-blob {
    display: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr; /* Dando um pouco mais de espaço para o texto */
    align-items: center;
    gap: 4rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag-label {
    font-size: 0.8rem;
    color: var(--c-text-2);
    font-weight: 500;
}

.tag-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--c-accent);
    background: var(--c-accent-lt);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    transition: var(--transition);
}

.tag-link:hover {
    background: var(--c-accent);
    color: white;
}

.hero-headline {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
    color: var(--c-text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.highlight {
    background: linear-gradient(135deg, #4F46E5, #7C3AED, #EC4899, #4F46E5);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    text-shadow: 0 10px 20px rgba(124, 58, 237, 0.1);
    animation: gradientFlow 6s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--c-text-2);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-block;
    background: var(--c-accent);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -60%; }
    100% { left: 160%; }
}

.cta-primary:hover { 
    background: var(--c-accent-dk); 
    transform: translateY(-3px); 
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.5); 
}

.cta-secondary {
    display: inline-block;
    background: white;
    color: var(--c-accent);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--c-accent);
    transition: var(--transition);
}

.cta-secondary:hover {
    background: var(--c-accent-lt);
    transform: translateY(-2px);
}

/* Hero Visual & Carousel */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 560px;
    margin-right: -2rem;
    width: 100%;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
    pointer-events: none; /* Evita que cards ocultos bloqueiem hover */
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

.hero-person-img {
    height: 580px; 
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(79, 70, 229, 0.15));
    margin-bottom: -50px; 
    transform-origin: bottom center;
    /* Suaviza TODAS as bordas (efeito vignette de máscara) para remover cortes retos. Protege o rosto (cima) e esfumaça cantos. */
    -webkit-mask-image: radial-gradient(ellipse 85% 90% at 50% 40%, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(ellipse 85% 90% at 50% 40%, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
}

.hero-visual::before {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(79, 70, 229, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(40px);
}

.slide-badge {
    position: absolute;
    top: 5%;
    right: 0%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--c-text);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.7);
    z-index: 10;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

.hero-slide.active .slide-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s; /* Entra um pouco depois da foto */
}

@keyframes floatCard {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-16px);
    }
}

.card-icon {
    font-size: 1.5rem;
}

.card-text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--c-text);
}

.card-text small {
    font-size: 0.75rem;
    color: var(--c-text-2);
}

/* === STATS BAR === */
.stats-bar {
    background: white;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--c-accent);
    letter-spacing: -1px;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--c-text-2);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--c-border);
}

/* === HOW SECTION === */
.how-section {
    padding: 100px 2rem;
    background: var(--c-bg);
}

.how-section .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.how-left h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1.2rem;
}

.how-desc {
    color: var(--c-text-2);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.how-stat-badges {
    display: flex;
    gap: 1.5rem;
}

.how-badge {
    background: white;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.badge-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-accent);
}

.badge-label {
    font-size: 0.8rem;
    color: var(--c-text-2);
}

.how-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--c-accent);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.step-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--c-accent);
    opacity: 0.3;
    flex-shrink: 0;
    line-height: 1;
}

.step-body h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.step-body p {
    font-size: 0.88rem;
    color: var(--c-text-2);
    line-height: 1.6;
}

/* === WHY SECTION === */
.why-section {
    padding: 100px 2rem;
    background: white;
}

.why-section h2 {
    margin-bottom: 0.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.benefit-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--c-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.benefit-card p {
    font-size: 0.85rem;
    color: var(--c-text-2);
    line-height: 1.7;
}

/* === COURSES SECTION === */
.courses-section {
    padding: 100px 2rem;
    background: var(--c-bg);
}

.courses-section h2 {
    margin-bottom: 0.5rem;
}

.category-tabs {
    display: flex;
    gap: 0.6rem;
    margin: 2.5rem auto;
    flex-wrap: wrap;
    justify-content: center;
}

.cat-tab {
    background: white;
    border: 1.5px solid var(--c-border);
    color: var(--c-text-2);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cat-tab:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}

.cat-tab.active {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: white;
}

.cat-count {
    opacity: 0.7;
    font-size: 0.75rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: white;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--c-accent);
}

.course-card[style*="display: none"] {
    display: none !important;
}

.course-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--c-bg-alt);
}

.course-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-img-wrap img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.badge-free {
    background: rgba(16, 185, 129, .9);
    color: white;
}

.badge-gold {
    background: rgba(245, 158, 11, .9);
    color: white;
}

.course-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.course-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.cat-cisco {
    background: #EFF6FF;
    color: #2563EB;
}

.cat-redes {
    background: #F0FDF4;
    color: #16A34A;
}

.cat-linux {
    background: #FFF7ED;
    color: #EA580C;
}

.cat-cloud {
    background: #EEF2FF;
    color: #4F46E5;
}

.cat-academy {
    background: #FDF4FF;
    color: #9333EA;
}

.course-body h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.course-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--c-text-2);
    margin-bottom: 1rem;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--c-text-2);
}

.price-tag.free {
    color: var(--c-green);
}

.btn-course {
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    background: var(--c-accent);
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-course:hover {
    background: var(--c-accent-dk);
}

/* === FREE COURSES === */
.free-section {
    padding: 100px 2rem;
    background: white;
}

.free-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.free-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition);
}

.free-card:hover {
    border-color: var(--c-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.free-card strong {
    font-size: 0.95rem;
}

.free-cat {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    display: inline-block;
}

.free-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: var(--c-text-2);
}

.tag-free {
    background: rgba(16, 185, 129, .1);
    color: var(--c-green);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

/* === PARTNER SECTION === */
.partner-section {
    padding: 80px 2rem;
    background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
    color: white;
}

.partner-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.badge-exclusive {
    display: inline-block;
    background: rgba(255, 255, 255, .2);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, .3);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.partner-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.partner-text h2 span {
    color: rgba(255, 255, 255, .85);
    -webkit-text-fill-color: rgba(255, 255, 255, .85);
}

.partner-text p {
    color: rgba(255, 255, 255, .85);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.partner-note {
    color: rgba(255, 255, 255, .6);
    font-size: 0.82rem;
}

.partner-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.partner-img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.partner-stat {
    text-align: center;
    color: white;
}

.partner-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
}

.partner-stat span {
    font-size: 0.82rem;
    opacity: 0.8;
}

/* === TESTIMONIALS === */
.testimonials-section {
    padding: 100px 2rem;
    background: var(--c-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testi-card {
    background: white;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--c-yellow);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.testi-card p {
    font-size: 0.9rem;
    color: var(--c-text-2);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testi-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testi-author strong {
    display: block;
    font-size: 0.88rem;
}

.testi-author small {
    font-size: 0.75rem;
    color: var(--c-text-3);
}

/* === PRICING === */
.pricing-section {
    padding: 100px 2rem;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.plan-card {
    background: var(--c-bg);
    border: 2px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.plan-card:hover {
    box-shadow: var(--shadow-lg);
}

.plan-featured {
    background: var(--c-text);
    border-color: var(--c-text);
    color: white;
}

.plan-featured .plan-header h3,
.plan-featured .plan-header p {
    color: rgba(255, 255, 255, .9);
}

.plan-featured .plan-features li {
    color: rgba(255, 255, 255, .85);
}

.plan-best-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    white-space: nowrap;
}

.plan-header {
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.plan-header p {
    font-size: 0.85rem;
    color: var(--c-text-2);
}

.plan-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--c-accent);
    line-height: 1;
}

.plan-featured .price-amount {
    color: white;
}

.price-cents {
    font-size: 1.5rem;
}

.price-period {
    font-size: 0.9rem;
    color: var(--c-text-2);
}

.plan-featured .price-period {
    color: rgba(255, 255, 255, .6);
}

.price-or {
    font-size: 0.88rem;
    color: var(--c-text-2);
    margin-top: 0.3rem;
}

.plan-featured .price-or {
    color: rgba(255, 255, 255, .7);
}

.price-or strong {
    color: var(--c-accent);
}

.plan-featured .price-or strong {
    color: #93C5FD;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.plan-features li {
    font-size: 0.88rem;
}

.feat-yes {
    color: var(--c-text);
}

.feat-no {
    color: var(--c-text-3);
}

.feat-warn {
    color: var(--c-yellow);
}

.btn-plan {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.btn-plan-outline {
    border: 2px solid var(--c-border);
    color: var(--c-text);
}

.btn-plan-outline:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}

.btn-plan-primary {
    background: white;
    color: var(--c-text);
}

.btn-plan-primary:hover {
    background: var(--c-accent);
    color: white;
    transform: translateY(-2px);
}

.guarantee-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.88rem;
    color: var(--c-text-2);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* === FAQ === */
.faq-section {
    padding: 100px 2rem;
    background: var(--c-bg);
}

.faq-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 5rem;
    align-items: start;
}

.faq-heading h2 {
    margin-bottom: 0.5rem;
}

.faq-heading p {
    color: var(--c-text-2);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--c-border);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.25rem 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--c-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font);
    transition: var(--transition);
}

.faq-q:hover {
    color: var(--c-accent);
}

.faq-ico {
    font-size: 1.2rem;
    color: var(--c-accent);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-ico {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-a {
    max-height: 300px;
}

.faq-a p {
    font-size: 0.88rem;
    color: var(--c-text-2);
    line-height: 1.8;
    padding-bottom: 1.25rem;
}

/* === FOOTER === */
.site-footer {
    background: radial-gradient(circle at 15% 30%, rgba(79, 70, 229, 0.08) 0%, transparent 40%),
                linear-gradient(180deg, #10141d 0%, #0a0c10 100%);
    color: rgba(255, 255, 255, .8);
    padding: 80px 2rem 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.3), transparent);
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    object-fit: contain;
    transition: var(--transition);
}

.footer-logo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.3);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    position: relative;
    z-index: 2;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 340px;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--c-accent);
    background: var(--c-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.footer-col h5 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 0.65rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, .4);
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, .4);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-section .section-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .faq-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .partner-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px; /* Adiciona respiro abaixo do menu fixo de 80px */
        padding-bottom: 30px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-visual {
        display: flex; /* Ativa o carrossel no celular */
        min-height: 380px;
        margin-right: 0;
        margin-top: 2.5rem;
    }

    .hero-person-img {
        height: 400px; /* Reduz o tamanho das fotos para caber na tela do celular */
        margin-bottom: -20px;
    }

    .slide-badge {
        top: -10px; /* Sobe um pouco o selo de pílula na versão celular */
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .stats-inner {
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }
}

/* === SPECIAL PROMO SECTION === */
.special-promo-section {
    padding: 100px 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.promo-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.promo-card {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
    background: white;
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--c-accent);
}

.instructor-promo {
    grid-template-columns: 0.7fr 1.3fr;
}

.promo-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.promo-content p {
    font-size: 1.1rem;
    color: var(--c-text-2);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.promo-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--c-accent-lt);
    color: var(--c-accent);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-badge.badge-alt {
    background: #F0FDF4;
    color: #16A34A;
}

.promo-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.promo-features li {
    font-weight: 600;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.promo-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.promo-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: #EF4444;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.1);
}

.promo-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 380px;
    margin: 0 auto;
}

.promo-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.promo-card:hover .promo-image img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .promo-card, .instructor-promo {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2.5rem;
    }
    .promo-image {
        order: -1;
    }
    .promo-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* === PARTNERS SECTION === */
.partners-section {
    padding: 3rem 0;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.partners-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 2.5rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem 5rem;
    opacity: 0.7;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 1.5rem;
    filter: grayscale(1);
    transition: var(--transition);
    cursor: default;
}

.partner-logo span {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.partner-logo:hover {
    filter: grayscale(0);
    color: var(--c-primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .partners-grid {
        gap: 2rem 3rem;
    }
    .partner-logo {
        font-size: 1.2rem;
    }
    .partner-logo span {
        font-size: 0.9rem;
    }
}

/* === COOKIE CONSENT BANNER (HORIZONTAL LGPD) === */
.cookie-banner.horizontal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    background: #0d0d15;
    border-radius: 0;
    padding: 1.2rem 4rem;
    z-index: 10000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    display: flex;
    justify-content: center;
    opacity: 1; /* Transição via transform */
}

.cookie-banner.horizontal.active {
    transform: translateY(0);
}

.cookie-inner {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.cookie-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-icon-box {
    background: rgba(255, 255, 255, 0.05);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #FBBF24; /* Amarelo para o cadeado */
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cookie-text-content h4 {
    font-size: 0.95rem;
    margin: 0 0 0.2rem 0;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
}

.cookie-text-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #94A3B8;
    margin: 0;
}

.cookie-text-content a {
    color: #6366F1;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 5px;
}

.cookie-actions-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie-alt {
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-refuse {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
}

.btn-refuse:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.btn-agree {
    background: #6366F1;
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-agree:hover {
    background: #4F46E5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

@media (max-width: 992px) {
    .cookie-banner.horizontal {
        padding: 2rem;
    }
    .cookie-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .cookie-info {
        flex-direction: column;
    }
    .cookie-actions-group {
        width: 100%;
    }
    .btn-cookie-alt {
        flex: 1;
        justify-content: center;
    }
}