/*
    
    1 - FONTS
    2 - GENERAL HTML SETTINGS
    3 - COMMON STUCTURES
    4 - INDIVIDUAL PAGES

*/

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            1 - FONTS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@font-face {
    font-family: Gotham-Regular;
    src: url('../fonts/Gotham-Book.otf');
}

@font-face {
    font-family: Gotham-Medium;
    src: url('../fonts/Gotham-Medium.otf');
}

@font-face {
    font-family: Montserrat-Regular;
    src: url('../fonts/Montserrat-Regular.ttf');
}

@font-face {
    font-family: Montserrat-Bold;
    src: url('../fonts/Montserrat-Bold.ttf');
}

@font-face {
    font-family: Space-Grotesk;
    src: url('../fonts/SpaceGrotesk-VariableFont_wght.ttf');
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    2 - GENERAL HTML SETTINGS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
}

:root {
    font-size: 15px;
    --main-color: #000;
    --main-beige: #f8f7f3;
    --gotham: 'Gotham-Regular', sans-serif;
    --gotham-medium: 'Gotham-Medium', sans-serif;
    --montserrat: 'Montserrat-Regular', sans-serif;
    --montserrat-bold: 'Montserrat-Bold', sans-serif;
    --space: 'Space-Grotesk', monospace;
    --max-body-width: 1230px;
    --side-padding: calc((100vw - var(--max-body-width)) / 2);
}

/* FORÇAR BEGE ABSOLUTO NA ESTRUTURA DO SITE */
html, 
body, 
.loader,
.main-container,
[data-router-wrapper],
[data-router-view] {
    background-color: #f8f7f3 !important;
}

/* Garante que o contentor onde o Highway troca as páginas nunca fica transparente para o branco */
[data-router-wrapper] {
    min-height: 100vh;
    background-color: #f8f7f3 !important;
    display: block;
}

html.stop_scroll {
    overflow: hidden;
}


body {
    margin: 0;
    width: 100vw;
    color: #000;
    font-family: var(--gotham);
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    color: #fff;
    background-color: #000;
}

h1 {
    font-family: var(--space);
    font-size: 3rem;
    letter-spacing: 0;
    position: relative;
}

h2 {
    font-family: var(--gotham-medium);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
}

h3 {
    font-family: var(--gotham);
    font-size: 1.45rem;
    letter-spacing: 0.05em;
    position: relative;
}

h4 {
    font-family: var(--gotham-medium);
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h5 {
    font-family: var(--montserrat-bold);
    font-size: 2rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.65rem;
}

a {
    position: relative;
    color: #000;
}

a:hover {
    color: #000;
    text-decoration: none;
}

b, strong {
    font-family: var(--gotham-medium);
    font-weight: unset;
}

button {
    border: none;
    background-color: transparent;
    padding: 0;
}

button:focus, input:focus, textarea:focus {
    outline: none;
}

p:last-child {
    margin-bottom: 0 !important;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        3 - COMMON STUCTURES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ----- Custom classes ----- */
a.underline-anim, .underline-anim a:not(.button, .wp-element-button, .wp-block-button__link) {
    color: var(--main-color);
    --underline-height: 0.1em;
    display: inline !important;
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0% var(--underline-height);
    padding-bottom: 3px;
}

a.underline-anim:hover, .underline-anim a:not(.button, .wp-element-button, .wp-block-button__link):hover {
    color: var(--main-color);
    background-size: 100% var(--underline-height);
    background-position: bottom left;
}

a.underline-anim, .underline-anim a:not(.button, .wp-element-button, .wp-block-button__link), a.underline-anim:hover, .underline-anim a:not(.button, .wp-element-button, .wp-block-button__link):hover {
    transition: background-size 0.4s, color 0.4s, background-image 0.4s ease;
    -webkit-transition: background-size 0.4s, color 0.4s, background-image 0.4s ease;
    -moz-transition: background-size 0.4s, color 0.4s, background-image 0.4s ease;
    -o-transition: background-size 0.4s, color 0.4s, background-image 0.4s ease;
}

.mobile-only {
    display: none;
}

.full-width {
    width: 100%;
}

.img_wrapper {
    margin-bottom: 0;
}

.img_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ratioed_img {
    position: relative;
}

.ratioed_img:before {
    content: '';
    display: block;
}

.ratioed_img img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    position: absolute;
}

.clearfix {
    display: block;
    width: 100%;
    height: 1px;
}

.side_padding {
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
}

/* Titles */
.lined_title {
    font-family: var(--space);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    width: fit-content;
    display: block;
    position: relative;
}

.lined_title:after {
    content: '';
    width: 9em;
    border-bottom: 1px solid #000;
    top: 50%;
    left: calc(100% + 1em);
    position: absolute;
    transform-origin: left;
}

.lined_title.in_white:after {
    border-color: #fff;
}

/* Regular buttons */
.button, .wp-element-button {
    font-family: var(--gotham);
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000;
    border-radius: 0;
    border-bottom: 2px solid #000;
    background-color: transparent;
    padding: 10px 25px 7px;
    display: block;
    width: max-content;
    position: relative;
    z-index: 1;
}

.button:before, .wp-element-button:before {
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background-color: #000;
    z-index: -1;
    transform-origin: bottom;
    transform: scaleY(0);
}

@media (hover:hover) {
    .button:hover, .wp-element-button:hover, .hoverable_zone:hover .button, .hoverable_zone:hover .wp-element-button {
        color: #fff;
    }
    
    .button:hover:before, .wp-element-button:hover:before, .hoverable_zone:hover .button:before, .hoverable_zone:hover .wp-element-button:before {
        transform: scaleY(1);
    }
}

.button, .wp-element-button, .button:hover, .wp-element-button:hover {
    transition: color 0.4s ease;
}

/* Close button */
.close_bttn {
    --diameter: 46px;
    width: var(--diameter);
    height: var(--diameter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 100%;
}

.close_bttn:hover {
    transform: rotate(90deg);
}

.close_bttn span {
    width: 100%;
    display: block;
    border-bottom: 1px solid #000;
    position: absolute;
}

.close_bttn span:nth-of-type(1) {
    transform: rotate(45deg);
}

.close_bttn span:nth-of-type(2) {
    transform: rotate(-45deg);
}


/* ----- Transitions ----- */
/* transform */
*:before, *:hover:before, *:focus:before, *:after, *:hover:after, *:focus:after {
    transition: transform 0.4s ease-in-out;
    -webkit-transition: transform 0.4s ease-in-out;
    -moz-transition: transform 0.4s ease-in-out;
    -o-transition: transform 0.4s ease-in-out;
}

/* all */
.anim-all, .anim-all:hover, .anim-all:focus, input, input:hover, input:focus, textarea, textarea:hover, textarea:focus, ::placeholder {
    transition-property: color, background-color, background-size, transform, width, clip-path, opacity, top, left, right, background-size, background-image, border-color;
    transition-duration: 0.4s;
    transition-timing-function: ease;
}

/* Parallaxes */
.parallax-anim {
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
}



.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #f8f7f3; /* O teu bege */
    z-index: 10000 !important;
    opacity: 1;
    pointer-events: all;
}



/* ******************************************
                    NAVBAR
******************************************* */
nav.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: transparent;
    height: 140px;
    padding: 0;
    margin-top: 25px;
    height: auto;
    box-sizing: border-box;
    opacity: 0;
}

.navbar .custom-logo-link:not(.logo-dark) { display: block; }
.navbar .logo-dark { display: none; }

nav.navbar > .col-md-12,
nav.navbar .container {
    height: 100% !important;
}

nav.navbar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important; 
    height: auto !important; 
    padding-top: 20px;
    padding-bottom: 45px !important;  
    box-sizing: border-box;
}

nav.navbar .logo {
    display: flex !important;
    align-items: flex-end !important;
    width: auto !important;
    padding-left: 0;
}

nav.navbar img.custom-logo {
    width: auto !important;
    height: 100px !important;  
    max-height: 100px !important;
    display: block;
}

/* ---- Nav Actions (botões à direita) ---- */
.nav_actions {
    display: flex;
    gap: 15px;
}

.nav_actions_inside_menu {
    display: none;
}

nav.navbar .btn_bg_frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Botão "Área Reservada" */
.btn_area_reservada {
    position: relative;
    z-index: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between;
    width: 153px;
    height: 45px;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
    padding: 0 13px 0 20px;
}

/* Estado Padrão (Home / Fundo Escuro) */
.btn_area_reservada:hover .btn_ar_seta path,
.btn_area_reservada:hover .btn_ar_seta rect {
    fill: #000000 !important;
}

/* Estado Invertido (Páginas Internas / Fundo Claro) */
body:not(.home) .btn_area_reservada .btn_ar_seta path,
body:not(.home) .btn_area_reservada .btn_ar_seta rect {
    fill: #000000 !important; /* A seta começa a preto */
    transition: fill 0.3s ease;
}

body:not(.home) .btn_area_reservada:hover .btn_ar_seta path,
body:not(.home) .btn_area_reservada:hover .btn_ar_seta rect {
    fill: #ffffff !important; /* No hover com enchimento preto, a seta passa a branco */
}

nav.navbar .btn_bg_fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    clip-path: inset(0% 100% 0% 0%);
}

nav.navbar .btn_bg_fill path {
    stroke: none !important;
}

.btn_area_reservada span,
.btn_area_reservada .btn_ar_seta,
.btn_piquete span {
    position: relative;
    z-index: 2;
}

/* Remover paddings antigos que possam empurrar o conteúdo */
.btn_area_reservada .btn_ar_texto {
    padding: 0 !important;
}

/* Controlo dimensional do ícone da seta */
.btn_area_reservada .btn_ar_seta {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
}

/* Reajuste do Botão "Piquete" */
.btn_piquete {
    position: relative;
    z-index: 1;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 137px;
    height: 45px;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 0 !important;
}

.btn_piquete b {
    font-family: var(--gotham-medium);
    font-size: 14px;
    letter-spacing: 0.06em;
    margin-top: -18px;
    display: block;
}

.btn_area_reservada svg:first-of-type path,
.btn_piquete svg path {
    stroke: currentColor !important;
}

.btn_area_reservada svg:last-of-type rect,
.btn_area_reservada svg:last-of-type path {
    fill: currentColor !important;
}

.navbar .btn_area_reservada, 
.navbar .btn_piquete { 
    color: #ffffff; 
}



/* Inner navbar: versões pretas */
nav.navbar.inner_navbar {
    position: relative;
    background-color: var(--main-beige);
    border-bottom: 0.1px solid #000;
}

.inner_navbar .btn_area_reservada {
    color: #000;
    background-image: url('../img/navbar_frame_reservada_preto.svg');
}

.inner_navbar .btn_area_reservada .btn_ar_seta {
    background-image: url('../img/navbar_arrow_reservada_preto.svg');
}

.inner_navbar .btn_piquete {
    color: #000;
    background-image: url('../img/navbar_frame_piquete_preto.svg');
}

@media (hover: hover) {
    .inner_navbar .btn_area_reservada:hover,
    .inner_navbar .btn_piquete:hover {
        color: #000;
    }
}


/* --- 2. Correção para Páginas Internas (Tudo excepto a Home) --- */
body:not(.home):not(.front-page) main[data-router-wrapper] {
    padding-top: 100px; /* Ajusta este valor para a altura exata da tua navbar para os elementos NÃO subirem */
}

/* Alternar Logótipos nas Páginas Internas */
body:not(.home):not(.front-page) .navbar .custom-logo-link:not(.logo-dark) { display: none; }
body:not(.home):not(.front-page) .navbar .logo-dark { display: block; }

/* Inverter Cores dos Textos nas Páginas Internas (Preto) */
body:not(.home):not(.front-page) .navbar .btn_area_reservada,
body:not(.home):not(.front-page) .navbar .btn_piquete {
    color: #000000;
}

/* Inverter Cores das BORDAS e SVG nas Páginas Internas */
body:not(.home):not(.front-page) .navbar .btn_bg_frame path {
    stroke: #000000;
}

/* Inverter Cores das SETAS/ÍCONES nas Páginas Internas */
body:not(.home):not(.front-page) .navbar .btn_ar_seta rect,
body:not(.home):not(.front-page) .navbar .btn_ar_seta path {
    fill: #000000;
}

/* Inverter Cor do Botão Hambúrguer (Menu Toggle) */
body:not(.home):not(.front-page) .navbar .menu_toggle span {
    border-bottom-color: #000000;
}
body:not(.home):not(.front-page) .navbar .menu_toggle::after {
    color: #000000;
}


/* ---- Menu Toggle (hambúrguer) ---- */
nav.navbar .col-md-1 {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end;
    width: auto !important;
    padding-right: 0;
}

.menu_toggle {
    --diameter: 65px;
    width: calc(var(--diameter) + 5px);
    height: var(--diameter);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
}

.menu_toggle span {
    width: 100%;
    display: block;
    margin: 3.5px 0;
    border-bottom: 4px solid #fff;
    transition: width 0.4s, opacity 0.4s ease;
}

.menu_toggle span:nth-child(1) {
    width: 70%;
}

.menu_toggle::after {
    content: 'Menú';
    font-family: var(--gotham);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #fff;
    margin-top: 4px;
    display: block;
    transition: opacity 0.4s ease;
}

@media (hover: hover) {
    .menu_toggle:hover span {
        width: 100% !important;
    }
}

/* Inner navbar: hambúrguer escuro */
nav.navbar.inner_navbar .menu_toggle span {
    border-bottom-color: #000;
}

nav.navbar.inner_navbar .menu_toggle::after {
    color: #000;
}


/* ******************************************
                    MENU
******************************************* */
body.menu-open {
  overflow: hidden;
  /* Evita o salto compensando a largura da scrollbar */
  padding-right: var(--scrollbar-width, 17px); 
}

.menu {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000 !important;
    pointer-events: none;
    position: fixed;
    z-index: 999;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s, -webkit-clip-path 0.4s cubic-bezier(.33,1,.68,1);
    will-change: clip-path;
}

.menu:before {
    content: '';
    background-color: #000;
    width: 100%;
    height: 30px;
    top: 0;
    left: 0;
    z-index: 2;
    position: absolute;
}

.menu.menu_open {
    pointer-events: all;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.menu .close_bttn {
    --diameter: 50px;
    top: 6rem;
    right: 12rem;
    position: absolute;
    z-index: 2;
    transition: opacity 0.4s, transform 0.4s ease;
}

.menu .close_bttn span {
    border-bottom: 4px solid #fff;
}

.menu:not(.menu_open) .close_bttn {
    opacity: 0;
}

.menu .menu_wrapper {
    width: 100%;
    max-width: 975px;
    margin: 0 auto;
    position: relative;
}

.menu .menu_logo_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu .menu_logo {
    width: 100%;
    max-width: 375px;
}

.menu .menu_logo svg:not(.loaded) .icon_part {
    transition: unset !important;
}

.menu .menu-page-list {
    margin: 0;
    padding: 0 0 0 18%;
    counter-reset: items-count;
}

.menu .menu-page-list li {
    counter-increment: items-count;
    list-style-type: none;
    overflow-y: clip;
    position: relative;
}

.menu .menu-page-list li a { 
    font-family: var(--space);
    font-size: 2rem;
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff !important;
    display: inline-block;
    padding: 0.3em 0;
    left: 0;
    opacity: 1 !important;
}

.menu .menu-page-list li a:before {
    content: '';
    --height: 40px;
    width: 80px;
    height: var(--height);
    background-image: url(../img/menu_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    pointer-events: none;
    position: absolute;
    right: calc(100% + 40px);
    top: calc(50% - var(--height) / 2);
    transform: translateX(-25px);
    opacity: 0;
    transition: opacity 0.45s, transform 0.45s ease;
}

.menu .menu-page-list li a, .menu .menu-page-list li a:hover {
    transition: padding-left 0.45s ease;
}

.menu .menu-page-list li.current-menu-item a, .menu .menu-page-list li a:hover {
    padding-left: 50px;
}

.menu .menu-page-list li.current-menu-item a:before, .menu .menu-page-list li a:hover:before {
    opacity: 1;
    transform: translateX(50px);
}


/* ==========================================
                    FOOTER
=========================================== */
.main_footer {
    background-color: #000;
    color: #fff;
    padding-top: 8rem;
    padding-bottom: 4rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.footer_main_row {
    align-items: flex-start;
}

.footer_left_block {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer_main_logo img {
    height: auto;
    width: 375px;
    display: block;
}

/* Bloco da Direita */
.footer_right_block {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-right: 0 !important;
}

.footer_right_block .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.footer_right_block .row [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.row_footer_1 {
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

.row_footer_2 {
    margin-top: 2.3rem;
}

.row_footer_3 {
    margin-top: 2.5rem;
}

.contacts {
    display: flex !important;
    flex-direction: column;
    align-content: flex-end;
    flex-wrap: wrap;
}

.signature_col {
  padding-right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0;
  margin-left: -5px;
}

/* Estilização dos Textos e Links do Footer */
.footer_title {
    font-family: var(--space);
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0;
    text-transform: none;
    margin: 0;
}

.footer_right_block h4 {
    font-family: var(--space);
    font-size: 0.8rem;
    font-weight: 200;
    color: #4d4d4d;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.footer_right_block p {
    font-family: var(--gotham);
    font-size: 0.8rem;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    letter-spacing: 0.9px;
}

.footer_right_block a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer_right_block a:hover {
    color: #fff !important;
}

.footer_mini_logo {
    height: auto;
    width: 100%;
    max-width: 90px;            
    display: block;
    margin-left: auto;
}

.custom_legal_links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.custom_legal_links a {
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.custom_legal_links a:not(:last-child) {
    margin-right: 30px; 
}

.custom_legal_links a:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(100% + 13px);
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
}

.legal_links {
    font-family: var(--gotham);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    color: #fff !important;
}

.legal_links:hover {
    color: #8c8c8c !important;
}

.design_signature {
    font-family: var(--gotham);
    font-size: 0.7rem;
    letter-spacing: 0px;
    color: #fff !important;
    display: inline-block !important;
    width: fit-content;
}

.row_footer_3 .design_signature {
    display: inline-block !important;
    position: relative !important;
    transform: none;
}

.design_signature:hover {
    color: #8c8c8c !important;
}

.lined_title {
    margin-bottom: 15px;
}

.lined_title:after {
    content: '';
    width: 9em;
    border-bottom: 0.5px solid #fff;
    top: 50%;
    left: calc(100% + 1em);
    position: absolute;
    transform-origin: left;
}

.lined_title.in_white:after {
    border-color: #000;
}

/* Regra específica para os pseudo-elementos ::after no footer */
footer .lined_title::after {
    border-color: #fff !important;
}



/* ==========================================
            INNER PAGES
=========================================== */
.inner_page_header_section {
    background-color: var(--main-beige);
    padding-top: calc(100px + 5rem);
    padding-bottom: 6rem;
    width: 100%;
}

/* Alinhamento do bloco de conteúdo a partir do meio (Metade Direita) */
.col_header_top_content {
    display: flex;
    flex-direction: column;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.page_badge_wrapper {
    margin-bottom: 1.35rem;
}

/* O BADGE PRETO APENAS NO TEXTO */
.page_black_badge {
    font-family: var(--space);
    font-size: 0.8rem;           
    font-weight: 200;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff;
    background-color: #000;
    padding: 6px 14px;
    border-radius: 10px;
    width: fit-content;
    display: inline-flex !important;
    overflow: hidden !important;
    position: relative; 
}

/* Garante que o badge nasce recortado/escondido antes do JS arrancar */
.title_with_bg:not(.initialized) {
    clip-path: inset(100% 0% 0% 0%) !important;
}

/* Título de transição (Abaixo do badge e acima do banner) */
.header_intro_title {
    font-family: var(--space);
    font-weight: 400;
    font-size: 2.8rem;
    color: #000;
    line-height: 1.2;
    margin: 0 0 4.5rem 0;
    letter-spacing: 0.25px;
}

/* O Banner Centrado (Que não toca nas margens do ecrã) */
.row_header_banner {
    width: auto;
    margin-left: calc(var(--side-padding) / -1.5) !important;
    margin-right: calc(var(--side-padding) / -1.5) !important;
    margin-bottom: 5rem;
}

.row_header_banner .col-12 {
    padding-left: 0 !important; 
    padding-right: 0 !important;
}

.header_banner_wrapper {
    width: 100%;
    overflow: hidden;
}

.header_banner_wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.header_banner_blended {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply; 
    overflow: hidden;
}

.page-id-12 .header_banner_blended {
    background-size: cover;
    background-position: 15% center;
}

.page-id-14 .row_header_texts .col-md-8 {
    flex: 0 0 75% !important;
    max-width: 75% !important;
    width: 75% !important;
}

.page-id-14 .header_intro_text {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.page-id-14 .inner_page_header_section {
    padding-bottom: 4rem !important;
}

.page-id-16 .inner_page_header_section {
    padding-bottom: 3rem !important;
}

.page-id-16 .row_header_top .col-md-6 {
    flex: 0 0 55% !important;
    max-width: 55% !important;
    width: 55% !important;
}

.page-id-18 .header_banner_blended {
    background-size: 155%;
    background-position: 100% center;
}

.page-id-18 .inner_page_header_section {
    padding-bottom: 1rem !important;
}

.page-id-20 .row_header_top .col-md-6 {
    flex: 0 0 55% !important;
    max-width: 55% !important;
    width: 55% !important;
}

.page-id-20 .inner_page_header_section {
    padding-bottom: 0 !important;
}

.page-id-20 .contact_info_page .lined_title {
    margin-bottom: 0 !important;
}

.page-id-20 .lined_title::after {
    border-color: #000;
    width: 7em;
}

.page-id-20 .side_padding {
    padding-left: 0 !important;
    padding-right: 0 !important;

}

/* Distribuição dos Textos Inferiores (Esquerda / Direita) */
.row_header_texts {
    align-items: flex-start;
}

/* Texto da Esquerda (Preto) */
.header_intro_text {
    font-family: var(--space);
    font-weight: 400;
    font-size: 2.8rem;
    color: #000;
    line-height: 1.2;
    margin: 0 0 4.5rem 0;
    letter-spacing: 0.25px;
}

/* Texto da Direita (Cinza - Exclusivo da Empresa) */
.header_grey_subtext, .header_grey_subtext p {
    font-family: var(--gotham);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    line-height: 1.2;
    color: #787877;
}

/* Responsivo para Mobile e Tablets */
@media (max-width: 992px) {
    .inner_page_header_section {
        padding-top: 9rem;
    }
    .header_intro_title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    .row_header_texts {
        flex-direction: column;
        gap: 2.5rem;
    }
    .col_left_intro_text, .col_right_intro_text {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}



/* ******************************************
                    INPUTS
******************************************* */
input, textarea {
    color: #000;
    border: none;
    background-color: transparent;
}

input:hover::placeholder, textarea:hover::placeholder, input:focus::placeholder, textarea:focus::placeholder {
    color: #5e5e5e;
}

input:not([type="submit"], [type="checkbox"]), textarea {
    width: 100%;
    font-family: var(--gotham);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border-bottom: 0.5px solid #000;
    padding: 1.2rem 0;
    color: #787877;
}

input:not([type="submit"], [type="checkbox"])[readonly="readonly"], textarea[readonly="readonly"] {
    color: #979487;
    cursor: auto;
}

textarea {
    height: 8rem;
    padding-top: 1.5rem !important;
}

.wpcf7-spinner {
    position: absolute;
}

::placeholder {
    color: #000;
}

/* Acceptance CF7 */
.wpcf7-acceptance {
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    padding-left: 10px;
    margin-top: 1.25em;
    display: block;
    position: absolute;
    right: 0;
    margin-top: 1rem;
}

.wpcf7-acceptance input {
    display: none;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7-acceptance a {
    --main-color: #000;
}

.wpcf7-acceptance .wpcf7-list-item-label:before {
    content: 'X';
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-top: 1px;
    color: transparent;
    margin-right: 9px;
    border: 1px solid #000;
    cursor: pointer;
}

.wpcf7-acceptance input:checked + .wpcf7-list-item-label:before {
    color: #000;
}

/* Contact Form 7 - CF7 */
form.wpcf7-form br {
    display: none;
}

form.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    letter-spacing: 0;
    padding: 0 8px;
    margin-top: 6px;
}

.wpcf7 form .wpcf7-response-output {
    border: none;
    text-align: left;
    padding: 0;
    font-family: var(--gotham-medium);
    font-size: 0.9rem;
    line-height: 1.2rem;
    margin: 2rem 0 0 0;
}

.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
    color: #d81717;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    color: #e6a803;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #46b450;
}



/* ******************************************
                COOKIE NOTICE
******************************************* */
#cookie-notice {
    bottom: 10px;
    background-color: transparent !important;
}

#cookie-notice .cookie-notice-container {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
    max-width: max-content;
    margin: 0 auto;
    font-family: var(--gotham);
    font-size: 10px;
    font-weight: 100;
    letter-spacing: 0.5px;
    padding: 8px 13px 8px 20px;
    box-shadow: 0 9px 12px rgba(0, 0, 0, 0.1);
}

#cookie-notice .cookie-notice-container #cn-notice-text {
    margin: 0 !important;
}

#cookie-notice .cn-button:not(.cn-button-custom) {
    color: #000 !important;
    background-color: #fff !important;
    font-family: var(--gotham-medium) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    padding: 8px 10px 7px 10px !important;
    border-radius: 0 !important;
}

#cookie-notice .cn-button:not(.cn-button-custom):hover {
    background-color: var(--main-color) !important;
    color: #fff !important;
}

.cn-close-icon {
    display: none !important;
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    4 - INDIVIDUAL PAGES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ******************************************
                    HOMEPAGE
******************************************* */
/* Hero */
.hero_section {
    min-height: 100vh;  
    width: 100%;         
    display: flex;
    align-items: center;         
    padding-top: 115px;          
    position: relative;
    overflow: hidden;
}

.hero_bg_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;      
    background-position: center top; 
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.55);
    background-blend-mode: multiply;
    z-index: 1;
}   

.hero_title {
    color: #fff;            
    font-size: 3.5rem;           
    font-weight: 200;   
    line-height: 1.1;
    letter-spacing: 1.4px; 
    overflow: hidden;
}

.hero_title .line {
    display: block;
    overflow: hidden;
}

.hero_title_line {
    display: block;
    will-change: transform, opacity;
}

.hero_section .container {
    width: 100%;
    max-width: 550px;
    padding-left: 0;
    position: relative;
    z-index: 2;
}


/* About Us */
.about_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;         
    padding: 9rem var(--side-padding) 0; 
    background-color: var(--main-beige);
}

.about_section .container {
    display: flex;
    flex-direction: column;
    align-items: center;        
    max-width: 800px;
    margin: 0 auto 2.6rem;
}

.about_title {
    font-family: var(--space);
    font-size: 0.8rem;           
    font-weight: 200;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff;
    background-color: #000;
    padding: 6px 14px;
    border-radius: 10px;
    width: fit-content;
}

.about_text {
    font-family: var(--space);
    font-size: 2.8rem;         
    line-height: 1.2;
    color: #000;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.about_section .btn_about {
    font-family: var(--gotham);
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding: 10px 22px 8px;
    transition: background-color 0.3s, color 0.3s ease;
}

@media (hover: hover) {
    .about_section .btn_about:hover {
        background-color: #000;
        color: #fff;
    }
}

.about_graphic {
    margin-top: 0 !important;
    display: block !important;          
    width: 735px !important;            
    height: auto;
    margin-left: auto !important;   
    margin-right: 4rem !important;
    margin-bottom: -20px !important;
    line-height: 0; 
    clear: both;
}

.about_graphic img {
    width: 100% !important;             
    height: auto !important;
    display: block !important;
    margin: 0 !important;
}


/* Budget Section */
.budget_section {
    background-color: #000;   
    padding: 11rem 0;          
    width: 100%;
    overflow: hidden;
    position: relative;
}

.budget_content_col {
    padding-right: var(--side-padding) !important;
    padding-left: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;    
    justify-content: center;
}

.budget_wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    width: 100%;
}

/* 1. Limitar a largura do botão para o SVG manter a proporção correta */
.btn_budget_container {
    display: inline-flex;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100%;
    height: auto;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s ease;
}

/* 2. Garantir que a SVG escala mantendo a proporção */
.btn_budget_container .btn_frame_svg,
.btn_budget_container .btn_bg_fill {
    width: 100%;
    height: auto;
    display: block;
}

.btn_budget_container .btn_bg_fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    clip-path: inset(0% 100% 0% 0%);
}

.btn_budget_container svg path,
.btn_budget_container svg rect {
    transition: fill 0.4s ease, stroke 0.4s ease;
}

/* 3. Ajuste do Overlay de Texto e Seta */
.budget_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8% 0 7%; /* Usar percentagens para acompanhar o redimensionamento */
    box-sizing: border-box;
    z-index: 2;
}

.btn_budget_text {
    font-family: var(--space);
    font-size: 2.2rem;
    letter-spacing: 0.8px;
    font-weight: 200;
    color: #fff;
    line-height: 1.1;
    text-align: left;
}

.btn_budget_arrow {
    height: 35%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn_budget_arrow svg {
    height: 100%;
    width: auto;
}

.budget_caption {
    font-family: var(--gotham);
    font-size: 1.2rem;
    line-height: 1.25;
    letter-spacing: 1.95px;
    color: #fff;             
    margin-top: 1.2rem;         
    text-align: left;
    max-width: 300px;
}


/* Piquete */
.piquete_section {
    background-color: var(--main-beige);
    padding: 16rem 0;
    width: 100%;
    overflow: hidden;
}

.piquete_text_col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: left;
}

.piquete_subtitle {
    font-family: var(--gotham);
    font-size: 0.8rem;
    letter-spacing: 1.25px;
    line-height: 1.2;
    color: #787877;
    max-width: 235px;
}

.piquete_title {
    font-family: var(--space);
    font-size: 6.3rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: #000;
    max-width: 550px;
    margin: 0;
    text-transform: none;
}

.piquete_reveal_text {
    display: block;
    clip-path: inset(0% 100% 0% 0%);
    will-change: clip-path;
}

.piquete_image_col {
    display: flex;
    justify-content: flex-start;
}

.piquete_image {
    width: 100%;
    max-width: 340px;
    height: auto;
}

.piquete_image img {
    width: 100%;
    height: auto;
    display: block;
}

.piquete_van_img {
    will-change: transform;
}

.btn_phone_container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    height: 85px;
    width: 415px;
    overflow: visible;
}

.piquete_phone_btn .piquete_frame_svg path {
    fill: transparent;
    stroke: #000000;
}

.btn_phone_container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25px;
    transform: translateY(-50%) translateX(var(--arrow-shift, 0px));
    height: 100%;
    width: 40px;                
    background-image: url('../img/piquete_arrow_homepage.svg'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
    z-index: 3;
    pointer-events: none;
    transition: filter 0.5s ease;
    
}

.piquete_phone_btn:hover::before,
.phone_number:hover {
    filter: brightness(0) invert(1); 
}

.btn_phone_container .phone_number {
    font-family: var(--space);
    font-size: 2.8rem;
    letter-spacing: 1.4px;
    font-weight: 200;
    color: #000 !important;
    padding-right: 20px;
    white-space: nowrap;
    width: 100%;
    height: 100%;
    text-align: right;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: filter 0.5s ease;
}

/* =================================================================*
   Ajustes para sobrepor os SVGs e manter o aspeto do botão do Telefone
   =================================================================*/

/* Força os SVGs de fundo a estarem posicionados em absoluto atrás do texto */
.btn_phone_container .piquete_frame_svg,
.btn_phone_container .btn_bg_fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Garante que o fill clonado pelo teu JS fique imediatamente acima da moldura */
.btn_phone_container .btn_bg_fill {
    z-index: 2;
    clip-path: inset(0% 100% 0% 0%); /* Começa cortado a 100% */
}

@media (hover: hover) {
    .btn_phone_container:hover {
        opacity: 0.8;
    }
}



/* ******************************************
        EMPRESA (Secção Compromissos)
******************************************* */
.black_commitments_section {
    background-color: #000000;
    padding: 5rem 0 12rem;
    width: 100%;
    color: #ffffff;
}

.commitments_header {
    margin-bottom: 11rem;
}

.commitments_label {
    font-family: var(--space);
    font-size: 0.8rem;           
    font-weight: 200;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff;
    background-color: #000;
    padding: 6px 14px;
    border: 1px solid #fff;
    border-radius: 10px;
    width: fit-content;
}

.commitments_main_title {
    font-family: var(--space);
    font-size: 2.8rem;
    font-weight: 200;
    color: #ffffff;
    line-height: 1.2;
    text-transform: none;
    margin-top: 15px;
    letter-spacing: 0.3px;
}

.commitments_flex_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
    width: 100%;
}

.commitment_item {
    flex: 1;
    min-width: 0;
    position: relative;
}

.commitments_flex_container .commitment_item:not(:last-child) {
    padding-right: 30px;
}

.commitments_flex_container .commitment_item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0; 
    top: -80px;
    height: calc(100% + 120px);
    width: 0.3px;
    background-color: #f6f5e6cd;
    pointer-events: none;

    transform: scaleY(var(--line-scale, 0));
    transform-origin: top center;
}

.commitment_icon_wrapper {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: flex-start;
    height: 85px; 
}

.commitment_icon {
    width: auto;
    height: 100%;
    max-width: 85px;
    object-fit: contain;
}

.commitment_item_text {
    font-size: 0.8rem;
    line-height: 1.2;
    color: rgba(255,255,255,0.95);
    letter-spacing: 1.3px;
}


/* ******************************************
        EMPRESA (Secção Declaração)
******************************************* */
.statement_section {
    background-color: var(--main-beige);
    padding: 14rem 0;
    width: 100%;
}

.statement_text {
    font-size: 2rem;
    font-weight: 200;
    line-height: 1.3;
    color: #000;
}

.statement_author {
    font-family: var(--space);
    display: block;
    font-size: 0.8rem;
    font-weight: 100;
    letter-spacing: 0.4px;
    color: #000;
}

/* TEM DE SER MELHORADO MAIS TARDE */
@media (max-width: 992px) {
    .black_commitments_section {
        padding: 6rem 0;
    }

    .commitments_main_title {
        font-size: 3.2rem;
    }

    /* Permite que as 5 colunas dobrem para não esmagar os ícones */
    .commitments_flex_container {
        flex-wrap: wrap; 
        gap: 30px;
    }

    /* Passam a ficar 2 elementos por linha (com segurança de gap) */
    .commitment_item {
        flex: calc(50% - 15px);
        min-width: 220px;
    }

    .statement_section {
        padding: 8rem 0;
    }

    .statement_text {
        font-size: 2.6rem;
    }
}



/* ******************************************
                SERVIÇOS
******************************************* */
.services_main_section {
    padding: 0 0 12rem;
    width: 100%;
    color: #000;
}

.services_intro_row {
    margin-bottom: 9rem;
}

.services_intro_text {
    font-family: var(--gotham);
    font-size: 1.6rem;
    line-height: 1.45;
    color: #000;
    letter-spacing: 0.5px;
}

.services_table_container {
    width: 100%;
    margin-bottom: 4rem;
}

.service_table_row {
    padding: 4rem 0;
    margin: 0 !important;
    position: relative;
    transition: opacity 0.3s ease;
}

.service_table_row:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(41.67% - 1.5rem);
    right: calc(8.33% - 1.5rem);
    width: auto;
    height: 1px;  
    background-color: rgb(25, 24, 23); 
    pointer-events: none;
}

.service_text_block {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service_row_title {
    font-family: var(--space);
    font-size: 2rem;
    font-weight: 200;
    color: #000;
    margin: 0;
    letter-spacing: 0;
}

.service_row_subtitle {
    font-family: var(--gotham-medium);
    font-size: 1.1rem;
    color: #000;
    margin: 0;
    text-transform: none;
    letter-spacing: 1px;
    padding-top: 15px;
}

.service_row_caption {
    font-family: var(--gotham);
    font-size: 0.9rem;
    line-height: 1.3;
    color: #787877;
    margin: 0;
    letter-spacing: 1.75px;
}

.service_row_icon_wrapper {
    width: 75px;        
    height: 75px;       
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.service_row_icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service_row_icon_wrapper svg {
    width: 100%;
    height: 100%;
}

.service_row_icon_wrapper svg path,
.service_row_icon_wrapper svg circle,
.service_row_icon_wrapper svg rect,
.service_row_icon_wrapper svg line,
.service_row_icon_wrapper svg polyline {
    stroke-width: 1.5px;
    vector-effect: non-scaling-stroke;
}

.service_table_row:last-child .service_row_icon_wrapper svg {
    width: 85px;
    height: 85px;
    top: -15px;
    position: relative;
}



@media (max-width: 576px) {
    .service_table_row {
        padding: 2.5rem 0 2.5rem 45px;
    }
    
    .service_row_icon_wrapper {
        top: 2.5rem;
    }
    
    .service_row_title {
        font-size: 1.4rem;
    }
}



/* ******************************************
                ORÇAMENTOS
******************************************* */
.budget_main_section {
    width: 100%;
    background-color: var(--main-beige);
    overflow: hidden;
}

.budget_grid_row {
    display: grid;
    grid-template-columns: 43% 57%;
    position: relative;
    border-top: 0.5px solid #000000;
    transform-origin: left top;
}

.budget_grid_row::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 43%;
    width: 0.5px;
    background-color: #000000;
    z-index: 1;
    transform: scaleY(var(--line-scale-v, 0));
    transform-origin: top center;
}

.budget_left_content {
    grid-column: 1;
    grid-row: 1;
    background-color: #ecebe8 !important;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 7rem 2.5rem 5rem;
    z-index: 3;

    margin-top: 1rem;
    margin-right: 1rem;
    margin-bottom: -8rem;
    margin-left: 6rem;
}

.budget_data_item {
    grid-column: 2;
    padding: 3rem 4rem 5rem calc(var(--side-padding) * 0.7);
    position: relative;
    z-index: 2;
}

.budget_grid_row > .budget_data_item:nth-of-type(1) {
    grid-row: 1;
}

.budget_grid_row > .budget_data_item:nth-of-type(2) {
    grid-row: 1;
    padding-bottom: 5rem;
}

.budget_grid_row > .budget_data_item:nth-of-type(2)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -100vw;
    width: 200vw;
    height: 0.5px;
    background-color: #000000;
    z-index: 1;
    transform: scaleX(var(--line-scale-h, 0));
    transform-origin: center left;
}

.budget_left_spacer {
    grid-column: 1;
    grid-row: 2;
}

.budget_left_top_group {
    display: flex;
    flex-direction: column;
    margin-bottom: 6rem;
}

.budget_main_arrow {
    width: 75px;
    height: 90px;
    align-self: flex-end;
    margin-bottom: 0;
    margin-right: -25px;
}

.budget_main_arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.budget_main_text {
    font-family: var(--space);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.2;
    color: #000000;
    letter-spacing: 0;
    margin: 0;
}

.budget_main_note {
    font-family: var(--gotham);
    font-size: 0.75rem;
    color: #000;
    letter-spacing: 0.8px;
    line-height: 1.3;
    margin: 0;
}

.budget_item_header {
    margin-bottom: 1.5rem;
}

.budget_item_step {
    font-family: var(--space);
    font-size: 9rem;
    font-weight: 400;
    line-height: 1;
    color: #000;
    display: block;
    letter-spacing: -2px;
    margin-left: -5px;
}

.budget_item_title {
    font-family: var(--gotham);
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 1.5px;
    color: #000000;
    margin: 0.4rem 0 0;
    line-height: 1.3;
    text-transform: none;
    max-width: 400px;
}

.budget_item_bullets {
    font-family: var(--gotham);
    font-size: 0.9rem;
    line-height: 1.3;
    color: rgb(120, 120, 119);
    letter-spacing: 1.7px;
    max-width: 500px;
}

/* 1. Espaço ENTRE bullet points diferentes */
.budget_item_bullets .budget_bullet_point {
    margin-bottom: 14px !important; /* Distância entre o Ponto 1, Ponto 2, etc. */
}

.budget_item_bullets .budget_bullet_point:last-child {
    margin-bottom: 0 !important;
}

/* 2. Espaço ENTRE LINHAS da mesma frase quando ela dobra no ecrã */
.budget_item_bullets .line {
    line-height: 1.15 !important; /* Junta as linhas do mesmo parágrafo */
    margin-bottom: 0 !important;
}

/* Underline a preto para o link do modal na secção de orçamentos */
.budget_main_section a.underline-anim {
    background-image: linear-gradient(#000, #000) !important;
}

.serif-one {
    position: relative;
    display: inline-block;
}

/* Base/serifa inferior ajustada exatamente à haste do 1 */
.serif-one::after {
    content: '';
    position: absolute;
    bottom: 0.13em;
    left: 5%;
    width: 0.5em;
    height: 10px;
    background-color: currentColor;
    border-radius: 1px;
}


/* --- MODAL: ESTRUTURA E ANIMAÇÃO --- */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.custom-modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.45);
    backdrop-filter: blur(4px);
}

.custom-modal .modal-content {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px 40px;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    z-index: 2;
    
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    -webkit-overflow-scrolling: touch; 
}

.custom-modal.is-active .modal-content {
    transform: translateY(0);
}

.custom-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    color: #111111;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 5px;
}

.custom-modal .modal-close:hover {
    transform: scale(1.1);
    color: #555555;
}

/* --- FORMULÁRIO MODAL --- */

.form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .form-row.grid-2 { grid-template-columns: repeat(2, 1fr); }
    .form-row.grid-3 { grid-template-columns: repeat(3, 1fr);}
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #333;
}

.label-sub, .title-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: #000;
    display: inline-block;
}

.form-divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 15px 0 25px 0;
}

.file-help {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    align-items: flex-start;
}

@media (min-width: 576px) {
    .form-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.form-nota {
    font-family: var(--gotham);
    font-size: 0.8rem;
    letter-spacing: 1.25px;
    width: 550px;
}

.form-title {
    font-family: var(--space);
    font-size: 1.8rem;
    letter-spacing: 1.5px;
}

/* Texto passa a branco no hover do botão completo */
.div.modal-body form .submit-wrapper.button:hover input[type="submit"],
#modal-orcamento form .submit-wrapper.button:hover input[type="submit"] {
    color: #fff !important;
}

/* Container dos campos em linha */
.form-inline-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Alinha o texto e o input colados horizontalmente */
.form-inline-group .inline-label {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Mantém o input logo a seguir à label */
    gap: 1rem; /* Espaço entre o fim do texto e o início do input */
    width: 100%;
}

/* Garante que o texto da label não parte em duas linhas */
.form-inline-group .inline-label > span {
    white-space: nowrap;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #333;
}

/* Define a largura do input de número */
.form-inline-group .inline-label input[type="number"],
.form-inline-group .inline-label .wpcf7-form-control-wrap {
    width: 90px !important;
    max-width: 90px !important;
}

.form-inline-group .inline-label input[type="number"] {
    text-align: center;
    font-size: 1rem;
    font-family: var(--gotham);
}

/* Reduz o espaçamento do campo em linha e a aproximação à borda inferior */
.form-inline-group input[type="number"] {
    padding-top: 0 !important;
    padding-bottom: 2px !important; /* Cola o número à linha de baixo */
    height: auto !important;
    line-height: 1 !important;
}

/* Remove margens desnecessárias do wrapper do CF7 */
.form-inline-group .wpcf7-form-control-wrap {
    margin-bottom: 0 !important;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.page-id-16 textarea {
    height: 3.2rem !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0.3rem !important;
}



/* ******************************************
                PAGAMENTOS
******************************************* */
.payments_horizontal_section {
    background-color: var(--main-beige);
    padding: 0 0 12rem;
    width: 100%;
}

.match-height {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--side-padding) / -1.43) !important;
    margin-right: calc(var(--side-padding) / -1.43) !important;
}

.payment_pure_card {
    width: 100%;
    height: 100%;
    padding: 5.7rem 4.3rem 9rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.card_color_first {
    background-color: rgb(236, 235, 232);
}

.card_color_second {
    background-color: rgb(232, 230, 226);
}

.card_color_third {
    background-color: rgb(225, 223, 219);
}

.payment_card_icon_box {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.2rem;
}

.payment_left_icon {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.payment_card_title {
    font-family: var(--gotham);
    font-size: 1.6rem;
    font-weight: 200;
    line-height: 1.1;
    color: #000000;
    margin: 0 0 1.25rem 0;
    text-transform: uppercase;
    letter-spacing: 1.7px;
}

.payment_card_caption {
    font-family: var(--gotham);
    font-size: 1rem;
    line-height: 1.2;
    color: #000000;
    margin: 0;
    letter-spacing: 0.8px;
}

/* RESPONSIVO - MELHORAR DEPOIS */
@media (max-width: 768px) {
    .payments_horizontal_section {
        padding: 6rem 0;
    }

    .payment_pure_card {
        padding: 3rem 2rem;
    }

    .payment_card_title {
        font-size: 1.6rem;
    }
}



/* ******************************************
                CONTACTOS
******************************************* */
.contact_main_section {
    padding-top: 3rem;
    background-color: var(--main-beige);
    width: 100%;
}


/* Blocos de texto da esquerda */
.contact_left_info_col {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact_info_block .lined_title {
    font-family: var(--space);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.6rem;
    color: rgb(37, 36, 35);
    font-weight: 550;
}

.contact_block_text p {
    font-family: var(--gotham);
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.9px;
    color: #000000;
    margin: 0;
}


/* Coluna do Formulário */
.contact_right_form_col {
    position: relative;
    padding-right: 0;
    overflow: visible;
}

.contact_form_wrapper {
    background-color: rgb(236, 235, 232);
    padding: 10rem 4rem;
    height: 100%;
    width: calc(100% + 3.5rem);
}

.contact_form_main_title {
    font-family: var(--space);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.cf7_form_container form p {
    margin-bottom: 2.5rem;
    width: 100%;
}

.cf7_form_container input[type="text"],
.cf7_form_container input[type="email"],
.cf7_form_container textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    font-family: var(--gotham);
    font-size: 1.1rem;
    color: #000000;
    outline: none;
    transition: border-color 0.3s ease;
}

.cf7_form_container input:focus,
.cf7_form_container textarea:focus {
    border-bottom-color: #000000;
}

/* Texto passa a branco apenas quando o hover é feito em qualquer parte da div .button */
.contact_right_form_col form .button:hover input[type="submit"] {
    color: #fff !important;
}

/* Cor da linha (underline) no link da Política de Privacidade */
.contact_right_form_col .wpcf7-acceptance a.underline-anim {
    background-image: linear-gradient(#000, #000) !important;
}

/* RESPONSIVO - MELHORAR DEPOIS */
@media (max-width: 768px) {
    .contact_form_wrapper {
        padding: 3rem 2rem;
    }
    
    .contact_form_main_title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 992px) {
    .contact_main_section {
        padding-top: 3rem;
        padding-bottom: 0;
    }

    .contact_left_info_col {
        margin-bottom: 6rem;
        gap: 4rem;
    }

    .contact_block_text p {
        font-size: 1.4rem;
    }

    .contact_right_form_col {
        margin-right: 0;
    }
    .contact_form_wrapper {
        padding: 3rem 2rem;
    }

    .contact_form_main_title {
        font-size: 2.2rem;
    }
}



/* ******************************************
        POLÍTICA DE PRIVACIDADE
******************************************* */
.page-id-212 .inner_page_header_section {
  background-color: var(--main-beige);
  padding-top: calc(100px + 4rem);
  padding-bottom: 4rem;
  width: 100%;
}

.legal-section {
    padding-bottom: 5rem !important;
}

.wp-block-heading {
    font-family: var(--space);
    font-size: 2rem;
    letter-spacing: 1.5px;
}

.legal-symbol-wrapper {
    width: 100%;
    max-width: 450px; /* Ajusta o tamanho do símbolo na coluna da esquerda */
}

.legal-menu-symbol {
    display: block;
}

/* Garante o alinhamento com a primeira linha de texto */
.legal-logo-col {
    padding-top: 0.2rem;
}

@media (max-width: 768px) {
    .legal-symbol-wrapper {
        max-width: 180px;
        margin-bottom: 2rem;
    }
}

.wp-block-paragraph {
    font-family: var(--gotham);
    font-size: 0.9rem;
    letter-spacing: 1.25px;
    padding-bottom: 2rem;
    max-width: 85%;
}

/* Força a cor do link e do underline a preto dentro do texto legal */
.legal-body a.underline-anim {
    color: #000 !important;
}

.legal-body a.underline-anim {
    background-image: linear-gradient(#000, #000) !important;
}