/* --- ESTRUTURA GERAL (GRID LAYOUT) --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem; /* Espaço para o header */
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 0;
        padding-bottom: 0;
    }
}

.hero-container {
    width: 100%;
    max-width: 80rem; /* 7xl */
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 20;
    height: 100%;
}

/* O CONTROLADOR DO LAYOUT */
.hero-grid {
    display: flex;
    flex-direction: column; /* Mobile: Empilhado */
    gap: 2.5rem;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

@media (min-width: 768px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Desktop: 2 Colunas Iguais */
        gap: 4rem;
    }
}

/* --- COLUNAS --- */

/* Texto e CTA */
.hero-col-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* Mobile: Fica embaixo (Ordem 2) */
    order: 2; 
    text-align: center;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-col-text {
        /* Desktop: Fica na esquerda (Ordem 1) */
        order: 1; 
        text-align: left;
        align-items: flex-start;
    }
}

/* Widget */
.hero-col-widget {
    width: 100%;
    /* Mobile: Fica no topo (Ordem 1) */
    order: 1; 
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 30;
    pointer-events: auto;
}

@media (min-width: 768px) {
    .hero-col-widget {
        /* Desktop: Fica na direita (Ordem 2) */
        order: 2; 
        justify-content: flex-end;
    }
}

/* --- ESTILOS VISUAIS (GLASSMORPHISM) --- */

/* Box de Texto (Fundo suave para leitura) */
.hero-text-box {
    padding: 1.5rem;
    border-radius: 2rem;
    transition: all 0.5s ease;
}

.hero-box-dark {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-box-light {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Card do Widget */
.hero-widget-card {
    width: 100%;
    max-width: 28rem; /* max-w-md */
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.widget-card-dark {
    background-color: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.widget-card-light {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- GRID INTERNO DO WIDGET (Inputs) --- */
.widget-inputs-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 coluna */
    gap: 1rem;
}

@media (min-width: 768px) {
    .widget-inputs-grid {
        grid-template-columns: 1fr 1fr; /* Desktop: 2 colunas lado a lado */
    }
}
