/* ===========================================================
   MADINC — style.css
   Organizado por secções para fácil edição
   =========================================================== */

/* ─── RESET E BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; scroll-padding-top: 80px; overflow-x: hidden; }

body {
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
    font-size: 12px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
.hero-lcp-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
}
.nav-toggle-glyph,
.contact-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.nav-toggle-glyph {
    font-size: 1.9rem;
    color: #4a3529;
}
.contact-glyph {
    width: 16px;
    color: #8c837b;
    font-size: 0.95rem;
}
.ui-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-style: normal;
}

.feature-glyph,
.social-glyph {
    min-width: 1em;
}

.checklist-glyph,
.meta-glyph,
.info-glyph {
    min-width: 1.1em;
}
.contact-upload-note {
    margin-top: 8px;
    color: #8c837b;
    font-size: 11px;
    line-height: 1.4;
}
.contact-selected-files {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}
.contact-selected-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(74, 53, 41, 0.14);
    border-radius: 10px;
    background: #faf7f3;
    font-size: 11px;
    line-height: 1.4;
}
.contact-selected-file span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.contact-selected-file button {
    border: 0;
    background: transparent;
    color: #8f482c;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.home-deferred-section {
    content-visibility: visible;
    contain-intrinsic-size: none;
}
.page-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
}

.service-intro-row {
    align-items: flex-start !important;
}

.service-intro-copy {
    align-self: flex-start !important;
}

.service-intro-copy .section-kicker {
    display: block;
    margin-top: 0 !important;
}

.service-intro-copy .titulo {
    margin-top: 0 !important;
}
a { color: #b8956e; text-decoration: none; transition: color 0.3s; }
a:hover { color: #96754f; }

/* ─── TIPOGRAFIA ─────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    line-height: 1.2;
}

p, li, label, input, textarea, select, button, small,
.texto,
.card-servico p,
.portfolio-detalhe .info p,
.checklist li,
.valor-texto,
.info-item p,
.footer-dados,
.footer-menu-legal,
.footer-copy,
.intro-text p,
.living-spaces-heading p,
.hero p {
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
    font-size: 12px;
}

.subtitulo {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b8956e;
    margin-bottom: 6px;
}

.titulo {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.titulo em { font-style: normal; color: #b8956e; }

.linha {
    width: 50px;
    height: 3px;
    background: #b8956e;
    border: none;
}

.texto { color: #666; font-size: 15px; line-height: 1.8; }

/* ─── BARRA TOPO ─────────────────────────────────────── */
.barra-topo {
    background: #b8956e;
    color: #fff;
    font-size: 13px;
    padding: 7px 0;
    letter-spacing: 0.3px;
}

.barra-topo a { color: #fff; }
.barra-topo a:hover { opacity: 0.85; color: #fff; }

/* ─── NAVBAR ─────────────────────────────────────────── */
#mainNav {
    background: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    padding: 0;
    z-index: 1000;
}

#mainNav .navbar-brand {
    margin-right: 4px;
    padding-top: 0;
    padding-bottom: 0;
}

#mainNav .navbar-brand img {
    height: 94px;
    width: auto;
    max-width: none;
    padding: 10px 0;
}


#mainNav .navbar-toggler {
    font-size: 34px;
    color: #333;
    padding: 2px 6px;
}

#mainNav .navbar-toggler .bi {
    font-size: 34px;
    line-height: 1;
}

#mainNav .navbar-toggler:focus {
    box-shadow: none;
}

#mainNav .mobile-menu-logo {
    display: none;
}

#mainNav .mobile-menu-close,
.mobile-menu-contact,
.mobile-menu-backdrop {
    display: none;
}

#mainNav .nav-link {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 10px !important;
    transition: color 0.3s;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: #b8956e; }

.btn-cta {
    background: #8f482c;
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 22px;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-cta:hover { background: #a85a39; }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 96vh;
    min-height: 96dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2d2d2d;
    color: #fff;
    overflow: hidden;
}

.hero-editorial {
    isolation: isolate;
}

.hero-slide {
    position: absolute;
    inset: 0 0 -4px 0;
    width: 100%;
    height: calc(100% + 4px);
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: -2;
}

.hero.is-enhanced .hero-slide {
    transition: none;
}

.hero-slide-media {
    position: absolute;
    inset: 0 0 -4px 0;
    width: 100%;
    height: calc(100% + 4px);
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slide.active {
    opacity: 1;
}

.hero-editorial::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15,15,15,0.46) 0%, rgba(24,24,24,0.24) 44%, rgba(15,15,15,0.14) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.17) 100%);
    z-index: -1;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .container {
    position: relative;
    z-index: 2;
    min-height: 96vh;
    min-height: 96dvh;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: none;
    min-height: auto;
    margin-left: 0;
    margin-right: 0;
    padding-top: 124px;
    padding-right: 150px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    position: relative;
}

.hero-content > * {
    opacity: 1;
    transform: none;
}

.hero-content > .hero-scroll-cue {
    opacity: 1;
    transform: none;
}

.hero-content > .hero-arrows {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.hero-content.is-reset > * {
    animation: none;
    opacity: 1;
    transform: none;
}

.hero-content.is-reset > .hero-scroll-cue {
    opacity: 1;
    transform: none;
}

.hero-content.is-reset > .hero-arrows {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.hero-content.is-changing > * {
    animation: none;
    opacity: 1;
    transform: none;
}

.hero-content.is-changing > .hero-scroll-cue {
    animation: none;
    opacity: 1;
    transform: none;
}

.hero-content.is-changing > .hero-arrows {
    animation: none;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.hero-content .hero-kicker { animation-delay: 0.03s; }
.hero-content .hero-title { animation-delay: 0.13s; }
.hero-content .hero-copy { animation-delay: 0.23s; }
.hero-content .hero-actions { animation-delay: 0.33s; }

.hero-content.is-changing .hero-kicker { animation-delay: 0.03s; }
.hero-content.is-changing .hero-title { animation-delay: 0.13s; }
.hero-content.is-changing .hero-copy { animation-delay: 0.23s; }
.hero-content.is-changing .hero-actions { animation-delay: 0.33s; }

.hero-scroll-cue {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(760px, calc(100% - 60px));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 4;
    pointer-events: none;
}

.hero-scroll-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.hero-scroll-line {
    flex: 1 1 0;
    max-width: 120px;
    height: 1px;
    background: rgba(255,255,255,0.9);
}

.hero-scroll-text {
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.55rem, 2.3vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-align: center;
    text-shadow: 0 10px 26px rgba(0,0,0,0.22);
    white-space: nowrap;
}

.hero-scroll-mouse {
    position: relative;
    width: 76px;
    height: 112px;
    background: rgba(255,255,255,0.95);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.hero-scroll-mouse::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 50%;
    width: 20px;
    height: 30px;
    border-radius: 999px;
    background: #453630;
    transform: translateX(-50%);
}

.hero-scroll-mouse::after {
    content: "";
    position: absolute;
    top: 11px;
    left: 50%;
    width: 2px;
    height: 42px;
    background: rgba(255,255,255,0.9);
    transform: translateX(-50%);
}

.hero-lcp-image {
    inset: 0 0 -4px 0;
    height: calc(100% + 4px);
}

@keyframes heroItemIn {
    from {
        opacity: 0;
        transform: translateX(-110vw);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.hero-kicker::after {
    content: "";
    width: 72px;
    height: 1px;
    background: #f3d7a6;
}

.hero-count {
    color: #f3d7a6;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(0,0,0,0.22);
}

.hero h1 {
    color: #fff;
    text-shadow: 0 1px 0 rgba(255,255,255,0.22), 0 8px 24px rgba(0,0,0,0.18);
    font-size: 62px;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 18px;
    font-weight: 700;
}

.hero h1 em { font-style: normal; color: #d4b98e; }

.hero-title {
    color: #fff !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.22), 0 8px 24px rgba(0,0,0,0.18);
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: clamp(2.35rem, 4.8vw, 4.6rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 18px;
    max-width: min(980px, 82vw);
}

.hero p {
    color: #d8d8d8;
    font-size: 20px;
    line-height: 1.7;
    max-width: 650px;
    margin-left: 0;
    margin-right: 0;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 28px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-width: 166px;
    min-height: 46px;
    color: #fff;
    background: rgba(15,15,15,0.42);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 0 62px 0 22px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

.hero-link::before,
.hero-link::after {
    content: "";
    position: absolute;
    top: 50%;
    background: #fff;
}

.hero-link::before {
    right: 22px;
    width: 30px;
    height: 1px;
    transform: translateY(-50%);
}

.hero-link::after {
    right: 21px;
    width: 9px;
    height: 9px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    background: transparent;
    transform: translateY(-50%) rotate(45deg);
}

.hero-link:hover {
    color: #fff;
    background: rgba(15,15,15,0.58);
    border-color: rgba(255,255,255,0.24);
}

.hero-arrows {
    position: absolute;
    top: calc(50% - 62px);
    right: 18px;
    z-index: 4;
    width: 104px;
    height: 124px;
    transform: none;
    animation: none;
    transition: none;
    opacity: 1;
    visibility: visible;
}

.hero-arrow {
    position: absolute;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(0,0,0,0.24);
    background: rgba(0,0,0,0.42);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: none;
}

.hero-arrow-next {
    top: 0;
    right: 0;
}

.hero-arrow-prev {
    left: 0;
    bottom: 0;
}

.hero-arrow span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}

.hero-arrow-next span {
    transform: translate(-62%, -50%) rotate(45deg);
}

.hero-arrow-prev span {
    transform: translate(-38%, -50%) rotate(225deg);
}

.hero-arrow:hover,
.hero-arrow:focus,
.hero-arrow:active {
    background: rgba(0,0,0,0.42);
    border-color: rgba(0,0,0,0.24);
    opacity: 1;
    visibility: visible;
    transform: none;
}

.hero-dots {
    position: absolute;
    right: 42px;
    bottom: 42px;
    z-index: 2;
    display: flex;
    gap: 12px;
}

.hero-dots button {
    width: 34px;
    height: 2px;
    border: 0;
    background: rgba(243,215,166,0.55);
    padding: 0;
    cursor: pointer;
}

.hero-dots button.active {
    background: #f3d7a6;
}

/* ─── INTRO EDITORIAL ────────────────────────────────── */
.intro-editorial {
    position: relative;
    background:
        radial-gradient(60% 120% at 8% 0%, rgba(212,185,142,0.10) 0%, rgba(212,185,142,0.03) 42%, rgba(212,185,142,0) 68%),
        linear-gradient(180deg, #fbfaf8 0%, #ffffff 100%);
    color: #928981;
    padding: 110px 0 95px;
    overflow: hidden;
}

.intro-editorial::before {
    content: "";
    position: absolute;
    inset: 34px auto 34px 50%;
    width: 1px;
    background: linear-gradient(180deg, rgba(143,72,44,0) 0%, rgba(143,72,44,0.16) 18%, rgba(143,72,44,0.16) 82%, rgba(143,72,44,0) 100%);
    transform: translateX(-520px);
    pointer-events: none;
}

.intro-editorial-top {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(430px, 680px);
    column-gap: 88px;
    align-items: start;
    min-height: 585px;
}

.intro-mark {
    display: block;
    justify-self: center;
    width: 178px;
    height: 178px;
    margin-top: 26px;
    position: relative;
}

.intro-mark-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
}

.intro-mark::after {
    display: none;
}

.intro-text {
    max-width: 720px;
    padding-top: 215px;
}

.section-kicker {
    display: block;
    color: #746b64;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.8px;
    line-height: 1;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    margin-right: 12px;
    vertical-align: middle;
    background: rgba(143,72,44,0.42);
}

.intro-text h2 {
    color: #8f867e;
    font-family: 'Jost', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-transform: none;
}

.intro-text h2 {
    font-size: clamp(2rem, 3.1vw, 3rem);
    margin-bottom: 26px;
}

.intro-text p {
    color: #645d57;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.58;
    max-width: 690px;
    margin-bottom: 18px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* ─── VIDEO INTRO ────────────────────────────────────── */
.intro-video-section {
    position: relative;
    background: linear-gradient(135deg, rgba(236,232,227,0.96) 0%, rgba(244,242,239,0.98) 100%);
    margin: 42px 0 52px;
    padding: 0;
}

.intro-video-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(44% 80% at 88% 18%, rgba(143,72,44,0.08) 0%, rgba(143,72,44,0.02) 42%, rgba(143,72,44,0) 72%);
    pointer-events: none;
}

.intro-video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: start;
    gap: 64px;
}

.intro-video-frame {
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(140,131,123,0.16);
    box-shadow: 0 24px 70px rgba(45,45,45,0.08);
    overflow: hidden;
    position: relative;
    border-radius: 0 0 0 78px;
}

.intro-video-launch {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #2d2d2d;
    cursor: pointer;
}

.intro-video-launch img,
.intro-video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    background: #2d2d2d;
}

.intro-video-frame video {
    background: #2d2d2d;
}

.intro-video-frame video.is-manual {
    cursor: pointer;
}

.intro-video-manual-play {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border: 0;
    background: rgba(15,15,15,0.68);
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 2;
}

.intro-video-manual-play[hidden] {
    display: none !important;
}

.intro-video-play {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(15, 15, 15, 0.68);
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.intro-video-play-icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 50%;
    position: relative;
}

.intro-video-play-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
    transform: translate(-34%, -50%);
}

.intro-video-text {
    max-width: 460px;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    padding-left: 0;
}

.intro-video-text .section-kicker {
    display: block;
    color: #746b64;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.8px;
    line-height: 1;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.intro-video-text h2 {
    color: #746b64;
    font-family: 'Jost', Arial, sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
    line-height: 1.22;
    margin-bottom: 22px;
}

.intro-video-text p {
    color: #645d57;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13.35px;
    font-weight: 300;
    line-height: 1.72;
    margin: 0;
}

@media (max-width: 1100px) {
    .intro-video-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        justify-items: stretch;
    }

    .intro-video-frame {
        margin: 0 !important;
        width: 100%;
        max-width: 100%;
    }

    .intro-video-text {
        max-width: 100% !important;
        padding-top: 10px !important;
    }
}

/* ─── ESPAÇOS À MEDIDA ───────────────────────────────── */
.living-spaces {
    position: relative;
    background: #fff;
    padding: 92px 0 78px;
}

.living-spaces::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(1000px, calc(100% - 48px));
    height: 1px;
    background: linear-gradient(90deg, rgba(143,72,44,0) 0%, rgba(143,72,44,0.16) 20%, rgba(143,72,44,0.16) 80%, rgba(143,72,44,0) 100%);
    transform: translateX(-50%);
}

.living-spaces-heading {
    max-width: 1000px;
    margin-bottom: 56px;
    margin-left: auto;
    margin-right: auto;
}

.living-spaces-heading h2 {
    color: #746b64;
    font-family: 'Jost', Arial, sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: none;
    margin-bottom: 20px;
}

.living-spaces-heading p {
    color: #645d57;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.58;
    max-width: 760px;
}

.living-spaces-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.living-space-card {
    position: relative;
    display: block;
    height: 600px;
    overflow: hidden;
    background: #e8e3dc;
    color: #fff;
    border-radius: 4px;
}

.living-space-card-large {
    grid-column: 1 / -1;
    height: 600px;
    border-radius: 4px;
}

.living-space-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,0.52) 100%);
    z-index: 1;
    transition: background 0.35s ease;
}

.living-space-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.living-space-content {
    position: absolute;
    left: 42px;
    right: 42px;
    bottom: 30px;
    z-index: 2;
}

.living-space-content h3 {
    display: inline-block;
    color: #fff;
    text-shadow: 0 1px 0 rgba(255,255,255,0.22), 0 8px 24px rgba(0,0,0,0.22);
    font-family: 'Roboto', Arial, sans-serif;
    font-size: clamp(2.4rem, 4.2vw, 4.4rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -1px;
    margin: 0;
    transition: opacity 0.2s ease;
}

.living-space-content p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.55;
    max-width: 780px;
    margin: 0;
    opacity: 0;
    transform: none;
    transition: opacity 0.2s ease;
}

.living-space-card:hover {
    color: #fff;
}

.living-space-card:hover img {
    transform: none;
}

.living-space-card:hover::after,
.living-space-card:focus-visible::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.06) 20%, rgba(0,0,0,0.72) 100%);
}

.living-space-card:hover .living-space-content h3,
.living-space-card:focus-visible .living-space-content h3 {
    opacity: 0;
    transform: none;
}

.living-space-card:hover .living-space-content p,
.living-space-card:focus-visible .living-space-content p {
    opacity: 1;
    transform: none;
}

/* ─── SECÇÕES GERAIS ─────────────────────────────────── */
section { padding: 70px 0; }

.bg-cinza { background: #faf9f7; }

/* ─── CARDS SERVIÇOS ─────────────────────────────────── */
.card-servico {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.card-servico:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.card-servico img { width: 100%; height: 210px; object-fit: cover; }
.card-servico .card-body { padding: 20px; }
.card-servico h5 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.card-servico p { color: #666; font-size: 13px; }
.card-servico a { font-size: 13px; font-weight: 500; }

/* ─── PORTFÓLIO GRID ─────────────────────────────────── */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    transition: none;
}

.portfolio-item:hover img { transform: none; }

.portfolio-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    align-content: flex-end;
    gap: 0 14px;
    padding: 18px 18px 16px;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    text-align: left;
}

.portfolio-item:hover .overlay { opacity: 1; }

.portfolio-item .overlay small {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 1;
    margin: 0;
    color: #fff;
    line-height: 1.2;
}

.portfolio-item .overlay h6 {
    display: inline-block;
    flex: 1 1 220px;
    max-width: none;
    font-size: 13px;
    font-weight: 300;
    margin: 0;
    line-height: 1.2;
    color: #fff;
}

.portfolio-featured .subtitulo {
    color: #8c837b;
}

.portfolio-featured .titulo {
    color: #2d2d2d;
}

.portfolio-featured .titulo em {
    color: #8c837b;
}

.portfolio-featured .linha {
    background: #8c837b;
}

.portfolio-featured {
    position: relative;
    padding: 92px 0 78px;
    background: linear-gradient(180deg, rgba(251,250,248,1) 0%, rgba(246,243,239,1) 100%);
}

.portfolio-featured-heading {
    max-width: 1000px;
    margin: 0 auto 56px;
}

.portfolio-featured-heading h2 {
    color: #8c837b;
    font-family: 'Jost', Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.28;
    margin-bottom: 20px;
}

.portfolio-featured-heading p {
    color: #8c837b;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.58;
    max-width: 760px;
    margin: 0;
}

/* ─── PORTFÓLIO — LIGHTBOX (página portfolio) ────────── */
.portfolio-detalhe {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 30px;
}

.portfolio-detalhe img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

.portfolio-slider {
    position: relative;
}

.portfolio-slider-controls {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.portfolio-slider-nav {
    position: static;
    top: auto;
    transform: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.34);
    background: rgba(0,0,0,0.34);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.portfolio-slider-nav:hover {
    background: rgba(0,0,0,0.5);
}

.portfolio-slider-count {
    position: static;
    padding: 6px 10px;
    background: rgba(0,0,0,0.48);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
}

.portfolio-expand-trigger {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 0;
    border: 0;
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    text-shadow: 0 3px 14px rgba(0,0,0,0.45);
}

.portfolio-expand-trigger:hover {
    color: #fff;
    opacity: 0.88;
}

.portfolio-detalhe .info {
    padding: 20px;
}

.portfolio-detalhe .info small {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b8956e;
}

.portfolio-detalhe .info h5 {
    font-size: 17px;
    text-transform: uppercase;
    margin: 6px 0 10px;
}

.portfolio-detalhe .info p { color: #666; font-size: 14px; }

.portfolio-detalhe .info .meta {
    font-size: 13px;
    color: #999;
    margin-top: 12px;
}

.portfolio-detalhe .info .meta i,
.portfolio-detalhe .info .meta .meta-glyph { color: #b8956e; width: 18px; }

/* ─── LIGHTBOX MODAL ─────────────────────────────────── */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
    display: block;
    max-width: min(90vw, 1400px);
    max-height: 80vh;
    border-radius: 4px;
    margin: 0 auto;
}

.lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 90vw;
    max-height: 80vh;
    overflow: visible;
}

.lightbox-nav {
    position: absolute;
    top: 50% !important;
    bottom: auto !important;
    left: auto;
    right: auto;
    transform: translateY(-50%) !important;
    z-index: 3;
}

.lightbox-nav.prev {
    left: -78px;
    bottom: auto !important;
}

.lightbox-nav.next {
    right: -78px;
    top: 50% !important;
}

.lightbox-close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    z-index: 10001;
    opacity: 1 !important;
    appearance: none;
    -webkit-appearance: none;
}

.lightbox-close::before,
.lightbox-close::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 1.5px;
    background: rgba(255,255,255,0.92);
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.lightbox-close::before {
    transform: rotate(45deg);
}

.lightbox-close::after {
    transform: rotate(-45deg);
}

.lightbox-caption {
    display: none;
}

/* ─── STATS ──────────────────────────────────────────── */
.stat h3 {
    font-size: 2rem;
    color: #b8956e;
    font-weight: 400;
}

.stat p {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── PAGE BANNER (páginas internas) ─────────────────── */
.page-banner {
    background: #faf9f7;
    color: #333;
    padding: 100px 0 50px;
    text-align: center;
}

.page-banner h1 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-banner h1 em { font-style: normal; color: #b8956e; }

/* ─── CHECKLIST ──────────────────────────────────────── */
.checklist li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.checklist li i,
.checklist-glyph { color: #28a745; margin-right: 6px; }

/* ─── VALORES ────────────────────────────────────────── */
.valor-icon { font-size: 32px; color: #b8956e; margin-bottom: 12px; }
.valor-icon { color: #8f482c; }
.valor-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    font-size: 1em;
    line-height: 1;
}
.valor-titulo { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.valor-texto { font-size: 13px; color: #666; }

/* ─── CTA FINAL ──────────────────────────────────────── */
.cta-dark {
    background:
        radial-gradient(90% 120% at 16% 0%, rgba(212,185,142,0.18) 0%, rgba(212,185,142,0.07) 38%, rgba(212,185,142,0) 64%),
        radial-gradient(95% 120% at 86% 8%, rgba(116,128,146,0.12) 0%, rgba(116,128,146,0.05) 38%, rgba(116,128,146,0) 66%),
        linear-gradient(180deg, rgba(249,248,245,1) 0%, rgba(239,238,235,1) 100%);
    color: #2d2d2d;
    padding: 74px 0;
    text-align: center;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(45,35,29,0.06);
}

.cta-dark h2 { color: #2d2d2d; margin-bottom: 12px; }
.cta-dark h2 em { font-style: normal; color: #746b64; }
.cta-dark p {
    color: #645d57;
    opacity: 1;
    max-width: none !important;
    white-space: nowrap;
}

.cta-dark-copy {
    color: #544d47 !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    opacity: 1 !important;
    white-space: normal !important;
}
.cta-dark p a {
    color: #746b64;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cta-dark p a:hover {
    color: #2d2d2d;
}
.cta-dark .btn { margin-top: 16px; }

/* ─── CONTACTOS ──────────────────────────────────────── */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.info-item i,
.info-item .info-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    height: 22px;
    color: #8f482c;
    font-size: 18px;
    line-height: 1;
    margin-top: 3px;
}

.info-item h6 {
    color: #666;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 2px;
}

.info-item p {
    color: #8c837b;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    margin: 0;
}

/* ─── FORMULÁRIO ─────────────────────────────────────── */
.form-control, .form-select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: #b8956e;
    box-shadow: 0 0 0 3px rgba(184,149,110,0.12);
    outline: none;
}

.btn-enviar {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    position: relative;
    min-width: 220px;
    min-height: 50px;
    background: #8f482c;
    color: #fff;
    border: 1px solid #8f482c;
    border-radius: 3px;
    padding: 0 62px 0 22px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
    transition: background 0.3s, border-color 0.3s;
    cursor: pointer;
}

.btn-enviar-label,
.btn-enviar-loading {
    display: inline-flex;
    align-items: center;
}

.btn-enviar-loading {
    display: none;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 1.1px;
}

.contact-submit-progress {
    width: 100%;
    max-width: 220px;
    height: 4px;
    margin-top: 10px;
    background: rgba(45, 148, 79, 0.14);
    border-radius: 999px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.contact-submit-progress.is-visible {
    opacity: 1;
}

.contact-submit-progress-bar {
    width: 0;
    height: 100%;
    background: #22a652;
    border-radius: inherit;
    transition: width 0.18s ease;
}

.btn-enviar::before,
.btn-enviar::after {
    content: "";
    position: absolute;
    top: 50%;
}

.btn-enviar::before {
    right: 22px;
    width: 30px;
    height: 1px;
    background: #fff;
    transform: translateY(-50%);
}

.btn-enviar::after {
    right: 21px;
    width: 9px;
    height: 9px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.btn-enviar:hover {
    background: #a85a39;
    border-color: #a85a39;
    color: #fff;
}

.btn-enviar.is-loading {
    cursor: wait;
    opacity: 0.92;
}

.btn-enviar.is-loading::before,
.btn-enviar.is-loading::after,
.btn-enviar.is-loading .btn-enviar-label {
    display: none;
}

.btn-enviar.is-loading .btn-enviar-loading {
    display: inline-flex;
}

/* ─── CAPTCHA ────────────────────────────────────────── */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.captcha-box img {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.captcha-box input {
    width: 80px;
    text-align: center;
    letter-spacing: 4px;
    font-size: 16px;
    font-weight: 500;
}

/* ─── ALERTA ─────────────────────────────────────────── */
.alerta-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.contact-submit-message {
    margin-top: 12px;
    margin-bottom: 0;
}

.alerta-erro {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

/* ─── MAPA ───────────────────────────────────────────── */
.mapa {
    background:
        radial-gradient(80% 120% at 18% 0%, rgba(212,185,142,0.14) 0%, rgba(212,185,142,0.05) 42%, rgba(212,185,142,0) 68%),
        radial-gradient(90% 120% at 84% 12%, rgba(116,128,146,0.10) 0%, rgba(116,128,146,0.04) 42%, rgba(116,128,146,0) 68%),
        linear-gradient(180deg, rgba(249,248,245,1) 0%, rgba(239,238,235,1) 100%);
    padding: 0;
    border-top: 1px solid rgba(140,131,123,0.14);
}

.mapa iframe {
    display: block;
    width: 100%;
    height: 470px;
    border: 0;
    filter: none;
    opacity: 0.88;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
    background:
        radial-gradient(90% 120% at 16% 0%, rgba(212,185,142,0.18) 0%, rgba(212,185,142,0.07) 38%, rgba(212,185,142,0) 64%),
        radial-gradient(95% 120% at 86% 8%, rgba(116,128,146,0.12) 0%, rgba(116,128,146,0.05) 38%, rgba(116,128,146,0) 66%),
        linear-gradient(180deg, rgba(249,248,245,1) 0%, rgba(239,238,235,1) 100%);
    padding: 48px 0;
    border-top: 1px solid rgba(140,131,123,0.18);
}

.footer-panel {
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px 42px 28px;
    background:
        radial-gradient(110% 120% at 0% 0%, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.44) 52%, rgba(255,255,255,0.24) 100%);
    border: 1px solid rgba(140,131,123,0.18);
    box-shadow: 0 28px 86px rgba(45,45,45,0.08);
    backdrop-filter: none;
}

.footer-supports {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: 42px;
}

.footer-support {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 120px;
}

.footer-support-logo {
    width: auto;
    max-width: min(100%, 340px);
    object-fit: contain;
    margin: 0 auto 10px;
}

.footer-support-logo-prr {
    height: 84px !important;
}

.footer-support-logo-2030 {
    height: 84px !important;
}

.footer-project-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    line-height: 1.45;
}

.footer-project-link {
    display: inline-block;
    width: auto;
    color: #8c837b;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.22px;
    line-height: 1.35;
}

.footer-project-link:hover {
    color: #2d2d2d;
}

.footer-sep {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(140,131,123,0.32);
    margin: 0 12px;
    vertical-align: middle;
}

.footer-bottom {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.35fr);
    gap: 42px;
    align-items: start;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(140,131,123,0.18);
    text-align: left;
}

.footer-company {
    color: #6f6861;
    font-size: 13px;
    line-height: 1.55;
}

.footer-company p {
    margin: 0 0 5px;
}

.footer-legal-block {
    text-align: right;
}

.footer-menu-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    color: #6f6861;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.footer-menu-legal a {
    color: #8c837b;
    font-weight: 500;
}

.footer-menu-legal a:hover {
    color: #2d2d2d;
}

.footer-copy {
    color: #6f6861;
    font-size: 11px;
    margin: 0;
}

.footer-dados {
    font-size: 13px;
    color: #6f6861;
    margin-bottom: 0;
}

.footer-dados-logo { margin: 0 auto 14px; }
.footer-dados-logo img { height: 44px; width: auto; margin: 0 auto; }
.footer-company-logo { height: 78px !important; width: auto; max-width: 340px !important; margin: 0 auto; }
.footer-contacto { font-size: 14px; font-weight: 500; color: #2d2d2d; }
.footer-dados a { color: #8c837b; }
.footer-dados a:hover { color: #2d2d2d; }

.footer-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 52px;
    margin: 42px 0 42px;
    flex-wrap: wrap;
}

.footer-badges img {
    height: 70px;
    opacity: 1;
    transition: none;
}

.footer-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.footer-logo-2030 { height: 66px; }
.footer-logo-livro { height: 50px !important; }
.footer-logo-ssl { height: 50px !important; }

/* ─── RESPONSIVO ─────────────────────────────────────── */
@media (max-width: 992px) {
    .intro-editorial {
        padding: 88px 0 76px;
    }

    .intro-editorial-top {
        grid-template-columns: 1fr;
        row-gap: 48px;
        min-height: auto;
    }

    .intro-mark {
        justify-self: start;
        margin-top: 0;
        margin-left: 6vw;
    }

    .intro-text {
        padding-top: 0;
        max-width: 760px;
    }

    .living-spaces {
        padding-bottom: 72px;
    }

    .living-spaces-grid {
        gap: 20px;
    }

    .living-space-card,
    .living-space-card-large {
        height: 390px;
    }

    .living-space-content {
        left: 30px;
        right: 30px;
        bottom: 18px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 88vh;
        min-height: 88dvh;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }
    .hero-content {
        min-height: 88vh;
        min-height: 88dvh;
        justify-content: center;
        padding-top: 108px;
        padding-right: 128px;
        padding-bottom: 56px;
    }
    .hero-scroll-cue {
        top: 18px;
        width: calc(100% - 36px);
        gap: 14px;
    }
    .hero-scroll-title {
        gap: 14px;
    }
    .hero-scroll-line {
        max-width: 72px;
    }
    .hero-scroll-text {
        font-size: clamp(1.22rem, 5.6vw, 2rem);
        white-space: normal;
    }
    .hero-scroll-mouse {
        width: 54px;
        height: 80px;
    }
    .hero-scroll-mouse::before {
        top: 13px;
        width: 14px;
        height: 22px;
    }
    .hero-scroll-mouse::after {
        top: 9px;
        height: 30px;
    }
    .hero-kicker,
    .hero h1,
    .hero-title,
    .hero p,
    .hero-actions {
        max-width: calc(100% - 8px);
    }
    .hero h1 { font-size: 62px; margin-bottom: 14px; font-weight: 700; }
    .hero-title {
        font-size: clamp(1.95rem, 7.2vw, 3.35rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 14px !important;
        max-width: 100% !important;
    }
    .hero p { font-size: 16px; max-width: 100%; }
    .hero-kicker { margin-bottom: 12px; }
    .hero-count { font-size: 15px; }
    .hero-actions { gap: 20px; margin-top: 24px; }
    .hero-link {
        min-width: 136px;
        min-height: 42px;
        font-size: 12px;
        padding: 0 44px 0 18px;
    }
    .hero-link::before {
        right: 20px;
        width: 24px;
    }
    .hero-link::after {
        right: 19px;
        width: 8px;
        height: 8px;
    }
    .hero-arrows {
        position: absolute;
        top: calc(50% - 47px);
        right: 18px;
        width: 78px;
        height: 94px;
        transform: none;
        display: block;
        margin-top: 0;
    }
    .hero-arrow {
        position: absolute;
        width: 46px;
        height: 46px;
    }
    .hero-arrow-next { top: 0; right: 0; }
    .hero-arrow-prev { left: 0; bottom: 0; }
    .hero-arrow span { width: 18px; height: 18px; }
    .hero-dots { right: 20px; bottom: 22px; }
    .hero-dots button { width: 26px; }
    .intro-editorial { padding: 70px 0 62px; }
    .intro-mark {
        width: 118px;
        height: 142px;
        margin-left: 0;
    }
    .intro-text h2 {
        font-size: 31px;
        margin-bottom: 18px;
    }
    .intro-text p {
        font-size: 16px;
        line-height: 1.7;
    }
    .intro-video-section {
        margin: 34px 0 42px;
        padding: 0;
    }
    .intro-video-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .intro-video-frame {
        margin: 0 -2px;
    }
    .intro-video-text {
        max-width: 100%;
    }
    .intro-video-text h2 {
        font-size: 31px;
    }
    .intro-video-text p {
        font-size: 15px;
        line-height: 1.65;
    }
    .living-spaces {
        padding-top: 62px;
        padding-bottom: 56px;
    }
    .living-spaces-heading {
        margin-bottom: 34px;
    }
    .living-spaces-heading h2 {
        font-size: 31px;
        margin-bottom: 16px;
    }
    .living-spaces-heading p {
        font-size: 17px;
    }
    .living-spaces-grid { gap: 20px; }
    .portfolio-featured {
        padding: 62px 0 56px;
    }
    .living-space-card,
    .living-space-card-large { height: 310px; }
    .living-space-content {
        left: 22px;
        right: 22px;
        bottom: 16px;
    }
    .living-space-content h3 {
        font-size: clamp(2rem, 10vw, 3rem);
        letter-spacing: -0.5px;
    }
    .living-space-content p {
        font-size: 14px;
        line-height: 1.45;
    }
    section { padding: 45px 0; }
    .portfolio-item img { height: 200px; }
    .portfolio-detalhe img { height: 220px; }
    #mainNav { padding: 0; }
    #mainNav .navbar-brand img { height: 72px; padding: 8px 0; }
    #mainNav .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        z-index: 1200;
        display: block !important;
        width: min(82vw, 420px);
        height: 100vh;
        height: 100dvh;
        padding: 30px 42px 44px;
        background:
            radial-gradient(95% 120% at 100% 0%, rgba(212,185,142,0.12) 0%, rgba(212,185,142,0.04) 44%, rgba(212,185,142,0) 70%),
            #fff;
        box-shadow: -24px 0 70px rgba(45,45,45,0.12);
        border-left: 1px solid rgba(140,131,123,0.14);
        overflow: hidden;
        transform: translateX(104%);
        transition: none !important;
    }
    #mainNav .navbar-collapse.show {
        transform: translateX(0);
    }
    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1190;
        display: block;
        background: rgba(255,255,255,0.68);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.38s ease;
    }
    body.mobile-menu-open .mobile-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
    body.mobile-menu-open {
        overflow: hidden;
    }
    #mainNav .navbar-toggler {
        font-size: 42px;
        line-height: 1;
        padding: 0 2px;
    }
    #mainNav .navbar-toggler .bi {
        font-size: 42px;
        line-height: 1;
    }
    #mainNav .mobile-menu-close {
        position: absolute;
        top: 28px;
        right: 30px;
        display: block;
        width: 54px;
        height: 54px;
        border: 0;
        background: transparent;
    }
    #mainNav .mobile-menu-close::before,
    #mainNav .mobile-menu-close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 6px;
        width: 44px;
        height: 2px;
        background: #2d2d2d;
        transform: rotate(45deg);
    }
    #mainNav .mobile-menu-close::after {
        transform: rotate(-45deg);
    }
    #mainNav .mobile-menu-logo {
        display: block;
        text-align: left;
        padding: 0 54px 82px 0;
    }
    #mainNav .mobile-menu-logo img {
        height: 76px;
        width: auto;
        max-width: none;
        margin: 0;
    }
    #mainNav .navbar-nav {
        width: 100%;
        position: relative;
        text-align: left;
        align-items: flex-start !important;
        padding: 0 38px 0 0;
        gap: 16px;
    }
    #mainNav .navbar-nav::after {
        content: "";
        position: absolute;
        top: -8px;
        right: 0;
        width: 5px;
        height: 100%;
        min-height: 280px;
        background: #c8aa73;
    }
    #mainNav .nav-link {
        width: auto;
        color: #a5a3a0;
        font-family: 'Roboto', Arial, sans-serif !important;
        font-size: clamp(2.1rem, 8vw, 3.05rem) !important;
        font-weight: 700;
        line-height: 1.08;
        letter-spacing: -1.2px;
        padding: 0 !important;
        opacity: 0;
        transform: translateX(72px);
        transition:
            opacity 0.36s ease,
            transform 0.48s cubic-bezier(.22,.8,.2,1),
            color 0.25s ease;
    }
    #mainNav .navbar-collapse.show.menu-links-in .nav-link {
        opacity: 1;
        transform: translateX(0);
    }
    #mainNav .navbar-collapse.show.menu-links-in .nav-item:nth-child(1) .nav-link { transition-delay: 0.10s; }
    #mainNav .navbar-collapse.show.menu-links-in .nav-item:nth-child(2) .nav-link { transition-delay: 0.16s; }
    #mainNav .navbar-collapse.show.menu-links-in .nav-item:nth-child(3) .nav-link { transition-delay: 0.22s; }
    #mainNav .navbar-collapse.show.menu-links-in .nav-item:nth-child(4) .nav-link { transition-delay: 0.28s; }
    #mainNav .navbar-collapse.show.menu-links-in .nav-item:nth-child(5) .nav-link { transition-delay: 0.34s; }
    #mainNav .nav-link.active,
    #mainNav .nav-link:hover {
        color: #111;
    }
    #mainNav .navbar-nav .btn-cta {
        margin-top: 6px;
    }
    .mobile-menu-contact {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 72px;
        padding-top: 8px;
        padding-bottom: 8px;
        color: #000;
        font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
        font-size: 14px;
        line-height: 1.6;
    }
    .mobile-menu-contact strong {
        color: #000;
        font-size: 15px;
        margin-bottom: 8px;
    }
    .mobile-menu-contact > span,
    .mobile-menu-contact > strong {
        display: block;
        width: 100%;
    }
    .mobile-menu-contact span,
    .mobile-menu-contact a,
    .mobile-menu-contact a:visited,
    .mobile-menu-contact a:hover {
        color: #000;
    }
    .barra-topo .hide-mobile { display: none !important; }
    .site-footer { padding: 36px 0; }
    .footer-panel { padding: 28px 22px 24px; }
    .footer-supports {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .footer-support { min-height: auto; }
    .footer-support-logo-prr,
    .footer-support-logo-2030 {
        height: 66px !important;
    }
    .footer-project-links {
        row-gap: 4px;
    }
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 24px;
        text-align: left;
    }
    .footer-legal-block {
        text-align: left;
    }
    .footer-menu-legal {
        justify-content: flex-start;
        row-gap: 3px;
    }
    .footer-badges { gap: 34px; margin: 34px 0 34px; }
    .footer-main-logo { height: 68px !important; }
    .footer-dados-logo img { height: 34px; }
    .footer-company-logo { height: 60px !important; max-width: 280px !important; }
    .footer-logo-2030 { height: 54px; }
    .footer-logo-livro { height: 50px !important; }
    .footer-logo-ssl { height: 50px !important; }
    .footer-projetos { font-size: 14px; }
    .footer-contacto { font-size: 13px; }
    .footer-menu-legal { font-size: 12px; margin: 6px 0 14px; }
    .mapa iframe { height: 400px; }
}

@media (max-width: 575.98px) {
    .hero-arrows {
        top: calc(50% - 47px);
    }
}

/* ─── HERO FINAL: CENTRADO APENAS NA VERTICAL ─── */
.hero .container {
    display: flex !important;
    align-items: center !important;
}

.hero-content {
    width: 100% !important;
    max-width: none !important;
    min-height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 128px !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
}

.hero-kicker,
.hero-title,
.hero-copy,
.hero-actions {
    align-self: flex-start !important;
    text-align: left !important;
}

.hero-actions,
.hero-content .hero-actions {
    width: auto !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 768px) {
    .hero-content {
        padding-left: 28px !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
    }
}

/* ─── TIPOGRAFIA GLOBAL FINAL ────────────────────────── */
body,
p, li, label, input, textarea, select, button, small,
a,
.texto,
.subtitulo,
.card-servico p,
.card-servico a,
.portfolio-item .overlay small,
.portfolio-detalhe .info p,
.checklist li,
.valor-texto,
.info-item p,
.footer-dados,
.footer-contacto,
.footer-projetos,
.footer-menu-legal,
.footer-copy,
.intro-text p,
.living-spaces-heading p,
.hero p {
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif !important;
    font-size: 12px !important;
}

h1, h2, h3, h4, h5, h6,
.titulo,
.hero-count,
.hero-link,
.living-space-content h3,
.stat h3,
.valor-titulo {
    font-family: 'Roboto', Arial, sans-serif !important;
}

.intro-text h2 {
    color: #8c837b;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.28;
}

.intro-text p {
    color: #8c837b;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300;
    line-height: 1.58;
}

.living-spaces-heading h2 {
    color: #8c837b;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.28;
}

.living-spaces-heading p {
    color: #8c837b;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300;
    line-height: 1.58;
}

.living-space-content h3 {
    display: inline-block;
    color: #fff;
    text-shadow: 0 1px 0 rgba(255,255,255,0.22), 0 8px 24px rgba(0,0,0,0.22);
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: clamp(2.4rem, 4.2vw, 4.4rem);
    font-weight: 600;
    line-height: 0.95;
}

.living-space-content p {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 300;
    line-height: 1.55;
}

.cta-dark p {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 19px !important;
    font-weight: 300;
    line-height: 1.6;
    white-space: nowrap;
    color: #544d47 !important;
}

.cta-dark p a {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 19px !important;
    color: #6d645d !important;
}

#mainNav .nav-link {
    font-size: 15px !important;
}

.hero-link {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
}

.portfolio-featured .subtitulo,
.portfolio-featured .titulo,
.portfolio-featured .titulo em {
    color: #8c837b;
}

.portfolio-featured .linha {
    background: #8c837b;
}

.portfolio-featured-heading h2 {
    color: #8c837b;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.28;
}

.portfolio-featured-heading p {
    color: #8c837b;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300;
    line-height: 1.58;
}

.footer-project-name {
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600;
}

.footer-projetos a {
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600;
}

.footer-project-link {
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600;
}

.footer-company,
.footer-company p,
.footer-menu-legal,
.footer-menu-legal a {
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif !important;
}

.footer-company,
.footer-company p,
.footer-menu-legal,
.footer-menu-legal a {
    font-size: 13px !important;
}

.footer-copy {
    font-size: 11px !important;
}

/* Variante de teste: footer editorial sem painel fechado */
.site-footer-alt {
    background:
        radial-gradient(70% 110% at 18% 0%, rgba(212,185,142,0.12) 0%, rgba(212,185,142,0.04) 42%, rgba(212,185,142,0) 68%),
        linear-gradient(180deg, #fff 0%, #faf9f7 100%);
    padding: 54px 0 34px;
    text-align: center;
}

.site-footer-alt .container {
    max-width: 1120px;
}

.footer-alt-kicker {
    color: #746b64;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.8px;
    line-height: 1;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.footer-alt-supports {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) 1px minmax(430px, 1.15fr);
    align-items: end;
    gap: 34px;
    padding: 0 0 30px;
    border-bottom: 1px solid rgba(140,131,123,0.18);
    position: relative;
    text-align: left;
}

.footer-alt-supports::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 30px;
    left: 38.12%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(140,131,123,0), rgba(140,131,123,0.28), rgba(140,131,123,0));
}

.footer-alt-support {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.footer-alt-divider {
    align-self: stretch;
    width: 1px;
    background: transparent;
}

.footer-alt-logo {
    width: auto;
    max-width: min(100%, 330px);
    object-fit: contain;
    margin: 0 0 12px;
}

.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    height: 104px !important;
    max-height: 104px;
}

.footer-alt-support-2030 .footer-project-links {
    justify-content: flex-start;
}

.footer-certifications {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(140,131,123,0.18);
    text-align: left;
}

.footer-certifications-title {
    color: #746b64;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.4px;
    line-height: 1;
    text-transform: uppercase;
}

.footer-certification-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.footer-certification-logo {
    width: auto;
    height: 86px !important;
    max-height: 86px;
    object-fit: contain;
}

.footer-alt-bottom {
    display: block;
    padding-top: 34px;
    text-align: left;
}

.site-footer-alt .footer-company {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px 18px;
    color: #6f6861;
    font-size: 13px !important;
    line-height: 1.5;
    margin-bottom: 12px;
}

.site-footer-alt .footer-menu-legal {
    justify-content: flex-start;
    margin: 0 0 12px;
}

.site-footer-alt .footer-copy {
    margin-top: 34px;
    text-align: left;
}

@media (max-width: 768px) {
    .site-footer-alt {
        padding: 40px 0 28px;
    }

    .footer-alt-kicker {
        margin-bottom: 20px;
    }

    .footer-alt-supports {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer-alt-divider {
        display: none;
    }

    .footer-alt-supports::before {
        display: none;
    }

    .footer-alt-support {
        min-height: auto;
    }

    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        height: 82px !important;
        max-height: 82px;
    }

    .footer-certifications {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .footer-certification-logo {
        height: 72px !important;
        max-height: 72px;
    }

    .footer-alt-bottom {
        padding-top: 20px;
    }

    .site-footer-alt .footer-menu-legal {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .living-space-content h3 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .living-space-content p {
        font-size: 14px !important;
        line-height: 1.45;
    }

    .cta-dark p {
        font-size: 16px !important;
        white-space: normal;
    }

    .cta-dark p a {
        font-size: 16px !important;
    }

    #mainNav .nav-link {
        font-size: 15px !important;
    }
}

/* ─── ACABAMENTO FINAL: CORES, FONTES E FOOTER ───────── */
body {
    color: #655e58;
}

h1, h2, h3, h4, h5, h6,
.titulo,
.intro-text h2,
.intro-video-text h2,
.living-spaces-heading h2,
.portfolio-featured-heading h2 {
    color: #7f766f;
}

p,
.texto,
.intro-text p,
.intro-video-text p,
.living-spaces-heading p,
.portfolio-featured-heading p,
.cta-dark p,
.footer-company,
.footer-menu-legal,
.footer-copy {
    color: #655e58;
}

a,
.cta-dark p a,
.footer-project-link,
.footer-menu-legal a {
    color: #7f766f;
}

a:hover,
.cta-dark p a:hover,
.footer-project-link:hover,
.footer-menu-legal a:hover {
    color: #2d2d2d;
}

#mainNav .nav-link {
    color: #4d4843;
    font-size: 16px !important;
    font-weight: 500;
    letter-spacing: 0.2px;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #000000;
}

.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    height: 112px !important;
    max-height: 112px;
}

.footer-project-link {
    font-size: 16px !important;
}

.footer-certifications-title,
.footer-alt-kicker {
    color: #7f766f;
}

.site-footer-alt .footer-company,
.site-footer-alt .footer-company span {
    font-size: 15px !important;
    line-height: 1.6;
}

.site-footer-alt .footer-menu-legal,
.site-footer-alt .footer-menu-legal a {
    font-size: 14px !important;
    line-height: 1.65;
}

.site-footer-alt .footer-copy {
    color: #6f6861;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 34px;
    text-align: left;
}

.intro-video-text h2 {
    font-size: 32px !important;
}

@media (max-width: 768px) {
    #mainNav .nav-link {
        font-size: 16px !important;
    }

    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        height: 88px !important;
        max-height: 88px;
    }

    .site-footer-alt .footer-company,
    .site-footer-alt .footer-company span {
        font-size: 14px !important;
    }

    .site-footer-alt .footer-menu-legal,
    .site-footer-alt .footer-menu-legal a {
        font-size: 13px !important;
    }

    .site-footer-alt .footer-copy {
        font-size: 12px !important;
    }
}

/* Menu lateral em todos os breakpoints onde a navbar colapsa */
@media (max-width: 991.98px) {
    #mainNav .navbar-toggler {
        font-size: 42px;
        line-height: 1;
        padding: 0 2px;
    }

    #mainNav .navbar-toggler .bi {
        font-size: 42px;
        line-height: 1;
    }

    #mainNav .navbar-collapse,
    #mainNav .navbar-collapse.collapsing {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        z-index: 1200;
        display: block !important;
        width: min(82vw, 430px);
        height: 100vh !important;
        height: 100dvh !important;
        padding: 30px 42px 44px;
        background:
            radial-gradient(95% 120% at 100% 0%, rgba(212,185,142,0.12) 0%, rgba(212,185,142,0.04) 44%, rgba(212,185,142,0) 70%),
            #fff;
        box-shadow: -24px 0 70px rgba(45,45,45,0.12);
        border-left: 1px solid rgba(140,131,123,0.14);
        overflow: hidden;
        transform: translateX(104%);
        transition: none !important;
    }

    #mainNav .navbar-collapse.show,
    #mainNav .navbar-collapse.collapsing.show {
        transform: translateX(0);
    }

    #mainNav .mobile-menu-close {
        position: absolute;
        top: 28px;
        right: 30px;
        display: block;
        width: 54px;
        height: 54px;
        border: 0;
        background: transparent;
    }

    #mainNav .mobile-menu-close::before,
    #mainNav .mobile-menu-close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 6px;
        width: 44px;
        height: 2px;
        background: #2d2d2d;
        transform: rotate(45deg);
    }

    #mainNav .mobile-menu-close::after {
        transform: rotate(-45deg);
    }

    #mainNav .mobile-menu-logo {
        display: block;
        text-align: left;
        padding: 0 54px 82px 0;
    }

    #mainNav .mobile-menu-logo img {
        height: 76px;
        width: auto;
        max-width: none;
        margin: 0;
    }

    #mainNav .navbar-nav {
        width: 100%;
        position: relative;
        text-align: left;
        align-items: flex-start !important;
        padding: 0 38px 0 0;
        gap: 16px;
    }

    #mainNav .navbar-nav::after {
        content: "";
        position: absolute;
        top: -8px;
        right: 0;
        width: 5px;
        height: 100%;
        min-height: 280px;
        background: #c8aa73;
    }

    #mainNav .nav-link {
        width: auto;
        color: #a5a3a0;
        font-family: 'Roboto', Arial, sans-serif !important;
        font-size: clamp(2.1rem, 8vw, 3.05rem) !important;
        font-weight: 700;
        line-height: 1.08;
        letter-spacing: -1.2px;
        padding: 0 !important;
        opacity: 0;
        transform: translateX(72px);
        transition:
            opacity 0.36s ease,
            transform 0.48s cubic-bezier(.22,.8,.2,1),
            color 0.25s ease;
    }

    #mainNav .navbar-collapse.show.menu-links-in .nav-link {
        opacity: 1;
        transform: translateX(0);
    }

    #mainNav .nav-link.active,
    #mainNav .nav-link:hover {
        color: #111;
    }

    .mobile-menu-contact {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-top: 64px;
        color: #6f6861;
        font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
        font-size: 14px;
        line-height: 1.35;
    }
}

/* ─── PÁGINAS INTERNAS: MESMA LINGUAGEM DA HOMEPAGE ─── */
.page-banner {
    background: #fff;
    color: #6f6861;
    padding: 96px 0 58px;
    text-align: left;
}

.page-banner .container {
    max-width: 1000px;
}

@media (max-width: 1199.98px) and (min-width: 769px) {
    .page-banner {
        padding: 84px 0 48px;
    }

    .page-banner .container {
        max-width: 100% !important;
        padding-left: clamp(34px, 8vw, 140px) !important;
        padding-right: clamp(34px, 8vw, 140px) !important;
    }
}

.section-heading-left {
    text-align: left !important;
    max-width: 1000px;
    margin: 0 0 40px 0 !important;
}

.section-heading-left .section-kicker,
.section-heading-left .titulo,
.section-heading-left h2,
.section-heading-left p {
    text-align: left !important;
}

.page-banner h1 {
    color: #8c837b;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: 0;
    text-transform: none;
}

.page-banner h1 em {
    color: #8c837b;
    font-style: normal;
}

.page-banner + section,
.page-banner + section + section,
.page-banner + section + section + section {
    padding-top: 72px;
    padding-bottom: 78px;
}

.subtitulo,
.section-kicker {
    color: #746b64;
}

.titulo {
    color: #8c837b;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: 0;
    text-transform: none;
}

.titulo em {
    color: #8c837b;
    font-style: normal;
}

.texto,
.checklist li,
.valor-texto,
.portfolio-detalhe .info p,
.portfolio-detalhe .info .meta,
.portfolio-detalhe .info small {
    color: #6f6861;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300;
    line-height: 1.68;
}

.checklist li {
    margin-bottom: 10px;
}

.checklist li i,
.valor-icon,
.portfolio-detalhe .info .meta i {
    color: #8c837b;
}

.valor-titulo,
.portfolio-detalhe .info h5 {
    color: #8c837b;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 22px;
    font-weight: 600;
    text-transform: none;
}

.bg-cinza {
    background: #faf9f7 !important;
}

.portfolio-item,
.portfolio-detalhe {
    border-radius: 4px;
}

.portfolio-item img {
    aspect-ratio: 4 / 3;
    height: auto;
}

.portfolio-detalhe {
    border: 1px solid rgba(140,131,123,0.14);
    background: #fff;
    box-shadow: 0 18px 52px rgba(45,45,45,0.06);
}

.portfolio-detalhe img {
    aspect-ratio: 4 / 3;
    height: auto;
}

.cta-dark .hero-link,
section:not(.hero):not(.hero-editorial) .hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: #8f482c;
    border-color: #8f482c;
}

.cta-dark .hero-link {
    margin-top: 26px !important;
}

.cta-dark .hero-link:hover,
section:not(.hero):not(.hero-editorial) .hero-link:hover {
    background: #a85a39;
    border-color: #a85a39;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 72px 0 42px;
    }

    .page-banner h1,
    .titulo {
        font-size: 28px;
        line-height: 1.24;
    }

    .section-heading-left {
        margin-bottom: 30px !important;
    }

    .page-banner .container,
    .section-heading-left,
    .madinc-process-heading,
    .portfolio-featured-heading,
    .living-spaces-heading {
        max-width: none;
        padding-left: 14px;
        padding-right: 14px;
        text-align: left !important;
    }

    .madinc-process-heading,
    .portfolio-featured-heading,
    .living-spaces-heading {
        margin-bottom: 30px !important;
    }

    .madinc-process-heading .section-kicker,
    .madinc-process-heading h2,
    .portfolio-featured-heading .section-kicker,
    .portfolio-featured-heading h2,
    .portfolio-featured-heading p,
    .living-spaces-heading .section-kicker,
    .living-spaces-heading h2,
    .living-spaces-heading p {
        text-align: left !important;
    }

    .texto,
    .checklist li,
    .valor-texto,
    .portfolio-detalhe .info p,
    .portfolio-detalhe .info .meta {
        font-size: 15px !important;
        line-height: 1.62;
    }

    .portfolio-item img,
    .portfolio-detalhe img {
        aspect-ratio: 4 / 3;
        height: auto;
    }
}

/* ─── LIMPEZA VISUAL FINAL: MENU MOBILE, CTA E FOOTER ── */
.cta-dark,
.site-footer,
.site-footer-alt,
.mapa {
    background: #faf9f7 !important;
}

.cta-dark {
    border-top: 1px solid rgba(140,131,123,0.12);
    border-bottom: 1px solid rgba(140,131,123,0.12);
}

.site-footer {
    border-top: 1px solid rgba(140,131,123,0.14);
}

@media (max-width: 991.98px) {
    #mainNav .navbar-collapse,
    #mainNav .navbar-collapse.collapsing {
        background: #fff !important;
        box-shadow: -18px 0 56px rgba(45,45,45,0.10);
    }

    #mainNav .mobile-menu-logo {
        display: none !important;
    }

    #mainNav .navbar-nav {
        padding: 112px 0 0 0;
        gap: 14px;
    }

    #mainNav .navbar-nav::after {
        display: none !important;
    }

    #mainNav .nav-link {
        font-size: clamp(1.55rem, 5.8vw, 2.15rem) !important;
        font-weight: 600;
        letter-spacing: -0.5px;
        line-height: 1.14;
    }

    .mobile-menu-contact {
        margin-top: 132px;
        font-size: 13px;
    }
}

/* ─── AJUSTES FINAIS: MENU MOBILE IMEDIATO E CAPTCHA ─── */
@media (max-width: 991.98px) {
    #mainNav .navbar-collapse,
    #mainNav .navbar-collapse.collapsing {
        visibility: visible !important;
        transform: translateX(104%);
        transition: none !important;
    }

    #mainNav .navbar-collapse.show {
        transform: translateX(0) !important;
    }

    #mainNav .mobile-menu-close {
        z-index: 3;
        cursor: pointer;
        touch-action: manipulation;
    }

    #mainNav .navbar-toggler {
        cursor: pointer;
        touch-action: manipulation;
    }

    #mainNav .navbar-collapse.show.menu-links-in .nav-item:nth-child(6) .nav-link {
        transition-delay: 0.40s;
    }
}

.captcha-box {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
}

.captcha-box img {
    width: 132px;
    height: 54px;
    object-fit: cover;
    border: 1px solid rgba(140,131,123,0.28);
    border-radius: 4px;
}

.captcha-refresh {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(140,131,123,0.42);
    border-radius: 4px;
    background: transparent;
    color: #8f482c;
    padding: 0;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.captcha-refresh:hover,
.captcha-refresh:focus-visible {
    border-color: #a85a39;
    color: #a85a39;
    outline: none;
}

.captcha-box input.form-control {
    width: 132px;
    height: 54px;
    flex: 0 0 132px;
    text-align: center;
    letter-spacing: 5px;
    font-size: 22px;
    font-weight: 800;
    color: #2d2d2d;
}

.captcha-refresh .bi,
.captcha-refresh .ui-icon {
    font-size: 30px !important;
    line-height: 1;
}

/* ─── REFINO: LOGO HORIZONTAL, CONTACTOS E CAPTCHA ─── */
#mainNav .navbar-brand img {
    height: 66px !important;
    padding: 8px 0 !important;
}

.contactos-section {
    padding: 72px 0 86px;
}

.contactos-section .container {
    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) and (max-width: 1199.98px) {
    .contactos-section .container {
        max-width: 100% !important;
        padding-left: clamp(34px, 8vw, 140px) !important;
        padding-right: clamp(34px, 8vw, 140px) !important;
    }
}

.contactos-grid {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    gap: clamp(42px, 5vw, 84px);
    align-items: start;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.contactos-info-col {
    order: 1;
    max-width: 360px;
    padding-top: 42px;
}

.contactos-form-col {
    order: 2;
    max-width: 100%;
    width: 100%;
}

.contact-form-box {
    background: #ffffff;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(34, 28, 24, 0.06);
    padding: 34px 32px 32px;
}

.contactos-form-col h4,
.contactos-info-col h4 {
    color: #8c837b;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 22px;
    font-weight: 600 !important;
    letter-spacing: -0.2px;
}

.contact-section-title {
    margin-bottom: 20px !important;
}

.contact-label {
    color: #666;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contactos-section .form-control,
.contactos-section .form-control::placeholder,
.contactos-section textarea.form-control::placeholder,
.contactos-section .btn-enviar {
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
}

.contactos-form-col .row {
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
}

.contactos-section .form-control {
    min-height: 46px;
}

.contactos-section textarea.form-control {
    min-height: 142px;
}

.captcha-box img {
    width: 120px;
    height: 42px;
}

.captcha-refresh {
    width: 42px;
    height: 42px;
}

.captcha-refresh .bi {
    font-size: 22px !important;
}

.captcha-box input.form-control {
    width: 120px;
    height: 42px;
    flex-basis: 120px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 4px;
}

@media (max-width: 991.98px) {
    #mainNav .navbar-brand img {
        height: 58px !important;
        padding: 7px 0 !important;
    }

    .contactos-section {
        padding: 50px 0 64px;
    }

    .contactos-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contactos-info-col,
    .contactos-form-col {
        max-width: 100%;
    }

    .contactos-info-col {
        padding-top: 10px;
    }

    .contactos-section .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

/* Logo horizontal mais discreto */
#mainNav .navbar-brand img {
    height: 58px !important;
    padding: 7px 0 !important;
}

@media (max-width: 991.98px) {
    #mainNav .navbar-brand img {
        height: 48px !important;
        padding: 6px 0 !important;
    }
}

/* ─── NAVBAR FINAL: ALTURA PREMIUM TIPO LE KLINT ─── */
#mainNav {
    min-height: 82px;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 !important;
    transition: none;
    z-index: 1200;
}

#mainNav.nav-hidden {
    top: 0 !important;
    transform: none !important;
    pointer-events: auto !important;
}

#mainNav > .container {
    min-height: 82px;
    align-items: center;
}

#mainNav .navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0 !important;
}

#mainNav .navbar-brand img {
    height: 64px !important;
    padding: 0 !important;
}

#mainNav .nav-link {
    padding-top: 29px !important;
    padding-bottom: 29px !important;
}

@media (max-width: 991.98px) {
    #mainNav,
    #mainNav > .container {
        min-height: 72px;
    }

    #mainNav .navbar-brand img {
        height: 54px !important;
        padding: 0 !important;
    }

    #mainNav .nav-link {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* ─── ACERTOS FINAIS: LOGO, MAPA E FOOTER ─── */
#mainNav .navbar-brand img {
    height: 58px !important;
    padding: 0 !important;
}

@media (max-width: 991.98px) {
    #mainNav .navbar-brand img {
        height: 49px !important;
        padding: 0 !important;
    }
}

.mapa iframe {
    display: none;
}

.madinc-map {
    width: 100%;
    height: 470px;
    filter: none;
}

.madinc-map .leaflet-tile-pane {
    opacity: 0.86;
}

.madinc-map-pin {
    background: transparent;
    border: 0;
}

.madinc-map-pin span {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    background: #b8956e;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 12px 28px rgba(45,45,45,0.22);
    transform: rotate(-45deg);
}

.madinc-map-pin span::after {
    content: "";
    position: absolute;
    inset: 7px;
    background: #fff;
    border-radius: 50%;
}

.footer-alt-logo {
    margin-bottom: 0 !important;
}

.footer-project-link,
.footer-project-links {
    margin-top: -8px !important;
}

.footer-project-links {
    gap: 10px;
}

.footer-alt-support {
    justify-content: flex-end;
}

.site-footer-alt .footer-company {
    gap: 8px 14px;
}

.site-footer-alt .footer-company #footerPhone::after {
    content: "|";
    margin-left: 14px;
    color: rgba(140,131,123,0.55);
}

.info-item p span {
    color: #8c837b;
    font-size: 12px;
}

@media (max-width: 991.98px) {
    .madinc-map {
        height: 400px;
    }

    .footer-project-link,
    .footer-project-links {
        margin-top: -4px !important;
    }

    .site-footer-alt .footer-company #footerPhone::after {
        content: "";
        margin-left: 0;
    }
}

/* ─── FOOTER CONTACTOS EM LINHAS SEPARADAS ─── */
.site-footer-alt .footer-company {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 22px !important;
}

.site-footer-alt .footer-company,
.site-footer-alt .footer-company span,
.site-footer-alt .footer-menu-legal,
.site-footer-alt .footer-menu-legal a {
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: #6f6861 !important;
}

.site-footer-alt .footer-company #footerPhone::after {
    content: "" !important;
    margin-left: 0 !important;
}

.site-footer-alt .footer-menu-legal a:hover {
    color: #2d2d2d !important;
}

/* ─── FOOTER CONTACTOS COM ÍCONES ─── */
.site-footer-alt .footer-company {
    gap: 9px !important;
}

.footer-contact-line {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
}

.footer-contact-line a,
.footer-contact-line a:visited,
.footer-contact-line a:hover {
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
}

.footer-contact-line i,
.footer-contact-line .contact-glyph {
    color: #b89455;
    font-size: 15px;
    line-height: 1;
}

.site-footer-alt .footer-project-link,
.site-footer-alt .footer-menu-legal a,
.site-footer-alt .footer-contact-line a {
    color: #000 !important;
}

.site-footer-alt .footer-project-link:hover,
.site-footer-alt .footer-menu-legal a:hover,
.site-footer-alt .footer-contact-line a:hover {
    color: #000 !important;
}

/* ─── MENU MOBILE SEM OVERLAY E FOOTER MAIS LEGÍVEL ─── */
@media (max-width: 991.98px) {
    .mobile-menu-backdrop,
    body.mobile-menu-open .mobile-menu-backdrop {
        background: transparent !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    #mainNav .navbar-collapse,
    #mainNav .navbar-collapse.collapsing,
    #mainNav .navbar-collapse.show {
        background: #fff !important;
        opacity: 1 !important;
        filter: none !important;
    }

    #mainNav .nav-link,
    #mainNav .mobile-menu-contact,
    #mainNav .mobile-menu-contact span,
    #mainNav .mobile-menu-contact strong {
        opacity: 1 !important;
        filter: none !important;
    }
}

.site-footer-alt .footer-company,
.site-footer-alt .footer-company span,
.site-footer-alt .footer-menu-legal,
.site-footer-alt .footer-menu-legal a {
    font-size: 15px !important;
}

.site-footer-alt #footerPhone {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 4px;
}

#footerPhone small {
    color: #9a928a;
    font-size: 12px;
    font-weight: 400;
    margin-left: 0;
    white-space: nowrap;
}

.site-footer-alt .footer-contact-line {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.footer-contact-line i,
.footer-contact-line .contact-glyph {
    font-size: 16px;
}

@media (max-width: 768px) {
    .site-footer-alt .footer-company,
    .site-footer-alt .footer-company span,
    .site-footer-alt .footer-menu-legal,
    .site-footer-alt .footer-menu-legal a {
        font-size: 14px !important;
    }

    .site-footer-alt .footer-menu-legal {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        row-gap: 10px !important;
        column-gap: 18px !important;
        line-height: 1.9 !important;
        margin-top: 8px !important;
    }

    .site-footer-alt .footer-menu-legal a {
        display: inline-block !important;
        line-height: 1.9 !important;
    }

    .site-footer-alt .footer-menu-legal .footer-sep {
        display: none !important;
    }

    #footerPhone small {
        display: block;
        margin: 3px 0 0 25px;
        font-size: 11px;
    }
}

/* ─── MENU MOBILE: CONTACTOS SEM MUDANÇA DE COR ─── */
@media (max-width: 991.98px) {
    #mainNav .mobile-menu-contact,
    #mainNav .mobile-menu-contact span,
    #mainNav .mobile-menu-contact span:nth-child(n),
    #mainNav .mobile-menu-contact strong {
        color: #6f6861 !important;
    }

    #mainNav .mobile-menu-contact strong {
        color: #2d2d2d !important;
    }
}

/* ─── REDES SOCIAIS CONTACTOS ─── */
.contact-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8f482c;
    font-size: 34px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-socials a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
}

.contact-socials a:hover {
    color: #a85a39;
    transform: none;
}

.contact-social-title {
    color: #8c837b;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 12px;
}

.contactos-section .info-item h6,
.contactos-section .contact-social-title,
.contactos-section .contact-label {
    color: #8c837b !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.contactos-section .info-item p,
.contactos-section .info-item p a,
.contactos-section .info-item p span,
.contactos-section .form-control,
.contactos-section .form-control::placeholder,
.contactos-section textarea.form-control::placeholder,
.contactos-section .btn-enviar {
    font-family: 'Roboto', Arial, sans-serif !important;
}

.contactos-section .form-control {
    color: #8c837b !important;
}

.contactos-section .form-control::placeholder,
.contactos-section textarea.form-control::placeholder {
    color: #b6aea7 !important;
    opacity: 1 !important;
}

.contactos-section .info-item p,
.contactos-section .info-item p a,
.contactos-section .info-item p span {
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;
    color: #8c837b !important;
}

.contactos-section .info-item p span {
    font-size: 12px !important;
}

body:has(.page-banner) .texto a,
body:has(.page-banner) .texto a:visited,
body:has(.page-banner) .texto a:hover,
body:has(.page-banner) .checklist a,
body:has(.page-banner) .checklist a:visited,
body:has(.page-banner) .checklist a:hover {
    font: inherit !important;
    color: #000 !important;
    line-height: inherit !important;
    text-decoration: none !important;
}

/* Mapa Google restaurado */
.mapa iframe {
    display: block !important;
}

/* ─── CONTACTOS: ÍCONE FACEBOOK MAIOR ─── */
.contact-socials a,
.contact-socials a i,
.contact-socials .bi {
    font-size: 42px !important;
    line-height: 1 !important;
}

/* ─── CONTACTOS: ALINHAMENTO DOS TÍTULOS ─── */
.contactos-form-col h4,
.contactos-info-col h4 {
    margin-top: 0 !important;
    margin-bottom: 30px !important;
}

.contactos-info-col .info-item:first-of-type,
.contactos-form-col form {
    margin-top: 0;
}

@media (max-width: 767.98px) {
    .contact-form-box {
        padding: 28px 22px 24px;
    }
}

.contactos-info-col .info-item {
    margin-bottom: 24px;
}

.contactos-info-col .mt-4 {
    margin-top: 54px !important;
}

/* ─── MENU MOBILE: ÍCONES NOS CONTACTOS ─── */
@media (max-width: 991.98px) {
    #mainNav .mobile-menu-contact > strong,
    #mainNav .mobile-menu-contact > span {
        display: block !important;
        width: 100% !important;
        margin-bottom: 2px;
    }

    #mainNav .mobile-menu-contact-line {
        display: flex !important;
        align-items: flex-start;
        gap: 14px;
        width: 100%;
        margin-top: 4px;
    }

    #mainNav .mobile-menu-contact-line .contact-glyph {
        width: 22px;
        min-width: 22px;
        justify-content: center;
        margin-top: 3px;
    }

    #mainNav .mobile-menu-contact-line i {
        display: none !important;
    }

    #mainNav .mobile-menu-contact-line a,
    #mainNav .mobile-menu-contact-line > span {
        line-height: 1.7;
    }

    #mainNav .mobile-menu-contact-line small {
        font-size: 12px;
        line-height: 1.5;
        display: inline-block;
        margin-top: 2px;
    }
}

/* ─── GOOGLE MAPS: PIN VISUAL NA COR DO PROJETO ─── */
.mapa {
    position: relative;
}

.mapa::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 30px;
    height: 30px;
    background: #b8956e;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 12px 28px rgba(45,45,45,0.24);
    pointer-events: none;
    transform: translate(-50%, -100%) rotate(-45deg);
}

.mapa::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, calc(-100% - 10px));
}

/* ─── FOOTER COPYRIGHT MAIS ISOLADO ─── */
.site-footer-alt .footer-copy {
    margin-top: 32px !important;
    padding-top: 0;
    border-top: 1px solid rgba(140,131,123,0.16);
}

/* ─── FOOTER: LOGOS PRR E PORTUGAL 2030 LIGEIRAMENTE MAIORES ─── */
.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    height: 122px !important;
    max-height: 122px !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        height: 94px !important;
        max-height: 94px !important;
    }
}

/* ─── GOOGLE MAPS: USAR APENAS O PIN NATIVO ─── */
.mapa::before,
.mapa::after {
    display: none !important;
    content: none !important;
}

/* ─── FOOTER COPYRIGHT SEM LINHA ─── */
.site-footer-alt .footer-copy {
    border-top: 0 !important;
}

/* ─── HOMEPAGE: PROCESSO MADINC ─── */
.madinc-process {
    background: #faf9f7;
    padding: 84px 0 92px;
}

.madinc-process .container {
    max-width: 1120px;
}

.madinc-process-heading {
    max-width: 560px;
    margin-bottom: 46px;
}

.madinc-process-heading h2 {
    color: #8c837b;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.6px;
    margin: 10px 0 0;
}

.madinc-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.madinc-process-step {
    position: relative;
    min-height: 230px;
    padding: 34px 28px 30px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(140,131,123,0.14);
    overflow: hidden;
}

.madinc-process-step::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 0;
    height: 3px;
    background: #b8956e;
    opacity: 0.82;
}

.madinc-process-number {
    display: block;
    color: #b8956e;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 42px;
}

.madinc-process-step h3 {
    color: #2d2d2d;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.2px;
    margin: 0 0 14px;
}

.madinc-process-step p {
    color: #6f6861;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 991.98px) {
    .madinc-process {
        padding: 64px 0 70px;
    }

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

@media (max-width: 575.98px) {
    .madinc-process-grid {
        grid-template-columns: 1fr;
    }

    .madinc-process-step {
        min-height: 0;
    }
}

/* ─── HOMEPAGE: PROCESSO EM FUNDO BRANCO COM ÍCONES ─── */
.madinc-process {
    background: #fff !important;
    padding: 96px 0 104px !important;
    position: relative;
}

.madinc-process::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(1120px, calc(100% - 48px));
    height: 1px;
    background: linear-gradient(90deg, rgba(116,107,100,0) 0%, rgba(116,107,100,0.14) 18%, rgba(116,107,100,0.14) 82%, rgba(116,107,100,0) 100%);
    transform: translateX(-50%);
}

.madinc-process-heading {
    margin-bottom: 68px !important;
}

.madinc-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(34px, 5vw, 76px) !important;
    align-items: start;
}

.madinc-process-step {
    min-height: 0 !important;
    padding: 22px 18px 0 !important;
    background: transparent !important;
    border: 0 !important;
    text-align: center;
    overflow: visible !important;
}

.madinc-process-step::before {
    display: none !important;
}

.madinc-process-icon {
    display: block;
    color: #746b64;
    font-size: 44px;
    line-height: 1;
    margin: 0 auto 36px;
}

.madinc-process-number {
    display: inline !important;
    color: #746b64 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.madinc-process-step h3 {
    display: inline;
    color: #746b64 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: -0.1px;
    margin: 0 !important;
}

.madinc-process-step p {
    max-width: 330px;
    color: #645d57 !important;
    font-size: 22px !important;
    line-height: 1.72 !important;
    margin: 24px auto 0 !important;
}

@media (max-width: 991.98px) {
    .madinc-process {
        padding: 72px 0 78px !important;
    }

    .madinc-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        row-gap: 56px !important;
    }

    .madinc-process-step p {
        font-size: 19px !important;
    }
}

@media (max-width: 575.98px) {
    .madinc-process-grid {
        grid-template-columns: 1fr !important;
        row-gap: 50px !important;
    }

    .madinc-process-step p {
        font-size: 18px !important;
    }
}

/* ─── PROCESSO: TEXTO IGUAL AO PARÁGRAFO DO PORTFÓLIO ─── */
.madinc-process-step p {
    color: #645d57 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.58 !important;
}

/* ─── PROCESSO: LARGURA EDITORIAL MAIS CURTA ─── */
.madinc-process .container {
    max-width: 960px !important;
}

/* ─── PROCESSO: TEXTO SIMPLES EM LARGURA MAIOR ─── */
.madinc-process .container {
    max-width: 1120px !important;
}

.madinc-process-grid {
    gap: clamp(28px, 4vw, 58px) !important;
}

.madinc-process-icon {
    display: none !important;
}

.madinc-process-number,
.madinc-process-step h3 {
    font-size: 18px !important;
}

.madinc-process-step p {
    max-width: 270px !important;
    margin-top: 18px !important;
    text-align: center;
}

/* ─── CORREÇÃO PROCESSO: MANTER ÍCONES E APENAS LARGURA MAIOR ─── */
.madinc-process .container {
    max-width: 1120px !important;
}

.madinc-process-heading {
    max-width: 560px !important;
    margin-bottom: 68px !important;
}

.madinc-process-icon {
    display: block !important;
    color: #746b64 !important;
    font-size: 44px !important;
    line-height: 1 !important;
    margin: 0 auto 36px !important;
}

.madinc-process-grid {
    gap: clamp(34px, 5vw, 76px) !important;
}

.madinc-process-number,
.madinc-process-step h3 {
    font-size: 17px !important;
}

.madinc-process-step p {
    max-width: 330px !important;
    margin-top: 24px !important;
    text-align: center;
}

.madinc-process-step::after {
    content: "";
    display: block;
    width: 42px;
    height: 1px;
    margin: 22px auto 0;
    background: rgba(143,72,44,0.24);
}

/* ─── PROCESSO: LARGURA MAIOR ALINHADA COM O LOGO ─── */
.madinc-process .container {
    max-width: 1320px !important;
}

.madinc-process-heading {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ─── ALINHAMENTO FINAL: PROCESSO COM PORTFÓLIO E FOOTER COM LOGO ─── */
.madinc-process .container,
.site-footer-alt .container {
    max-width: 1320px !important;
}

.madinc-process-heading {
    max-width: 1000px !important;
    margin: 0 auto 56px !important;
}

.madinc-process-heading h2 {
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;
    margin-bottom: 20px !important;
}

.site-footer-alt {
    text-align: left !important;
}

/* ─── FOOTER: EQUILÍBRIO FINAL DOS LOGOS ─── */
.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    height: 132px !important;
    max-height: 132px !important;
}

.footer-certification-logo {
    height: 70px !important;
    max-height: 70px !important;
    width: auto !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        height: 100px !important;
        max-height: 100px !important;
    }

    .footer-certification-logo {
        height: 58px !important;
        max-height: 58px !important;
    }
}

/* ─── FOOTER: PRR/2030 EQUILIBRADOS E SEPARADOR CENTRADO ─── */
.footer-alt-supports {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) !important;
    gap: clamp(42px, 5vw, 72px) !important;
    align-items: end !important;
}

.footer-alt-supports::before {
    left: 50% !important;
    bottom: 30px !important;
}

.footer-alt-support,
.footer-alt-support-2030 {
    min-height: 178px !important;
    justify-content: flex-end !important;
}

.footer-alt-support:first-child {
    align-items: flex-start !important;
}

.footer-alt-support-2030 {
    align-items: flex-start !important;
}

.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    height: 144px !important;
    max-height: 144px !important;
}

.footer-alt-logo {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .footer-alt-supports {
        grid-template-columns: 1fr !important;
    }

    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        height: 106px !important;
        max-height: 106px !important;
    }

    .footer-alt-support,
    .footer-alt-support-2030 {
        min-height: auto !important;
    }
}

/* ─── FOOTER: AJUSTE FINO DO SEPARADOR ENTRE PRR E 2030 ─── */
.footer-alt-supports {
    grid-template-columns: minmax(0, 0.92fr) 1px minmax(0, 1.08fr) !important;
    gap: clamp(26px, 3vw, 44px) !important;
}

.footer-alt-supports::before {
    left: 47.6% !important;
}

.footer-alt-support-2030 {
    padding-left: 0 !important;
}

@media (max-width: 768px) {
    .footer-alt-supports {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .footer-alt-supports::before {
        left: 50% !important;
    }
}

/* ─── FOOTER: DISTÂNCIA FIXA ENTRE PRR, SEPARADOR E 2030 ─── */
.footer-alt-supports {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 100px !important;
}

.footer-alt-supports::before {
    display: none !important;
}

.footer-alt-divider {
    display: block !important;
    align-self: stretch !important;
    width: 1px !important;
    min-height: 178px !important;
    background: linear-gradient(180deg, rgba(140,131,123,0), rgba(140,131,123,0.28), rgba(140,131,123,0)) !important;
    flex: 0 0 1px !important;
}

.footer-alt-support,
.footer-alt-support-2030 {
    flex: 0 0 auto !important;
}

@media (max-width: 768px) {
    .footer-alt-supports {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .footer-alt-divider {
        display: none !important;
    }
}

/* ─── FOOTER: SEPARADOR E 2030 JUNTO AO PRR ─── */
.footer-alt-supports {
    gap: 34px !important;
}

.footer-alt-support:first-child {
    margin-right: 66px !important;
}

.footer-alt-support-2030 {
    margin-left: 0 !important;
}

.footer-alt-divider {
    margin: 0 !important;
}

@media (max-width: 768px) {
    .footer-alt-support:first-child {
        margin-right: 0 !important;
    }
}

/* ─── FOOTER: SEPARADOR ENCOSTADO AO PRR ─── */
.footer-alt-supports {
    gap: 24px !important;
}

.footer-alt-support:first-child {
    margin-right: 0 !important;
}

/* ─── FOOTER: SEPARADOR 100PX À DIREITA DO PRR ─── */
.footer-alt-supports {
    gap: 0 !important;
}

.footer-alt-support:first-child {
    margin-right: 100px !important;
}

.footer-alt-divider {
    margin-right: 34px !important;
}

@media (max-width: 768px) {
    .footer-alt-support:first-child,
    .footer-alt-divider {
        margin-right: 0 !important;
    }
}

/* ─── FOOTER: SEPARADOR A 100PX DO LOGO PRR, NÃO DO BLOCO ─── */
.footer-alt-supports {
    gap: 0 !important;
}

.footer-alt-support:first-child {
    width: fit-content !important;
    margin-right: 0 !important;
}

.footer-alt-logo-prr {
    margin-right: 100px !important;
}

.footer-alt-divider {
    margin-right: 34px !important;
}

.footer-alt-support:first-child .footer-project-link {
    margin-right: 0 !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-prr,
    .footer-alt-divider {
        margin-right: 0 !important;
    }
}

/* ─── FOOTER: 3 BLOCOS SEM SEPARADOR ─── */
.footer-alt-supports {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(42px, 5vw, 72px) !important;
    align-items: end !important;
}

.footer-alt-supports::before,
.footer-alt-divider {
    display: none !important;
    content: none !important;
}

.footer-alt-support,
.footer-alt-support-2030,
.footer-alt-support-empty {
    width: auto !important;
    min-height: 178px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
}

.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    margin-right: 0 !important;
}

.footer-alt-support-empty {
    pointer-events: none;
}

@media (max-width: 768px) {
    .footer-alt-supports {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .footer-alt-support-empty {
        display: none !important;
    }
}

/* ─── FOOTER: LINKS DOS PROJETOS NA MESMA LINHA ─── */
.footer-alt-support-2030 .footer-project-links {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    white-space: nowrap !important;
}

.footer-alt-support-2030 .footer-project-link,
.footer-alt-support-2030 .footer-sep {
    flex: 0 0 auto !important;
}

@media (max-width: 768px) {
    .footer-alt-support-2030 .footer-project-links {
        flex-wrap: wrap !important;
        white-space: normal !important;
    }
}

/* ─── FOOTER: LOGOS PRR E 2030 COM MESMA ALTURA REAL ─── */
.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    height: 138px !important;
    max-height: 138px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.footer-alt-support,
.footer-alt-support-2030 {
    justify-content: flex-start !important;
    min-height: 0 !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        height: 102px !important;
        max-height: 102px !important;
    }
}

/* ─── FOOTER: ALINHAMENTO VISUAL DOS LOGOS PRR / 2030 ─── */
.footer-alt-logo-2030 {
    transform: translateY(-16px);
    margin-bottom: -16px !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-2030 {
        transform: none;
        margin-bottom: 0 !important;
    }
}

/* ─── FOOTER: LOGOS COM A MESMA HEIGHT, SEM TRANSFORMAÇÕES ─── */
.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    height: 144px !important;
    max-height: 144px !important;
    width: auto !important;
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    object-fit: contain !important;
    object-position: left top !important;
}

.footer-alt-support,
.footer-alt-support-2030 {
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        height: 102px !important;
        max-height: 102px !important;
    }
}

/* ─── FOOTER: ESCALA VISUAL DO LOGO 2030 PARA IGUALAR PRR ─── */
.footer-alt-logo-prr {
    height: 144px !important;
    max-height: 144px !important;
}

.footer-alt-logo-2030 {
    height: 164px !important;
    max-height: 164px !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-prr {
        height: 102px !important;
        max-height: 102px !important;
    }

    .footer-alt-logo-2030 {
        height: 116px !important;
        max-height: 116px !important;
    }
}

/* ─── FOOTER: RESET FINAL DOS LOGOS APOIADOS, SEM DISTORÇÃO ─── */
.footer-alt-supports {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(42px, 5vw, 72px) !important;
    align-items: start !important;
}

.footer-alt-supports::before,
.footer-alt-divider {
    display: none !important;
    content: none !important;
}

.footer-alt-support,
.footer-alt-support-2030,
.footer-alt-support-empty {
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    height: 144px !important;
    max-height: 144px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left top !important;
    transform: none !important;
    margin: 0 !important;
    display: block !important;
}

.footer-alt-support-2030 .footer-project-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .footer-alt-supports {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        height: 102px !important;
        max-height: 102px !important;
    }

    .footer-alt-support-empty {
        display: none !important;
    }
}

/* ─── FOOTER: LOGOS PELO MESMO RACIO E LINKS MAIS COLADOS ─── */
.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    width: min(100%, 520px) !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: none !important;
    margin: 0 !important;
}

.footer-project-link,
.footer-project-links {
    margin-top: -2px !important;
}

.footer-alt-support-2030 .footer-project-links {
    margin-top: -2px !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        width: min(100%, 360px) !important;
        height: auto !important;
        max-height: none !important;
    }
}

/* ─── FOOTER: AUMENTAR LOGO PRR SEM DISTORÇÃO ─── */
.footer-alt-logo-prr {
    width: min(100%, 600px) !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-prr {
        width: min(100%, 400px) !important;
        height: auto !important;
    }
}

/* ─── FOOTER: PRR COM A MESMA HEIGHT DO 2030 ─── */
.footer-alt-logo-prr {
    width: auto !important;
    height: 144px !important;
    max-height: 144px !important;
    object-fit: contain !important;
}

/* ─── FOOTER: PRR 7PX MAIS PEQUENO ─── */
.footer-alt-logo-prr {
    height: 137px !important;
    max-height: 137px !important;
    width: auto !important;
}

/* ─── FOOTER: PRR MAIS 15PX PEQUENO ─── */
.footer-alt-logo-prr {
    height: 122px !important;
    max-height: 122px !important;
    width: auto !important;
}

/* ─── FOOTER: AUMENTAR APENAS LOGO 2030 ─── */
.footer-alt-logo-2030 {
    width: min(100%, 580px) !important;
    height: auto !important;
    max-height: none !important;
}

/* ─── FOOTER: DAR MAIS ESPAÇO REAL AO LOGO 2030 ─── */
.footer-alt-supports {
    grid-template-columns: 0.85fr 1.35fr 0.8fr !important;
}

.footer-alt-support-2030 {
    width: 100% !important;
}

.footer-alt-logo-2030 {
    width: min(100%, 720px) !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

/* ─── FOOTER: 2030 AUMENTO LIGEIRO E CONTROLADO ─── */
.footer-alt-supports {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.footer-alt-logo-2030 {
    width: min(100%, 550px) !important;
    height: auto !important;
    max-width: 550px !important;
    max-height: none !important;
}

/* ─── FOOTER: 2030 MAIS UM POUCO MAIOR ─── */
.footer-alt-logo-2030 {
    width: min(100%, 575px) !important;
    max-width: 575px !important;
    height: auto !important;
}

/* ─── FOOTER: 2030 +30PX ─── */
.footer-alt-logo-2030 {
    width: min(100%, 605px) !important;
    max-width: 605px !important;
    height: auto !important;
}

/* ─── FOOTER: 2030 +20PX ─── */
.footer-alt-logo-2030 {
    width: min(100%, 625px) !important;
    max-width: 625px !important;
    height: auto !important;
}

/* ─── FOOTER: AUMENTAR REALMENTE O LOGO 2030 ─── */
.footer-alt-supports {
    grid-template-columns: 0.85fr 1.35fr 0.8fr !important;
}

.footer-alt-support-2030 {
    width: 100% !important;
}

.footer-alt-logo-2030 {
    width: 100% !important;
    max-width: 625px !important;
    height: auto !important;
}

/* ─── FOOTER: RECUO DO 2030 PARA TAMANHO MODERADO ─── */
.footer-alt-supports {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.footer-alt-logo-2030 {
    width: min(100%, 560px) !important;
    max-width: 560px !important;
    height: auto !important;
}

/* ─── FOOTER: GRELHA 12 COLUNAS PARA PROJETOS APOIADOS ─── */
.footer-alt-supports {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 32px !important;
    align-items: start !important;
}

.footer-alt-support:first-child {
    grid-column: span 4 !important;
}

.footer-alt-support-2030 {
    grid-column: span 6 !important;
}

.footer-alt-support-empty {
    grid-column: span 2 !important;
}

.footer-alt-logo-prr {
    width: 100% !important;
    max-width: 520px !important;
    height: auto !important;
}

.footer-alt-logo-2030 {
    width: 100% !important;
    max-width: 760px !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .footer-alt-supports {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .footer-alt-support:first-child,
    .footer-alt-support-2030,
    .footer-alt-support-empty {
        grid-column: auto !important;
    }

    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        width: min(100%, 360px) !important;
        max-width: 360px !important;
        height: auto !important;
    }

    .footer-alt-support-empty {
        display: none !important;
    }
}

/* ─── FOOTER: 12 COLUNAS COM LOGOS À MESMA ALTURA ─── */
.footer-alt-logo-prr,
.footer-alt-logo-2030 {
    height: 132px !important;
    max-height: 132px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-prr,
    .footer-alt-logo-2030 {
        height: 96px !important;
        max-height: 96px !important;
        width: auto !important;
        max-width: 100% !important;
    }
}

/* ─── FOOTER: SEGUNDO LOGO SEM OCUPAR A LARGURA TODA ─── */
.footer-alt-logo-2030 {
    height: 132px !important;
    max-height: 132px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
}

.footer-alt-support-2030 {
    width: auto !important;
    max-width: 100% !important;
}

.footer-alt-support-2030 .footer-project-links {
    width: auto !important;
    max-width: max-content !important;
}

@media (max-width: 768px) {
    .footer-alt-logo-2030 {
        height: 96px !important;
        max-height: 96px !important;
        width: auto !important;
        max-width: 100% !important;
    }
}

/* ─── FOOTER: REDUZIR LOGO 2030 ─── */
.footer-alt-logo-2030 {
    height: 108px !important;
    max-height: 108px !important;
    width: auto !important;
    max-width: none !important;
}

/* ─── FOOTER: LOGO 2030 AINDA MAIS PEQUENO ─── */
.footer-alt-logo-2030 {
    height: 92px !important;
    max-height: 92px !important;
    width: auto !important;
    max-width: none !important;
}

/* ─── FOOTER: LOGO 2030 UM POUCO MAIS PEQUENO ─── */
.footer-alt-logo-2030 {
    height: 84px !important;
    max-height: 84px !important;
    width: auto !important;
    max-width: none !important;
}

/* ─── FOOTER: LOGO 2030 -10PX ─── */
.footer-alt-logo-2030 {
    height: 74px !important;
    max-height: 74px !important;
    width: auto !important;
    max-width: none !important;
}

/* ─── FOOTER: LOGO 2030 +6PX ─── */
.footer-alt-logo-2030 {
    height: 80px !important;
    max-height: 80px !important;
    width: auto !important;
    max-width: none !important;
}

/* ─── FOOTER: MAD IA DRIVEN ENCOSTADO AO LOGO PRR ─── */
.footer-alt-support:first-child .footer-project-link {
    margin-top: -6px !important;
}

/* ─── FOOTER: COLAR LINK MAD IA DRIVEN AO PRR ─── */
.footer-alt-support:first-child {
    gap: 0 !important;
}

.footer-alt-support:first-child .footer-alt-logo-prr {
    margin-bottom: 0 !important;
}

.footer-alt-support:first-child .footer-project-link {
    display: inline-block !important;
    margin-top: -18px !important;
    padding-top: 0 !important;
    line-height: 1 !important;
}

/* ─── FOOTER PROJETOS: RESET LIMPO FINAL ─── */
.site-footer-alt .footer-alt-supports {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 56px !important;
    align-items: start !important;
    padding-bottom: 30px !important;
    border-bottom: 1px solid rgba(140,131,123,0.18) !important;
    text-align: left !important;
}

.site-footer-alt .footer-alt-supports::before,
.site-footer-alt .footer-alt-divider {
    display: none !important;
    content: none !important;
}

.site-footer-alt .footer-alt-support,
.site-footer-alt .footer-alt-support-2030,
.site-footer-alt .footer-alt-support-empty {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.site-footer-alt .footer-alt-logo-prr,
.site-footer-alt .footer-alt-logo-2030 {
    display: block !important;
    height: 116px !important;
    max-height: 116px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: left top !important;
}

.site-footer-alt .footer-alt-logo-prr {
    height: 126px !important;
    max-height: 126px !important;
}

.site-footer-alt .footer-project-link,
.site-footer-alt .footer-project-links {
    margin-top: -14px !important;
    padding-top: 0 !important;
    line-height: 1.1 !important;
}

.site-footer-alt .footer-alt-support-2030 .footer-project-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: max-content !important;
}

@media (max-width: 768px) {
    .site-footer-alt .footer-alt-supports {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .site-footer-alt .footer-alt-logo-prr,
    .site-footer-alt .footer-alt-logo-2030 {
        height: 88px !important;
        max-height: 88px !important;
    }

    .site-footer-alt .footer-project-link,
    .site-footer-alt .footer-project-links {
        margin-top: -8px !important;
    }

    .site-footer-alt .footer-alt-support-2030 .footer-project-links {
        flex-wrap: wrap !important;
        white-space: normal !important;
    }

    .site-footer-alt .footer-alt-support-empty {
        display: none !important;
    }
}

/* ─── FOOTER PROJETOS: LOGOS LADO A LADO, MAIS PEQUENOS ─── */
.site-footer-alt .footer-alt-supports {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 72px !important;
    padding-bottom: 30px !important;
}

.site-footer-alt .footer-alt-support,
.site-footer-alt .footer-alt-support-2030 {
    flex: 0 0 auto !important;
    width: auto !important;
}

.site-footer-alt .footer-alt-support-empty {
    display: none !important;
}

.site-footer-alt .footer-alt-logo-prr,
.site-footer-alt .footer-alt-logo-2030 {
    height: 82px !important;
    max-height: 82px !important;
    width: auto !important;
    max-width: none !important;
}

.site-footer-alt .footer-project-link,
.site-footer-alt .footer-project-links {
    margin-top: -6px !important;
}

@media (max-width: 768px) {
    .site-footer-alt .footer-alt-supports {
        flex-direction: column !important;
        gap: 28px !important;
    }

    .site-footer-alt .footer-alt-logo-prr,
    .site-footer-alt .footer-alt-logo-2030 {
        height: 72px !important;
        max-height: 72px !important;
        max-width: 100% !important;
    }
}

/* ─── FOOTER: LINKS DOS PROJETOS 20PX MAIS BAIXO ─── */
.site-footer-alt .footer-project-link,
.site-footer-alt .footer-project-links {
    margin-top: 14px !important;
}

/* ─── FOOTER: MAD IA DRIVEN COM O MESMO ESPAÇAMENTO ─── */
.site-footer-alt .footer-alt-support:first-child .footer-project-link {
    margin-top: 14px !important;
}

/* ─── FOOTER: ALINHAR MAD IA DRIVEN COM LINKS 2030 ─── */
.site-footer-alt .footer-alt-support:first-child .footer-project-link {
    margin-top: 20px !important;
}

/* ─── FOOTER: FORÇAR ALINHAMENTO VISÍVEL DO MAD IA DRIVEN ─── */
.site-footer-alt .footer-alt-support:first-child .footer-project-link {
    margin-top: 14px !important;
    transform: translateY(16px) !important;
}

/* ─── HERO: ALINHADO COM OS HEADINGS EDITORIAIS ─── */
.hero-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

.hero-content .hero-copy {
    max-width: 760px !important;
}

.hero-content .hero-actions {
    justify-content: flex-start !important;
}

@media (max-width: 768px) {
    .hero-content {
        max-width: 100% !important;
    }
}

/* ─── HERO: DESCRIÇÃO MAIS LEGÍVEL ─── */
.hero-content .hero-copy {
    font-size: 18px !important;
    line-height: 1.62 !important;
}

@media (max-width: 768px) {
    .hero-content .hero-copy {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }
}

/* ─── VIDEO: MESMA TIPOGRAFIA DO BLOCO QUEM SOMOS ─── */
.intro-video-text {
    max-width: 720px !important;
}

.intro-video-text .section-kicker {
    color: #8c837b !important;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 2.8px !important;
    line-height: 1 !important;
    margin-bottom: 18px !important;
    text-transform: uppercase !important;
}

.intro-video-text h2 {
    color: #8c837b !important;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;
    margin-bottom: 26px !important;
}

.intro-video-text p {
    color: #605853 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.58 !important;
    max-width: 690px !important;
    margin-bottom: 18px !important;
}

/* ─── VIDEO: TEXTO DO VIDEO EM LISTA EDITORIAL ─── */
.intro-video-list {
    color: #8c837b !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.58 !important;
    max-width: 690px !important;
    margin: 0 !important;
    padding-left: 18px !important;
}

.intro-video-list li {
    margin-bottom: 10px !important;
}

.intro-video-list li::marker {
    color: #8c837b;
}

/* ─── VIDEO: LISTA COM A MESMA FONTE DO TEXTO QUEM SOMOS ─── */
.intro-video-list,
.intro-video-list li {
    color: #8c837b !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.58 !important;
}

/* ─── NAVBAR FINAL: TAMANHO DO LOGO PRINCIPAL ─── */
#mainNav,
#mainNav > .container {
    min-height: 92px !important;
}

#mainNav > .container {
    align-items: center !important;
}

#mainNav .navbar-brand {
    width: 260px !important;
    height: 92px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
}

#mainNav .navbar-brand img {
    width: 235px !important;
    height: 49px !important;
    object-fit: contain !important;
    object-position: left center !important;
    max-width: 235px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

@media (max-width: 991.98px) {
    #mainNav,
    #mainNav > .container {
        min-height: 80px !important;
    }

    #mainNav .navbar-brand {
        width: 216px !important;
        height: 80px !important;
    }

    #mainNav .navbar-brand img {
        width: 190px !important;
        height: 39px !important;
        object-position: left center !important;
        margin: 0 !important;
        transform: none !important;
    }

    #mainNav .mobile-menu-logo img {
        width: 260px !important;
        height: 57px !important;
        object-fit: contain !important;
        object-position: center center !important;
        display: block !important;
        margin: 0 auto !important;
    }
}

/* ─── AJUSTES FINAIS: BANNERS INTERNOS E FOOTER PROJETOS ─── */
@media (max-width: 768px) {
    .page-banner .container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

.site-footer-alt .footer-alt-supports {
    align-items: flex-start !important;
}

.site-footer-alt .footer-alt-support,
.site-footer-alt .footer-alt-support-2030 {
    justify-content: flex-start !important;
    gap: 0 !important;
}

.site-footer-alt .footer-alt-support:first-child .footer-project-link {
    display: inline-block !important;
    margin-top: -10px !important;
    align-self: flex-start !important;
}

.site-footer-alt .footer-alt-support-2030 .footer-project-links {
    margin-top: -10px !important;
}

@media (max-width: 768px) {
    .site-footer-alt .footer-alt-support:first-child {
        align-items: flex-start !important;
    }

    .site-footer-alt .footer-alt-support:first-child .footer-project-link {
        margin-top: -2px !important;
    }

    .site-footer-alt .footer-alt-support-2030 {
        align-items: flex-start !important;
    }

    .site-footer-alt .footer-alt-support-2030 .footer-project-links {
        margin-top: -2px !important;
    }
}

.site-footer-alt #footerPhone,
.site-footer-alt #footerPhone small {
    color: #000 !important;
}

@media (max-width: 991.98px) {
    #mainNav .mobile-menu-contact,
    #mainNav .mobile-menu-contact strong,
    #mainNav .mobile-menu-contact span,
    #mainNav .mobile-menu-contact a,
    #mainNav .mobile-menu-contact a:visited,
    #mainNav .mobile-menu-contact a:hover,
    #mainNav .mobile-menu-contact span:nth-child(n),
    #mainNav .mobile-menu-contact-line,
    #mainNav .mobile-menu-contact-line i {
        color: #000 !important;
    }
}

/* ─── FOOTER FINAL: LOGOS RESPONSIVE ─── */
.site-footer-alt .footer-alt-supports {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 56px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.site-footer-alt .footer-alt-support,
.site-footer-alt .footer-alt-support-2030 {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
}

.site-footer-alt .footer-alt-logo-prr,
.site-footer-alt .footer-alt-logo-2030 {
    display: block !important;
    width: 100% !important;
    max-width: 340px !important;
    height: auto !important;
    max-height: none !important;
}

.site-footer-alt .footer-alt-support:first-child .footer-project-link,
.site-footer-alt .footer-alt-support-2030 .footer-project-links {
    margin-top: 12px !important;
    transform: none !important;
}

.site-footer-alt .footer-alt-support-2030 .footer-project-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    row-gap: 8px !important;
    column-gap: 10px !important;
    white-space: normal !important;
    max-width: 340px !important;
}

.site-footer-alt .footer-alt-support-empty {
    display: none !important;
}

@media (max-width: 991.98px) {
    .site-footer-alt .footer-alt-supports {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .site-footer-alt .footer-alt-logo-prr,
    .site-footer-alt .footer-alt-logo-2030 {
        max-width: min(100%, 300px) !important;
    }

    .site-footer-alt .footer-alt-support-2030 .footer-project-links {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 575.98px) {
    .site-footer-alt .footer-alt-logo-prr,
    .site-footer-alt .footer-alt-logo-2030 {
        max-width: min(100%, 260px) !important;
    }

    .site-footer-alt .footer-alt-support:first-child .footer-project-link,
    .site-footer-alt .footer-alt-support-2030 .footer-project-links {
        margin-top: 10px !important;
    }
}

/* ─── FOOTER FINAL: ALTURA VISUAL UNIFORME E LINKS ALINHADOS ─── */
.site-footer-alt .footer-alt-support,
.site-footer-alt .footer-alt-support-2030 {
    justify-content: flex-start !important;
}

.site-footer-alt .footer-alt-support:first-child,
.site-footer-alt .footer-alt-support-2030 {
    min-height: 124px !important;
}

.site-footer-alt .footer-alt-logo-prr,
.site-footer-alt .footer-alt-logo-2030 {
    width: auto !important;
    height: 84px !important;
    max-height: 84px !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: left top !important;
}

.site-footer-alt .footer-alt-support:first-child .footer-project-link,
.site-footer-alt .footer-alt-support-2030 .footer-project-links {
    margin-top: 10px !important;
    min-height: 22px;
    align-items: center !important;
}

.site-footer-alt .footer-alt-support:first-child .footer-project-link {
    display: inline-flex !important;
}

@media (max-width: 991.98px) {
    .site-footer-alt .footer-alt-logo-prr,
    .site-footer-alt .footer-alt-logo-2030 {
        height: 88px !important;
        max-height: 88px !important;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .site-footer-alt .footer-alt-supports {
        gap: 24px !important;
        align-items: start !important;
    }

    .site-footer-alt .footer-alt-logo-prr,
    .site-footer-alt .footer-alt-logo-2030 {
        max-width: 292px !important;
    }

    .site-footer-alt .footer-alt-support:first-child .footer-project-link,
    .site-footer-alt .footer-alt-support-2030 .footer-project-links {
        margin-top: 12px !important;
        min-height: 24px;
    }
}

@media (min-width: 1201px) {
    .site-footer-alt .footer-alt-logo-prr,
    .site-footer-alt .footer-alt-logo-2030 {
        max-width: 292px !important;
    }

    .site-footer-alt .footer-alt-supports {
        gap: 36px !important;
    }
}

@media (max-width: 575.98px) {
    .site-footer-alt .footer-alt-logo-prr,
    .site-footer-alt .footer-alt-logo-2030 {
        height: 80px !important;
        max-height: 80px !important;
    }
}

/* ─── FOOTER FINAL FINAL: LOGOS MAIORES E LINKS MAIS PERTO ─── */
.site-footer-alt .footer-alt-support:first-child,
.site-footer-alt .footer-alt-support-2030 {
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 2px !important;
}

.site-footer-alt .footer-alt-logo-prr,
.site-footer-alt .footer-alt-logo-2030 {
    width: auto !important;
    height: 72px !important;
    max-height: 72px !important;
}

.site-footer-alt .footer-alt-support:first-child .footer-project-link,
.site-footer-alt .footer-alt-support-2030 .footer-project-links {
    margin-top: 0 !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    align-self: flex-start !important;
}

.site-footer-alt .footer-alt-support:first-child .footer-project-link {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.1 !important;
}

.site-footer-alt .footer-alt-support-2030 .footer-project-links {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    max-width: none !important;
    line-height: 1.1 !important;
}

@media (min-width: 992px) {
    .site-footer-alt .footer-alt-supports {
        gap: 30px !important;
        align-items: flex-start !important;
    }

    .site-footer-alt .footer-alt-logo-prr,
    .site-footer-alt .footer-alt-logo-2030 {
        height: 132px !important;
        max-height: 132px !important;
        max-width: 430px !important;
    }

    .site-footer-alt .footer-alt-support:first-child,
    .site-footer-alt .footer-alt-support-2030 {
        gap: 0 !important;
    }

    .site-footer-alt .footer-alt-support:first-child .footer-project-link,
    .site-footer-alt .footer-alt-support-2030 .footer-project-links {
        margin-top: -34px !important;
        position: relative !important;
        top: -30px !important;
    }

    .site-footer-alt .footer-alt-support:first-child .footer-project-link {
        top: -12px !important;
    }

    .site-footer-alt .footer-alt-support-2030 .footer-project-links {
        top: -26px !important;
    }
}

@media (max-width: 991.98px) {
    .site-footer-alt .footer-alt-logo-prr,
    .site-footer-alt .footer-alt-logo-2030 {
        height: 72px !important;
        max-height: 72px !important;
    }

    .site-footer-alt .footer-alt-support-2030 .footer-project-links {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }
}

/* ─── RESPONSIVE FINAL: ALINHAR MENU, CONTEÚDOS E FOOTER ─── */
@media (max-width: 991.98px) {
    #mainNav > .container,
    .page-banner .container,
    .contactos-section .container,
    .madinc-process .container,
    .portfolio-featured .container,
    .living-spaces .container,
    .intro-editorial .container,
    .intro-video-section .container,
    .site-footer-alt .container,
    section > .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

@media (max-width: 575.98px) {
    #mainNav > .container,
    .page-banner .container,
    .contactos-section .container,
    .madinc-process .container,
    .portfolio-featured .container,
    .living-spaces .container,
    .intro-editorial .container,
    .intro-video-section .container,
    .site-footer-alt .container,
    section > .container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

/* ─── RESPONSIVE GLOBAL FINAL: UNIFORMIZAR TODAS AS PÁGINAS ─── */
@media (max-width: 1199.98px) {
    .page-banner .container,
    .section-heading-left,
    .madinc-process-heading,
    .portfolio-featured-heading,
    .living-spaces-heading,
    .intro-text,
    .intro-video-text,
    .contactos-info-col,
    .contactos-form-col {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    .section-heading-left .section-kicker,
    .section-heading-left .titulo,
    .section-heading-left h2,
    .section-heading-left p,
    .madinc-process-heading .section-kicker,
    .madinc-process-heading h2,
    .portfolio-featured-heading .section-kicker,
    .portfolio-featured-heading h2,
    .portfolio-featured-heading p,
    .living-spaces-heading .section-kicker,
    .living-spaces-heading h2,
    .living-spaces-heading p,
    .intro-text .section-kicker,
    .intro-text h2,
    .intro-text p,
    .intro-video-text .section-kicker,
    .intro-video-text h2,
    .intro-video-text p {
        text-align: left !important;
    }
}

@media (max-width: 991.98px) {
    .page-banner {
        padding: 74px 0 42px !important;
    }

    .page-banner + section,
    .page-banner + section + section,
    .page-banner + section + section + section {
        padding-top: 56px !important;
        padding-bottom: 60px !important;
    }

    .intro-editorial {
        padding: 64px 0 56px !important;
    }

    .intro-editorial-top,
    .intro-video-grid,
    .contactos-grid,
    .madinc-process-grid {
        grid-template-columns: 1fr !important;
    }

    .intro-editorial-top,
    .intro-video-grid,
    .contactos-grid {
        gap: 32px !important;
    }

    .madinc-process-grid,
    .living-spaces-grid {
        gap: 24px !important;
    }

    .intro-mark {
        justify-self: start !important;
        margin-left: 0 !important;
    }

    .intro-video-frame {
        order: 1;
        margin: 0 !important;
    }

    .intro-video-text {
        order: 2;
    }

    .contactos-info-col,
    .contactos-form-col {
        padding-top: 0 !important;
    }

    .contactos-form-col {
        order: 2 !important;
    }

    .contactos-info-col {
        order: 1 !important;
    }

    .site-footer-alt .footer-alt-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 18px !important;
    }

    .site-footer-alt .footer-menu-legal {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .portfolio-featured-heading,
    .madinc-process-heading {
        max-width: 492px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-banner h1,
    .titulo,
    .intro-text h2,
    .intro-video-text h2,
    .living-spaces-heading h2,
    .portfolio-featured-heading h2,
    .madinc-process-heading h2 {
        font-size: 28px !important;
        line-height: 1.24 !important;
    }

    .texto,
    .checklist li,
    .valor-texto,
    .portfolio-detalhe .info p,
    .portfolio-detalhe .info .meta,
    .intro-text p,
    .intro-video-text p,
    .living-spaces-heading p,
    .portfolio-featured-heading p,
    .madinc-process-step p {
        font-size: 15px !important;
        line-height: 1.62 !important;
    }

    .site-footer-alt .footer-alt-supports {
        gap: 24px !important;
    }
}

/* ─── HOMEPAGE 1368x912: ALINHAMENTOS ─── */
@media (min-width: 992px) and (max-width: 1400px) {
    .living-spaces-heading,
    .portfolio-featured-heading,
    .madinc-process-heading {
        max-width: 1000px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .portfolio-featured-heading {
        margin-bottom: 56px !important;
    }

    .living-spaces-grid,
    .madinc-process-grid {
        max-width: 1000px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .madinc-process .container {
        max-width: 1120px !important;
    }

    .madinc-process-grid {
        gap: 32px !important;
    }

    .site-footer-alt .container {
        max-width: 1120px !important;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .portfolio-featured .container,
    .madinc-process .container,
    .site-footer-alt .container {
        max-width: 960px !important;
    }

    .portfolio-featured-heading,
    .madinc-process-heading,
    .madinc-process-grid,
    .site-footer-alt .footer-alt-supports,
    .site-footer-alt .footer-certifications,
    .site-footer-alt .footer-alt-bottom,
    .site-footer-alt .footer-copy {
        max-width: 936px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .madinc-process-heading {
        margin-bottom: 56px !important;
    }

    .site-footer-alt .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ─── TABLET VERTICAL: HERO, PROCESSO, FOOTER E SEM OVERFLOW ─── */
@media (min-width: 769px) and (max-width: 991.98px) {
    html,
    body {
        overflow-x: clip;
    }

    #mainNav > .container,
    .hero .container,
    .intro-editorial .container,
    .intro-video-section .container,
    .living-spaces .container,
    .portfolio-featured .container,
    .madinc-process .container,
    .cta-dark .container,
    .site-footer-alt .container {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }

    #mainNav .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        z-index: 1200;
        display: block !important;
        width: min(78vw, 420px);
        height: 100vh;
        height: 100dvh;
        padding: 30px 38px 42px;
        background:
            radial-gradient(95% 120% at 100% 0%, rgba(212,185,142,0.12) 0%, rgba(212,185,142,0.04) 44%, rgba(212,185,142,0) 70%),
            #fff;
        box-shadow: -24px 0 70px rgba(45,45,45,0.12);
        border-left: 1px solid rgba(140,131,123,0.14);
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(104%);
        transition: none !important;
    }

    #mainNav .navbar-collapse.show {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition: none !important;
    }

    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1190;
        display: block;
        background: rgba(255,255,255,0.68);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.38s ease;
    }

    body.mobile-menu-open .mobile-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    #mainNav .mobile-menu-close,
    #mainNav .mobile-menu-logo,
    .mobile-menu-contact {
        display: block;
    }

    .hero {
        min-height: 86vh;
        min-height: 86dvh;
        align-items: center;
        padding-bottom: 0;
    }

    .hero .container {
        min-height: 86vh;
        min-height: 86dvh;
        display: flex;
        align-items: center;
    }

    .hero-content {
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-top: 98px !important;
        padding-bottom: 48px !important;
        min-height: auto !important;
        align-items: flex-start !important;
        justify-content: center !important;
        margin-top: 0 !important;
    }

    .hero-scroll-cue {
        top: 16px;
    }

    .hero h1 {
        font-size: 62px !important;
        line-height: 0.94 !important;
        max-width: 7.5ch;
        margin-bottom: 16px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-content .hero-copy {
        max-width: 560px !important;
        font-size: 16px !important;
        line-height: 1.58 !important;
    }

    .hero-arrows {
        right: 18px;
        width: 84px;
        height: 106px;
        top: calc(50% - 53px);
    }

    .hero-dots {
        right: 26px;
        bottom: 24px;
    }

    .living-spaces-heading,
    .portfolio-featured-heading,
    .madinc-process-heading,
    .intro-text,
    .intro-video-text {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .madinc-process-heading,
    .portfolio-featured-heading {
        margin-bottom: 34px !important;
    }

    .madinc-process-heading {
        max-width: 656px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .site-footer-alt {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .site-footer-alt .container {
        max-width: 100% !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

.site-footer-alt .footer-alt-supports,
.site-footer-alt .footer-certifications,
.site-footer-alt .footer-alt-bottom,
.site-footer-alt .footer-copy {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

.site-footer-alt .footer-copy {
    color: #000 !important;
}
}

/* ─── DESKTOP LARGO: PROCESSO E FOOTER NA MESMA GRELHA ─── */
@media (min-width: 1401px) {
    .portfolio-featured .container,
    .madinc-process .container,
    .site-footer-alt .container {
        max-width: 1320px !important;
    }

    .portfolio-featured-heading,
    .madinc-process-heading {
        max-width: 1000px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .madinc-process-heading {
        margin-bottom: 56px !important;
    }

    .madinc-process-grid {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .site-footer-alt .footer-alt-supports,
    .site-footer-alt .footer-certifications,
    .site-footer-alt .footer-alt-bottom,
    .site-footer-alt .footer-copy {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.site-footer-alt .footer-copy {
    margin-top: 48px !important;
    margin-bottom: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    display: block !important;
}

.site-footer-alt .footer-alt-bottom {
    margin-bottom: 0 !important;
}

.site-footer-alt .footer-alt-kicker,
.site-footer-alt .footer-certifications-title {
    color: #746b64 !important;
    font-family: 'Aptos', 'Aptos Display', Calibri, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 2.4px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    text-align: left !important;
}

/* ─── RESPONSIVE FINAL GLOBAL: LARGURA TOTAL COM RESPIRO HOMOGÉNEO ─── */
@media (max-width: 991.98px) {
    :root {
        --madinc-mobile-gutter: 28px;
    }

    #mainNav > .container,
    .hero .container,
    .page-banner .container,
    .intro-editorial .container,
    .intro-video-section .container,
    .living-spaces .container,
    .portfolio-featured .container,
    .madinc-process .container,
    .cta-dark .container,
    .contactos-section .container,
    .site-footer-alt .container,
    section > .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: var(--madinc-mobile-gutter) !important;
        padding-right: var(--madinc-mobile-gutter) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-banner .container,
    .section-heading-left,
    .madinc-process-heading,
    .portfolio-featured-heading,
    .living-spaces-heading,
    .intro-text,
    .intro-video-text,
    .contactos-info-col,
    .contactos-form-col {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #mainNav .navbar-collapse {
        inset: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 28px var(--madinc-mobile-gutter) 36px !important;
        border-left: 0 !important;
        box-shadow: none !important;
        transform: translateX(100%) !important;
    }

    #mainNav .navbar-collapse.show {
        transform: translateX(0) !important;
    }

    #mainNav .navbar-nav,
    #mainNav .mobile-menu-contact,
    #mainNav .mobile-menu-logo {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #mainNav .nav-link,
    #mainNav .mobile-menu-contact,
    #mainNav .mobile-menu-contact > strong,
    #mainNav .mobile-menu-contact > span,
    #mainNav .mobile-menu-contact-line {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .site-footer-alt .container {
        padding-left: var(--madinc-mobile-gutter) !important;
        padding-right: var(--madinc-mobile-gutter) !important;
    }
}

@media (max-width: 575.98px) {
    :root {
        --madinc-mobile-gutter: 22px;
    }
}

/* ─── MÓDULOS 4-UP: MANTER 2 COLUNAS ATÉ ECRÃS MUITO PEQUENOS ─── */
@media (max-width: 991.98px) {
    .madinc-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .row.g-4.text-center > .col-md-3.col-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 680px) {
    .living-spaces-grid {
        grid-template-columns: 1fr !important;
    }

    .living-space-card-large {
        grid-column: auto !important;
    }
}

@media (max-width: 479.98px) {
    .madinc-process-grid,
    .living-spaces-grid {
        grid-template-columns: 1fr !important;
    }

    .row.g-4.text-center > .col-md-3.col-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ─── SISTEMA FINAL DE ESPAÇAMENTO UNIFICADO ─── */
:root {
    --madinc-section-space-desktop: 80px;
    --madinc-section-space-tablet: 60px;
    --madinc-section-space-mobile: 40px;
    --madinc-heading-gap-desktop: 40px;
    --madinc-heading-gap-tablet: 30px;
    --madinc-heading-gap-mobile: 20px;
}

.intro-editorial,
.intro-video-section,
.living-spaces,
.portfolio-featured,
.madinc-process,
.cta-dark,
.contactos-section,
.page-banner + section,
.page-banner + section + section,
.page-banner + section + section + section,
.page-banner + section + section + section + section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: var(--madinc-section-space-desktop) !important;
    padding-bottom: var(--madinc-section-space-desktop) !important;
}

.living-spaces {
    padding-top: 160px !important;
}

@media (min-width: 992px) {
    .intro-video-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        overflow-x: clip !important;
    }

    .intro-video-section .container.intro-video-grid {
        max-width: 1320px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .intro-video-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr) !important;
        gap: 42px !important;
    }

    .intro-video-grid {
        align-items: center !important;
    }

    .intro-video-frame {
        align-self: center !important;
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .intro-video-text {
        align-self: center !important;
        padding: 24px 0 24px 0 !important;
        max-width: 520px !important;
        margin-left: 0 !important;
    }
}

.intro-video-section {
    margin: 0 !important;
}

.living-spaces-heading,
.portfolio-featured-heading,
.madinc-process-heading,
.section-heading-left {
    margin-bottom: var(--madinc-heading-gap-desktop) !important;
}

.intro-editorial + .intro-video-section,
.intro-video-section + .living-spaces,
.living-spaces + .portfolio-featured,
.portfolio-featured + .madinc-process,
.madinc-process + .cta-dark,
.page-banner + section,
.page-banner + section + section,
.page-banner + section + section + section,
.page-banner + section + section + section + section {
    scroll-margin-top: 80px;
}

@media (max-width: 991.98px) {
    .intro-editorial,
    .intro-video-section,
    .living-spaces,
    .portfolio-featured,
    .madinc-process,
    .cta-dark,
    .contactos-section,
    .page-banner + section,
    .page-banner + section + section,
    .page-banner + section + section + section,
    .page-banner + section + section + section + section {
        padding-top: var(--madinc-section-space-tablet) !important;
        padding-bottom: var(--madinc-section-space-tablet) !important;
    }

    .living-spaces-heading,
    .portfolio-featured-heading,
    .madinc-process-heading,
    .section-heading-left {
        margin-bottom: var(--madinc-heading-gap-tablet) !important;
    }
}

@media (max-width: 768px) {
    .intro-editorial,
    .intro-video-section,
    .living-spaces,
    .portfolio-featured,
    .madinc-process,
    .cta-dark,
    .contactos-section,
    .page-banner + section,
    .page-banner + section + section,
    .page-banner + section + section + section,
    .page-banner + section + section + section + section {
        padding-top: var(--madinc-section-space-mobile) !important;
        padding-bottom: var(--madinc-section-space-mobile) !important;
    }

    .living-spaces-heading,
    .portfolio-featured-heading,
    .madinc-process-heading,
    .section-heading-left {
        margin-bottom: var(--madinc-heading-gap-mobile) !important;
    }
}

/* ─── HOMEPAGE E PÁGINAS: ESPAÇOS ENTRE SECÇÕES UNIFORMES ─── */
.intro-editorial,
.intro-video-section,
.living-spaces,
.portfolio-featured,
.madinc-process,
.cta-dark,
.contactos-section,
.page-banner + section,
.page-banner + section + section,
.page-banner + section + section + section,
.page-banner + section + section + section + section {
    padding-top: var(--madinc-section-space-desktop) !important;
    padding-bottom: var(--madinc-section-space-desktop) !important;
}

.living-spaces {
    padding-top: 160px !important;
}

@media (max-width: 991.98px) {
    .intro-editorial,
    .intro-video-section,
    .living-spaces,
    .portfolio-featured,
    .madinc-process,
    .cta-dark,
    .contactos-section,
    .page-banner + section,
    .page-banner + section + section,
    .page-banner + section + section + section,
    .page-banner + section + section + section + section {
        padding-top: var(--madinc-section-space-tablet) !important;
        padding-bottom: var(--madinc-section-space-tablet) !important;
    }

    .living-spaces {
        padding-top: 60px !important;
    }
}

@media (max-width: 768px) {
    .intro-editorial,
    .intro-video-section,
    .living-spaces,
    .portfolio-featured,
    .madinc-process,
    .cta-dark,
    .contactos-section,
    .page-banner + section,
    .page-banner + section + section,
    .page-banner + section + section + section,
    .page-banner + section + section + section + section {
        padding-top: var(--madinc-section-space-mobile) !important;
        padding-bottom: var(--madinc-section-space-mobile) !important;
    }

    .living-spaces {
        padding-top: 70px !important;
    }
}

/* ─── VIDEO: FUNDO JUSTO AO CONTEÚDO ─── */
.intro-video-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ===========================================================
   MADINC — seletor de idioma por bandeiras PT / EN / FR
   =========================================================== */
.site-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 22px;
    padding-left: 18px;
    border-left: 1px solid rgba(65, 48, 38, .18);
}
.site-language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    padding: 2px;
    border: 1px solid transparent;
    border-radius: 2px;
    text-decoration: none;
    opacity: .58;
    transition: opacity .2s ease, border-color .2s ease;
}
.site-language-flag {
    display: block;
    width: 24px;
    height: 16px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.site-language-link:hover,
.site-language-link:focus,
.site-language-link.active {
    opacity: 1;
}
.site-language-link:hover,
.site-language-link:focus {
    transform: none;
}
.site-language-link.active {
    border-color: #8f482c;
}
@media (max-width: 991.98px) {
    .site-language-switcher {
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
        margin: 18px 0 0;
        padding: 18px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(65, 48, 38, .12);
    }
    .site-language-link {
        width: 42px;
        height: 32px;
        padding: 3px;
    }
    .site-language-flag {
        width: 32px;
        height: 21px;
    }
}

/* ─── PÁGINAS LEGAIS ─── */
.legal-content-narrow { max-width: 980px; }
.legal-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.legal-index-card {
    min-height: 180px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(65, 48, 38, .14);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.legal-index-card:hover, .legal-index-card:focus {
    color: inherit;
    transform: none;
    border-color: rgba(143, 72, 44, .55);
    box-shadow: 0 16px 35px rgba(45, 35, 29, .08);
}
.legal-index-title { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.legal-index-link { margin-top: 24px; color: #8f482c; font-weight: 600; }
@media (max-width: 767.98px) {
    .legal-index-grid { grid-template-columns: 1fr; }
    .legal-index-card { min-height: 140px; padding: 24px; }
}

/* ─── FOOTER: dois projetos PRR lado a lado ─── */
.site-footer-alt .footer-alt-support:first-child .footer-project-links {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    max-width: none !important;
    line-height: 1.1 !important;
    margin-top: 0 !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    align-self: flex-start !important;
}
.site-footer-alt .footer-alt-support:first-child .footer-project-links .footer-project-link {
    margin-top: 0 !important;
    top: auto !important;
}
@media (min-width: 992px) {
    .site-footer-alt .footer-alt-support:first-child .footer-project-links {
        margin-top: -34px !important;
        position: relative !important;
        top: -12px !important;
    }
}
@media (max-width: 991.98px) {
    .site-footer-alt .footer-alt-support:first-child .footer-project-links {
        flex-wrap: wrap !important;
        white-space: normal !important;
    }
}

/* ===========================================================
   AJUSTES FINAIS — LEGAIS, BANDEIRAS E MENU MÓVEL
   =========================================================== */

/* Páginas legais: conteúdo com a largura normal do site, sem faixa estreita central. */
.legal-content-narrow {
    width: 100% !important;
    max-width: 1320px !important;
}

/* Bandeiras: apenas a imagem, sem moldura, caixa, fundo ou sombra. */
.site-language-link,
.site-language-link:hover,
.site-language-link:focus,
.site-language-link.active {
    border: 0 !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline-offset: 4px;
}
.site-language-flag {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Menu móvel: contactos mais acima e com respiro inferior. */
@media (max-width: 991.98px) {
    #mainNav .navbar-collapse,
    #mainNav .navbar-collapse.collapsing {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding-bottom: 64px !important;
    }

    #mainNav .mobile-menu-contact {
        margin-top: 42px !important;
        padding-bottom: 20px !important;
    }
}

/* Ecrãs móveis mais baixos: evitar que os contactos fiquem encostados ao fundo. */
@media (max-width: 991.98px) and (max-height: 720px) {
    #mainNav .navbar-nav {
        padding-top: 88px !important;
    }

    #mainNav .mobile-menu-contact {
        margin-top: 28px !important;
    }
}

/* ===========================================================
   PAGE BANNERS — IMAGEM ORIGINAL EM TODA A LARGURA
   =========================================================== */
.page-banner.page-banner-visual {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: var(--page-banner-height, clamp(132px, 11vw, 160px));
    display: flex;
    align-items: flex-end;
    margin-top: 0 !important;
    padding: 128px 0 20px;
    color: var(--page-banner-text, #5b544d);
    background: transparent;
}
.page-banner.page-banner-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--page-banner-art);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .10;
    filter: none;
    mix-blend-mode: normal;
    transform: none;
    transform-origin: center center;
    animation: none;
    will-change: auto;
    z-index: -1;
}
.page-banner.page-banner-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--page-banner-overlay);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
    will-change: auto;
    z-index: -1;
}
.page-banner.page-banner-visual .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 6px;
}
.page-banner.page-banner-visual .subtitulo,
.page-banner.page-banner-visual .section-kicker {
    color: var(--page-banner-kicker, #726a63) !important;
    max-width: 760px;
    margin-left: 0;
}
.page-banner.page-banner-visual h1 {
    color: var(--page-banner-text, #5b544d) !important;
    max-width: 760px;
    margin-left: 0;
}
.page-banner.page-banner-visual p {
    max-width: 760px;
    margin-left: 0;
}
.page-banner.page-banner-visual h1 em {
    color: inherit !important;
}

.error-404-section {
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    padding-top: clamp(34px, 5vw, 56px) !important;
    padding-bottom: clamp(40px, 6vw, 72px) !important;
}

.error-404-card {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 38px) clamp(22px, 4vw, 34px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.error-404-kicker {
    margin-bottom: 10px;
}

.error-404-code {
    color: #746b64;
    font-family: 'Jost', Arial, sans-serif;
    font-size: clamp(6rem, 18vw, 13rem);
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -0.07em;
    margin-bottom: 12px;
}

.error-404-title {
    color: #3f3a35;
    font-family: 'Jost', Arial, sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 18px;
}

.error-404-copy {
    max-width: 520px;
    margin: 0 auto 24px !important;
}

.error-404-actions {
    display: block;
}

.error-404-home-link {
    display: inline-flex;
    margin-top: 0;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes madincBannerDrift {
    0% {
        transform: scale(1.01) translate3d(0, 0, 0);
        background-position: center center;
    }
    100% {
        transform: scale(1.03) translate3d(0, -4px, 0);
        background-position: center 46%;
    }
}

.legal-content-surface {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3vw, 42px) clamp(22px, 3vw, 42px);
    border: 1px solid rgba(65, 48, 38, .08);
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
    box-shadow: 0 18px 40px rgba(45, 35, 29, .05);
}
.legal-content-surface > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .page-banner.page-banner-visual {
        min-height: clamp(116px, 24vw, 140px);
        padding: 112px 0 16px;
    }
    .page-banner.page-banner-visual::before {
        background-size: cover;
    }
    .page-banner.page-banner-visual .container {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }
    .page-banner.page-banner-visual h1 {
        max-width: 100%;
    }
    .error-404-card {
        padding: 18px 8px;
    }
    .legal-content-surface {
        padding: 24px 20px;
    }
}
/* Admin-ready footer extras */
.footer-project-title {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6b5a4c;
}

.footer-distinction-extra {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(143, 72, 44, .12);
}

.footer-distinction-extra h3 {
    margin: 0 0 .45rem;
    font-size: .92rem;
    font-weight: 700;
    color: #4a3529;
}

.footer-distinction-extra div {
    color: #6a5b50;
    font-size: .95rem;
    line-height: 1.65;
}

/* ==========================================================
   MADINC 2026 — carregamento visual e movimento discreto
   ========================================================== */
.media-loading-surface {
    position: relative;
    overflow: hidden;
    background: #f1eee9;
}
.media-loading-surface::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 1;
    transition: opacity .28s ease;
    background: linear-gradient(105deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.58) 42%, rgba(255,255,255,0) 64%);
    transform: none;
    animation: none;
    z-index: 1;
}
.media-loading-surface.is-media-ready::after,
.media-loading-surface.is-media-error::after {
    opacity: 0;
    animation: none;
}
.media-loading-surface > img {
    transition: opacity .32s ease;
}
.media-loading-surface:not(.is-media-ready):not(.is-media-error) > img {
    opacity: .02;
}
.media-loading-surface.is-media-ready > img {
    opacity: 1;
}
.media-loading-surface.is-media-error {
    min-height: 120px;
    background: linear-gradient(135deg, #f4f1ed, #ebe6df);
}
@keyframes madinc-media-loading {
    0%, 100% { opacity: .18; }
    50% { opacity: .72; }
}

.reveal-on-scroll {
    opacity: 0;
    transition: opacity .72s ease;
    transition-delay: var(--reveal-delay, 0ms);
}
.reveal-on-scroll.is-revealed {
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .reveal-on-scroll.is-revealed {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .media-loading-surface::after { animation: none !important; }
    html { scroll-behavior: auto !important; }
}


/* ===========================================================
   MADINC — CAMADA DE ESTABILIDADE VISUAL
   Sem animações ligadas ao scroll nem transformações contínuas.
   =========================================================== */
html { scroll-behavior: auto !important; }
#mainNav {
    background: #fff !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
}
#mainNav .navbar-brand,
#mainNav .navbar-brand img,
#mainNav .nav-link,
#mainNav .site-language-link {
    transform: none !important;
    will-change: auto !important;
}
.hero-content > *,
.hero-content.is-reset > *,
.hero-content.is-changing > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}
.hero-slide,
.hero.is-enhanced .hero-slide { transition: none !important; }
.page-banner.page-banner-visual::before,
.page-banner.page-banner-visual::after {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
}
.reveal-on-scroll,
.reveal-on-scroll.is-revealed {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}
.media-loading-surface::after { display: none !important; animation: none !important; }
.media-loading-surface > img,
.media-loading-surface:not(.is-media-ready):not(.is-media-error) > img,
.media-loading-surface.is-media-ready > img { opacity: 1 !important; transition: none !important; }
.living-space-card,
.living-space-card img,
.living-space-content h3,
.living-space-content p,
.card-servico,
.portfolio-item img,
.legal-index-card,
.footer-alt-support {
    will-change: auto !important;
}
.living-space-card:hover img,
.living-space-card:focus-visible img,
.card-servico:hover,
.portfolio-item:hover img,
.legal-index-card:hover,
.footer-alt-support:hover { transform: none !important; }
@media (min-width: 992px) {
    #mainNav .navbar-collapse,
    #mainNav .navbar-collapse.show {
        transform: none !important;
        transition: none !important;
    }
}

/* Menu móvel: abertura estável, sem camada transformada fora do ecrã. */
@media (max-width: 991.98px) {
    #mainNav .navbar-collapse,
    #mainNav .navbar-collapse.collapsing {
        display: none !important;
        visibility: hidden !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    #mainNav .navbar-collapse.show {
        display: block !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    .mobile-menu-backdrop {
        transition: none !important;
    }
}

/* MADINC custom discreet homepage video player */
.intro-video-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    width: min(310px, calc(100% - 36px));
    min-height: 42px;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(20,20,20,0.48);
    box-shadow: 0 8px 26px rgba(0,0,0,0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0.82;
    transition: opacity .22s ease, background .22s ease, transform .22s ease;
}

.intro-video-frame:hover .intro-video-controls,
.intro-video-controls:focus-within {
    opacity: 1;
    background: rgba(20,20,20,0.62);
}

.intro-video-control {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.intro-video-control:hover,
.intro-video-control:focus-visible {
    background: rgba(255,255,255,0.13);
}

.intro-video-control:active {
    transform: scale(.94);
}

.intro-video-control:focus-visible,
.intro-video-progress:focus-visible {
    outline: 1px solid rgba(255,255,255,0.88);
    outline-offset: 2px;
}

.intro-video-control-play-icon,
.intro-video-control-pause-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    pointer-events: none;
}

.intro-video-control-play-icon { display: none; }
.intro-video-control-pause-icon { display: block; }
.intro-video-toggle.is-paused .intro-video-control-play-icon { display: block; }
.intro-video-toggle.is-paused .intro-video-control-pause-icon { display: none; }

.intro-video-progress {
    flex: 1 1 auto;
    min-width: 70px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    accent-color: #fff;
    -webkit-appearance: none;
    appearance: none;
}

.intro-video-progress::-webkit-slider-runnable-track {
    height: 2px;
    border-radius: 999px;
    background: rgba(255,255,255,0.38);
}

.intro-video-progress::-webkit-slider-thumb {
    width: 9px;
    height: 9px;
    margin-top: -3.5px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}

.intro-video-progress::-moz-range-track {
    height: 2px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.38);
}

.intro-video-progress::-moz-range-thumb {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

.intro-video-mute {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    color: #fff;
    background: rgba(0,0,0,0.46);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.intro-video-mute.is-muted {
    color: #fff;
    background: rgba(0,0,0,0.46);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.intro-video-mute:hover,
.intro-video-mute:focus-visible,
.intro-video-mute.is-muted:hover,
.intro-video-mute.is-muted:focus-visible {
    background: rgba(0,0,0,0.62);
}

.intro-video-sound-icon {
    width: 28px;
    height: 28px;
    pointer-events: none;
}

.intro-video-speaker-shape {
    fill: #fff;
}

.intro-video-sound-waves {
    fill: #35c96f;
}

.intro-video-sound-x {
    fill: #ef4b4b;
}

.intro-video-sound-off { display: none; }
.intro-video-mute.is-muted .intro-video-sound-on { display: none; }
.intro-video-mute.is-muted .intro-video-sound-off { display: block; }

@media (hover: hover) and (pointer: fine) {
    .intro-video-controls { opacity: 0.62; }
}

@media (max-width: 680px) {
    .intro-video-controls {
        right: 12px;
        bottom: 12px;
        width: min(250px, calc(100% - 24px));
        min-height: 38px;
        padding: 4px 6px;
        gap: 6px;
        opacity: 0.9;
    }

    .intro-video-control {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    .intro-video-mute {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .intro-video-sound-icon {
        width: 25px;
        height: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-video-controls,
    .intro-video-control {
        transition: none;
    }
}

/* ─── CONTACTOS: ÍCONES A TRAÇO E FORMULÁRIO EM LINHA ─── */
.contactos-info-col {
    max-width: 440px;
    padding-top: 0;
}

.contact-intro-title {
    margin: 0 0 55px;
    color: #7f766f !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 31px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.contactos-info-col .info-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 38px;
}

.contactos-info-col .info-item:last-of-type {
    margin-bottom: 0;
}

.contactos-section .info-item-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 25px 0 0;
    color: #8f482c;
    font-size: 24px;
    line-height: 1;
}

.contactos-section .info-item-icon i {
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    color: inherit;
    font-size: 24px;
    line-height: 1;
}

.contactos-section .info-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.contactos-section .info-item h6 {
    margin: 0 0 5px;
    color: #7f766f !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 29px !important;
}

.contactos-section .info-item p {
    margin: 0;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 29px !important;
}

.contactos-section .contact-social-title {
    font-size: 17px !important;
    font-weight: 600 !important;
}

.contactos-info-col .mt-4 {
    margin-top: 42px !important;
}

/* Cartão do formulário: mantém o fundo claro da MADINC */
.contact-form-box {
    border-radius: 10px;
    padding: clamp(30px, 4.2vw, 56px);
}

.contactos-form-col h4.contact-section-title {
    margin-bottom: 35px !important;
    color: #7f766f !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.contact-field {
    position: relative;
    margin-bottom: 20px;
}

.contact-field-icon {
    position: absolute;
    top: 12px;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 29px;
    color: #8f482c;
    font-size: 24px;
    line-height: 1;
    pointer-events: none;
}

.contactos-section .contact-field .form-control {
    width: 100%;
    height: 54px;
    min-height: 0;
    padding: 12px 32px 12px 0;
    border: 0;
    border-bottom: 1px solid rgba(101, 94, 88, 0.22);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #655e58 !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 29px;
}

.contactos-section .contact-field .form-control::placeholder {
    color: #a39a93 !important;
    opacity: 1 !important;
}

.contactos-section .contact-field .form-control:focus {
    border-bottom-color: #8f482c;
    box-shadow: none;
    outline: none;
}

.contactos-section .contact-field textarea.form-control {
    height: 112px;
    min-height: 112px;
    resize: vertical;
}

/* Anexos */
.contact-upload {
    margin-top: 25px;
}

.contact-upload-label {
    display: block;
    margin-bottom: 10px;
    color: #7f766f;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 29px;
}

.contact-upload-label span {
    color: #a39a93;
    font-weight: 400;
}

.contact-upload-input {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

.contact-upload-select {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid rgba(101, 94, 88, 0.28);
    background: transparent;
    color: #655e58;
    font-size: 14px;
    font-weight: 600;
    line-height: 29px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-upload-select:hover,
.contact-upload-input:focus-visible + .contact-upload-select {
    border-color: #8f482c;
    color: #8f482c;
}

.contact-upload-select .bi {
    font-size: 17px;
    line-height: 1;
}

.contactos-section .contact-upload-note {
    margin: 10px 0 0;
    color: #8c837b;
    font-size: 12px;
    line-height: 1.55;
}

/* Captcha */
.contact-captcha {
    margin-top: 25px;
}

.contactos-section .contact-captcha .contact-label {
    display: block;
    margin-bottom: 10px;
    color: #7f766f !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 29px !important;
}

.contactos-section .captcha-box {
    display: grid;
    grid-template-columns: 140px 46px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.contactos-section .captcha-box img {
    width: 140px;
    height: 48px;
    border: 1px solid rgba(101, 94, 88, 0.22);
    border-radius: 3px;
}

.contactos-section .captcha-refresh {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(101, 94, 88, 0.28);
    border-radius: 50%;
    font-size: 20px;
}

.contactos-section .captcha-refresh .bi {
    font-size: 20px !important;
}

.contactos-section .captcha-box input.form-control {
    width: 100%;
    flex: initial;
    height: 48px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid rgba(101, 94, 88, 0.28);
    border-radius: 6px;
    background: transparent;
    color: #655e58 !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
}

/* Botão e nota de privacidade */
.contactos-section .btn-enviar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 61px;
    margin: 30px 0 25px;
    padding: 18px 34px;
    border-radius: 4px;
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: none;
}

.contactos-section .btn-enviar::before,
.contactos-section .btn-enviar::after {
    content: none;
}

.contactos-section .contact-submit-progress {
    max-width: 100%;
    margin: -16px 0 16px;
}

.contact-privacy-note {
    max-width: 90%;
    margin: 0;
    color: #8c837b;
    font-size: 15px;
    line-height: 24px;
}

.contact-privacy-note a {
    color: #8f482c;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
    .contactos-info-col {
        max-width: 100%;
        padding-top: 0;
    }

    .contact-intro-title {
        margin-bottom: 36px;
        font-size: 26px !important;
    }

    .contactos-form-col h4.contact-section-title {
        font-size: 26px !important;
    }
}

@media (max-width: 575.98px) {
    .contact-form-box {
        padding: 28px 22px 26px;
    }

    .contactos-section .captcha-box {
        grid-template-columns: 140px 46px;
    }

    .contactos-section .captcha-box input.form-control {
        grid-column: 1 / -1;
    }

    .contact-privacy-note {
        max-width: 100%;
    }
}
