/* =================================================================== */
/* 1. CONFIGURAÇÕES GLOBAIS E VARIÁVEIS
/* =================================================================== */
:root {
    --navy-dark: #111827;
    --blue-primary: #008cff;
    --orange-accent-start: #ff7300;
    --orange-accent-end: #ff8e3c;
    --gray-bg: #f4f6f9;
    --gray-card: #ffffff;
    --gray-border: #e5e7eb;
    --gray-dark: #1f2937;
    --text-color: #374151;
    --white: #ffffff;
    --shadow-light: rgba(0, 140, 255, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--gray-bg);
    padding-top: calc(80px + env(safe-area-inset-top));
    overflow-x: hidden;
}

/* --- Tipografia --- */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

h1, h3 { color: var(--white); }

h1 {
    font-size: 3.8em;
    margin-bottom: 25px;
}

h2 {
    font-size: 2.6em;
    margin-bottom: 35px;
    color: var(--navy-dark);
}

h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

/* =================================================================== */
/* 2. LAYOUT E COMPONENTES
/* =================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
    text-align: center;
    position: relative;
}

.section:nth-of-type(odd) { background-color: var(--gray-bg); }
.section:nth-of-type(even) { background-color: var(--white); }

.top-bar-fixed {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 80px !important;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--gray-border);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-left-group {
    display: flex;
    align-items: center;
}

.top-bar-right-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-logo-text {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--navy-dark);
    text-decoration: none;
    letter-spacing: -1px;
}

.top-bar-logo-text span {
    color: var(--blue-primary);
}

.top-bar-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.top-bar-contact-link:hover {
    color: var(--blue-primary);
}

/* --- Botão WhatsApp na Barra Superior --- */
.btn-whatsapp-top {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 140, 255, 0.08);
    color: var(--blue-primary);
    border: 1px solid rgba(0, 140, 255, 0.25);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp-top .wa-icon {
    width: 18px;
    height: 18px;
    stroke: var(--blue-primary);
    transition: stroke 0.3s ease;
}

.btn-whatsapp-top:hover {
    background: var(--blue-primary);
    color: var(--white);
    border-color: var(--blue-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 140, 255, 0.25);
}

.btn-whatsapp-top:hover .wa-icon {
    stroke: var(--white);
}

.btn-orcamento-top {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--orange-accent-start), var(--orange-accent-end));
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 115, 0, 0.3);
}

.btn-orcamento-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 115, 0, 0.5);
}

/* --- Botões --- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, var(--orange-accent-start), var(--orange-accent-end));
    color: var(--white);
    padding: 18px 38px;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 115, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 115, 0, 0.6);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--blue-primary);
    color: var(--blue-primary);
    background: transparent;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-secondary:hover {
    background: var(--blue-primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 140, 255, 0.3);
}

/* =================================================================== */
/* 3. HERO SECTION
/* =================================================================== */
.hero-section {
    background: linear-gradient(135deg, #0b1329 0%, #111827 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 140, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 115, 0, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-section h1, .hero-section .h1-style {
    font-size: 3.2em !important;
    color: var(--white) !important;
    line-height: 1.15;
}

.hero-section h1 .highlight {
    color: var(--blue-primary);
    position: relative;
}

.hero-section p {
    font-size: 1.2em;
    margin: 0 0 35px;
    opacity: 0.85;
    max-width: 600px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 620px;
    text-align: left;
}

.hero-eyebrow {
    display: inline-block;
    color: var(--orange-accent-start);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.hero-image {
    flex-shrink: 0;
    width: 480px;
    max-width: 100%;
}

.hero-visual-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

/* =================================================================== */
/* 4. CARDS E GRID DE SERVIÇOS
/* =================================================================== */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 45px;
}

.frame-item-wrapper {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid var(--gray-border);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.frame-item-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow-light);
    border-color: rgba(0, 140, 255, 0.3);
}

.outer-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--gray-border);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    background: var(--gray-bg);
}

.inner-fill-blue {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), #0066cc);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 140, 255, 0.3);
}

.inner-fill-blue svg {
    width: 50%;
    height: 50%;
    stroke: var(--white);
    fill: none;
}

.icon-item h3 {
    color: var(--navy-dark);
    font-size: 1.25em;
    margin-bottom: 10px;
}

.icon-item h4 {
    font-size: 0.92em;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.6;
}

/* =================================================================== */
/* 5. SEÇÃO PROVA SOCIAL E BENEFÍCIOS
/* =================================================================== */
.section-proof-separator {
    background: linear-gradient(90deg, var(--blue-primary), #0066cc);
    color: var(--white);
    padding: 25px 0;
    font-size: 1.25em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.benefits-list {
    list-style: none;
    text-align: left;
    max-width: 800px;
    margin: 40px auto 50px auto;
}

.benefits-list li {
    font-size: 1.2em;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid var(--gray-border);
}

.benefits-list li .icon {
    font-weight: bold;
    color: var(--orange-accent-start);
    margin-right: 18px;
    font-size: 1.3em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-item {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-top: 4px solid var(--blue-primary);
    text-align: left;
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.05em;
    color: var(--navy-dark);
}

.testimonial-item h4 {
    color: var(--orange-accent-start);
    font-size: 1em;
    font-weight: 700;
}

/* =================================================================== */
/* 6. PROCESSO E IMPACTO
/* =================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.process-step {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 25px;
    border: 1px solid var(--gray-border);
    position: relative;
    text-align: left;
}

.process-step .step-number {
    font-size: 2.2em;
    font-weight: 800;
    color: var(--blue-primary);
    opacity: 0.8;
    display: block;
    margin-bottom: 8px;
}

.process-step h3 {
    color: var(--navy-dark);
    font-size: 1.25em;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0 auto;
    display: grid;
    gap: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1em;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 140, 255, 0.15);
}

/* =================================================================== */
/* 7. FOOTER
/* =================================================================== */
footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #1f2937;
}

footer a {
    color: var(--blue-primary);
    text-decoration: none;
}

/* =================================================================== */
/* ESTILO TIMELINE
/* =================================================================== */
.timeline-section {
    background-color: var(--gray-bg);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--gray-border);
    border-right: 2px dashed var(--blue-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-box {
    padding: 25px 30px;
    background: var(--white);
    border: 2px solid var(--blue-primary);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 140, 255, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 140, 255, 0.15);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.timeline-item.left .timeline-header {
    justify-content: flex-end;
}

.timeline-item.right .timeline-header {
    justify-content: flex-start;
}

.timeline-number {
    font-size: 1.4em;
    font-weight: 800;
    color: var(--orange-accent-start);
    background: rgba(255, 115, 0, 0.1);
    padding: 2px 10px;
    border-radius: 8px;
}

.timeline-box h3 {
    font-size: 1.1em;
    color: var(--navy-dark);
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.timeline-box p {
    font-size: 0.95em;
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.5;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--white);
    border: 4px solid var(--orange-accent-start);
    top: 32px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -8px;
}

/* =================================================================== */
/* RESPONSIVIDADE
/* =================================================================== */
@media (max-width: 768px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { text-align: center; }
    .hero-section h1, .hero-section .h1-style { font-size: 2.3em !important; }
    .hero-image { width: 100%; max-width: 320px; }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left .timeline-header {
        justify-content: flex-start;
    }

    .timeline-item::after,
    .timeline-item.right::after {
        left: 21px;
    }
}

@media (max-width: 600px) {
    .btn-whatsapp-top span {
        display: none;
    }
    .btn-whatsapp-top {
        padding: 8px;
        border-radius: 50%;
    }
}