/* ===== VARIAVEIS ===== */
:root {
    --navy: #1B2A4A;
    --navy-dark: #132038;
    --navy-light: #2A3D5C;
    --steel-blue: #7BA3C7;
    --silver: #C5C8C5;

    --bg-primary: #A8B8C8;
    --bg-lighter: #B5C3D1;
    --bg-dark: #8FA3B8;

    --geo-light: rgba(185, 200, 215, 0.45);
    --geo-medium: rgba(160, 180, 200, 0.35);
    --geo-dark: rgba(27, 42, 74, 0.06);
    --wave-color: rgba(255, 255, 255, 0.10);
    --mesh-color: rgba(27, 42, 74, 0.12);

    --text-heading: #1B2A4A;
    --text-body: #1B2A4A;
    --text-muted: rgba(27, 42, 74, 0.65);

    --white: #ffffff;
    --whatsapp: #25D366;
    --shadow-sm: 0 2px 12px rgba(27, 42, 74, 0.08);
    --shadow-md: 0 4px 24px rgba(27, 42, 74, 0.12);
    --shadow-lg: 0 8px 40px rgba(27, 42, 74, 0.16);
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== DECORACOES GEOMETRICAS ===== */
.dot-grid {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, var(--navy) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    opacity: 0.45;
    z-index: 2;
    pointer-events: none;
}

.mesh-pattern {
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 200px;
    height: 200px;
    background:
        repeating-linear-gradient(60deg, transparent, transparent 4px, var(--mesh-color) 4px, var(--mesh-color) 5px),
        repeating-linear-gradient(-60deg, transparent, transparent 4px, var(--mesh-color) 4px, var(--mesh-color) 5px);
    clip-path: ellipse(55% 55% at 25% 75%);
    z-index: 1;
    pointer-events: none;
}

.wave-decoration {
    position: absolute;
    right: -5%;
    top: 15%;
    width: 35%;
    height: 75%;
    background: var(--wave-color);
    border-radius: 45% 0 0 45%;
    z-index: 0;
    pointer-events: none;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(168, 184, 200, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(27, 42, 74, 0.08);
}

.header--scrolled {
    background: rgba(168, 184, 200, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
}

.logo img {
    height: 42px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
}

.logo-text span {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy);
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--navy);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
    left: 0;
}

.nav-menu a:hover {
    color: var(--steel-blue);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== SECTIONS BASE ===== */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section .container {
    position: relative;
    z-index: 2;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.section-alt {
    background: var(--bg-lighter);
}

.section:nth-child(even) {
    background: var(--bg-primary);
}

.section:nth-child(odd) {
    background: var(--bg-lighter);
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--text-heading);
    text-align: center;
    padding: 0 16px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
}

.section-title--white {
    color: var(--white);
}

.section-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 2rem;
    font-size: 0.92rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-body);
    line-height: 1.85;
}

.section-subtitle {
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--navy);
    margin-bottom: 2.5rem;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(225deg, var(--geo-light) 0%, var(--geo-light) 18%, transparent 18%) no-repeat 100% 0 / 50% 55%,
        linear-gradient(135deg, var(--geo-medium) 0%, var(--geo-medium) 10%, transparent 10%) no-repeat 55% 30% / 40% 45%,
        linear-gradient(315deg, var(--geo-light) 0%, var(--geo-light) 12%, transparent 12%) no-repeat 75% 65% / 35% 40%,
        linear-gradient(45deg, var(--geo-medium) 0%, var(--geo-medium) 8%, transparent 8%) no-repeat 20% 70% / 30% 35%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

.hero-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.75;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.hero-divider {
    width: 70px;
    height: 4px;
    background: var(--navy);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.hero-highlight {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.75;
    color: var(--navy);
    margin-bottom: 2.5rem;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeSlideLeft 0.9s ease-out 0.5s both;
}

.hero-logo-mark {
    width: 170px;
    height: auto;
    margin-bottom: 1.5rem;
}

.hero-brand-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
}

.hero-brand-name strong {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
}

.hero-brand-name span {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--navy);
}

/* ===== BOTOES ===== */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    animation: fadeSlideUp 0.7s ease-out 0.9s both;
}

.btn-primary:hover {
    background: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 42, 74, 0.3);
}

.btn-submit {
    background: var(--navy);
    color: var(--white);
    width: 100%;
    padding: 18px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.btn-submit:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== CHEVRON SERVICE ITEMS (Quem Somos) ===== */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 750px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.3rem 0;
}

.service-chevron {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--navy);
    opacity: 0.7;
}

.service-chevron svg {
    width: 28px;
    height: 18px;
}

.service-item p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    letter-spacing: 0.01em;
}

/* ===== DIFERENCIAL CARDS ===== */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.diferencial-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    border: 1px solid rgba(27, 42, 74, 0.12);
    transition: var(--transition);
}

.diferencial-card:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.diferencial-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--steel-blue);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 42, 74, 0.15);
    border-radius: 4px;
    line-height: 1;
}

.diferencial-content h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}

.diferencial-content p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== QUEM SOMOS ===== */
#quem-somos {
    background: var(--white) !important;
}

#quem-somos::before {
    background:
        linear-gradient(225deg, var(--geo-light) 0%, var(--geo-light) 15%, transparent 15%) no-repeat 95% 5% / 40% 45%,
        linear-gradient(45deg, var(--geo-medium) 0%, var(--geo-medium) 8%, transparent 8%) no-repeat 5% 80% / 30% 30%;
}

/* ===== DIFERENCIAIS ===== */
#diferenciais {
    background: var(--bg-primary) !important;
}

#diferenciais::before {
    background:
        linear-gradient(315deg, var(--geo-light) 0%, var(--geo-light) 16%, transparent 16%) no-repeat 85% 55% / 35% 45%,
        linear-gradient(135deg, var(--geo-medium) 0%, var(--geo-medium) 10%, transparent 10%) no-repeat 10% 20% / 25% 35%;
}

/* ===== NUMEROS ===== */
.section-numeros {
    background: var(--bg-dark);
    padding: 80px 0;
}

.section-numeros::before {
    background:
        linear-gradient(225deg, var(--geo-light) 0%, var(--geo-light) 20%, transparent 20%) no-repeat 100% 0 / 45% 55%,
        linear-gradient(135deg, var(--geo-medium) 0%, var(--geo-medium) 12%, transparent 12%) no-repeat 50% 50% / 40% 50%;
}

.numeros-content {
    display: flex;
    justify-content: center;
    gap: 6rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.stat-label-bold {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--navy);
    margin-top: 0.4rem;
}

.stat-label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--navy);
    margin-top: -0.1rem;
}

/* ===== PARCERIAS ===== */
#valores {
    background: var(--white) !important;
}

#valores::before {
    background:
        linear-gradient(45deg, var(--geo-medium) 0%, var(--geo-medium) 10%, transparent 10%) no-repeat 80% 60% / 30% 40%,
        linear-gradient(225deg, var(--geo-light) 0%, var(--geo-light) 12%, transparent 12%) no-repeat 10% 10% / 35% 35%;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.partner-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 3 / 2;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.partner-card img {
    max-height: 60px;
    max-width: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ===== FORMULARIO DE CONTATO ===== */
#contato {
    background: var(--bg-lighter) !important;
}

#contato::before {
    background:
        linear-gradient(315deg, var(--geo-light) 0%, var(--geo-light) 14%, transparent 14%) no-repeat 90% 70% / 30% 35%,
        linear-gradient(135deg, var(--geo-medium) 0%, var(--geo-medium) 8%, transparent 8%) no-repeat 15% 15% / 25% 30%;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(27, 42, 74, 0.18);
    border-radius: 8px;
    color: var(--navy);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    background: rgba(255, 255, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(27, 42, 74, 0.35);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 36px;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-logo-text strong {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-logo-text span {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.8;
}

.footer-copy {
    opacity: 0.65;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

/* ===== ANIMACOES ===== */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal */
.animate-section .section-title,
.animate-section .section-intro,
.animate-section .section-subtitle,
.animate-section .service-item,
.animate-section .diferencial-card,
.animate-section .partner-card,
.animate-section .stat-block,
.animate-section .contact-form {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-section.revealed .section-title { opacity: 1; transform: none; transition-delay: 0s; }
.animate-section.revealed .section-intro { opacity: 1; transform: none; transition-delay: 0.08s; }
.animate-section.revealed .section-subtitle { opacity: 1; transform: none; transition-delay: 0.12s; }

.animate-section.revealed .service-item,
.animate-section.revealed .diferencial-card,
.animate-section.revealed .partner-card,
.animate-section.revealed .stat-block {
    opacity: 1;
    transform: none;
}

.animate-section.revealed .contact-form { opacity: 1; transform: none; transition-delay: 0.15s; }

/* ===== RESPONSIVO ===== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-brand { display: none; }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-text,
    .hero-highlight { text-align: center; }

    .hero-divider { margin: 1.5rem auto; }

    .diferenciais-grid { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(168, 184, 200, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .nav-menu.active { transform: translateY(0); }

    .section { padding: 70px 0; }

    .section-title { font-size: 1.8rem; }

    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-text,
    .hero-highlight { font-size: 0.92rem; }

    .diferenciais-grid { grid-template-columns: 1fr; }

    .diferencial-card { padding: 1.5rem; }

    .numeros-content {
        gap: 3rem;
        flex-direction: column;
        align-items: center;
    }

    .stat-block { align-items: center; text-align: center; }
    .stat-number { font-size: 3rem; }
    .stat-label { font-size: 1.2rem; }

    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .partner-card img { max-height: 50px; }

    .form-row { grid-template-columns: 1fr; }

    .dot-grid { width: 55px; height: 55px; top: 20px; right: 20px; }
    .mesh-pattern { width: 130px; height: 130px; }
    .wave-decoration { width: 45%; }

    .whatsapp-btn { bottom: 20px; right: 20px; width: 52px; height: 52px; }
    .whatsapp-btn svg { width: 28px; height: 28px; }

    .section-numeros { padding: 60px 0; }

    .service-chevron svg { width: 24px; height: 15px; }
    .service-item p { font-size: 0.92rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .logo img { height: 34px; }
    .logo-text strong { font-size: 1rem; }
    .logo-text span { font-size: 0.6rem; }

    .hero { padding-top: 110px; }
    .hero-text, .hero-highlight { font-size: 0.85rem; }

    .section-title { font-size: 1.5rem; }

    .diferencial-card { padding: 1.2rem; gap: 1rem; }
    .diferencial-num { width: 34px; height: 34px; font-size: 1.2rem; border-radius: 8px; }

    .stat-number { font-size: 2.5rem; }

    .mesh-pattern { display: none; }
    .wave-decoration { display: none; }

    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-card img { max-height: 45px; }

    .btn { padding: 12px 30px; font-size: 0.85rem; }

    .service-item { gap: 0.8rem; }
    .service-chevron svg { width: 20px; height: 13px; }
    .service-item p { font-size: 0.85rem; }
}
