:root {
    --navy: #071c3a;
    --navy-2: #0e2b56;
    --blue: #1358a8;
    --orange: #f28c28;
    --green: #1aa66a;
    --green-dark: #0c7045;
    --ink: #152033;
    --muted: #657287;
    --line: #dfe7ef;
    --soft: #f4f8fb;
    --white: #ffffff;
    --shadow: 0 22px 55px rgba(7, 28, 58, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: fixed;
    z-index: 20;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 12px clamp(18px, 5vw, 70px);
    color: var(--white);
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 40px rgba(7, 28, 58, 0.12);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand-logo {
    width: clamp(150px, 15vw, 210px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(7, 28, 58, 0.18));
}

.site-header.scrolled .brand-logo,
.site-header.menu-open .brand-logo {
    filter: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.site-header.scrolled .site-nav a:hover,
.site-header.menu-open .site-nav a:hover {
    background: #eef5fb;
}

.site-nav .nav-cta {
    color: var(--navy);
    background: var(--orange);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    color: currentColor;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 470px;
    padding: 86px clamp(18px, 6vw, 78px) 28px;
    color: var(--white);
    background-image: url("https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=2200&q=88");
    background-position: center;
    background-size: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 28, 58, 0.91), rgba(7, 28, 58, 0.70) 48%, rgba(7, 28, 58, 0.28)),
        linear-gradient(0deg, rgba(7, 28, 58, 0.55), rgba(7, 28, 58, 0.05));
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: clamp(22px, 5vw, 64px);
    align-items: end;
    max-width: 1280px;
    min-height: 356px;
    margin: 0 auto;
}

.hero-copy {
    width: min(820px, 100%);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 850px;
    margin-bottom: 14px;
    font-size: clamp(2.35rem, 5.1vw, 4.7rem);
    line-height: 0.95;
}

h2 {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: clamp(2rem, 4.2vw, 3.65rem);
    line-height: 1.04;
}

h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1.22rem;
}

.hero-copy p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.96rem, 1.25vw, 1.05rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--navy);
    background: var(--orange);
    box-shadow: 0 14px 28px rgba(242, 140, 40, 0.26);
}

.btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.10);
}

.btn-outline-dark {
    color: var(--navy);
    border-color: #b8c8d9;
    background: var(--white);
}

.hero-form,
.contact-card,
.quote-form,
.calc-form,
.calc-result {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.hero-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 10px;
    padding: 14px;
    color: var(--ink);
}

.form-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
    color: var(--navy);
    font-weight: 900;
    font-size: 1.02rem;
}

.hero-form .btn {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: 5px;
    color: var(--navy);
    font-weight: 800;
    font-size: 0.84rem;
}

input,
select,
textarea {
    width: 100%;
    min-height: 38px;
    border: 1px solid #cbd8e5;
    border-radius: 8px;
    padding: 8px 11px;
    color: var(--ink);
    background: var(--white);
}

.promo-carousel {
    padding: 18px clamp(18px, 6vw, 78px) 34px;
    background: var(--white);
}

.promo-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    max-width: 1280px;
    margin: 0 auto 12px;
}

.promo-header h2 {
    max-width: 740px;
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.promo-controls {
    display: flex;
    gap: 8px;
}

.promo-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    background: var(--white);
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.promo-controls button:hover {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
}

.promo-viewport {
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.promo-track {
    display: flex;
    transition: transform 420ms ease;
}

.promo-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 190px;
    display: grid;
    align-content: end;
    gap: 8px;
    padding: clamp(20px, 4vw, 38px);
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(7, 28, 58, 0.88), rgba(7, 28, 58, 0.44)),
        var(--promo-image);
    background-size: cover;
    background-position: center;
}

.promo-slide::after {
    content: "Clique para saber mais";
    width: fit-content;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--navy);
    background: var(--orange);
    font-weight: 900;
}

.promo-slide span {
    color: var(--orange);
    font-weight: 900;
    text-transform: uppercase;
}

.promo-slide strong {
    max-width: 720px;
    font-size: clamp(1.45rem, 3.2vw, 2.65rem);
    line-height: 1.02;
}

.promo-slide small {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    font-weight: 700;
}

.promo-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    max-width: 1280px;
    margin: 16px auto 0;
}

.promo-dots button {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #c9d6e4;
    cursor: pointer;
}

.promo-dots button.active {
    background: var(--orange);
}

textarea {
    resize: vertical;
}

.section {
    padding: 86px clamp(18px, 6vw, 78px);
}

.section-heading,
.section-text {
    max-width: 820px;
}

.section-heading {
    margin-bottom: 36px;
}

.section-text p,
.solution-card p,
.timeline p,
.project-card p,
.why-content li,
.faq p,
.quote p,
.site-footer p,
.site-footer a,
.contact-links,
.article-grid h3,
.calc-result p {
    color: var(--muted);
}

.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
    gap: clamp(28px, 6vw, 74px);
    align-items: center;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.metrics div {
    min-height: 150px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.metrics strong {
    display: block;
    color: var(--blue);
    font-size: 2rem;
    line-height: 1;
}

.metrics span {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-weight: 800;
}

.solutions,
.projects,
.content-hub,
.quote {
    background: var(--soft);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.solution-card,
.project-card,
.article-grid article,
.faq details,
.testimonial-grid blockquote {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(7, 28, 58, 0.06);
}

.solution-card {
    position: relative;
    padding-bottom: 20px;
}

.solution-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.solution-card .icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: -23px 20px 16px;
    position: relative;
    border-radius: 8px;
    color: var(--white);
    background: var(--green);
    font-weight: 900;
}

.solution-card h3,
.solution-card p {
    padding-inline: 20px;
}

.simulator {
    background: var(--navy);
}

.simulator h2 {
    color: var(--white);
}

.simulator .section-heading p {
    color: var(--orange);
}

.simulator-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.calc-form,
.calc-result {
    display: grid;
    gap: 15px;
    padding: 24px;
}

.calc-result {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calc-result div {
    min-height: 118px;
    padding: 18px;
    border-radius: 8px;
    background: #eef5fb;
}

.calc-result span {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.calc-result strong {
    display: block;
    margin-top: 10px;
    color: var(--navy);
    font-size: 1.55rem;
}

.calc-result p,
.calc-result a {
    grid-column: 1 / -1;
}

.process {
    background: var(--white);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.timeline article {
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.timeline span {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
    border-radius: 8px;
    color: var(--white);
    background: var(--blue);
    font-weight: 900;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filters button {
    min-height: 40px;
    border: 1px solid #c7d6e5;
    border-radius: 8px;
    padding: 0 14px;
    color: var(--navy);
    background: var(--white);
    font-weight: 800;
    cursor: pointer;
}

.filters .active {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project-card img {
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.project-card div {
    padding: 20px;
}

.project-card strong,
.project-card span {
    display: block;
}

.project-card strong {
    color: var(--navy);
    font-size: 1.14rem;
}

.project-card span {
    margin: 8px 0 10px;
    color: var(--green-dark);
    font-weight: 800;
}

.why {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 6vw, 78px);
    align-items: center;
    color: var(--white);
    background: var(--navy);
}

.why h2 {
    color: var(--white);
}

.why-media {
    min-height: 540px;
    border-radius: 8px;
    background-image: url("https://images.unsplash.com/photo-1497440001374-f26997328c1b?auto=format&fit=crop&w=1200&q=86");
    background-size: cover;
    background-position: center;
}

.why-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.why-content li {
    position: relative;
    padding-left: 26px;
    color: rgba(255, 255, 255, 0.82);
}

.why-content li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
}

.testimonial-grid,
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-grid blockquote {
    margin: 0;
    padding: 26px;
}

.testimonial-grid p {
    color: var(--ink);
    font-size: 1.1rem;
}

.testimonial-grid cite {
    color: var(--green-dark);
    font-style: normal;
    font-weight: 900;
}

.article-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-grid article {
    min-height: 190px;
    padding: 22px;
}

.article-grid span {
    color: var(--orange);
    font-weight: 900;
}

.article-grid h3 {
    margin-top: 28px;
    color: var(--navy);
    font-size: 1.08rem;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq details {
    padding: 0 20px;
}

.faq summary {
    padding: 20px 0;
    color: var(--navy);
    font-weight: 900;
    cursor: pointer;
}

.faq p {
    margin-bottom: 20px;
}

.quote {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.2fr);
    gap: clamp(28px, 6vw, 78px);
}

.quote-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    padding: 24px;
}

.wide {
    grid-column: 1 / -1;
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: clamp(28px, 6vw, 78px);
}

.contact-links {
    display: grid;
    gap: 12px;
    color: var(--navy);
    font-weight: 800;
}

.map-placeholder {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--white);
    text-align: center;
    background:
        linear-gradient(rgba(7, 28, 58, 0.72), rgba(7, 28, 58, 0.72)),
        url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=900&q=80");
    background-size: cover;
    background-position: center;
}

.map-placeholder strong,
.map-placeholder span {
    display: block;
}

.map-placeholder strong {
    font-size: 1.5rem;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 25;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    color: var(--white);
    background: #25d366;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
    font-weight: 900;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, 0.75fr));
    gap: 28px;
    padding: 52px clamp(18px, 6vw, 78px);
    color: rgba(255, 255, 255, 0.82);
    background: #06152b;
}

.footer-brand {
    margin-bottom: 18px;
    max-width: 260px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--white);
}

.footer-brand .brand-logo {
    width: 100%;
    filter: none;
}

.site-footer strong {
    display: block;
    color: var(--white);
    margin-bottom: 12px;
}

.site-footer nav,
.site-footer div:last-child {
    display: grid;
    align-content: start;
    gap: 8px;
}

.site-footer a,
.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1080px) {
    .site-nav a {
        padding-inline: 8px;
        font-size: 0.84rem;
    }

    .hero-grid,
    .about,
    .simulator-grid,
    .why,
    .quote,
    .contact {
        grid-template-columns: 1fr;
    }

    .solution-grid,
    .timeline,
    .project-grid,
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        min-height: auto;
        padding-top: 92px;
    }

    .hero-grid {
        align-items: start;
    }

    .hero-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-form .form-title,
    .hero-form .btn {
        grid-column: 1 / -1;
    }
}

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

    .site-nav {
        position: absolute;
        top: calc(100% - 8px);
        left: 18px;
        right: 18px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        color: var(--navy);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: grid;
    }

    .site-nav a {
        min-height: 44px;
        font-size: 0.95rem;
    }

    .site-nav a:hover {
        background: #eef5fb;
    }

    .hero {
        padding-top: 92px;
        padding-bottom: 26px;
    }

    .hero-grid {
        min-height: auto;
    }

    .promo-header {
        align-items: start;
    }

    .promo-slide {
        min-height: 180px;
    }

    .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .site-header {
        padding: 14px 16px;
    }

    .brand small {
        display: none;
    }

    .brand-logo {
        width: 154px;
    }

    .hero {
        min-height: auto;
        padding: 84px 16px 26px;
    }

    h1 {
        font-size: clamp(2.1rem, 13vw, 3.7rem);
    }

    .hero-copy p {
        font-size: 0.96rem;
    }

    .hero-actions,
    .promo-header,
    .metrics,
    .solution-grid,
    .timeline,
    .project-grid,
    .testimonial-grid,
    .article-grid,
    .calc-result,
    .quote-form,
    .why-content ul,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 16px;
    }

    .hero-form,
    .calc-form,
    .calc-result,
    .quote-form {
        padding: 14px;
    }

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

    .btn {
        width: 100%;
    }

    .promo-carousel {
        padding: 16px 16px 30px;
    }

    .promo-controls {
        width: 100%;
    }

    .promo-controls button {
        flex: 1;
    }

    .promo-slide {
        min-height: 180px;
        padding: 22px;
    }

    .promo-slide strong {
        font-size: 1.55rem;
    }

    .why-media {
        min-height: 360px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 56px;
        height: 56px;
    }
}
