:root {
    /* Color Palette - Premium Dark & Gold */
    --bg-color: #0a0a0a;
    --text-color: #f5f5f5;
    --text-muted: #a0a0a0;
    --primary: #c5a059; /* Dourado Premium */
    --primary-hover: #d4af37;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing & Transitions */
    --section-padding: 100px 20px;
    --transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

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

/* Base Styles */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--primary);
    cursor: pointer;
    position: relative;
    overflow: hidden; /* Necessário para o efeito de luz */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    animation: shine 4s infinite ease-in-out;
}

@keyframes shine {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.btn:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

/* Hero Section - Split & Layered */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-color);
    padding: 30px 0 60px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-left: 5%;
}

.hero-tag {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.hero-headline {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-headline span {
    color: var(--primary);
    display: block;
}

.hero-subheadline {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    max-width: 480px;
    color: var(--text-muted);
    margin-bottom: 45px;
    border-left: 2px solid var(--primary);
    padding-left: 20px;
}

.hero-image-wrapper {
    position: relative;
    height: 100vh; /* Aumentando para cobrir o espaço superior */
    width: 100%;
    margin-left: 0;
    transform: translateY(-220px); /* Subida extrema */
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 40px; /* Arredondado em todos os lados para suavizar */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-position: center top; /* Garante que o topo da cabeça não seja cortado */
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    font-size: clamp(10rem, 25vw, 20rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(197, 160, 89, 0.15);
    font-family: var(--font-heading);
    z-index: -1;
    pointer-events: none;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.8;
    max-width: 100vw; /* Prevenção de overflow extra */
}

.hero-floating-card {
    position: absolute;
    bottom: 5%;
    left: 5%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 20px;
    z-index: 15;
    max-width: 260px;
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-floating-card p {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

/* Bento Grid Section */
.bento-section {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 20px;
}

.bento-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    backdrop-filter: blur(10px);
    z-index: 1; /* Garante que os itens não se sobreponham de forma errada */
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.bento-item h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
}

.bento-item .btn-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.bento-item .btn-mini {
    align-self: flex-start;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.bento-item .btn-mini:hover {
    border-bottom-color: var(--primary);
}

.bento-item .btn-mini::after {
    content: '→';
    transition: var(--transition);
}

.bento-item:hover .btn-mini::after {
    transform: translateX(5px);
}

/* Bento Variations */
.bento-consultas {
    grid-column: span 2;
    grid-row: span 2;
    justify-content: center;
}

.bento-consultas h3 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.bento-cursos {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-image {
    grid-column: span 2;
    grid-row: span 1;
    padding: 0;
}

.bento-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Sobre Section */
.sobre-section {
    padding: 120px 0;
    background-color: var(--bg-color);
}

.sobre-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.sobre-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 650px;
}

.sobre-image-wrapper {
    position: relative;
    border-radius: 300px 300px 0 0;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.sobre-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    transform: scale(1.05);
    transition: var(--transition);
}

.sobre-image-wrapper:hover img {
    transform: scale(1);
}

/* Responsividade Geral - Refatorada para Mobile Real */

/* Números Section */
.numbers-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.number-card {
    text-align: center;
    position: relative;
    padding: 20px;
}

.number-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--primary);
    opacity: 0.3;
}

.number-value {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
    position: relative;
}

.number-value::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
}

.number-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}


/* CTA Final Section */
.cta-final-section {
    padding: 120px 20px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-subtext {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cta-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.cta-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cta-btn {
    display: flex;
    flex-direction: row; /* Alinhamento horizontal padrão */
    align-items: center;
    justify-content: space-between; /* Texto no meio, ícones nas pontas */
    gap: 20px;
    padding: 25px 30px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.02);
}

.cta-btn span {
    flex-grow: 1;
    text-align: left;
}

.cta-btn i:not(.chevron) {
    font-size: 1.8rem;
    color: var(--primary);
}

.cta-btn .chevron {
    font-size: 1.2rem;
    opacity: 0.3;
    transition: var(--transition);
}

.cta-btn:hover {
    background: rgba(197, 160, 89, 0.05);
    border-color: var(--primary);
}

.cta-btn:active {
    transform: scale(0.98); /* Feedback de toque sem overflow horizontal */
}

.cta-btn:hover .chevron {
    opacity: 1;
    color: var(--primary);
    transform: translateX(5px);
}

/* Button Colors & Glows - Refactored to Minimalist Gold */
.cta-btn {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--glass-border);
    color: var(--text-color);
}

.cta-btn i {
    color: var(--primary);
    transition: var(--transition);
}

.cta-btn:hover {
    background: rgba(197, 160, 89, 0.05);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.1);
}

.cta-btn:hover i {
    transform: scale(1.1);
    color: #fff;
}

/* Specific button overrides removed, using unified gold theme */
.cta-blue, .cta-purple, .cta-white, .cta-green {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--glass-border);
}

/* Subtle Pulse Animation on all cta buttons */
.cta-btn {
    animation: breathing 6s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.02); opacity: 1; }
}

/* Footer Refinement */
.footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* REDESIGN RESPONSIVO (Sempre no final para prioridade total) */

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        padding-left: 0;
        order: 2;
    }
    .hero-image-wrapper {
        order: 1;
        height: auto;
        min-height: 400px;
        transform: none;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-image-wrapper img {
        border-radius: 30px;
        max-height: 500px;
        width: auto;
        object-fit: contain;
    }
    .hero-bg-text {
        font-size: 15vw;
        left: 50%;
        top: 20%;
        max-width: 90vw;
        overflow: hidden;
    }
}

@media (max-width: 991px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
    .number-card:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }
    .hero-headline {
        font-size: 3.5rem;
    }
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }
    .bento-item {
        grid-column: span 1;
        padding: 30px 20px;
    }
    .bento-image {
        min-height: 400px;
    }
    .sobre-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .number-card::after {
        display: none;
    }
    /* CTA em 1 coluna para tablets e celulares */
    .cta-buttons-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .cta-final-section {
        padding: 40px 15px;
    }
    .hero-headline {
        font-size: 2.2rem;
    }
    .cta-btn {
        flex-direction: row !important;
        padding: 20px 15px !important;
        justify-content: flex-start !important;
        gap: 15px !important;
        min-height: auto !important;
    }
    .cta-btn span {
        white-space: normal !important;
        font-size: 0.9rem !important;
        text-align: left;
    }
    .cta-btn i:not(.chevron) {
        font-size: 1.4rem !important;
    }
}
