:root {
    --blue-950: #06162f;
    --blue-900: #071f46;
    --blue-800: #0a3474;
    --blue-700: #0d4a9c;
    --blue-500: #1d73d4;
    --white: #ffffff;
    --muted: #d8e3f3;
    --text: #172033;
    --soft: #f3f7fb;
    --border: rgba(255, 255, 255, 0.18);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    --radius: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(6, 22, 47, 0.78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
}

.main-nav a {
    opacity: 0.9;
    transition: 0.2s ease;
}

.main-nav a:hover {
    opacity: 1;
    color: #b9dbff;
}

.nav-system {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    margin: 5px auto;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--blue-950);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 22, 47, 0.94) 0%, rgba(6, 22, 47, 0.74) 44%, rgba(6, 22, 47, 0.22) 100%),
        linear-gradient(0deg, rgba(6, 22, 47, 0.72), rgba(6, 22, 47, 0.12));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
    color: var(--white);
    max-width: 1180px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 900;
    color: #b9dbff;
}

.hero-kicker::before,
.section-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.hero h1 {
    max-width: 760px;
    margin: 18px 0 18px;
    font-size: clamp(2.55rem, 6vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: 0.2s ease;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-800));
    box-shadow: 0 14px 30px rgba(29, 115, 212, 0.36);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(29, 115, 212, 0.48);
}

.btn-outline {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-large {
    min-height: 56px;
    padding-inline: 28px;
}

.trust-strip {
    background: var(--blue-950);
    color: var(--white);
    padding: 26px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-grid div {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.trust-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.trust-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.section {
    padding: 96px 0;
}

.about {
    background: var(--soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.section-text h2,
.section-heading h2,
.quote-box h2,
.cta h2 {
    margin: 14px 0 18px;
    color: var(--blue-950);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.section-text p,
.section-heading p,
.quote-box p,
.cta p {
    color: #4d5d73;
    font-size: 1.06rem;
    line-height: 1.75;
}

.text-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--blue-800);
    font-weight: 900;
    border-bottom: 2px solid currentColor;
    padding-bottom: 4px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 40px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid #dde6f2;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(7, 31, 70, 0.08);
}

.service-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.service-card div {
    padding: 26px;
}

.service-card h3 {
    margin: 0 0 10px;
    color: var(--blue-950);
    font-size: 1.25rem;
}

.service-card p {
    margin: 0;
    color: #526175;
    line-height: 1.6;
}

.quote-section {
    position: relative;
    padding: 110px 0;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(6, 22, 47, 0.95), rgba(10, 52, 116, 0.86)),
        url("../img/boiada.jpg") center/cover no-repeat;
}

.quote-box {
    max-width: 800px;
}

.quote-box span {
    color: #b9dbff;
    font-size: 1.5rem;
}

.quote-box h2 {
    color: var(--white);
    font-size: clamp(3rem, 7vw, 6.4rem);
}

.quote-box p {
    color: var(--muted);
    max-width: 620px;
}

.gallery {
    background: var(--soft);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-grid a {
    border-radius: 20px;
    overflow: hidden;
    min-height: 270px;
    box-shadow: 0 18px 40px rgba(7, 31, 70, 0.10);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 270px;
    object-fit: cover;
    transition: 0.3s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.05);
}

.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
    color: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta h2 {
    color: var(--white);
}

.cta p {
    color: var(--muted);
    max-width: 680px;
}

.site-footer {
    padding: 36px 0;
    background: #020a17;
    color: var(--white);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.footer-inner img {
    height: 54px;
    margin-bottom: 12px;
}

.footer-inner p {
    margin: 0;
    color: var(--muted);
}

.footer-inner strong {
    display: block;
    margin-bottom: 8px;
}

.footer-inner a {
    color: #b9dbff;
    font-weight: 800;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #25d366;
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.38);
    transition: 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.02);
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
    fill: var(--white);
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 82px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 18px;
        background: rgba(6, 22, 47, 0.96);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 8px;
    }

    .trust-grid,
    .cards-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 420px;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-inner {
        height: 74px;
    }

    .brand img {
        height: 46px;
    }

    .main-nav {
        top: 74px;
    }

    .hero {
        min-height: 92vh;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .trust-grid,
    .cards-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }

    .about-image img,
    .service-card img,
    .gallery-grid img {
        height: 310px;
    }

    .quote-section {
        padding: 86px 0;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 16px;
        bottom: 16px;
    }
}