/*
    
    1 - FONTS
    2 - GENERAL HTML SETTINGS
    3 - COMMON STUCTURES
    4 - INDIVIDUAL PAGES

*/

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            1 - FONTS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@font-face {
    font-family: AtAero-Light;
    src: url('../fonts/AtAero-Light.otf');
}

@font-face {
    font-family: AtAero-Regular;
    src: url('../fonts/AtAero-Regular.otf');
}

@font-face {
    font-family: AtAero-Retina;
    src: url('../fonts/AtAero-Retina.otf');
}

@font-face {
    font-family: AtAero-Thin;
    src: url('../fonts/AtAero-Thin.otf');
}

@font-face {
    font-family: Gotham-Book;
    src: url('../fonts/Gotham-Book.otf');
}

@font-face {
    font-family: Gotham-Light;
    src: url('../fonts/Gotham-Light.otf');
}

@font-face {
    font-family: Montserrat-Bold;
    src: url('../fonts/Montserrat-Bold.ttf');
}

@font-face {
    font-family: Montserrat-Regular;
    src: url('../fonts/Montserrat-Regular.ttf');
}

@font-face {
    font-family: SpaceGrotesk;
    src: url('../fonts/SpaceGrotesk-VariableFont_wght.ttf');
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    2 - GENERAL HTML SETTINGS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
}

html.stop_scroll {
    overflow: hidden;
}

:root {
    font-size: 15px;
    --main-color: #4B9EDA;
    --background-color: #213761;
    --gotham: 'Gotham-Book', sans-serif;
    --gotham-light: 'Gotham-Light', sans-serif;
    --montserrat-bold: 'Montserrat-Bold', sans-serif;
    --montserrat: 'Montserrat-Regular', sans-serif;
    --ataero-regular: 'AtAero-Regular', var(--gotham);
    --ataero-light: 'AtAero-Light', var(--gotham);
    --ataero-thin: 'AtAero-Thin', var(--gotham);
    --ataero-retina: 'AtAero-Retina', var(--gotham);
    --space-grotesk: 'SpaceGrotesk', var(--gotham);
    --max-body-width: 1250px;
    --side-padding: 9.5rem;
}

body {
    margin: 0;
    width: 100vw;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    color: #fff;
    background-color: var(--main-color);
}


h1 {
    font-family: var(--ataero-thin), serif;
    font-size: 3rem;
    letter-spacing: 0.1em;
    position: relative;
    color: rgb(33, 55, 97);
}


h4 {
    font-family: var(--ataero-retina), serif;
    font-size: 3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h5 {
    font-family: var(--ataero-regular), serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.65rem;
}

a {
    position: relative;
    color: #000;
}

a:hover {
    text-decoration: none;
}

b, strong {
    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;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(33, 55, 97) !important; /* <-- SUBTITUI pelo código HEX exato do teu azul */
    z-index: 99999;           /* Garante que fica à frente do header e do menu */
    pointer-events: none;
    transform-origin: bottom center;
    will-change: transform;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        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(var(--main-color), var(--main-color));
    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);
}

/* Regular buttons */
.button, .wp-element-button {
    font-family: var(--gotham);
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #000;
    border-radius: 0;
    border-bottom: 3px solid #000;
    background-color: transparent;
    padding: 0.75em 1em 0.35em;
    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);
}

.button:hover, .wp-element-button:hover, .hoverable_zone:hover .button, .hoverable_zone:hover .wp-element-button {
    color: var(--bg-color);
}

.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 {
    transition-property: color, background-color, background-size, transform, width, clip-path, opacity, top, left, right, background-size, background-image;
    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;
}


/* ==========================================
    NAVBAR BASE & ALINHAMENTO
=========================================== */
main.main-wrapper {
    position: relative;
    top: 0;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 10rem !important; 
}

nav.navbar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding-top: 4rem !important;
    padding-bottom: 0 !important;
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

nav.navbar .container,
nav.navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100% !important;
    padding-left: var(--side-padding, 8rem) !important;
    padding-right: var(--side-padding, 8rem) !important;
}

nav.navbar .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 200px;
}

nav.navbar a.custom-logo-link {
    display: block !important;
    width: 280px !important;
    height: auto !important;
}

nav.navbar img.custom-logo,
nav.navbar img.custom-logo-svg,
nav.navbar .logo img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.navbar {
    opacity: 0;
    will-change: transform, opacity;
}

/* ==========================================
   MENU TOGGLE (BOTÃO HAMBÚRGUER)
=========================================== */
.menu_toggle {
    --diameter: 65px;
    width: calc(var(--diameter) + 5px);
    height: var(--diameter);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu_toggle span {
    width: 100%;
    display: block;
    margin: 3.5px 0;
    border-bottom: 4px solid #213761;
    transition: width 0.4s ease, opacity 0.4s ease;
}

.menu_toggle span:nth-child(1) {
    width: 70%;
}

.menu_toggle::after {
    content: 'Menú';
    font-family: var(--gotham, sans-serif);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #213761;
    margin-top: 4px;
    display: block;
    transition: opacity 0.4s ease;
}

@media (hover: hover) {
    .menu_toggle:hover span {
        width: 100% !important;
    }
}

/* Caso a navbar esteja sobre fundo escuro */
nav.navbar.navbar-dark .menu_toggle span {
    border-bottom-color: #fff;
}
nav.navbar.navbar-dark .menu_toggle::after {
    color: #fff;
}


/* ==========================================
    OVERLAY DO MENU DESDOBRÁVEL
=========================================== */
html.menu-open,
body.menu-open {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none;
}

.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: rgb(33, 55, 97);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform-origin: top center;
    transform: scaleY(0);
    will-change: transform, opacity;
}

.menu {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(33, 55, 97) !important;
    pointer-events: none;
    position: fixed;
    z-index: 9999;
    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.9s cubic-bezier(.33,1,.68,1), -webkit-clip-path 0.9s cubic-bezier(.33,1,.68,1);
    will-change: clip-path;
}

.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 {
    top: 5rem;
    right: 10rem;
    position: absolute;
    z-index: 2;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.4s ease;
}

.menu .close_bttn span {
    display: block;
    width: 50px;
    margin: 4px 0;
    border-bottom: 4px solid #fff;
}

.menu:not(.menu_open) .close_bttn {
    opacity: 0;
}

.menu .close_bttn span:nth-child(1) {
    transform: rotate(45deg);
}

.menu .close_bttn span:nth-child(2) {
    transform: rotate(-45deg);
}

.menu .close_bttn:hover {
    transform: scale(1.1);
}

/* Conteúdo Interior do Menu (Wrapper Flex) */
.menu .menu_wrapper {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100vh;
    padding-top: 5rem;    /* Garante os 5rem no topo */
    padding-bottom: 5rem; /* Garante os 5rem no fundo para a moldura não colar à borda da janela */
    box-sizing: border-box;
}

/* Container do lado esquerdo do menu */
.menu_logo_container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    align-self: flex-start;
    padding-top: 0;
}

/* Regras para o SVG do logo */
.menu_constellation {
    width: 100%;
    max-width: 185px;
    height: auto;
    display: block;
    margin-top: 0;
}

/* Cor azul para os elementos do SVG */
.menu_constellation .logo-path {
    fill: #4B9EDA;
}

/* Lado Direito (Moldura e links colados ao fundo) */
.menu .page_list_wrapper {
    position: relative;
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 650px;
    height: auto;
    align-self: flex-end;
    box-sizing: border-box;
}

.menu-frame-svg {
    position: absolute;
    top: 0;                  /* Alinha o topo da moldura com o topo da caixa de links */
    left: 0;
    width: 100%;
    height: auto;            /* Mantém as proporções originais do grafismo sem o deformar */
    min-height: calc(100% + 10vh); /* Faz a moldura passar o limite inferior */
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

/* Lista de Páginas */
.menu .menu-page-list {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 2;
    position: relative;
}

.menu .menu-page-list li {
    position: relative;
}

.menu .menu-page-list li a { 
    font-family: var(--ataero-retina, sans-serif);
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 1.8px;
    color: rgb(230, 229, 223) !important;
    display: inline-block;
    padding: 0.6rem 0;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Risco Azul sobre o Link (Página Ativa e Hover) */
.menu .menu-page-list li a::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0%;
    height: 3px;
    background-color: #4B9EDA; /* Azul do risco */
    transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.menu .menu-page-list li.current-menu-item a::after, 
.menu .menu-page-list li a:hover::after {
    width: calc(100% + 50px);
}



/* ******************************************
                    FOOTER
******************************************* */
.site-footer {
    width: 100%;
    background-color: transparent;
}

.site-footer .container-fluid {
    padding-left: var(--side-padding, 8rem) !important;
    padding-right: var(--side-padding, 8rem) !important;
    --bs-gutter-x: 0 !important;
}

/* Linha de Separação */
.footer-divider {
    width: 100%;
    height: 0.5px;
    background-color: rgb(33, 55, 97);
    transform-origin: left center;
    will-change: transform;
}

/* Estrutura Flex */
.footer-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6rem 0;
}

/* Offset do Logo (11% igual ao overlay da hero) */
.footer-brand {
    padding-left: 11%;
    flex-shrink: 0;
}

.footer-logo {
    width: 230px;
    height: auto;
    display: block;
}

/* Grupo de Informação à Direita */
.footer-info-group {
    display: flex;
    align-items: center;
    gap: 6rem;
}

/* Bloco de Contactos */
.footer-contacts p {
    font-family: var(--ataero-retina, sans-serif);
    font-size: 1.05rem;
    color: rgb(33, 55, 97);
    margin-bottom: 0;
    line-height: 1.4;
}

.footer-contacts a {
    color: inherit;
    text-decoration: none;
}

/* Bloco Legal e Créditos */
.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 3rem 0 2rem 0;
}

.footer-links li {
    margin-bottom: 0.35rem;
}

.footer-links a {
    font-family: var(--gotham, sans-serif);
    font-size: 0.85rem;
    color: rgb(33, 55, 97);
    text-decoration: none;
}

/* Assinatura Rui Veríssimo Design */
a.design {
    position: static !important;
    font-family: var(--gotham, sans-serif);
    font-size: 0.7rem;
    letter-spacing: 0.01em;
    color: rgb(140, 146, 156);
    text-decoration: none;
    display: inline-block;
}

/* Limpeza de pseudo-elementos antigos */
a.design:before, 
a.design:after {
    display: none !important;
}

.footer-brand,
.footer-contacts p,
.footer-legal ul li,
.footer-legal .design {
    will-change: transform, opacity;
}


/* ==========================================
   PAGE HEADING (SUBPÁGINAS)
=========================================== */
/* Estado inicial do Page Heading (Previne o flash ao mudar de página) */
.page-heading-section .heading-hero-wrapper,
.page-heading-section .heading-title {
    opacity: 0;
    will-change: transform, opacity;
}

.page-heading-section .heading-text-wrapper,
.page-heading-section .heading-text {
    opacity: 1 !important;
}

/* Apenas os parágrafos começam escondidos */
.page-heading-section .heading-text p {
    opacity: 0;
    transform: translateY(25px);
    will-change: transform, opacity;
}

.heading-title::after {
    transform: scaleY(0);
    transform-origin: top center;
}

.page-heading-section {
    padding-top: 5.5rem !important;
    padding-bottom: 10rem;
    padding-left: var(--side-padding, 8rem) !important;
    padding-right: var(--side-padding, 8rem) !important;
    width: 100%;
    position: relative;
}

.page-id-21 .page-heading-section {
    padding-top: 5.5rem !important;
    padding-bottom: 7rem;
}

.page-heading-section .container-fluid {
    --bs-gutter-x: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Container da Imagem (Sem clip-path nem máscaras) */
.page-heading-section .heading-hero-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 5rem;
}

.page-heading-section .heading-img {
    width: 100%;
    height: auto;
    display: block;
    /* Remove o escurecimento se a imagem já vier pronta do design */
    filter: brightness(0.85); 
}

/* Título Centrado Sobre a Imagem */
.page-heading-section .heading-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
}

.page-heading-section .heading-title {
    font-family: var(--ataero-thin);
    font-size: 4.5rem;
    letter-spacing: 0.8px;
    color: #ffffff;
    margin: 0;
    position: relative;
    display: inline-block;
    text-transform: none;
}

/* Traço Vertical Branco Centrado */
.page-heading-section .heading-title::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: 45px;
    background-color: #ffffff;
    margin-top: 1.5rem;
    transform: scaleY(var(--line-scale, 0));
    transform-origin: top center;
    will-change: transform;
}

/* Texto Descritivo Centrado por Baixo */
.page-heading-section .heading-text-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.page-heading-section .heading-text {
    max-width: 60ch;
    text-align: center;
}

.page-id-21 .page-heading-section .heading-text {
    max-width: 50ch;
    text-align: center;
}

.page-heading-section .heading-text p {
    color: rgb(101, 103, 105);
    font-family: var(--space-grotesk);
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 1.5rem;
}

.page-heading-section .heading-text p:last-child {
    margin-bottom: 0;
}



/* ******************************************
                    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.95rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #000;
    padding: 1.2rem 8px;
}

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-bold);
    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-section {
    padding-top: 12rem !important;
    padding-bottom: 6rem;
    padding-left: var(--side-padding, 8rem) !important;
    padding-right: var(--side-padding, 8rem) !important;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-section .container-fluid {
    --bs-gutter-x: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hero-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.hero-orb {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    height: auto;
}

.front-page_orb-1 {
    width: 55px;
    top: 8rem;
    right: 24.7%;
    z-index: 3;
}

.front-page_orb-2 {
    width: 17px;
    top: 25.9%;
    left: 21.8%;
}

.front-page_orb-3 {
    width: 6px;
    top: 38.9%;
    right: 31.7%;
}

.front-page_orb-4 {
    width: 6px;
    bottom: 29.6%;
    left: 43.5%;
}

.front-page_orb-5 {
    width: 27px;
    bottom: 9.5%;
    left: 28.5%;
    z-index: 3;
}

.hero-content {
    max-width: 680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

.hero-title {
    font-family: var(--ataero-thin);
    font-size: 4.5rem;
    letter-spacing: 0.8px;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: rgb(33, 55, 97);
    position: relative;
}

.hero-title .title-second-line {
    white-space: nowrap;
}

.hero-title::after {
    content: '';
    display: block;
    width: 1px;
    height: 45px;
    background-color: rgb(33, 55, 97);
    margin: 1.5rem auto 0;
    
    transform: scaleY(var(--line-scale, 0));
    transform-origin: top center;
    will-change: transform;
}

.hero-text p {
    text-align: center;
    color: rgb(101, 103, 105);
    font-family: var(--space-grotesk);
    font-size: 1.4rem;
}

.hero-title,
.hero-text,
.hero-orb,
.hero-ending-text {
    opacity: 0;
    will-change: transform, opacity;
}

.hero-image-wrapper {
    position: relative;
    margin-top: 8rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    top: 50%;
    left: 11%;
    transform: translateY(-50%);
    max-width: 45ch;
    text-align: left;
    z-index: 2;
}

.hero-image-title {
    font-size: 0.8rem;
    font-family: var(--gotham);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-image-text {
    font-family: var(--gotham-light);
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 300;
    color: rgb(33, 55, 97);
    letter-spacing: 0.8px;
}

.hero-ending-content {
    margin-top: 10rem;
    margin-bottom: 12rem;
}

.hero-ending-text {
    font-size: 1.4rem;
    font-family: var(--gotham-light);
    color: rgb(101, 103, 105);
    text-align: center;
    max-width: 36ch;
}



/* ==========================================
            ABOUT US PAGE - TRENDS
=========================================== */
.about-trends-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    will-change: opacity, transform;
}

.about-trends-section .container-fluid {
    --bs-gutter-x: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.trends-container {
    background-color: rgb(33, 55, 97);
    padding: 8rem 9.5rem 8rem 18rem;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Lado Esquerdo */
.trends-left-col {
    position: relative;
    z-index: 2;
}

.trends-subtitle {
    display: block;
    font-family: var(--ataero-retina);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 0.7rem;
}

.trends-title {
    font-family: var(--ataero-retina);
    font-size: 2.3rem;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
    max-width: none;
}

/* Lado Direito */
.trends-right-col {
    position: relative;
    z-index: 2;
    /* Variável para a descida do retângulo ::before */
    --before-y: -35px;
    --before-opacity: 0;
}

/* Retângulo Azul Claro colado ao topo */
.trends-right-col::before {
    content: '';
    position: absolute;
    top: -8rem;
    left: 15px;
    width: calc(100% - 30px);
    height: 42px;
    background-color: #4B9EDA;
    z-index: 2;
    transform: translateY(var(--before-y));
    opacity: var(--before-opacity);
    will-change: transform, opacity;
}

.trends-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trends-list .trends-item {
    padding: 0.8rem 5rem;
    font-family: var(--ataero-thin);
    font-size: 1.2rem;
    letter-spacing: 0.8px;
    color: #ffffff;
    position: relative;
}

/* Linha separadora em cada item */
.trends-list .trends-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(255, 255, 255);
}

/* Esferas / Orbes Decorativas (Ajustar posições conforme necessário) */
.about-us_orb {
    position: absolute;
    pointer-events: none;
    z-index: 1; /* Fica atrás do texto/imagem (z-index: 2) */
    height: auto;
    opacity: 0;
    transform: scale(0.5);
    will-change: transform, opacity;
}

.about-us_orb-1 {
    position: absolute;
    width: 10px;
    top: 30.5%;
    right: 23.6%;
    z-index: 3;
    pointer-events: none;
}

.about-us_orb-2 {
    width: 56px;
    top: 12.3%;
    left: 37.9%;
}

.about-us_orb-3 {
    width: 30px;
    top: 41.8%;
    left: 12.3%;
}

.about-us_orb-4 {
    width: 18px;
    bottom: 37.4%;
    left: 37%;
}

.about-us_orb-5 {
    width: 5px;
    bottom: 26.7%;
    left: 26.2%;
    z-index: 3;
}

/* FINAL TEXT */
.about-ending-text-section {
    padding-left: var(--side-padding, 8rem) !important;
    padding-right: var(--side-padding, 8rem) !important;
    margin-top: 9.5rem;
    margin-bottom: 9.5rem;
    width: 100%;
}

.about-ending-text-section .ending-text-wrapper {
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    display: flex;
}

.about-ending-text-section .ending-text-wrapper p {
    font-family: var(--space-grotesk);
    font-size: 1.25rem;
    line-height: 1.2;
    color: rgb(101, 103, 105);
    max-width: 45ch;
    letter-spacing: 0.8px;
}

.about-ending-text-section .ending-text-wrapper p:last-child {
    margin-bottom: 0;
}



/* ==========================================
            WHAT WE DO PAGE
=========================================== */
.sec-what-we-do-intro {
    width: 100%;
    position: relative;
    overflow: visible;
    margin-top: 1.5rem;
    margin-bottom: 6rem;
}

.what-we-do-orb {
  position: absolute;
  top: -48%;
  right: 19%;
  transform: translateX(-50%);
  width: 20px;   
  pointer-events: none;
  z-index: 2;
}

.sec-what-we-do-intro .intro-bg-graphics {
    position: absolute;
    top: 46%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 860px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.sec-what-we-do-intro .intro-bg-graphics svg,
.sec-what-we-do-intro .intro-bg-graphics img {
    width: 100%;
    height: auto;
    display: block;
}

.sec-what-we-do-intro .container-fluid {
    --bs-gutter-x: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sec-what-we-do-intro .intro-grid-container {
    padding: 0 9.5rem 0 18rem;
    position: relative;
    z-index: 2;
}

.sec-what-we-do-intro .intro-left-col {
    position: relative;
    z-index: 2;
}

.intro-subtitle {
    display: block;
    font-family: var(--ataero-retina);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: rgb(33, 55, 97);
    margin-bottom: 0.7rem;
}

.sec-what-we-do-intro .services-main-title {
    font-family: var(--ataero-retina);
    font-size: 2.3rem;
    line-height: 1.1;
    color: rgb(33, 55, 97);
    margin: 0;
    max-width: none;
}

.sec-what-we-do-intro .intro-right-col {
    position: relative;
    z-index: 2;
}

.sec-what-we-do-intro .services-card {
    background-color: #213761;
    border-radius: 20px;
    padding: 3rem 4.5rem;
}

.sec-what-we-do-intro .services-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 50ch;
}

.sec-what-we-do-intro .service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #ffffff;
    font-family: var(--space-grotesk);
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: 0.1px;
}


/* Details Section */
.sec-what-we-do-details {
  position: relative;
  width: 100%;
  padding-top: 10.5rem;
  padding-bottom: 10.5rem;
}

.sec-what-we-do-details .container-fluid {
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

.decorative-line-wrapper {
  width: 100%;
  display: block;
  overflow: hidden;
  line-height: 0;
  padding-bottom: 2rem;
}

.decorative-line-svg {
  width: 100% !important;
  max-width: 100% !important;
  height: 36px;
  display: block;
}

.details-content-container {
  padding-left: 9.5rem;
}

.sec-what-we-do-details .row .col-lg-4 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.sec-what-we-do-details .details-title {
    font-family: var(--ataero-retina);
    font-size: 1.4rem;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: rgb(33, 55, 97);
    margin: 0;
    margin-bottom: 2.5rem;
    max-width: none;
}

.details-subtext {
    font-family: var(--gotham, sans-serif);
    font-size: 1rem;
    color: #656769;
    letter-spacing: 0.6px;
}

/* Cards */
.details-cards-wrapper {
  display: flex;
  flex-direction: column;
}

.detail-card {
  background-color: #ECF1E7;
  border-radius: 1rem;
  padding: 3rem 4rem;
  margin-bottom: 1rem;
}

.detail-card p {
  color: #656769;
  font-family: var(--space-grotesk, sans-serif);
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: 0.6px;
}

.detail-card:last-child {
  margin-bottom: 0;
  margin-top: 1rem;
}

.detail-card:last-child p {
  color: rgb(33, 55, 97);
  font-weight: 500;
}



/* ==========================================
            HOW WE DO IT PAGE
=========================================== */
.page-how-we-do-it .page-heading-section {
  position: relative;
}

.page-how-we-do-it .page-heading-section::after {
  content: '';
  position: absolute;
  top: 13%;
  right: calc(var(--side-padding) - 50px);
  width: 10px;
  height: 10px;
  background-image: url('../img/how-we-do-it_orb-1.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 3;

  /* Estado Inicial: Pequena e transparente */
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Quando a página/heading é carregada */
.page-how-we-do-it .page-heading-section.is-loaded::after {
  opacity: 1;
  transform: scale(1);
}

.sec-how-we-do-it {
    padding-left: var(--side-padding, 8rem) !important;
    padding-right: var(--side-padding, 8rem) !important;
    margin-bottom: 15rem;
    width: 100%;
}

.sec-how-we-do-it .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Forçar o afastamento exato (Gutter horizontal e vertical) */
.sec-how-we-do-it .row {
    --bs-gutter-x: 2.5rem !important; /* Espaço horizontal entre cartões */
    --bs-gutter-y: 2.5rem !important; /* Espaço vertical entre filas */
    margin-right: calc(-1 * var(--bs-gutter-x) / 2) !important;
    margin-left: calc(-1 * var(--bs-gutter-x) / 2) !important;
    margin-top: calc(-1 * var(--bs-gutter-y)) !important;
}

.sec-how-we-do-it .row > [class*="col-"] {
    padding-right: calc(var(--bs-gutter-x) / 2) !important;
    padding-left: calc(var(--bs-gutter-x) / 2) !important;
    padding-top: var(--bs-gutter-y) !important; /* Cria a separação vertical na fila de baixo */
    display: flex;
}

/* 1. Remove o isolamento do container e das colunas Bootstrap */
.sec-how-we-do-it,
.sec-how-we-do-it .row,
.sec-how-we-do-it [class*="col-"] {
    isolation: auto !important;
    overflow: visible !important;
}

/* 2. Aplica o blend-mode diretamente nos cards e impede a criação de novas camadas isoladas */
.sec-how-we-do-it .how-card {
    mix-blend-mode: multiply !important;
    will-change: transform, opacity !important;
}

/* Card Individual com cantos arredondados e fundo claro */
.how-card {
    background-color: rgb(236, 241, 231);
    border-radius: 16px;
    padding: 4rem 4.5rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 3.5rem;
    margin-bottom: 0 !important;
    mix-blend-mode: multiply !important;
}

/* Ícone */
/* Container com área fixa e alinhamento central */
.how-card .card-icon-wrapper {
    flex-shrink: 0;
    width: 90px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* A imagem ajusta-se proporcionalmente sem ultrapassar os limites */
.how-card .card-icon {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Conteúdo */
.how-card .card-content {
    flex: 1 1 auto;
}

.how-card .card-title {
    font-family: var(--ataero-retina, sans-serif);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.2;
    color: rgb(33, 55, 97);
    margin-top: 0;
    margin-bottom: 1rem;
}

.how-card .card-text p {
    font-family: var(--gotham);
    font-size: 0.9rem;
    line-height: 1.3;
    color: rgb(101, 103, 105);
    margin: 0;
}



/* ==========================================
            HEALTHCARE PAGE
=========================================== */

/* Heading & Pseudo-Orb no Pseudo-elemento */
.page-healthcare .page-heading-section {
    position: relative;
    padding-bottom: 4rem;
}

.page-healthcare .page-heading-section::after {
    content: '';
    position: absolute;
    top: 11%;
    right: calc(var(--side-padding) - 50px);
    width: 14px;
    height: 14px;
    background-image: url('../img/healthcare_orb-1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 3;

    /* Estado inicial FÍSICO antes do JS rodar */
    opacity: 0;
    transform: scale(0.3) translateY(10px);

    /* Sobrevai os valores com as variáveis assim que o GSAP as injetar */
    opacity: var(--after-opacity, 0);
    transform: scale(var(--after-scale, 0.3)) translateY(var(--after-y, 10px));
}

.page-healthcare .page-heading-section .heading-text {
    max-width: 70ch;
}

/* 1. SECÇÃO DAS ORBS INTERMÉDIAS (Isolada da Constelação) */
.sec-healthcare-intro {
    position: relative;
    width: 100%;
    pointer-events: none;
    z-index: 2;
}

.sec-healthcare-intro .healthcare-orb-wrapper {
    position: relative;
    width: 100%;
    height: 110px;
    pointer-events: none;
    overflow: hidden;
}

.healthcare-orb {
    position: absolute;
    pointer-events: none;
}

/* Orb 2 */
.healthcare-orb-2 {
    top: 20%;
    right: 44.35%;
    width: 23px;
    height: auto;
}

/* Orb 3 */
.healthcare-orb-3 {
    top: 55%;
    right: 46.3%;
    width: 15px;
    height: auto;
}

/* 2. SECÇÃO DEDICADA À CONSTELAÇÃO */
.sec-healthcare-constellation {
    position: relative;
    padding: 20px 0 50px 0;
    overflow: hidden;
}

/* Content Container da Constelação */
.healthcare-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 900px;
}

/* SVG de Fundo */
.healthcare-bg-graphic {
    position: absolute;
    top: 57.6%;
    left: 53.1%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 710px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.healthcare-bg-graphic svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Rótulo Central */
.center-label {
    position: absolute;
    top: 35.5%;
    left: 45%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.center-title {
    font-family: var(--ataero-regular);
    font-size: 2.2rem;
    color: rgb(33, 55, 97);
    margin: 0;
}

.center-subtitle {
    display: block;
    font-family: var(--ataero-thin);
    font-size: 1rem;
    color: rgb(33, 55, 97);
    letter-spacing: 0.2px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* 3. CAMADA DOS NÓS DA CONSTELAÇÃO */
.healthcare-nodes-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.node-item {
    position: absolute;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}

/* Posicionamento Individual dos Nós */
.node-item-1 {
    top: 4%;
    left: 21%;
}

.node-item-2 {
    top: 31%;
    right: 4.7%;
}

.node-item-3 {
    top: 48%;
    left: 3.9%;
}

.node-item-4 {
    bottom: 17.5%;
    right: 25%;
}

/* Linhas e Tipografia dos Nós */
.node-graphic {
    display: block;
    line-height: 0;
}

.node-graphic img,
.node-graphic svg {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

.node-title {
    font-family: var(--ataero-light);
    font-size: 1.1rem;
    line-height: 1.3;
    letter-spacing: 0.7px;
    color: rgb(33, 55, 97);
    margin: 0;
    box-sizing: border-box;
    transform: translateY(-20px);
}

/* Larguras e Padding dos Rótulos dos Nós */
.node-item-1 .node-graphic { width: 404px; }
.node-item-1 .node-title { 
    max-width: 300px; 
    padding-left: 104px; 
    margin-top: -1rem;
}

.node-item-2 .node-graphic { width: 325px; }
.node-item-2 .node-title { 
    max-width: 280px; 
    padding-left: 100px; 
    margin-top: -1.3rem;
}

.node-item-3 .node-graphic { width: 320px; }
.node-item-3 .node-title { 
    max-width: 320px; 
    padding-left: 110px; 
    margin-top: -1.3rem;
}

.node-item-4 .node-graphic { width: 325px; }
.node-item-4 .node-title { 
    max-width: 290px; 
    padding-left: 105px;
    margin-top: -1rem;
}

/* Garante que o traço do SVG pode ser animado pelo GSAP */
.healthcare-nodes-layer .node-graphic svg path,
.healthcare-nodes-layer .node-graphic svg line,
.healthcare-nodes-layer .node-graphic svg polyline {
    fill: none !important;
    vector-effect: non-scaling-stroke;
    /* Evita transições CSS nativas que possam colidir com a timeline do GSAP */
    transition: none !important; 
}



/* ==========================================
            INTERNATIONAL DEVELOPMENT PAGE
=========================================== */
.page-international-development .page-heading-section {
  padding-bottom: 5rem;
  position: relative;
}

/* Estado Inicial (Escondidas por defeito antes de o JS arrancar) */
.page-international-development .page-heading-section::before {
    content: '';
    position: absolute;
    top: 8.5%;
    right: calc(var(--side-padding) - 5px);
    width: 10px;
    height: 10px;
    background-image: url('../img/international-development_orb-1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 3;

    /* Começam invisíveis e pequenas no CSS nativo */
    opacity: 0;
    transform: scale(0.2) translateY(10px);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease-out;
    will-change: transform, opacity;
}

.page-international-development .page-heading-section::after {
    content: '';
    position: absolute;
    bottom: 37.5%;
    left: 20.5%;
    width: 11px;
    height: 11px;
    background-image: url('../img/international-development_orb-2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 3;

    /* Começam invisíveis e pequenas no CSS nativo */
    opacity: 0;
    transform: scale(0.2) translateY(10px);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease-out;
    will-change: transform, opacity;
}

/* Estado Animado (Ativado quando o GSAP mete a classe) */
.page-international-development .page-heading-section.orbs-loaded::before,
.page-international-development .page-heading-section.orbs-loaded::after {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Atraso suave para a 2ª orb não entrar colada à 1ª */
.page-international-development .page-heading-section.orbs-loaded::after {
    transition-delay: 0.15s;
}

.sec-international-development {
    padding: 20px 0 150px 0;
    width: 100%;
}

.sec-international-development .container-fluid {
    padding-left: var(--side-padding, 5%);
    padding-right: var(--side-padding, 5%);
}

.decorative-line-wrapper-id {
    width: 100%;
    display: block;
    overflow: hidden;
    line-height: 0;
    margin-bottom: 10px;
}

.decorative-line-svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 36px;
}

.international-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 155px;
    align-items: start;
    margin-top: -20px;
}

.international-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    padding-right: 5%;
}

.areas-title {
    font-family: var(--ataero-retina);
    font-size: 2.2rem;
    color: rgb(33, 55, 97);
    margin: 0;
    letter-spacing: 0.5px;
    text-align: right;
}

.areas-icon-wrapper img {
    width: 125px;
    height: auto;
    display: block;
    object-fit: contain;
}

.areas-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    margin-left: 40px;
}

.area-item {
    padding: 22px 0;
    border-bottom: 0.5px solid #4B9EDA;
}

.area-item:first-child {
    padding-top: 0;
}

.area-text {
    font-family: var(--ataero-retina);
    font-size: 1.85rem;
    color: rgb(33, 55, 97);
    line-height: 1.3;
    display: block;
    letter-spacing: 0.3px;
    padding-left: 90px;
    max-width: 30ch;
}



/* ==========================================
            CONTACTS PAGE
=========================================== */
.page-contacts .page-heading-section {
    position: relative;
    padding-bottom: 0;
}

.page-contacts .page-heading-section::after {
    content: '';
    position: absolute;
    top: 18.2%;
    right: 14.3%;
    width: 15px;
    height: 15px;
    background-image: url('../img/contacts_orb-1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transform: scale(0.3);
    transition: transform 1.2s cubic-bezier(0.33, 1, 0.68, 1), opacity 1.2s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Estado final quando a classe .is-loaded é injetada pelo GSAP */
.page-contacts .page-heading-section.is-loaded::after {
    opacity: 1;
    transform: scale(1);
}

.sec-contacts {
    position: relative;
    padding: 0 0 100px 0;
    width: 100%;
}

.sec-contacts .container-fluid {
    padding-left: var(--side-padding, 5%);
    padding-right: var(--side-padding, 5%);
}

.contacts-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    min-height: 500px;
}

/* 1. Orbs Decorativas */
.contacts-orbs-layer {
    position: relative;
    width: 100%;
    height: 100%;
}

.contact-orb {
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.contact-orb-main {
    width: 100px;
    height: auto;
    top: 25%;
    right: 22%;
}

.contact-orb-small {
    width: 15px;
    height: auto;
    bottom: 22%;
    left: 16%;
}

/* 2. Formulário CF7 */
.contacts-form-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.sec-contacts .form_line {
    position: relative;
}

.sec-contacts .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Placeholder Styling Forçado */
.sec-contacts input::placeholder,
.sec-contacts textarea::placeholder {
    color: #000000 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #000000 !important;
}

.sec-contacts input::-webkit-input-placeholder,
.sec-contacts textarea::-webkit-input-placeholder {
    color: #000000 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #000000 !important;
}

.sec-contacts input::-moz-placeholder,
.sec-contacts textarea::-moz-placeholder {
    color: #000000 !important;
    opacity: 1 !important;
}

.sec-contacts input:-ms-input-placeholder,
.sec-contacts textarea:-ms-input-placeholder {
    color: #000000 !important;
    opacity: 1 !important;
}

/* Campos de Texto */
.sec-contacts input[type="text"],
.sec-contacts input[type="tel"],
.sec-contacts input[type="email"],
.sec-contacts textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(33, 55, 97, 0.3);
    background: transparent;
    border-radius: 0;
    padding: 16px 0;
    font-family: var(--gotham);
    font-size: 1rem;
    color: #000000;
    letter-spacing: 0.8px;
    outline: none;
    transition: border-color 0.3s ease;
}

.sec-contacts input[type="text"]:focus,
.sec-contacts input[type="tel"]:focus,
.sec-contacts input[type="email"]:focus,
.sec-contacts textarea:focus {
    border-bottom-color: #009FDD;
}

.sec-contacts textarea {
    resize: vertical;
    min-height: 80px;
}

/* Container Flex Principal (Linha Inferior: Botão + Aceitação) */
.sec-contacts .form_line.mt-5 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 40px !important;
    width: 100% !important;
    position: relative !important;
}

/* Reset de qualquer interferência de wrappers CF7 na linha do submit */
.sec-contacts .form_line.mt-5 span:not(.wpcf7-spinner),
.sec-contacts .form_line.mt-5 div {
    position: static !important;
}

/* 1. Botão SEND MESSAGE */
.sec-contacts .form_line.mt-5 #submit {
    margin: 0 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    width: auto !important;
}

.sec-contacts .form_line.mt-5 input[type="submit"],
.sec-contacts .form_line.mt-5 .wpcf7-submit {
    position: relative !important;
    z-index: 5 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    width: auto !important;
    background-color: transparent !important;
    border: 1px solid rgb(33, 55, 97) !important;
    color: rgb(33, 55, 97) !important;
    height: 36px !important;
    padding: 0 24px !important;
    border-radius: 20px !important;
    font-family: var(--ataero-retina);
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.sec-contacts .form_line.mt-5 .wpcf7-submit:hover {
    background-color: rgb(33, 55, 97) !important;
    color: #ffffff !important;
}

/* 2. Wrapper da Privacidade (colado ao botão) */
.sec-contacts .form_line.mt-5 .wpcf7-form-control-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
}

/* 3. Limpeza total de estilos/pseudo-elementos padrão da Checkbox no CF7 */
.sec-contacts .wpcf7-acceptance label::before,
.sec-contacts .wpcf7-acceptance label::after,
.sec-contacts .wpcf7-acceptance .wpcf7-list-item-label::before,
.sec-contacts .wpcf7-acceptance .wpcf7-list-item-label::after {
    display: none !important;
    content: none !important;
}

.sec-contacts .wpcf7-acceptance,
.sec-contacts .wpcf7-acceptance label,
.sec-contacts .wpcf7-list-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.sec-contacts .wpcf7-acceptance label {
    cursor: pointer !important;
    font-family: var(--montserrat, sans-serif);
    font-size: 0.85rem;
    color: rgb(33, 55, 97);
    display: inline-flex !important;
    align-items: center !important;
}

.sec-contacts .wpcf7-acceptance label strong,
.sec-contacts .wpcf7-acceptance label b {
    font-family: var(--montserrat-bold, sans-serif);
    color: #000000;
}

/* 4. Transformação da Checkbox nativa num Círculo */
.sec-contacts input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    border: 1px solid rgb(33, 55, 97) !important;
    border-radius: 50% !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.sec-contacts input[type="checkbox"]:hover {
    border-color: #4B9EDA !important;
}

/* 5. Bolinha interior quando seleccionada */
.sec-contacts input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    width: 27px !important;
    height: 27px !important;
    background-color: #4B9EDA !important;
    border-radius: 50% !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}



/* ==========================================
            PRIVACY POLICY PAGE
=========================================== */
/* Alinhamento da Política de Privacidade com a margem do Logo */
.privacy-hero-section {
    padding-left: 0;
    padding-right: 0;
}

.privacy-hero-section .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.privacy-hero-section .hero-content,
.privacy-hero-section .privacy-policy-text {
    margin-left: 0;
    padding-left: 0;
    text-align: left !important;
}

.privacy-hero-section .hero-title {
    text-align: left !important;
    margin-left: 0;
}



.privacy-policy .hero-section {
    padding-bottom: 10rem;
    padding-top: 10rem !important;
    padding-left: 18rem !important;
}

.privacy-policy .hero-content {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
}

.privacy-policy .hero-title::after {
    display: none;
}

.privacy-policy h3 {
    font-family: var(--space-grotesk);
    font-size: 1.8rem;
    line-height: 1.2;
    margin-top: 2.5rem;
}

.privacy-policy p {
    font-family: var(--ataero-retina);
    font-size: 1.25rem;
    line-height: 1.2;
    color: rgb(101, 103, 105);
    margin-bottom: 1rem;
    text-align: left;
}