:root {
    --blue: #003366;
    --orange: #FF8C00;
    --soft: #F3F4F6;
    --dark: #111827;
    --gray: #6b7280;
    --white: #ffffff;

    --shadow: 0 12px 30px rgba(0, 0, 0, .12);
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

::selection {
    background: var(--orange);
    color: var(--white);
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

/* ====== BLOQUEIO DE SCROLL (quando menu abre) ====== */
.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* ====== HEADER ====== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: .25s ease;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.header--transparent {
    background: transparent;
}

.header--solid {
    background: var(--blue);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--orange);
    color: var(--white);
    transition: .2s ease;
}

.brand__icon--sm {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.brand:hover .brand__icon {
    filter: brightness(.95);
}

.brand__text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    text-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.brand__accent {
    color: var(--orange);
}

.nav--desktop {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .95);
    text-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: .2s ease;
}

.nav-link:hover {
    color: var(--orange);
}

.menu-btn {
    display: none;
    background: transparent;
    border: 0;
    color: var(--white);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.menu-btn:hover {
    color: var(--orange);
}

.icon {
    display: inline-block;
}

.icon--sm {
    width: 16px;
    height: 16px;
}

.icon--md {
    width: 22px;
    height: 22px;
}

.icon--lg {
    width: 30px;
    height: 30px;
}

.icon--xl {
    width: 40px;
    height: 40px;
}

.is-hidden {
    display: none !important;
}

/* ======= BACKDROP (overlay escuro) ======= */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(2px);
    z-index: 40;
    opacity: 0;
    transition: opacity .22s ease;
}

.mobile-backdrop.is-open {
    opacity: 1;
}

/* ====== MOBILE MENU (slide + fade) ====== */
.mobile-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    z-index: 41;

    background: var(--blue);
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);

    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
}

.mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__inner {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
    padding: 14px 0 22px;
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 14px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .95);
    font-weight: 600;
    transition: .2s ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--orange);
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    border: 2px solid transparent;
    transition: .2s ease;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
}

.btn--primary:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .85);
    color: var(--white);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--blue);
}

.btn--full {
    width: 100%;
}

/* ====== HERO ====== */
.hero {
    position: relative;
    min-height: 600px;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&q=80&w=2000");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 51, 102, .92) 0%, rgba(0, 51, 102, .72) 45%, rgba(0, 0, 0, 0) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
}

.hero__box {
    max-width: 620px;
    animation: fadeUp .8s ease-out both;
}

.hero__title {
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.04;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 800;
}

.hero__title .accent {
    color: var(--orange);
}

.hero__text {
    color: rgba(255, 255, 255, .86);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 26px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: .9;
    animation: bounce 1.3s infinite;
}

.scroll-indicator__mouse {
    width: 34px;
    height: 52px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .32);
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-indicator__dot {
    width: 4px;
    height: 12px;
    background: var(--white);
    border-radius: 999px;
}

/* ====== SECTIONS ====== */
.section {
    padding: 90px 0;
}

.section--soft {
    background: var(--soft);
}

.section--dark {
    background: var(--blue);
    color: var(--white);
    position: relative;
}

.section__head {
    margin-bottom: 40px;
}

.section__head.center {
    text-align: center;
    max-width: 820px;
    margin-inline: auto;
}

.kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 800;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section__title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    color: var(--blue);
}

.section__title--light {
    color: var(--white);
}

.section__desc {
    margin-top: 12px;
    color: #4b5563;
    line-height: 1.7;
}

.section--dark .section__desc {
    color: rgba(255, 255, 255, .82);
}

.bar {
    width: 96px;
    height: 4px;
    background: var(--orange);
    margin: 18px auto 0;
    border-radius: 999px;
}

/* ====== GRIDS ====== */
.grid {
    display: grid;
    gap: 18px;
}

.grid--services {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.grid--features {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid--gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.grid--footer {
    grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
    gap: 26px;
}

/* ====== CARDS ====== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    padding: 28px;
    transition: .25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.card--topline {
    border-top: 5px solid var(--orange);
}

.card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #eaf1ff;
    display: grid;
    place-items: center;
    color: var(--blue);
    margin-bottom: 16px;
    transition: .25s ease;
}

.card:hover .card__icon {
    background: var(--blue);
    color: var(--white);
}

.card__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.card__text {
    color: #4b5563;
    line-height: 1.7;
}

/* ====== FEATURES ====== */
.feature {
    text-align: center;
    padding: 10px;
}

.feature__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    display: grid;
    place-items: center;
    transition: .25s ease;
}

.feature:hover .feature__icon {
    background: var(--orange);
}

.feature__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.feature__text {
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
}

/* ====== GALLERY ====== */
.gallery {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .5s ease;
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    gap: 6px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .80) 100%);
    opacity: 0;
    transition: opacity .25s ease;
    color: var(--white);
}

.gallery__overlay small {
    color: var(--orange);
    font-weight: 700;
}

.gallery__overlay strong {
    font-size: 18px;
}

.gallery:hover img {
    transform: scale(1.10);
}

.gallery:hover .gallery__overlay {
    opacity: 1;
}

/* ====== FOOTER (fix diagonal) ====== */
.footer-wrap {
    background: #111827;
    isolation: isolate;
    position: relative;
    will-change: transform;
}

.footer-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform: translateZ(0);
}

.topline {
    width: 100%;
    height: 4px;
    background: var(--orange);
}

.footer {
    padding: 70px 0 28px;
    color: var(--white);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer__text {
    color: rgba(255, 255, 255, .70);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    color: rgba(255, 255, 255, .65);
    transition: .2s ease;
}

.footer__social a:hover {
    color: var(--orange);
}

.footer__title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 14px;
}

.footer__list a {
    color: rgba(255, 255, 255, .70);
    display: inline-block;
    padding: 6px 0;
    transition: .2s ease;
}

.footer__list a:hover {
    color: var(--orange);
}

.footer__info {
    display: grid;
    gap: 12px;
    color: rgba(255, 255, 255, .70);
    line-height: 1.6;
}

.accent-icon {
    color: var(--orange);
    margin-right: 10px;
    vertical-align: -4px;
}

.footer__bottom {
    margin-top: 26px;
    text-align: center;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
}

.footer__line {
    height: 1px;
    background: rgba(255, 255, 255, .10);
    margin-bottom: 18px;
}

/* ====== FLOAT WhatsApp ====== */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 40;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #22c55e;
    color: var(--white);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
    transition: .2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    filter: brightness(.98);
}

/* ====== HELPERS ====== */
.hide-mobile {
    display: inline;
}

.hide-tablet {
    display: block;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* =========================
   RESPONSIVIDADE (6 cenários)
   desktop / notebook / tablet landscape+portrait / mobile landscape+portrait
   ========================= */

/* Desktop grande */
@media (min-width: 1440px) {
    .container {
        width: min(1180px, calc(100% - 44px));
    }
}

/* Notebook / desktop médio */
@media (max-width: 1280px) {
    .grid--gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet paisagem */
@media (max-width: 1024px) {
    .nav--desktop {
        display: none;
    }

    .menu-btn {
        display: inline-flex;
    }

    .grid--services {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--features {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--footer {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__overlay {
        background: linear-gradient(90deg, rgba(0, 51, 102, .92) 0%, rgba(0, 51, 102, .78) 60%, rgba(0, 0, 0, 0) 110%);
    }

    .hide-tablet {
        display: none !important;
    }
}

/* Tablet retrato */
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: 560px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

/* Mobile paisagem */
@media (max-width: 640px) {
    .brand__text {
        font-size: 18px;
    }

    .hero__content {
        padding-top: 74px;
    }

    .hero__overlay {
        background: linear-gradient(180deg, rgba(0, 51, 102, .90) 0%, rgba(0, 51, 102, .75) 55%, rgba(0, 0, 0, .20) 100%);
    }

    .grid--services,
    .grid--features,
    .grid--gallery,
    .grid--footer {
        grid-template-columns: 1fr;
    }

    .gallery {
        height: 300px;
    }
}

/* Mobile retrato (bem pequeno) */
@media (max-width: 400px) {
    .container {
        width: calc(100% - 26px);
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 16px;
        right: 16px;
    }

    .hide-mobile {
        display: none !important;
    }
}