/* =========================================================
   JMD ENGENHARIA CONSTRUÇÕES
   STYLE.CSS — VERSÃO CONSOLIDADA
========================================================= */


/* =========================================================
   01. VARIÁVEIS
========================================================= */

:root {
    --red: #D81D24;
    --red-dark: #A81419;

    --ink: #202020;
    --ink-soft: #55565A;

    --gray: #E6E7E9;
    --gray-line: #D4D5D8;
    --gray-light: #F5F5F5;

    --white: #FFFFFF;
    --wa: #25D366;

    --heading: "Barlow Condensed", sans-serif;
    --body: "Work Sans", sans-serif;

    --container: 1200px;
    --header-height: 82px;
}


/* =========================================================
   02. RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    min-width: 320px;

    overflow-x: hidden;

    background: var(--white);
    color: var(--ink);

    font-family: var(--body);
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}


/* =========================================================
   03. ESTRUTURA GERAL
========================================================= */

.container {
    width: min(calc(100% - 40px), 1200px);
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: 105px 0;
}


/* =========================================================
   04. TIPOGRAFIA
========================================================= */

h1,
h2,
h3,
h4 {
    font-family: var(--heading);
}

h1 {
    font-size: clamp(3.4rem, 5vw, 5.2rem);
    font-weight: 700;
    line-height: .94;

    letter-spacing: -.025em;
}

h2 {
    font-size: clamp(2.8rem, 4.5vw, 4.6rem);
    font-weight: 600;
    line-height: .98;

    letter-spacing: -.02em;
}

h3 {
    line-height: 1.05;
}

h1 strong,
h2 strong {
    color: var(--red);
    font-weight: 700;
}

.section-kicker,
.eyebrow {
    display: block;

    margin-bottom: 18px;

    color: var(--red);

    font-family: var(--heading);
    font-size: .84rem;
    font-weight: 600;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 55px;
}

.section-heading p {
    max-width: 640px;

    margin-top: 22px;

    color: var(--ink-soft);

    font-size: 1.03rem;
}


/* =========================================================
   05. BOTÕES
========================================================= */

.button {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 27px;

    border: 2px solid transparent;

    font-family: var(--heading);
    font-size: .96rem;
    font-weight: 700;

    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--red);
    color: var(--white);
}

.button-primary:hover {
    background: var(--red-dark);
}

.button-outline-light {
    border-color: rgba(255,255,255,.62);

    background: transparent;
    color: var(--white);
}

.button-outline-light:hover {
    border-color: var(--white);

    background: var(--white);
    color: var(--ink);
}

.button-whatsapp {
    background: var(--wa);
    color: #102517;
}

.button-whatsapp:hover {
    background: #20BD5A;
}


/* =========================================================
   06. HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    right: 0;
    left: 0;

    z-index: 1000;

    height: var(--header-height);

    background: rgba(255,255,255,.97);

    border-bottom: 1px solid rgba(0,0,0,.07);

    transition: box-shadow .25s ease;
}

.header.scrolled {
    box-shadow: 0 8px 30px rgba(0,0,0,.09);
}

.header-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.logo img {
    width: auto;

    max-width: 190px;
    max-height: 58px;
}

.navigation {
    display: flex;
    align-items: center;

    gap: 30px;

    font-size: .88rem;
    font-weight: 500;
}

.navigation > a:not(.nav-cta) {
    position: relative;
}

.navigation > a:not(.nav-cta)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width .25s ease;
}

.navigation > a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 20px;

    background: var(--red);
    color: var(--white);

    font-family: var(--heading);
    font-weight: 700;

    letter-spacing: .03em;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;

    background: transparent;
}

.menu-toggle span {
    display: block;

    width: 26px;
    height: 2px;

    margin: 6px auto;

    background: var(--ink);

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* =========================================================
   07. HERO
   Desktop dividido:
   texto à esquerda + fotografia preservada à direita
========================================================= */

.hero {
    position: relative;

    min-height: 700px;

    display: flex;
    align-items: center;

    padding-top: var(--header-height);

    overflow: hidden;

    background: var(--ink);
    color: var(--white);
}

/* FOTO */

.hero::before {
    content: "";

    position: absolute;

    top: var(--header-height);
    right: 0;
    bottom: 0;

    z-index: 0;

    width: 68%;

    background-image:
        url("../assets/hero/hero-jmd.jpg");

    background-size: cover;

    /*
       Este valor controla o enquadramento da casa.
       Não precisa alterar a imagem original.
    */
    background-position: 54% center;

    background-repeat: no-repeat;
}


/* GRADIENTE */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            #202020 0%,
            #202020 25%,
            rgba(32,32,32,.98) 34%,
            rgba(32,32,32,.91) 43%,
            rgba(32,32,32,.66) 54%,
            rgba(32,32,32,.30) 67%,
            rgba(32,32,32,.08) 82%,
            rgba(32,32,32,.02) 100%
        );

    pointer-events: none;
}


/* CONTEÚDO */

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 680px;
}

.hero .eyebrow {
    margin-bottom: 20px;

    font-size: .76rem;
}


/* HEADLINE */

.hero-content h1 {
    max-width: 660px;

    font-size: clamp(3.2rem, 4.2vw, 4.6rem);

    line-height: .96;
    letter-spacing: -.02em;
}

.hero-content h1 strong {
    display: block;
}


/* TEXTO */

.hero-text {
    max-width: 570px;

    margin-top: 24px;

    color: rgba(255,255,255,.84);

    font-size: 1rem;
    line-height: 1.7;
}


/* BENEFÍCIOS */

.hero-benefits {
    max-width: 620px;

    display: flex;
    flex-wrap: wrap;

    gap: 9px 20px;

    margin-top: 24px;
}

.hero-benefits span {
    color: rgba(255,255,255,.92);

    font-size: .81rem;
}


/* AÇÕES */

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: 32px;
}


/* SCROLL LATERAL */

.hero-scroll {
    position: absolute;

    right: 24px;
    bottom: 36px;

    z-index: 3;

    display: flex;
    align-items: center;

    gap: 12px;

    color: rgba(255,255,255,.55);

    font-size: .62rem;

    letter-spacing: .16em;
    text-transform: uppercase;

    transform: rotate(90deg);
    transform-origin: right bottom;
}

.scroll-line {
    width: 45px;
    height: 1px;

    background: rgba(255,255,255,.40);
}


/* =========================================================
   08. FAIXA DE AUTORIDADE
========================================================= */

.stats {
    position: relative;

    z-index: 5;

    background: var(--red);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    min-height: 130px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 24px 28px;

    border-right: 1px solid rgba(255,255,255,.20);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    font-family: var(--heading);
    font-size: 2rem;
    font-weight: 700;

    line-height: 1;
}

.stat span {
    margin-top: 9px;

    color: rgba(255,255,255,.78);

    font-size: .78rem;
}


/* =========================================================
   09. SOBRE
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 85px;

    align-items: center;
}

.about-content p {
    max-width: 600px;

    margin-top: 21px;

    color: var(--ink-soft);
}

.text-link {
    display: inline-block;

    margin-top: 28px;

    color: var(--red);

    font-weight: 600;
}

.about-visual {
    position: relative;
}

.image-main {
    overflow: hidden;

    background: var(--gray);
}

.image-main img {
    width: 100%;
    height: 570px;

    object-fit: cover;
    object-position: center;
}

.experience-box {
    position: absolute;

    left: -45px;
    bottom: -30px;

    width: 205px;

    padding: 28px;

    background: var(--red);
    color: var(--white);
}

.experience-box strong {
    display: block;

    font-family: var(--heading);
    font-size: 3.5rem;
    font-weight: 700;

    line-height: .9;
}

.experience-box span {
    display: block;

    margin-top: 10px;

    font-size: .78rem;
}


/* =========================================================
   10. SERVIÇOS
========================================================= */

.services {
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    position: relative;

    min-height: 350px;

    padding: 37px;

    background: var(--white);

    border-right: 1px solid var(--gray-line);
    border-bottom: 1px solid var(--gray-line);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.service-card:hover {
    z-index: 2;

    transform: translateY(-6px);

    box-shadow: 0 24px 55px rgba(0,0,0,.10);
}

.service-number {
    color: var(--red);

    font-family: var(--heading);
    font-weight: 700;
}

.service-card h3 {
    margin-top: 50px;

    font-size: 2rem;
}

.service-card p {
    margin-top: 17px;

    color: var(--ink-soft);

    font-size: .9rem;
}

.service-card a {
    position: absolute;

    left: 37px;
    bottom: 33px;

    color: var(--red);

    font-size: .8rem;
    font-weight: 600;
}

.service-featured {
    background: var(--ink);
    color: var(--white);
}

.service-featured p {
    color: rgba(255,255,255,.66);
}


/* =========================================================
   11. DIFERENCIAIS
========================================================= */

.differences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--gray-line);
    border-left: 1px solid var(--gray-line);
}

.difference {
    min-height: 225px;

    padding: 34px;

    border-right: 1px solid var(--gray-line);
    border-bottom: 1px solid var(--gray-line);
}

.difference > span {
    color: var(--red);

    font-family: var(--heading);
    font-weight: 700;
}

.difference h3 {
    margin-top: 32px;

    font-size: 1.7rem;
}

.difference p {
    margin-top: 10px;

    color: var(--ink-soft);

    font-size: .89rem;
}


/* =========================================================
   12. COMPARAÇÃO
========================================================= */

.comparison {
    padding-top: 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.comparison-card {
    padding: 58px;

    background: var(--gray);
}

.comparison-card.with {
    background: var(--ink);
    color: var(--white);
}

.comparison-label {
    display: block;

    margin-bottom: 24px;

    color: var(--red);

    font-family: var(--heading);
    font-weight: 700;

    letter-spacing: .1em;
    text-transform: uppercase;
}

.comparison-card h2 {
    font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.comparison-card ul {
    display: grid;

    gap: 13px;

    margin-top: 32px;
}

.comparison-card li {
    padding-bottom: 13px;

    border-bottom: 1px solid rgba(0,0,0,.12);
}

.comparison-card.with li {
    border-color: rgba(255,255,255,.14);
}


/* =========================================================
   13. PORTFÓLIO
========================================================= */

.portfolio {
    overflow: hidden;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 34px;
}

.filter-button {
    padding: 10px 18px;

    border: 1px solid var(--gray-line);

    background: var(--white);
    color: var(--ink);

    font-size: .77rem;
    font-weight: 600;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.filter-button:hover,
.filter-button.active {
    border-color: var(--red);

    background: var(--red);
    color: var(--white);
}


/* GRID */

.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.portfolio-item {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: var(--ink);

    cursor: zoom-in;
}

.portfolio-item.hidden,
.portfolio-item.is-hidden {
    display: none !important;
}

.portfolio-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform .5s ease,
        filter .5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.045);
}


/* OVERLAY */

.portfolio-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 55px 23px 21px;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.90) 0%,
            rgba(0,0,0,.38) 46%,
            transparent 75%
        );

    color: var(--white);

    opacity: 0;

    pointer-events: none;

    transition: opacity .3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: rgba(255,255,255,.78);

    font-size: .78rem;
}

.portfolio-overlay strong {
    margin-top: 2px;

    color: var(--white);

    font-family: var(--heading);
    font-size: 1.05rem;

    text-transform: uppercase;
}


/* =========================================================
   14. LIGHTBOX
   O JS fará a abertura.
========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 85px;

    background: rgba(8,8,8,.96);

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.lightbox.active,
.lightbox.open {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
}

.lightbox img {
    display: block;

    width: auto;
    height: auto;

    max-width: min(1200px, 88vw);
    max-height: 84vh;

    object-fit: contain;

    box-shadow: 0 20px 70px rgba(0,0,0,.45);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    background: rgba(255,255,255,.08);
    color: var(--white);

    transition:
        background .2s ease,
        transform .2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--red);
}

.lightbox-close {
    top: 22px;
    right: 25px;

    width: 48px;
    height: 48px;

    font-size: 2rem;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;

    width: 52px;
    height: 70px;

    font-size: 2.6rem;

    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.04);
}

.lightbox-prev {
    left: 22px;
}

.lightbox-next {
    right: 22px;
}


/* =========================================================
   15. CTA PROJETO
========================================================= */

.project-cta {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;

    padding: 95px 0;

    background-image:
        url("../assets/portfolio/portfolio-02.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: var(--white);
}

.project-cta-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(20,20,20,.96) 0%,
            rgba(20,20,20,.80) 45%,
            rgba(20,20,20,.35) 100%
        );
}

.project-cta-content {
    position: relative;

    z-index: 2;
}

.project-cta-content > span {
    color: var(--red);

    font-family: var(--heading);

    letter-spacing: .15em;
    text-transform: uppercase;
}

.project-cta-content h2 {
    max-width: 700px;

    margin-top: 15px;
}

.project-cta-content p {
    max-width: 610px;

    margin: 24px 0 34px;

    color: rgba(255,255,255,.76);
}


/* =========================================================
   16. REGIÃO
========================================================= */

.region-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 85px;

    align-items: center;
}

.region-content p {
    max-width: 520px;

    margin: 24px 0 30px;

    color: var(--ink-soft);
}

.cities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--gray-line);
    border-left: 1px solid var(--gray-line);
}

.cities span {
    padding: 24px;

    border-right: 1px solid var(--gray-line);
    border-bottom: 1px solid var(--gray-line);

    font-family: var(--heading);
    font-size: 1.45rem;
    font-weight: 600;

    transition:
        background .25s ease,
        color .25s ease;
}

.cities span:hover {
    background: var(--red);
    color: var(--white);
}


/* =========================================================
   17. ORÇAMENTO
========================================================= */

.quote {
    background: var(--ink);
    color: var(--white);
}

.quote-grid {
    display: grid;

    grid-template-columns: .75fr 1.25fr;

    gap: 75px;
}

.quote-intro p {
    margin-top: 24px;

    color: rgba(255,255,255,.64);
}

.contact-info {
    margin-top: 42px;
}

.contact-info small {
    display: block;

    color: rgba(255,255,255,.50);
}

.contact-info a {
    display: inline-block;

    margin-top: 5px;

    font-family: var(--heading);
    font-size: 2rem;
    font-weight: 700;
}


/* FORM */

.quote-form {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 21px;

    padding: 43px;

    background: var(--white);
    color: var(--ink);
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: .77rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    min-height: 52px;

    padding: 13px 14px;

    border: 1px solid var(--gray-line);

    outline: none;

    background: var(--white);
    color: var(--ink);

    font-size: 16px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);

    box-shadow: 0 0 0 3px rgba(216,29,36,.10);
}

.form-submit {
    width: 100%;

    border: 0;
}

.form-note {
    display: block;

    margin-top: 10px;

    color: var(--ink-soft);

    text-align: center;
}


/* =========================================================
   18. FAQ
========================================================= */

.faq-container {
    max-width: 960px;
}

.faq-item {
    border-bottom: 1px solid var(--gray-line);
}

.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 24px 0;

    border: 0;

    background: transparent;
    color: var(--ink);

    font-family: var(--heading);
    font-size: 1.45rem;
    font-weight: 600;

    text-align: left;
}

.faq-question span {
    flex-shrink: 0;

    color: var(--red);

    font-size: 2rem;

    transition: transform .25s ease;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition: max-height .35s ease;
}

.faq-answer p {
    max-width: 760px;

    padding: 0 0 24px;

    color: var(--ink-soft);
}


/* =========================================================
   19. FOOTER
========================================================= */

.footer {
    padding: 68px 0 25px;

    background: var(--red);
    color: var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 60px;
}

.footer-brand {
    min-width: 0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;

    padding: 12px 17px;


}

.footer-logo img {
    width: auto;

    max-width: 190px;
    max-height: 58px;
}

.footer-brand p {
    margin-top: 19px;

    color: rgba(255,255,255,.82);
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;

    gap: 9px;

    font-size: .84rem;
}

.footer-links strong,
.footer-contact strong {
    margin-bottom: 9px;

    font-family: var(--heading);
    font-size: 1.12rem;

    text-transform: uppercase;
}

.footer-links a,
.footer-contact a {
    transition: opacity .2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: .72;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 15px 30px;

    margin-top: 58px;

    padding-top: 24px;

    border-top: 1px solid rgba(255,255,255,.23);

    color: rgba(255,255,255,.70);

    font-size: .72rem;
}


/* CRÉDITO MARCOS ROBERTO */

.site-credit {
    color: rgba(255,255,255,.70);

    font-size: .74rem;
}

.site-credit a {
    color: var(--white);

    font-weight: 600;

    transition: opacity .2s ease;
}

.site-credit a:hover {
    opacity: .72;
}


/* =========================================================
   20. WHATSAPP FLUTUANTE
========================================================= */

.whatsapp-floating {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 900;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 11px 13px 11px 17px;

    border-radius: 50px;

    background: var(--wa);
    color: #102517;

    box-shadow: 0 12px 30px rgba(0,0,0,.22);

    font-size: .78rem;
    font-weight: 600;

    transition: transform .25s ease;
}

.whatsapp-floating:hover {
    transform: translateY(-4px);
}

.whatsapp-floating strong {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--white);

    font-size: 1.25rem;
}


/* =========================================================
   21. ANIMAÇÃO REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(26px);

    transition:
        opacity .65s ease,
        transform .65s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   22. NOTEBOOK / TABLET
========================================================= */

@media (max-width: 1000px) {

    /* HEADER */

    .navigation {
        position: fixed;

        top: var(--header-height);
        right: 0;

        width: min(360px, 100%);
        height: calc(100vh - var(--header-height));

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 32px;

        background: var(--white);

        transform: translateX(100%);

        transition: transform .3s ease;

        box-shadow: -20px 20px 40px rgba(0,0,0,.08);
    }

    .navigation.active {
        transform: translateX(0);
    }

    .navigation a {
        padding: 15px 0;

        border-bottom: 1px solid var(--gray-line);
    }

    .nav-cta {
        margin-top: 14px;

        padding: 15px !important;

        text-align: center;
    }

    .menu-toggle {
        display: block;
    }


    /* HERO */

    .hero {
        min-height: 660px;
    }

    .hero::before {
        width: 74%;

        background-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                #202020 0%,
                rgba(32,32,32,.98) 36%,
                rgba(32,32,32,.86) 53%,
                rgba(32,32,32,.45) 72%,
                rgba(32,32,32,.10) 100%
            );
    }

    .hero-content {
        max-width: 680px;
    }

    .hero-content h1 {
        max-width: 650px;

        font-size: clamp(3.3rem, 7vw, 4.7rem);
    }


    /* GRIDS */

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .differences-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .region-grid,
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .region-grid,
    .quote-grid {
        gap: 60px;
    }


    /* SOBRE */

    .about-visual {
        max-width: 760px;
    }

    .experience-box {
        left: 20px;
    }


    /* PORTFÓLIO */

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   23. CELULAR
========================================================= */

@media (max-width: 700px) {

    :root {
        --header-height: 74px;
    }

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .section {
        padding: 78px 0;
    }


    /* TIPOGRAFIA */

    h1 {
        font-size: clamp(2.9rem, 13vw, 4.2rem);
    }

    h2 {
        font-size: clamp(2.5rem, 11vw, 3.8rem);
    }


    /* HEADER */

    .header {
        height: var(--header-height);
    }

    .logo img {
        max-width: 160px;
        max-height: 50px;
    }


    /* HERO */

    .hero {
        min-height: 620px;

        align-items: flex-end;

        padding-top: 100px;
        padding-bottom: 40px;
    }

    /*
       No celular a fotografia ocupa toda a largura.
    */

    .hero::before {
        top: var(--header-height);
        left: 0;
        right: 0;

        width: 100%;

        background-position: 61% center;
    }

    /*
       Imagem aparece na parte superior.
       Texto ganha contraste embaixo.
    */

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(20,20,20,.14) 0%,
                rgba(20,20,20,.22) 22%,
                rgba(20,20,20,.50) 43%,
                rgba(20,20,20,.86) 64%,
                rgba(20,20,20,.98) 82%,
                #202020 100%
            );
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        max-width: 100%;

        font-size: clamp(2.5rem, 10.5vw, 3.5rem);

        line-height: 1.06;
    }

    .hero-text {
        max-width: 100%;

        margin-top: 16px;

        font-size: .92rem;
    }

    .hero-benefits {
        flex-direction: column;

        gap: 5px;

        margin-top: 14px;
    }

    .hero-benefits span {
        white-space: normal;

        font-size: .8rem;
    }

    .hero-actions {
        flex-direction: column;

        gap: 10px;

        margin-top: 18px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }


    /* STATS */

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        min-height: 120px;

        padding: 19px;

        border-bottom: 1px solid rgba(255,255,255,.20);
    }

    .stat strong {
        font-size: 1.7rem;
    }


    /* SOBRE */

    .image-main img {
        height: 430px;
    }

    .experience-box {
        position: relative;

        left: auto;
        bottom: auto;

        width: 100%;

        margin-top: 0;
    }


    /* SERVIÇOS */

    .services-grid,
    .differences-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 310px;
    }

    .comparison-card {
        padding: 38px 26px;
    }


    /* PORTFÓLIO */

    .portfolio-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .portfolio-item {
        aspect-ratio: 4 / 3;
    }

    .portfolio-overlay {
        opacity: 1;

        padding: 45px 18px 17px;
    }


    /* LIGHTBOX */

    .lightbox {
        padding: 65px 15px;
    }

    .lightbox img {
        max-width: 94vw;
        max-height: 78vh;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;

        width: 44px;
        height: 44px;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 12px;

        width: 54px;
        height: 48px;

        transform: none;
    }

    .lightbox-prev:hover,
    .lightbox-next:hover {
        transform: none;
    }

    .lightbox-prev {
        left: calc(50% - 65px);
    }

    .lightbox-next {
        right: calc(50% - 65px);
    }


    /* CTA */

    .project-cta {
        min-height: 550px;

        padding: 75px 0;

        background-position: center;
    }

    .project-cta-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(20,20,20,.45),
                rgba(20,20,20,.94)
            );
    }


    /* REGIÃO */

    .cities {
        grid-template-columns: 1fr;
    }


    /* FORM */

    .quote-form {
        grid-template-columns: 1fr;

        padding: 27px 20px;
    }

    .form-group,
    .form-group.full {
        grid-column: 1 / -1;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 11px;
    }


    /* WHATSAPP */

    .whatsapp-floating span {
        display: none;
    }

    .whatsapp-floating {
        right: 15px;
        bottom: 15px;

        padding: 8px;
    }
}


/* =========================================================
   24. CELULAR PEQUENO
========================================================= */

@media (max-width: 480px) {

    .hero {
        min-height: 600px;

        padding-top: 95px;
        padding-bottom: 36px;
    }

    .hero::before {
        background-position: 62% center;
    }

    .hero-content h1 {
        font-size: clamp(2.3rem, 10.5vw, 3.1rem);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        gap: 6px;
    }

    .filter-button {
        padding: 8px 12px;

        font-size: .7rem;
    }

    .image-main img {
        height: 350px;
    }
}


/* =========================================================
   25. ACESSIBILIDADE / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }
}