/* --- VARIAVEIS E RESET --- */
:root {
    --primary: #3a0ca3;       /* Roxo Escuro */
    --primary-light: #7209b7; /* Roxo Claro */
    --accent: #fb8603;        /* Laranja */
    --accent-hover: #f72585;  /* Rosa (Hover) */
    --text-dark: #1e1e24;
    --text-gray: #555555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif; /* Fonte mais limpa como padrão */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- TIPOGRAFIA --- */
h1, h2, h3, h4 {
    font-family: 'Bahnschrift', 'Montserrat', sans-serif; /* Bahnschrift apenas para títulos */
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 100px 0 120px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); /* Recorte moderno no fundo */
}

.logo img {
    max-width: 300px;
    margin-bottom: 40px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.subheadline {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Botões */
.cta-button {
    background-color: var(--accent);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(251, 134, 3, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 134, 3, 0.5);
    background-color: #ff9100;
}

/* --- SEÇÕES GERAIS --- */
section { padding: 80px 0; }
.section-gray { background-color: var(--bg-light); }
.section-dark-blue { background-color: var(--primary); color: var(--white); }

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.white-text h2 { color: var(--white); }
.white-text p { 
    color: #ffffff !important; /* Força a cor branca */
    opacity: 0.9; 
    font-size: 1.1rem;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* --- CARDS GRID (Pain Points & Benefits) --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card, .benefit-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.card:hover, .benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(114, 9, 183, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    color: #ff4757; /* Vermelho para problemas */
    margin-bottom: 20px;
}

.icon-primary {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.card h3, .benefit-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--primary);
}

/* --- O QUE É A TEIA --- */
.teia-intro .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.highlight-box {
    background: white;
    border-left: 5px solid var(--accent);
    padding: 30px;
    margin: 40px 0;
    text-align: left;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
    position: relative;
}

.highlight-box i {
    color: #ddd;
    font-size: 2rem;
    position: absolute;
    top: 20px;
    right: 20px;
}

.mt-4 { margin-top: 30px; }

/* --- FASES (How It Works) --- */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.phase-card {
    background: var(--white);
    padding: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.phase-header {
    background: var(--primary);
    color: white;
    padding: 25px;
    position: relative;
}

.phase-num {
    font-size: 3.5rem;
    font-weight: 700;
    position: absolute;
    right: 20px;
    top: 5px;
    opacity: 0.1;
}

.check-list {
    list-style: none;
    padding: 25px;
}

.check-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.check-list i { color: var(--accent); margin-top: 4px; }

.orange-box {
    background: var(--accent);
    color: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(251, 134, 3, 0.3);
}

/* --- QUEM ESTÁ À FRENTE (The Fix) --- */
.leader-section {
    background: var(--white);
}

.leader-profile {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.leader-main {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.leader-photo {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f3f3f3;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.leader-info .role {
    display: block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.credentials {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-gray);
    background: #f9f9f9;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
}

.leader-history {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.leader-history h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.leader-history ul {
    list-style: none;
}

.leader-history li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left; /* Adicione isso para corrigir os espaços */
    line-height: 1.5; /* Melhora a leitura */
}

/* Garante que o texto ocupe o espaço certo sem quebrar */
.leader-history li span {
    flex: 1; /* Ocupa todo o espaço restante ao lado do ícone */
    display: block; /* Garante comportamento de bloco de texto */
}

.leader-history i { color: var(--accent); margin-top: 5px; }

/* --- MODELO DE PARCERIA --- */
.model-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.model-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    border: 1px solid rgba(255,255,255,0.2);
}

.model-card.featured {
    background: var(--white);
    color: var(--text-dark);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    z-index: 2;
}

.model-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.model-card.featured i { color: var(--accent); }

/* --- TARGET AUDIENCE --- */
.target-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.target-item {
    background: var(--white);
    border: 1px solid #eee;
    padding: 20px 30px;
    border-radius: 50px; /* Pill shape */
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-weight: 600;
    color: var(--primary);
}

.target-item i { color: var(--accent); }

/* --- FINAL FORM --- */
.final-cta {
    background: var(--white);
    padding: 100px 0;
}

/* Adicione esta classe para centralizar o texto acima do formulário */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px; /* Centraliza o bloco e dá espaço embaixo */
}

/* Garante que o título dentro dela também centralize */
.cta-content h2 {
    margin-bottom: 15px;
}

.cta-content p {
    margin-left: auto;
    margin-right: auto;
}

.contact-form-wrapper {
    background: var(--white);
    max-width: 700px;
    margin: 40px auto 0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-top: 5px solid var(--accent);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-button {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: var(--primary-light);
}

/* --- FOOTER --- */
footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    header h1 { font-size: 2rem; }
    
    .leader-main {
        flex-direction: column;
        text-align: center;
    }
    
    .leader-photo {
        width: 180px;
        height: 180px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .model-card.featured {
        transform: scale(1);
    }
}

/* --- MODO TELA CHEIA (LAYOUT FLUIDO) --- */

/* --- CORREÇÃO FINAL: CENTRALIZAR CONTEÚDO (CONTAINER) --- */

/* 1. Define um limite para o conteúdo não "explodir" na tela */
.container {
    max-width: 1200px !important; /* Largura ideal para leitura */
    width: 100% !important;
    margin-left: auto !important; /* Centraliza a caixa na tela */
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* 2. Centraliza os textos de introdução e títulos */
.section-header, 
.teia-intro .content-wrapper, 
.cta-content {
    max-width: 800px !important; /* Texto de leitura não pode ser muito largo */
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* 3. Traz os cards (Benefícios/Dores/Parceria) para perto um do outro */
.cards-grid, 
.phases-grid, 
.model-grid, 
.target-grid {
    justify-content: center !important; /* Junta os cards no centro */
    gap: 30px !important; /* Espaçamento padrão e elegante */
}

/* 4. Arruma a seção do FÁBIO DANTAS */
.leader-profile {
    max-width: 900px !important; /* Trava a largura da caixa do perfil */
    margin: 0 auto !important; /* Centraliza a caixa na tela */
    
    /* Devolve a estética de cartão (borda e sombra) */
    background: #ffffff !important;
    border: 1px solid #eee !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border-radius: 20px !important;
    padding: 40px !important;
}

/* Garante que o conteúdo interno do Fábio fique organizado */
.leader-main {
    justify-content: center !important; /* Centraliza foto e nome dentro da caixa */
}

/* 5. Centraliza o Formulário */
.contact-form-wrapper {
    max-width: 700px !important;
    margin: 40px auto 0 !important;
}