:root {
    --primary-dark: #2C2523;
    --primary-brown: #4A4240;
    --accent-beige: #EDE4DD;
    --text-light: #F5F1EE;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    background: #e5dfd8;
    font-family: 'Futura Std';
}
body {
    font-family: 'Futura Std';
    font-weight: normal;
    color: var(--primary-dark);
    overflow-x: hidden;
    line-height: 1.6;
}
h1,h2,h3,h4,h5 {
    font-family: 'Futura Std';
}
.hero-fullscreen {
    background: url(../img/hero-intro.png) no-repeat center center/cover;
}
/* ==================== NAVBAR ==================== */
.navbar {
  background: transparent;
  padding: 1.2rem 0;
  transition: background-color .3s ease, box-shadow .3s ease;
}

.navbar.scrolled {
  background: #e5dfd8;
}
.navbar .navbar-brand {
    color: #efe4da!important;
}
.navbar.scrolled .navbar-brand {
    color: #3c261b!important;
}

/* Container flex da navbar */
.navbar-content {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Grupos de navegação à esquerda e direita */
.navbar-nav {
    flex: 1;
    display: flex;
}

.navbar-nav.nav-left {
    justify-content: flex-end;
}

.navbar-nav.nav-right {
    justify-content: start;
}

/* Logo centrado naturalmente */
.navbar-brand {
    font-size: 1.5rem;
    
    letter-spacing: 5px;
    font-weight: 300;
    position: relative;
    top: 1px;
    color: #3c261b !important;
    text-decoration: none;
    padding: 0 2rem;
    white-space: nowrap;
}

/* Links de navegação */
.nav-link {
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem !important;
    transition: all 0.3s ease;
    text-decoration: none;
}
.scrolled .nav-link {
  color: #3c261b !important;
}
.nav-link:hover {
    color: #3c261b !important;
}

/* Hero Full Screen */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-title {
    font-family: 'Futura Std';
    font-weight: 300;
    /* text-transform: uppercase; */
    font-size: 50px;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title span {
    text-transform: none;
}

/* Section Full Width Image with Text */
.section-image-text {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.section-image-text .content-overlay {
    position: relative;
    z-index: 2;
    color: white;
    padding: 80px 0;
}

.section-image-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

/* Split Section (Image + Text) */
.split-section {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.split-section .image-side {
    position: relative;
    overflow: hidden;
}

.split-section .image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.split-section .image-side:hover img {
    transform: scale(1.05);
}

.split-section .text-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    background: var(--accent-beige);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
}

.gallery-item {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-text {
    transform: translateY(0);
}

/* Dark Section */
.dark-section {
    background: var(--primary-dark);
    color: white;
    padding: 120px 0;
}

/* Typography */
.section-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.8;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 30px;
}

.section-title .italic {
    font-style: italic;
    font-weight: 200;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0.9;
}

/* Buttons */
.btn-primary-custom {
    color: var(--warm-ivory);
    border: 1px solid #ede4dd80;
    border-radius: 50px;
    padding: 11px 30px 7px 30px;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
}

.btn-primary-custom:hover {
    background: white;
    color: var(--primary-dark);
}

.btn-dark-custom {
    padding: 15px 50px;
    border: 1px solid var(--primary-dark);
    background: var(--primary-dark);
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-dark-custom:hover {
    background: transparent;
    color: var(--primary-dark);
}

/* Full Width Content Section */
.content-section {
    padding: 120px 0;
}

/* Image with Centered Text Overlay */
.image-text-center {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.image-text-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-text-center .center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
}

.image-text-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

/* Contact Form */
.contact-form input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 300;
    width: 100%;
}

.contact-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.contact-form input:focus {
    outline: none;
    border-bottom-color: white;
}

/* Footer */
footer {
    background: #d6d1c4;
    color: #3c261b;
    padding: 80px 0 40px;
}

.social-icons a {
    color: #d6d1c4;
    font-size: 1.3rem;
    margin: 0 15px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: white;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .split-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .split-section .image-side,
    .split-section .text-side {
        min-height: 400px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section,
    .dark-section {
        padding: 120px 0;
    }
}

/* Navbar Mobile */
.fullcontroll {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    height: 100%;
    width: 100%;
}
#about-home {
    padding-bottom: 0;
}
.mt-120 {
    margin-top: 120px;
}
#about-home p {
    opacity: 1;
    text-align: center;
    color: #4c4241;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
    margin: 0;
}
.owl-carousel .inv-copy {
    color: #4c4241;
    font-size: 17px;

}
#about-home .aerialview {
    background-color: #3c261b;
    color: white;
    position: absolute;
    text-decoration: none;
    padding: 12px 30px 10px 30px;
    display: inline-block;
    font-weight: 300;
    border-radius: 100px;
    text-transform: uppercase;
    font-size: 13px;
    left: calc(50% - 73px);
    top: calc(50% - 22px);
}
#project {
    padding: 120px 0;
}
#project .inv-eyebrow {
    font-size: 14px;
    margin-bottom: 15px;    
    color: #4c4241;
 }
 #project h2.inv-title {
    font-family: 'Futura Std';
    font-weight: 400;
    color: #4c4241;
    font-size: 20px;
    letter-spacing: 1px;
 }


 #project-max,
 #suggested-designs,
 #project-developer {
    padding: 120px 0;
    background-color: #3c261b;
    color: white;
}
#project-max .inv-eyebrow,
#suggested-designs .inv-eyebrow,
#project-developer .inv-eyebrow {
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 15px;    
 }
 #project-max h2.inv-title,
 #suggested-designs h2.inv-title,
 #project-developer h2.inv-title {
    font-weight: 400;
    letter-spacing: 1px;
    font-family: 'Futura Std';
    font-size: 1.2rem;
 }

@media (max-width: 991px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    /* Layout mobile - tudo em coluna */
    .navbar-content {
        flex-direction: column;
    }
    
    .navbar-brand {
        order: -1;
        padding: 1rem 0;

    }
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav.nav-left,
    .navbar-nav.nav-right {
        justify-content: center;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 0.75rem 0 !important;
        background: #efe5da14;
    }
    
    /* Toggler */
    .navbar-toggler {
        border:none;
    }

    .navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .navbar.scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(60, 38, 27, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .hero-title {
        font-size: 30px;
    }
    #about-home p {
                letter-spacing: 2px;
        padding: 0 10px;
    }

}
.owl-dots {
    text-align: center;
}
.owl-carousel button.owl-dot {
    background: 0 0;
    color: inherit;
    border: none;
    padding: 6px !important;
    font: inherit;
    background: white;
    border-radius: 100px;
    margin: 0 5px;
}
.owl-carousel button.owl-dot.active {
    background:#000
}
/* Masterplan section */
.masterplan-section{background:var(--accent-beige,#e8ddd3);}

.masterplan-btn {
    background-color: #3c261b;
    color: white;
    position: absolute;
    text-decoration: none;
    padding: 14px 25px 12px 25px;
    display: inline-block;
    font-weight: 300;
    border-radius: 100px;
    text-transform: uppercase;
    font-size: 13px;
    top: 50%;
    left: 50%;
    width: max-content;
    transform: translate(-50%, -50%);
    border: none;
}
.masterplan-content {
    padding: 120px 0;
}
.masterplan-content .section-title{font-size:1.2rem;font-weight:500;color:#222}
.masterplan-table th{font-size:0.8rem;letter-spacing:.05em;color:#333;text-transform:uppercase;border-bottom:1px solid #999}
.masterplan-table td{padding:10px 8px;font-size:0.95rem;color:#222;border-top:1px solid #ddd}
.masterplan-table td:last-child{color:#333;font-weight:normal;text-align:right}

.masterplan-section .inv-eyebrow {
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 14px;
}
.masterplan-section h2 {
    font-family: 'Futura Std';
    font-weight: 400;
    margin-bottom: 15px;
}
.masterplan-table th {
    background-color: transparent;
    border:none;
    font-weight: 400;
}
.masterplan-table td {
    border-bottom: 1px solid #3c261b;
    background: #eee4dd;
    font-weight: 400;
}
.mainpnofts {
    
}
.text-transform-uppercase {
    text-transform: uppercase!important;
}
.text-transform-none {
    text-transform: none!important;
}
/* Distâncias — tabela */
.distances-table td{background: #eee4dd; padding:12px 8px;font-size:1rem;color:#222;vertical-align:middle;border-top:1px solid rgba(0,0,0,.35);}
.distances-table tr:first-child td{border-top:1px solid rgba(0,0,0,.35);}
.distances-table td.num{width:44px;opacity:.9}
.distances-table td.time{text-align:right;white-space:nowrap;opacity:.9}

#project-invert {
    padding-bottom: 120px;
}
#project-invert .inv-eyebrow {
    font-size: 14px;
    margin-bottom: 15px;   
    text-transform: uppercase; 
 }
 #project-invert h2.inv-title {
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 1px;
 }
 #project-invert .inv-card .inv-copy {
    padding: 20px;
    background-color: #ccc3be;
    color: #3c261b;
    font-weight: 300;
 }
 /* Contacts section */
.contacts-section{background:var(--accent-beige,#efe4da);padding:80px 0;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,0)) 0 0/100% 140px no-repeat,var(--accent-beige,#efe4da);}
.contacts-title{font-weight: 400;
    font-size: 20px;
    letter-spacing: 1px;}
.contacts-intro{max-width:740px;margin:0 auto 36px auto;font-size:1.05rem;line-height:1.8;color:#3a2f2b}
.contacts-form{max-width:760px}
.form-label-underline{display:block;font-size:1.6rem;line-height:1.2;color:#3a2f2b;font-weight:400;margin:0}
.form-control-underline{width:100%;border:none;border-bottom:1px solid rgba(0,0,0,.55);background:transparent;border-radius:0;padding:10px 0 14px 0;outline:none}
.form-control-underline:focus{box-shadow:none;border-bottom:1px solid rgba(0,0,0,.85)}
.select-chevron{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url('data:image/svg+xml;utf8,<svg xmlns=\\'http://www.w3.org/2000/svg\\' width=\\'20\\' height=\\'20\\' viewBox=\\'0 0 24 24\\' fill=\\'none\\' stroke=\\'%23333\\' stroke-width=\\'2\\' stroke-linecap=\\'round\\' stroke-linejoin=\\'round\\'><polyline points=\\'6 9 12 15 18 9\\'></polyline></svg>');background-repeat:no-repeat;background-position:right 2px center;padding-right:28px}
.btn-outline-rounded{
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, .55);
    padding: 10px 50px 8px 50px;
    border-radius: 130px;
    background: transparent;
}
.btn-outline-rounded:hover{border-color:rgba(0,0,0,.85)}


.form-label-underline {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
    color: #3a2f2b;
    font-weight: 400;
    margin: 0;
    
}
footer {
    padding: 80px 0;
    background-color: #3c261b;
    color: #efe4da;
}
.footer-name {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.3rem;
    line-height: 1;
}

.masterplan-table { border-collapse: separate; border-spacing: 0; }
.masterplan-table th { font-weight: 500; font-size: .75rem; letter-spacing:.04em; }
.masterplan-table td { padding: .9rem 1rem; vertical-align: middle; border-top: 1px solid rgba(0,0,0,.08); }
.masterplan-table tr.acc-summary:hover td { background:#f7f3ef; }

.acc-toggle{ width:32px; height:32px; line-height:30px; border-radius:50%; color:#3c261b; border:0px solid rgba(0,0,0,.25); background:#fff; font-weight:400; cursor:pointer; }
.acc-toggle[aria-expanded="true"]{ background:#6e5b52; color:#fff; border-color:#6e5b52; }

.acc-details td{ background:#f3eee9; padding:0; border-top:none; }
.acc-body{ display:none; padding:.75rem 1rem 1rem; }
.acc-list{ list-style:none; margin:0; padding:0; }
.acc-list li{ display:flex; justify-content:space-between; padding:.75rem 0; border-top:1px solid rgba(0,0,0,.08); font-size:.80rem; }
.acc-list li:first-child{ border-top:none; }
.acc-cta{ display:flex; align-items:center; justify-content:space-between; text-decoration:none; text-transform:uppercase; font-weight:600; padding:.9rem 1rem; border-top:0px solid rgba(0,0,0,.12); }
.acc-cta::after{ content:"→"; }

/* Visibilidade desktop vs mobile para masterplan */
.desktop-only{ display:none; }
.mobile-only{ display:table; }
@media (min-width: 992px){
  .desktop-only{ display:table; }
  .mobile-only{ display:none; }
}
.inv-card .img-wrpd {
    position: relative;
}
.inv-card .img-wrpd:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}
.inv-card .img-wrpd h2 {
    color: #f3eee9;
    position: absolute;
    height: 100%;
    width: 100%;
    text-align: center;
    align-items: center;
    top: 0;
    display: flex;
    justify-content: center;
}

/* Galeria Arquitectura - imagem única + overlay */
.arch-single { cursor: pointer; }
.plus-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  border:2px solid white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plus-overlay i { font-size: 28px; color:white; line-height: 1; }
.modal-fullscreen .owl-carousel .item img { display: block; width: 100%; height: auto; }
/* Centro imagens no modal */
#archModal .modal-body { padding: 0; }
#archModal .owl-carousel { height: 100vh; }
#archModal .owl-carousel .item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
#archModal .owl-carousel .item img {
  display: block;
  width: auto !important;
  max-width: 100vw;
  max-height: 90vh;
  height: auto;
  margin: auto;
}
#archModal .btn-close {
    z-index: 9999999;
}
/* Ocultar/mostrar navbar consoante scroll */
.navbar { transition: transform .25s ease, background-color .3s ease, box-shadow .3s ease; }
.navbar.nav-hide { transform: translateY(-100%); }
.navbar .navbar-brand.text-dark {
    color: #3c261b !important;   
}
.darerinc  {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(60, 38, 27, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")!important;
    }
    .navbar-toggler:focus {
      box-shadow: none!important
    }
    
    select {
      -webkit-tap-highlight-color: transparent;
    }
    select:focus {
      outline: none;
      box-shadow: none;
    }
    select {
      color: #000; /* cor do texto normal */
    }
    
    select option {
      color: #000; /* força cor nas opções */
    }
    
    select:invalid {
      color: #999; /* placeholder cinzento, se quiseres */
    }
    
    .btn-outline-rounded {
      color: #3c261b !important;   
      font-weight: 400
    }
    
    /* Só arrastar na horizontal dentro da galeria */
    #archModal .architecture-carousel { touch-action: pan-x !important; }
    
    /* Evitar scroll/propagação vertical indesejada */
    #archModal .modal-body { overscroll-behavior: contain; }
    
    /* Impedir drag nativo do browser nas imagens */
    #archModal .architecture-carousel img {
      -webkit-user-drag: none;
      user-drag: none;
    }
    
    /* Aerial view modal */
    .aerial-wrap{height:100vh;width:100vw;overflow:hidden}
    .aerial-img{height:100%;width:100%;object-fit:cover;display:block}
    .aerial-close{
      position:fixed;top:12px;right:12px;z-index:1056;
      background:#fff;color:#000;border:0;border-radius:20px;
      padding:8px 12px;font-weight:700;line-height:1;cursor:pointer
    }
    /* remove qualquer espaçamento do modal */
    #aerialModal .modal-dialog,
    #aerialModal .modal-content{margin:0}