/* ===== BASE ===== */
:root {
    --primary-red: #C62828;
    --primary-green: #2E7D32;
    --navy-blue: #0a1f35;
    --gold: #D4AF37;
    --bg-light: #F5F7FA;
    --text-dark: #2c3e50;
    --text-grey: #546e7a;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700
}

a {
    text-decoration: none;
    transition: .3s
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    display: block
}

/* ===== TOPBAR & HEADER ===== */
.top-bar {
    background: var(--navy-blue);
    color: #fff;
    padding: 10px 5%;
    font-size: .85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 20px
}

.social-top a {
    color: #fff;
    margin-left: 10px
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    padding: 15px 5%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--navy-blue);
    font-weight: 700
}

.logo span {
    color: var(--primary-red)
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: .95rem;
    text-transform: uppercase
}

.nav-links a:hover {
    color: var(--primary-red)
}

.cta-btn {
    background: var(--primary-red);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 6px
}

.cta-btn:hover {
    background: var(--navy-blue);
    transform: translateY(-2px)
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--navy-blue);
    cursor: pointer
}

/* ===== HERO (sem pseudo-elemento) ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: #0D47A1;
    padding-bottom: 120px;
    /* só respiro para o card sobrepor */
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 0
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(10, 31, 53, 0.7), rgb(10, 31, 53, 10.9));
    z-index: 1
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px
}

.hero-tag {
    display: inline-block;
    background: rgba(0, 0, 0, .3);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, .5)
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    font-weight: 300
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap
}

.btn-big {
    padding: 16px 28px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    letter-spacing: .3px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-blue)
}

.btn-transp {
    background: rgba(255, 255, 255, .08);
    border: 2px solid rgba(255, 255, 255, .9);
    color: #fff;
    backdrop-filter: saturate(120%) blur(2px)
}

.btn-transp:hover {
    background: #fff;
    color: var(--navy-blue)
}

/* ===== STATS (com faixa branca automática por trás) ===== */
.stats-wrapper {
    position: relative;
    margin-top: -110px;
    /* sobrepõe metade do card no hero */
    padding: 0 5%;
    z-index: 5;
    /* acima do hero */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* cobre a metade inferior do card e vai até as bordas da janela */
.stats-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 300px;
    background: #fff;
    z-index: 0;
    pointer-events: none;
}

.stats-bar {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 10px;
    padding: 50px 5%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-red)
}

/* ===== SOBRE ===== */
.about-section {
    padding: 170px 5% 100px;
    background: #fff
}

.container {
    max-width: 1200px;
    margin: 0 auto
}

.split-content {
    display: flex;
    align-items: center;
    gap: 60px
}

.about-img {
    flex: 1;
    position: relative
}

.about-img img {
    border-radius: 5px;
    box-shadow: 20px 20px 0 var(--bg-light)
}

.badge-oa {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--navy-blue);
    color: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.about-text {
    flex: 1
}

.section-subtitle {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .9rem
}

.about-text h2 {
    font-size: 2.3rem;
    color: var(--navy-blue);
    margin: 15px 0 20px
}

.about-list {
    margin: 18px 0
}

.about-list li {
    margin-bottom: 10px;
    color: var(--text-grey)
}

.about-list i {
    color: var(--primary-green);
    margin-right: 10px
}

.link-under {
    color: var(--navy-blue);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-red)
}

/* ===== SERVIÇOS ===== */
.services-section {
    padding: 100px 5%;
    background: var(--bg-light)
}

.section-header {
    text-align: center;
    margin-bottom: 60px
}

.title-blue {
    color: var(--navy-blue);
    font-size: 2.3rem
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    transition: .4s;
    position: relative
}

.service-card:hover {
    transform: translateY(-10px)
}

.card-img-top {
    height: 220px;
    width: 100%;
    object-fit: cover
}

.card-body {
    padding: 30px
}

.card-icon {
    position: absolute;
    top: 188px;
    right: 30px;
    background: var(--gold);
    color: var(--navy-blue);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 2;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--navy-blue)
}

.card-body li {
    margin-bottom: 8px;
    color: var(--text-grey);
    font-size: .95rem
}

.card-body li i {
    color: var(--primary-green);
    margin-right: 10px
}

.link-red {
    color: var(--primary-red);
    font-weight: 700
}

/* ===== DIVISOR ===== */
.parallax-divider {
    height: 350px;
    background: url('https://images.unsplash.com/photo-1555881400-74d7acaacd81?q=80&w=2070') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-box {
    background: rgba(255, 255, 255, .95);
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    max-width: 700px
}

.quote-box h3 {
    color: var(--primary-red);
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-style: italic
}

/* ===== FAQ ===== */
.faq-section {
    padding: 100px 5%;
    background: #F9F9F9
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px
}

.faq-visual {
    position: sticky;
    top: 100px
}

.faq-content-box h2 {
    font-size: 2.4rem;
    color: var(--navy-blue);
    margin: 10px 0 18px
}

.faq-content-box p {
    margin-bottom: 16px
}

.btn-faq {
    display: inline-block;
    background: var(--navy-blue);
    color: #fff;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 700;
    margin-bottom: 22px
}

.btn-faq:hover {
    background: var(--primary-red)
}

.faq-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: -15px 15px 0 var(--gold);
    margin-top: 10px
}

.accordion-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    overflow: hidden;
    border-left: 5px solid transparent
}

.accordion-item.active {
    border-left-color: var(--primary-red)
}

.accordion-header {
    padding: 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--navy-blue)
}

.accordion-content {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: .4s ease;
    color: var(--text-grey)
}

.accordion-item.active .accordion-content {
    padding-bottom: 22px;
    max-height: 300px
}

/* ===== CONTATO ===== */
.contact-section {
    padding: 90px 5%;
    background: #fff
}

.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: start
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    padding: 28px
}

.contact-card h3 {
    color: var(--navy-blue);
    margin-bottom: 14px
}

.contact-note {
    color: var(--text-grey);
    margin-bottom: 18px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.input,
.textarea,
.select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    font-size: 1rem;
    outline: none;
}

.input:focus,
.textarea:focus,
.select:focus {
    border-color: var(--navy-blue);
    background: #fff
}

.textarea {
    min-height: 140px;
    resize: vertical
}

.lgpd {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 12px 0 0;
    color: var(--text-grey);
    font-size: .95rem
}

.form-cta {
    display: inline-block;
    margin-top: 16px;
    background: var(--primary-red);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 22px;
    font-weight: 700;
    cursor: pointer
}

.form-cta:hover {
    background: var(--navy-blue)
}

.help {
    font-size: .95rem;
    color: var(--text-grey);
    background: #f7f9fb;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 20px
}

/* ===== FOOTER ===== */
footer {
    background: #0a1f35;
    color: #e0e0e0;
    padding: 80px 5% 0;
    border-top: 5px solid var(--gold)
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.footer-logo {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 16px;
    display: block
}

.brand-col p {
    margin: 8px 0 18px
}

.social-links {
    display: flex;
    gap: 14px
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.social-links a:hover {
    transform: translateY(-2px)
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.1rem
}

.footer-col a {
    color: #b0b0b0
}

.footer-col a:hover {
    color: #fff;
    padding-left: 4px
}

.contact-list i {
    color: var(--primary-red);
    margin-right: 10px
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    font-size: .9rem
}

/* WhatsApp -> form */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
    z-index: 1000;
}

/* ===== RESPONSIVO ===== */
@media (max-width:1200px) {
    .hero h1 {
        font-size: 3rem
    }
}

@media (max-width:1024px) {
    .top-bar {
        display: none
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    }

    .nav-links.active {
        display: flex
    }

    .mobile-toggle {
        display: block
    }

    .parallax-divider {
        background-attachment: scroll
    }

    .footer-content {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:992px) {
    .stats-bar {
        grid-template-columns: 1fr 1fr
    }

    .split-content {
        flex-direction: column
    }

    .faq-grid {
        grid-template-columns: 1fr
    }

    .faq-visual {
        display: none
    }

    .hero {
        padding-bottom: 140px
    }

    .stats-wrapper {
        margin-top: -100px
    }

    .stats-wrapper::after {
        height: 260px
    }
}

@media (max-width:768px) {
    .stats-bar {
        grid-template-columns: 1fr;
        padding: 28px 20px
    }

    .stat-item h3 {
        font-size: 2rem
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .footer-content {
        grid-template-columns: 1fr
    }

    .stats-wrapper {
        margin-top: -90px
    }

    .stats-wrapper::after {
        height: 240px
    }
}

@media (max-width:480px) {
    .badge-oa {
        width: 88px;
        height: 88px;
        right: 8px;
        bottom: -18px;
        border-width: 3px
    }
}