:root {
    --navy: #031b3f;
    --navy-light: #07366d;

    --blue: #087bd8;
    --blue-light: #19b5ff;

    --orange: #ff8500;
    --orange-light: #ffb000;

    --green: #18b735;
    --green-dark: #07851d;

    --white: #ffffff;
    --light: #f4f8fc;
    --text: #172033;
    --muted: #687386;
}


/* ===============================
   GERAL
================================ */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
}


/* ===============================
   NAVBAR
================================ */

.navbar {
    background: rgba(3, 27, 63, .96);
    padding: 14px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
}

.brand-name {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
}

.brand-name strong {
    color: var(--orange);
}

.nav-link {
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
}

.nav-link:hover {
    color: var(--orange);
}


/* ===============================
   WHATSAPP
================================ */

.btn-whatsapp {
    background: linear-gradient(
        135deg,
        var(--green),
        var(--green-dark)
    );

    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 11px 22px;
    font-weight: 700;

    box-shadow: 0 8px 20px rgba(0, 150, 40, .25);

    transition: .25s;
}

.btn-whatsapp:hover {
    color: var(--white);
    transform: translateY(-2px);
}


/* ===============================
   HERO
================================ */

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(25, 181, 255, .30),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #02152f 0%,
            #06376d 55%,
            #087bd8 100%
        );

    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    right: -200px;
    bottom: -250px;

    border-radius: 50%;

    background: rgba(25, 181, 255, .15);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;

    padding: 8px 15px;
    margin-bottom: 20px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;

    background: rgba(255, 255, 255, .08);

    font-weight: 600;
}

.hero-badge i {
    color: var(--orange);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: .95;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        var(--orange-light),
        var(--orange)
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 600px;

    color: rgba(255, 255, 255, .82);

    font-size: 1.2rem;
    line-height: 1.7;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;

    margin-top: 35px;

    font-size: .9rem;
}

.hero-features i {
    color: #38df65;
}


/* LOGO */

.hero-logo {
    position: relative;
    z-index: 2;
}

.hero-logo img {
    width: min(100%, 590px);

    filter:
        drop-shadow(0 25px 30px rgba(0, 0, 0, .30));

    transition: transform .4s ease;
}

.hero-logo img:hover {
    transform: translateY(-6px);
}


/* ===============================
   SERVIÇOS
================================ */

.services-section {
    padding: 100px 0;
    background: var(--light);
}

.section-title {
    max-width: 650px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-title span {
    color: var(--orange);

    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-title h2 {
    color: var(--navy);

    margin-top: 10px;

    font-size: 2.5rem;
    font-weight: 800;
}

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


/* CARD */

.service-card {
    display: block;
    height: 100%;

    background: var(--white);

    padding: 35px;

    border-radius: 20px;

    box-shadow: 0 10px 35px rgba(3, 27, 63, .08);

    transition: .3s;
    color: inherit;
    text-decoration: none;
}

.service-card:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 4px;
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 18px 45px rgba(3, 27, 63, .14);
}

.service-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 18px;

    background: var(--navy);

    color: var(--white);

    font-size: 1.8rem;
}

.service-icon.orange {
    background: var(--orange);
}

.service-card h3 {
    color: var(--navy);

    font-size: 1.3rem;
    font-weight: 800;
}

.service-card p {
    color: var(--muted);

    margin-bottom: 0;

    line-height: 1.7;
}

.service-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #168a4a;
    font-weight: 700;
}


/* ===============================
   CTA
================================ */

.cta-section {
    padding: 70px 0;

    background: var(--navy);

    color: var(--white);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;
}

.cta-content span {
    color: var(--orange);

    font-weight: 800;
    letter-spacing: 1px;
}

.cta-content h2 {
    margin: 7px 0 10px;

    font-weight: 800;
}

.cta-content p {
    margin: 0;

    color: rgba(255, 255, 255, .75);
}


/* ===============================
   FOOTER
================================ */

.footer {
    padding: 45px 0;

    background: #020f23;

    color: rgba(255, 255, 255, .7);
}

.footer h5 {
    color: var(--white);

    font-weight: 800;
}

.footer h5 span {
    color: var(--orange);
}

.footer-copy {
    font-size: .85rem;
}


/* ===============================
   MOBILE
================================ */

@media (max-width: 991px) {

    .hero {
        padding-top: 110px;
    }

    .hero .min-vh-100 {
        min-height: auto !important;
    }

    .hero-content {
        padding: 60px 12px 20px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-logo {
        padding: 25px 20px 60px;
    }

    .hero-logo img {
        max-width: 500px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===============================
   TRABALHOS REALIZADOS
================================ */

.works-section {
    padding: 100px 0;
    background: #ffffff;
}

.works-carousel {
    width: 100%;
}

.works-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 4px 20px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.works-carousel-track::-webkit-scrollbar {
    display: none;
}

.works-carousel-track:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.works-carousel-item {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.works-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.works-carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 44px;
    border: 1px solid var(--navy);
    border-radius: 50%;
    background: #ffffff;
    color: var(--navy);
    font-size: 1.2rem;
    transition: background-color .2s ease,
                color .2s ease;
}

.works-carousel-button:hover:not(:disabled),
.works-carousel-button:focus-visible {
    background: var(--navy);
    color: #ffffff;
}

.works-carousel-button:disabled {
    cursor: default;
    opacity: .4;
}

.work-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;

    background: #ffffff;

    border-radius: 20px;

    box-shadow: 0 10px 35px rgba(3, 27, 63, .10);

    transition: transform .3s ease,
                box-shadow .3s ease;
}

.work-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 18px 45px rgba(3, 27, 63, .16);
}


.work-content {
    flex: 1;
    padding: 20px;
}

.work-content h3 {
    color: var(--navy);

    font-size: 1.25rem;
    font-weight: 800;
}

.work-content p {
    color: var(--muted);

    line-height: 1.7;

    margin-bottom: 0;
}


.empty-works {
    padding: 50px;

    text-align: center;

    background: var(--light);

    border-radius: 20px;

    color: var(--muted);
}

.empty-works i {
    display: block;

    margin-bottom: 15px;

    color: var(--blue);

    font-size: 3rem;
}

/* ===============================
   AVALIAÇÕES
================================ */

.reviews-section {
    padding: 90px 0;
    background: var(--light);
}

.review-card {
    padding: 26px;
    background: var(--white);
    border: 1px solid #e4ebf3;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(3, 27, 63, .06);
}

.review-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 16px;
    color: #f2a900;
}

.review-card blockquote {
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.review-author {
    color: var(--navy);
    font-weight: 800;
}

.review-moderation-note {
    color: var(--muted);
    font-size: .9rem;
}

.empty-reviews {
    padding: 38px 20px;
    color: var(--muted);
    text-align: center;
    background: var(--white);
    border: 1px dashed #cad5e2;
    border-radius: 18px;
}

.empty-reviews i {
    display: block;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 2.5rem;
}

.empty-reviews p {
    margin-bottom: 0;
}

.evaluation-page {
    min-height: calc(100vh - 90px);
    padding: 120px 0 60px;
    background:
        radial-gradient(circle at top right, rgba(8, 123, 216, .12), transparent 35%),
        var(--light);
}

.evaluation-card {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 48px);
    background: var(--white);
    border: 1px solid #e4ebf3;
    border-radius: 24px;
    box-shadow: 0 16px 45px rgba(3, 27, 63, .1);
}

.evaluation-label {
    color: var(--orange);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.evaluation-card h1 {
    margin: 10px 0;
    color: var(--navy);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
}

.evaluation-intro {
    margin-bottom: 28px;
    color: var(--muted);
    line-height: 1.6;
}

.evaluation-thanks-card {
    padding-top: clamp(36px, 6vw, 60px);
    padding-bottom: clamp(36px, 6vw, 60px);
}

.evaluation-thanks-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    place-items: center;
    color: #168a4a;
    background: rgba(24, 183, 53, .12);
    border-radius: 50%;
    font-size: 2rem;
}

.evaluation-thanks-card .evaluation-intro {
    max-width: 520px;
    margin: 16px auto 28px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    width: fit-content;
}

.star-rating-option {
    position: relative;
}

.star-rating-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.star-rating-label {
    margin: 0;
    color: #c6ced8;
    cursor: pointer;
    font-size: 2.5rem;
    line-height: 1;
    transition: color .15s ease, transform .15s ease;
}

.star-rating-option:has(.star-rating-input:checked) .star-rating-label,
.star-rating-option:has(.star-rating-input:checked) ~ .star-rating-option .star-rating-label,
.star-rating-option:hover .star-rating-label,
.star-rating-option:hover ~ .star-rating-option .star-rating-label {
    color: #f2a900;
}

.star-rating-option:hover .star-rating-label {
    transform: scale(1.12);
}

.star-rating-input:focus-visible + .star-rating-label {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.star-rating-hint {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: .9rem;
}

/* =========================
   TRABALHOS REALIZADOS
========================= */

.work-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.work-media {
    position: relative;
    overflow: hidden;

    height: 190px;

    background: #000;

    border-radius: 12px;
}

.work-media img,
.work-media video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.work-media-label {
    position: absolute;
    top: 12px;
    left: 12px;

    z-index: 2;

    padding: 6px 12px;

    border-radius: 20px;

    background: var(--orange);
    color: white;

    font-size: 0.8rem;
    font-weight: 700;

    text-transform: uppercase;
}


.work-media-label.after {
    background: var(--green);
}


.work-no-media {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
}


@media (max-width: 576px) {

    .works-carousel-track {
        gap: 14px;
    }

    .works-carousel-item {
        flex-basis: 100%;
    }

    .work-media {
        height: 220px;
    }
}

@media (min-width: 577px) and (max-width: 991px) {

    .works-carousel-item {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (prefers-reduced-motion: reduce) {

    .works-carousel-track {
        scroll-behavior: auto;
    }
}