/* =========================================
   MINDCΛV - Landing Page Stylesheet
   Style: Brutalismo Elegante / Tech Noir
   ========================================= */

/* --- 1. Variáveis & Temas --- */
:root {
    --bg-white: #FFFFFF;
    --bg-dark: #111111; /* Preto mais denso para Tech Noir */
    --bg-gray-dark: #1A1A1A; /* Antracite */
    --bg-gray-light: #EEEEEE; /* Cinza mais visível para separar seções */
    
    --accent-red: #D32F2F; 
    --accent-red-hover: #B71C1C;
    
    --text-primary: #111111;
    --text-secondary: #424245; 
    --text-light: #FFFFFF;
    --text-muted: #86868B;

    --font-title: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-width: 2px;
}

/* --- 2. Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-white);
    color: var(--text-primary);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- 3. Utilitários --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bg-dark {
    background-color: var(--bg-gray-dark) !important;
    color: var(--text-light) !important;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 20px 20px;
}


.bg-dark .section-title {
    color: var(--text-light) !important;
}

.bg-gray-light {
    background-color: var(--bg-gray-light) !important;
    color: var(--text-primary) !important;
}

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


.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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


.text-center { text-align: center; }
.ai-center { align-items: center; }

.section-padding {
    padding: 6rem 0;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--bg-gray-light);
    color: var(--text-primary);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 4px solid var(--accent-red);
    margin-bottom: 1.5rem;
}

.badge-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.badge-red {
    background-color: var(--accent-red);
    color: var(--text-light);
    border-left: none;
}

/* --- 4. Botões (Brutalismo Elegante) --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-title);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    border: var(--border-width) solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--text-light);
    border-color: var(--accent-red);
    /* Sombra Brutalista */
    box-shadow: 4px 4px 0px 0px var(--bg-dark);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px var(--bg-dark);
    background-color: var(--accent-red-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
    box-shadow: 4px 4px 0px 0px var(--accent-red);
}

.btn-outline:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px var(--accent-red);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- 5. Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem 0;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-img-full {
    max-height: 45px; /* Tamanho padrão (ex: rodapé) */
    width: auto;
    display: block;
}

.header .logo-img-full {
    max-height: 90px; /* Tamanho solicitado para o header */
    transition: var(--transition);
}



.logo-text {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-red);
}

/* --- 6. Hero Section --- */
.hero {
    padding: 10rem 0 6rem;
    background-color: var(--bg-white);
    position: relative;
    /* Grid de fundo sutil Apple */
    background-image: radial-gradient(var(--bg-gray-light) 1px, transparent 1px);
    background-size: 20px 20px;
}

.hero .grid-2 {
    grid-template-columns: 1fr 450px !important; /* Força espaço para o formulário */
    align-items: center;
    gap: 3rem;
}

.hero-content {
    max-width: 600px; /* Permite que o H1 caiba em menos linhas */
}


.hero-title {
    font-family: var(--font-title);
    font-weight: 400; 
    font-size: 3rem; /* Reduzido para caber em 3 linhas */
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}


.text-highlight {
    color: var(--accent-red);
    font-weight: 800; /* Bold para vermelho */
    border-bottom: 3px solid var(--accent-red);
}



.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.feature-icon {
    color: var(--accent-red);
}

/* Formulário Card */
.hero-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.form-card {
    background-color: var(--bg-white);
    border: var(--border-width) solid var(--bg-dark);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 10px 10px 0px 0px var(--accent-red);
    position: relative;
}

.form-header h3 {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #E0E0E0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #FCFCFC;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-red);
    background-color: var(--bg-white);
}

/* --- 7. Social Proof --- */
.social-proof {
    padding: 3rem 0;
    background-color: var(--bg-gray-light);
    border-top: 1px solid #EAEAEA;
    border-bottom: 1px solid #EAEAEA;
}

.proof-title {
    text-align: center;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.logo-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-item {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--bg-dark);
    opacity: 0.2;
    letter-spacing: 4px;
    transition: var(--transition);
}

.logo-item:hover {
    opacity: 0.8;
    color: var(--accent-red);
}

/* --- 8. Specialties (Cards) --- */
.specialties {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 0;
}

.card-tactical {
    background-color: var(--bg-white);
    border: var(--border-width) solid var(--text-primary);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    box-shadow: 4px 4px 0px 0px var(--bg-dark);
}

.card-tactical:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px 0px var(--accent-red);
    border-color: var(--accent-red);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--bg-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--bg-dark);
}

.card-tactical:hover .card-icon-wrapper {
    background-color: var(--bg-dark);
}

.card-icon {
    width: 32px;
    height: 32px;
    transition: var(--transition);
}

.card-tactical:hover .card-icon {
    filter: brightness(0) invert(1);
}

.card-title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    height: 60px; /* Alinhamento */
}

.card-list {
    list-style: none;
    border-top: 1px solid #EEEEEE;
    padding-top: 1rem;
}

.card-list li {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.card-list li::before {
    content: "•";
    color: var(--accent-red);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* --- 9. Authority Section --- */
.authority {
    padding: 6rem 0;
    background-color: var(--bg-gray-dark);
    color: var(--text-light);
    position: relative;
}

.authority .section-title {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.authority-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: #E0E0E0;
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent-red);
    padding-left: 1.5rem;
}

.founder-info {
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent-red);
}

.founder-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Imagem do Fundador estilo Noir */
.founder-image-container {
    width: 100%;
    height: 400px;
    border: var(--border-width) solid var(--text-light);
    position: relative;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 10px 10px 0px 0px var(--accent-red);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(211, 47, 47, 0.3), rgba(0, 0, 0, 0.8));
    mix-blend-mode: multiply;
}

.founder-placeholder {
    color: rgba(255,255,255,0.05);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 4rem;
    letter-spacing: 1rem;
}

/* --- 10. Final CTA --- */
.final-cta {
    padding: 8rem 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--bg-dark);
}

.final-cta .section-subtitle {
    margin-bottom: 3rem;
}

/* --- 11. Footer --- */
.footer {
    padding: 3rem 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-top: 4px solid var(--accent-red);
}

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

.footer-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer .logo-text {
    color: var(--text-light);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- 12. Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Mantive verde para identificação rápida */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128C7E;
}

/* --- 13. Responsividade --- */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-form-wrapper {
        justify-content: center;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .form-card {
        padding: 1.5rem;
    }
    .footer-grid {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* --- 14. Animações (Scroll Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Atrasos em cascata para Grids */
.grid-3 .card-tactical:nth-child(1).reveal { transition-delay: 0.1s; }
.grid-3 .card-tactical:nth-child(2).reveal { transition-delay: 0.3s; }
.grid-3 .card-tactical:nth-child(3).reveal { transition-delay: 0.5s; }

.hero-form-wrapper.reveal {
    transform: translateX(40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-form-wrapper.reveal-active {
    transform: translateX(0);
}

/* --- 15. Estilos Auxiliares (Novas Seções) --- */
.card-list-alt {
    list-style: none;
    margin-top: 1.5rem;
}

.card-list-alt li {
    margin-bottom: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-list-alt li::before {
    content: "✕";
    color: var(--accent-red);
    font-weight: 800;
    margin-right: 5px;
}

.text-red {
    color: var(--accent-red) !important;
}

.method-item {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border: 1px solid #EEEEEE;
    position: relative;
    transition: var(--transition);
}

.method-item:hover {
    border-color: var(--accent-red);
    box-shadow: 4px 4px 0px 0px var(--bg-dark);
}

.method-number {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 3rem;
    color: rgba(211, 47, 47, 0.1);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.method-item h3 {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.method-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
}

.stat-card {
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red) !important;
}

.slogan {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent-red);
    padding-left: 1rem;
}

/* Responsividade para Grid 4 */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr !important;
    }
}
/* --- 16. Formulário Hero --- */
.hero-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.form-card {
    background-color: #FFFFFF;
    border: 2px solid var(--bg-dark); /* Borda sólida preta */
    border-radius: 0px; /* Cantos retos Brutalistas */
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 8px 8px 0px 0px var(--accent-red); /* Sombra sólida vermelha */
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.form-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0px 0px var(--accent-red);
}


.form-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 1rem;
    text-align: center; /* Centralizado */
}


.form-header h3 {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.15rem; /* Reduzido para caber em 1 linha */
    color: var(--text-primary);
    letter-spacing: -0.5px;
}



.form-header p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px; /* Cantos arredondados Apple */
    font-family: var(--font-body);
    font-size: 0.9rem;
    background-color: #FAFAFA;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-red);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1); /* Foco suave */
}


.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 1rem;
}

/* Responsividade para Formulário */
@media (max-width: 992px) {
    .hero .grid-2 {
        grid-template-columns: 1fr !important; /* Retorna para 1 coluna em tablet/mobile */
        gap: 2rem;
    }
    .hero-form-wrapper {
        justify-content: center;
        margin-top: 2rem;
    }
    .form-card {
        max-width: 100%;
    }
}

/* --- 17. Header (Responsivo e Estilos) --- */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Borda tática sutil */
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img-full {
    height: 70px; /* Altura Desktop */
    width: auto;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .logo-img-full {
        height: 35px !important; /* Redução de 50% */
    }
    
    .header .btn {
        font-size: 0.75rem !important; /* Fonte menor */
        padding: 0.4rem 0.75rem !important; /* Padding menor */
        white-space: nowrap !important; /* Força exibir em 1 linha */
    }
    
    .container-header {
        gap: 0.5rem;
    }
}

/* --- 18. Popup WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.22);
    z-index: 1001;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.15);
}

.whatsapp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Inicia oculto */
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.whatsapp-modal.active {
    display: flex;
}

.whatsapp-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.65); /* Overlay translucido */
}

.whatsapp-popup-container {
    position: relative;
    width: 90%;
    max-width: 380px;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    animation: popupScale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2001;
}

@keyframes popupScale {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .whatsapp-popup-container {
        max-width: 340px;
    }
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}



