/* ============================================================
   VK Arquitetos - Replica CSS
   ============================================================ */

/* ---------- FONTES EXTERNAS ---------- */
/* DM Sans e fontes legado carregadas via <link> no HTML */
/* Clash Display carregada via @font-face abaixo          */

/* ---------- CLASH DISPLAY (arquivos locais) ---------- */
@font-face {
    font-family: 'Clash Display';
    src: url('../fonts/ClashDisplay-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('../fonts/ClashDisplay-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('../fonts/ClashDisplay-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- RESET / BASE ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/*
 * Atribuição de fontes:
 * body, h4, h5, h6 → DM Sans (peso 400)
 * h1, h2, h3       → Clash Display (títulos de destaque grandes)
 * button, .button, .btn → DM Sans (peso 600, uppercase)
 * .projects .card h3, .footer h3 → DM Sans (exceção de especificidade)
 */
body,
h4,
h5,
h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}

h1,
h2,
h3 {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
}

/* Botões — peso mais forte, uppercase */
button,
.button,
.btn {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Exceção: h3 dos cards de projeto e footer usam DM Sans */
.projects .card h3,
.footer h3 {
    font-family: 'DM Sans', sans-serif !important;
}

body {
    background: #F8F6F2;
    color: #111;
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

body.home {
    background: #A97146;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- PRELOADER ---------- */
#preloader {
    position: fixed;
    inset: 0;
    background: #F8F6F2;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

body.home #preloader {
    background: #A97146;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.loader {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: #a47044;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- SCROLL TO TOP ---------- */
.progress-wrap {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.progress-wrap.visible {
    opacity: 1;
    visibility: visible;
}

.progress-circle {
    transform: rotate(-90deg);
}

.progress-circle path {
    fill: none;
    stroke: #a47044;
    stroke-width: 4;
    stroke-dasharray: 307;
    stroke-dashoffset: 307;
    transition: stroke-dashoffset 0.2s;
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.4s, padding 0.4s, box-shadow 0.4s, border-color 0.4s;
}

.navbar.scrolled {
    background: rgba(248, 246, 242, 0.75);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo — original: width: 250px (exato do CSS do site) */
.logo-img {
    width: 250px;
    height: auto;
    transition: opacity 0.3s;
}

.logo-dark {
    display: block;
}

.logo-light {
    display: none;
}

.navbar.scrolled .logo-dark {
    display: none !important;
}

.navbar.scrolled .logo-light {
    display: block !important;
}

/* Nav links — original: text-transform uppercase, DM Sans */
.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-menu li[style*="display:none"],
.nav-menu li[style*="display: none"],
.nav-menu li:has(a[href*="projetos.html"]),
.nav-menu a[href*="projetos.html"] {
    display: none !important;
}

.nav-menu li a {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    /* original: .navbar .navbar-nav .nav-link { text-transform: uppercase } */
    color: #fff;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
}

.nav-menu li.active a,
.nav-menu li a:hover {
    color: #a47044;
}

.navbar.scrolled .nav-menu li a {
    color: #111;
}

.navbar.scrolled .nav-menu li.active a,
.navbar.scrolled .nav-menu li a:hover {
    color: #a47044;
}

/* Navbar sólida das páginas de projeto: fundo branco, links escuros, logo escura visível */
.navbar.navbar-solid {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.navbar.navbar-solid .nav-menu li a {
    color: #111;
}
.navbar.navbar-solid .nav-menu li.active a,
.navbar.navbar-solid .nav-menu li a:hover {
    color: #a47044;
}
.navbar.navbar-solid .logo-dark {
    display: block;
}
.navbar.navbar-solid .nav-toggle span {
    background: #111;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    transition: background 0.3s, transform 0.3s, opacity 0.3s;
}

.navbar.scrolled .nav-toggle span {
    background: #111;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO SLIDER ---------- */
/* .bdevs-slider-header equivalente */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* .bdevs-slide-item equivalente */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide.prev {
    opacity: 0;
    z-index: 1;
}

/* .bdevs-slide-video-background equivalente */
.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.slide-video::-webkit-media-controls {
    display: none !important;
}

/* .bdevs-slide-overlay equivalente */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    /* original: rgba(0, 0, 0, 0.5) */
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* original: col-md-7 — máximo de ~58% de largura */
.slide-inner {
    max-width: 600px;
}

/* .bdevs-slide-subheading — original: 12px, letter-spacing 1px, uppercase, rgba(255,255,255,0.8) */
.slide-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255);
    margin-bottom: 10px;
}

/* .bdevs-slide-heading — hero grande como no original (~120px desktop) */
.slide-heading {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-size: 120px;
    font-weight: 200;
    line-height: 0.95;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
}

/* .bdevs-slide-description — original: 15px, line-height 1.6, max-width 500px */
.slide-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 500px;
}

/* .bdevs-slide-button.button-light — original: 14px, 12px 30px, radius 30px */
.btn-outline {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* Slider UI — .bdevs-slide-num: bottom 45px, left 5% */
.slider-num {
    position: absolute;
    bottom: 45px;
    left: 5%;
    z-index: 10;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

/* .owl-nav: bottom 40px, right 5% */
.slider-nav {
    position: absolute;
    bottom: 40px;
    right: 5%;
    z-index: 10;
    display: flex;
    gap: 10px;
}

/* .owl-prev / .owl-next: 40px, radius 50%, border rgba(255,255,255,0.5) */
.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* .bdevs-slider-progress: height 2px, rgba(255,255,255,0.2) */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 9;
}

.slider-progress-bar {
    display: block;
    height: 100%;
    background: #ffffff;
    width: 0%;
    transition: width linear;
}

/* ---------- PROJECTS SECTION ---------- */
/* section-padding no tema Archsan ≈ 120px 0 */
.projects-section {
    padding: 120px 0;
    background: #F8F6F2;
}

body.home .projects-section {
    background: #A97146;
}

.projects-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* col-md-4 / col-md-8 do original */
    gap: 40px;
    margin-bottom: 60px;
    /* mb-5 Bootstrap ≈ 48px; 60px é próximo */
    align-items: start;
}

/* .sub-title.border-bot-light — original: pequeno, uppercase, borda inferior leve */
.sub-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1b1b1b;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/*
 * .section-title — original: DM Sans (listado explicitamente no original como DM Sans).
 * Tamanho: 70px desktop (regra .title no original)
 */
.section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 36px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.5em;
    letter-spacing: 3px;
    word-spacing: 5px;
    color: #111;
    margin-bottom: 20px;
}

/* O span "PROJETOS" tem cor igual ao fundo, ficando invisível (igual ao original) */
.projects-header .section-title {
    color: #F8F6F2;
}

body.home .projects-header .section-title {
    color: #ffffff;
}

.projects-header-right p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    /* original: color: #000 */
    max-width: 560px;
    line-height: 1.75;
}

/* Project Rows — col-md-8 / col-md-4 equivalente: razão 2:1 */
.project-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
    /* mt-120 do original */
}

.project-row--reverse {
    grid-template-columns: 1fr 2fr;
}

.project-row--reverse .project-info {
    order: -1;
}

.project-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.project-img a {
    overflow: hidden;
    display: block;
}

.project-img a:hover img {
    transform: scale(1.04);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
}

/* h6 dos projetos — DM Sans, pequeno */
.project-sub {
    display: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
}

/* h3 dos projetos — .projects3 .content .cont h3 → DM Sans no original */
.project-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.project-name a {
    color: #000;
    transition: opacity 0.3s;
}

.project-name a:hover {
    opacity: 0.6;
}

/* .project-type2-single — original: color: var(--text-color-dark) = #000, font-weight: normal */
.project-cat {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #000;
    font-weight: normal;
}

/* .link-btn — original: cor preta, uppercase */
.link-btn {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    padding-bottom: 3px;
    border-bottom: 1px solid #000;
    transition: opacity 0.3s;
    margin-top: 6px;
    width: fit-content;
}

.link-btn:hover {
    opacity: 0.5;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- YOUTUBE SECTION ---------- */
.youtube-section {
    padding: 120px 0;
    margin: 0;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../vk_site_oficial/midias/03_4k-1-scaled.webp');
    background-size: cover;
    background-position: center 58%;
    background-attachment: fixed;
}

.yt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* "ENTENDA NOSSO PROCESSO" — h6 pequeno */
.section-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 14px;
}

/* "ASSISTA NOSSO CANAL" — título da seção, branco sobre foto */
.yt-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 36px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    word-spacing: 5px;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.5em;
}

.yt-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75em;
    margin-bottom: 32px;
}

/* Botão "Acessar canal" — cor terracota do tema no original */
.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #a47044;
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid #a47044;
    transition: all 0.3s;
}

.btn-dark:hover {
    background: transparent;
    color: #a47044;
    border: 1px solid #a47044;
}

.btn-dark:hover svg {
    fill: #a47044;
}

.btn-dark svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    flex-shrink: 0;
}

.yt-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ---------- CONTACT SECTION ---------- */
/*
 * Original: .lets-talk .background.bg-img.bg-fixed
 * Background: imagem 0Z7A8586-2.jpg com overlay escuro data-overlay-dark="6" (60% preto)
 * Efeito visual: praticamente #1a1a1a, mas com textura de imagem sutil
 */
.contact-section {
    position: relative;
    padding: 120px 0;
    background-color: #1a1a1a;
    background-image: url('../vk_site_oficial/midias/0Z7A8586-2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* bg-fixed do original */
}

/* Overlay 60% preto — data-overlay-dark="6" */
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* col-md-4 / col-md-8 */
    gap: 60px;
    align-items: start;
}

/* "solicite um orçamento" — .sub-title.border-bot-dark */
.contact-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/*
 * "Entre em contato" — .section-title no original.
 * Usa DM Sans (conforme regra .section-title no original),
 * mas como é um h2, Clash Display tem precedência pelo seletor h1/h2/h3.
 * Tamanho: 70px (regra .title do original)
 */
.contact-title {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-size: 70px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

.contact-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.6;
}

.form-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 160px;
}

.form-group--lg {
    flex: 2.5;
}

.form-group--md {
    flex: 1.5;
}

.form-group--sm {
    flex: 0 0 auto;
}

/* Inputs .line-gray */
.contact-form input[type="text"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    padding: 12px 0;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'DM Sans', sans-serif;
}

.contact-form input[type="text"]:focus {
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* Submit button */
.btn-send {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-send:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Privacy checkbox */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    accent-color: #a47044;
}

.form-check a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #A47044;
    color: #ffffff;
}

body.home .footer {
    background: #A97146;
}

.footer-top {
    padding: 35px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
}

.footer-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-block;
}

.footer-phone {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-contact-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-contact-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.footer-phone-sep {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.5);
}

/* Botão WhatsApp */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    border: none;
    transition: background 0.3s ease;
}

.btn-whatsapp:hover {
    background: #222222;
    color: #ffffff;
}

/* Social icons */
.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.social-link {
    width: 28px;
    height: 28px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link svg {
    width: 14px;
    height: 14px;
    fill: #ffffff;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p,
.footer-bottom a {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Crédito Fidion */
.footer-dev {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    letter-spacing: 0.03em;
}

.footer-fidion-link {
    font-weight: 600 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.footer-fidion-link:hover {
    opacity: 0.75;
}


.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    width: 54px;
    height: 54px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* ============================================================
   RESPONSIVE — exatos breakpoints do original
   ============================================================ */

/* 991px — @media (max-width: 991px) do original */
@media (max-width: 991px) {
    .container {
        padding: 0 24px;
    }

    /* Slider — original: 38px */
    .slide-heading {
        font-size: 38px;
    }

    .slide-desc {
        font-size: 14px;
        margin-bottom: 25px;
        max-width: 90%;
    }

    .btn-outline {
        padding: 10px 25px;
        font-size: 13px;
    }

    .slider-num {
        left: 50%;
        transform: translateX(-50%);
    }

    .slider-nav {
        right: 50%;
        transform: translateX(50%);
        gap: 15px;
    }

    .projects-section {
        padding: 80px 0;
    }

    .project-row,
    .project-row--reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-row--reverse .project-info {
        order: 0;
    }

    .projects-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    /* Títulos */
    .section-title {
        font-size: 48px;
    }

    .contact-title {
        font-size: 48px;
    }

    .yt-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .youtube-section {
        padding: 80px 0;
        /* background-attachment: fixed falha no iOS/Android */
        background-attachment: scroll;
    }

    .contact-section {
        padding: 80px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* 768px — @media (max-width: 768px) do original */
@media (max-width: 768px) {

    /* Mobile nav */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(248, 246, 242, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li a {
        color: #111;
        font-size: 13px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    /* Slider — original: 28px em 767px */
    .slide-inner {
        text-align: center;
        margin: 0 auto;
    }

    .slide-sub {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .slide-heading {
        font-size: 36px;
        line-height: 1.05;
        margin-bottom: 16px;
    }

    .slide-desc {
        font-size: 15px;
        line-height: 1.5;
        margin: 0 auto 24px auto;
        max-width: 100%;
    }

    .btn-outline {
        padding: 12px 28px;
        font-size: 14px;
    }

    .slider-nav {
        bottom: 15px;
    }

    .slider-num {
        bottom: 20px;
    }

    .project-row {
        margin-bottom: 60px;
    }

    /* Títulos — original: 32px em 768px */
    .section-title {
        font-size: 32px;
    }

    .contact-title {
        font-size: 32px;
    }

    .yt-title {
        font-size: 24px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group--sm {
        width: 100%;
        margin-top: 16px;
    }

    .btn-send {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact-section {
        background-attachment: scroll;
    }

    /* mobile: sem fixed */
}

/* 480px — @media (max-width: 480px) do original */
@media (max-width: 480px) {

    /* Títulos — original: 24px em 480px */
    .slide-heading {
        font-size: 32px;
    }

    .slide-desc {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .contact-title {
        font-size: 24px;
    }

    .yt-title {
        font-size: 20px;
    }

    .logo-img {
        width: 170px;
    }
}

/* ============================================================
   PÁGINAS INTERNAS — banner, sobre, serviços, projetos, contato
   ============================================================ */

/* ---------- PAGE BANNER HEADER ---------- */
/* Equivalente ao .banner-header do tema Archsan */
.page-banner {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 360px;
    max-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
}

/* .subtitle no original */
.banner-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

.banner-sub::before {
    content: "• ";
    color: #a47044;
    font-weight: bold;
    margin-right: 4px;
}

/* h1 do banner header */
.banner-title {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-size: 80px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}

/* ---------- NAV ACTIVE LINK ---------- */
.nav-menu li.active>a::after {
    width: 100%;
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
    padding: 120px 0;
    background: #F8F6F2;
}

.about-wrapper {
    position: relative;
}

.about-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.about-image-float {
    float: right;
    width: 44%;
    margin-left: 60px;
    margin-bottom: 24px;
}

.about-image-float img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text-content .sub-label {
    margin-bottom: 32px;
}

.about-body p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-body p strong {
    color: #111;
    font-weight: 600;
}

.about-name-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-top: 16px;
    text-align: center;
}

/* ---------- SERVICES SECTION ---------- */
/* Equivalente ao .services.section-padding do Archsan */
.services-section {
    padding: 120px 0;
    background: #F8F6F2;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-item {
    position: relative;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

/* Camada branca por cima da foto — some no hover, revelando a imagem */
.service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.service-item:hover::after {
    opacity: 0;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.service-item:hover .service-overlay {
    opacity: 1;
}

.service-content {
    position: relative;
    z-index: 3;
    padding: 38px 42px;
    color: #1b1b1b;
    width: 100%;
    transition: color 0.4s ease;
}

.service-content a {
    color: inherit;
    display: block;
}

/* Número dos serviços */
.service-num {
    font-family: 'Oswald', 'DM Sans', sans-serif;
    font-size: 40px;
    line-height: 1;
    font-weight: 400;
    color: transparent;
    -webkit-text-stroke: 1px #a47044;
    margin-bottom: 18px;
    transition: -webkit-text-stroke 0.4s ease;
}

.service-item:hover .service-num {
    -webkit-text-stroke: 1px #fff;
}

.service-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    color: inherit;
}

.service-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: inherit;
    max-width: 420px;
}

/* No hover, a foto aparece e o texto fica branco */
.service-item:hover .service-content {
    color: #fff;
}

/* ---------- PROJECTS FILTER ---------- */
.projects-filter {
    margin-bottom: 60px;
    text-align: center;
}

.filter-select {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px 32px 10px 0;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    min-width: 280px;
}

/* ---------- CONTACT HERO (página Contato) ---------- */
.contact-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.contact-hero-bg .banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.contact-hero-bg .banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.contact-info-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.contact-info-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.contact-info-value a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
}

.contact-info-value a:hover {
    color: #fff;
}

/* ---------- CONTACT PAGE MAIN SECTION ---------- */
.contact-page-section {
    padding: 100px 0 120px;
    background: #F8F6F2;
}

.contact-page-grid {
    display: block;
}

.contact-page-col {
    max-width: 100%;
}

.contact-numbers {
    font-family: 'DM Sans', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.contact-numbers a {
    color: inherit;
    transition: color 0.3s ease;
}

.contact-numbers a:hover {
    color: #A47044;
}

.contact-numbers .sep {
    margin: 0 4px;
    color: #A47044;
}

.contact-email {
    font-family: 'DM Sans', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.contact-email a {
    color: inherit;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: #A47044;
}

.btn-whatsapp-pill {
    display: inline-block;
    background: #A47044;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 28px;
    border-radius: 25px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp-pill:hover {
    background: #8c5d35;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
    .contact-page-col {
        grid-column: 1;
    }
    .contact-numbers,
    .contact-email {
        font-size: 18px;
    }
}

/* ============================================================
   RESPONSIVE — páginas internas
   ============================================================ */

@media (max-width: 991px) {
    .banner-title {
        font-size: 56px;
    }

    .about-image-float {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        min-height: 260px;
    }

    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-boxes {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 40px;
    }

    .page-banner {
        height: 45vh;
        min-height: 300px;
        max-height: 360px;
    }

    .about-section,
    .services-section {
        padding: 80px 0;
    }

    .contact-info-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 30px;
    }
}

/* ============================================================
   PROJETOS INTERNAS — Tipografia e Estilos Globais
   ============================================================ */

.project-page {
    font-family: 'DM Sans', sans-serif !important;
    color: #1b1b1b !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    background: #F8F6F2 !important;
}

.project-page h1, 
.project-page h2, 
.project-page h3, 
.project-page h4 {
    font-family: 'Clash Display', 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    line-height: 1.25 !important;
}

.project-page h2 { font-size: 32px !important; }
.project-page h3 { font-size: 26px !important; }
.project-page h4 { font-size: 22px !important; }

.project-page p,
.project-page td > span,
.project-page span[style*="font-weight"] {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: #2b2b2b !important;
    display: block !important;
    margin-bottom: 22px !important;
}

body.single-project2 table {
    border-collapse: collapse !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 40px !important;
}

body.single-project2 table tr {
    height: auto !important;
}

body.single-project2 table td {
    vertical-align: top !important;
    padding: 15px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: #2b2b2b !important;
    height: auto !important;
}

body.single-project2 table td .sticky-text-wrapper {
    position: sticky !important;
    top: 100px !important;
    z-index: 2 !important;
}

body.single-project2 table img {
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: transform 0.2s ease-in-out !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 15px !important;
}

body.single-project2 table img:hover {
    transform: scale(1.01) !important;
}

/* ============================================================
   HEADER & NAVBAR PARA PÁGINAS DE PROJETOS (single-project2)
   ============================================================ */

/* Navbar para projetos SEM dark: bege sólido sempre visível */
body.single-project2:not(.dark) .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    padding: 16px 0 !important;
    background: rgba(248, 246, 242, 0.96) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Navbar para projetos dark: transparente no topo, escura ao rolar */
body.single-project2.dark .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    padding: 28px 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease !important;
}

body.single-project2.dark .navbar.scrolled {
    background: rgba(16, 16, 16, 0.90) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 2px 28px rgba(0, 0, 0, 0.55) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 16px 0 !important;
}

body.single-project2 .navbar .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

body.single-project2 .navbar .logo-img {
    width: 220px !important;
    height: auto !important;
    display: block !important;
}

/* Logo: projetos light (logo escura sobre fundo bege) */
body.single-project2:not(.dark) .navbar .logo-dark {
    display: block !important;
    filter: none !important;
}

/* Logo: projetos dark (logo branca sobre fundo transparente/escuro) */
body.single-project2.dark .navbar .logo-dark {
    display: block !important;
    filter: brightness(0) invert(1) !important;
}

body.single-project2 .navbar .logo-light {
    display: none !important;
}

body.single-project2 .navbar .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    gap: 36px !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-project2 .navbar .nav-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-project2 .navbar .nav-menu li[style*="display:none"],
body.single-project2 .navbar .nav-menu li[style*="display: none"],
body.single-project2 .navbar .nav-menu li:has(a[href*="projetos.html"]) {
    display: none !important;
}

/* Links: projetos light */
body.single-project2:not(.dark) .navbar .nav-menu li a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    color: #111 !important;
    text-decoration: none !important;
    padding-bottom: 4px !important;
    transition: color 0.3s !important;
}

body.single-project2:not(.dark) .navbar .nav-menu li a:hover,
body.single-project2:not(.dark) .navbar .nav-menu li.active a {
    color: #a47044 !important;
}

/* Links: projetos dark — brancos no topo, bege suave ao rolar */
body.single-project2.dark .navbar .nav-menu li a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding-bottom: 4px !important;
    transition: color 0.3s !important;
}

body.single-project2.dark .navbar.scrolled .nav-menu li a {
    color: #e8e4de !important;
}

body.single-project2.dark .navbar .nav-menu li a:hover,
body.single-project2.dark .navbar .nav-menu li.active a,
body.single-project2.dark .navbar.scrolled .nav-menu li a:hover,
body.single-project2.dark .navbar.scrolled .nav-menu li.active a {
    color: #a47044 !important;
}

/* Hambúrguer Mobile */
body.single-project2 .navbar .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

/* Hambúrguer: projetos light — traços escuros */
body.single-project2:not(.dark) .navbar .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hambúrguer: projetos dark — traços brancos */
body.single-project2.dark .navbar .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 991px) {
    body.single-project2 .navbar .nav-toggle {
        display: flex !important;
    }

    /* Menu mobile: projetos light */
    body.single-project2:not(.dark) .navbar .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: #F8F6F2 !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 28px !important;
        padding: 40px !important;
        box-shadow: -5px 0 25px rgba(0,0,0,0.15) !important;
        transition: right 0.4s ease !important;
        z-index: 1000 !important;
    }

    body.single-project2:not(.dark) .navbar .nav-menu.active,
    body.single-project2:not(.dark) .navbar .nav-menu.open {
        right: 0 !important;
    }

    /* Menu mobile: projetos dark */
    body.single-project2.dark .navbar .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: #141414 !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 28px !important;
        padding: 40px !important;
        box-shadow: -5px 0 25px rgba(0,0,0,0.6) !important;
        transition: right 0.4s ease !important;
        z-index: 1000 !important;
    }

    body.single-project2.dark .navbar .nav-menu.active,
    body.single-project2.dark .navbar .nav-menu.open {
        right: 0 !important;
    }

    /* Hamburger: projetos dark */
    body.single-project2.dark .navbar .nav-toggle span {
        background: #ffffff !important;
    }

    /* FIX menu mobile preso na tela: a regra geral (max-width: 768px) define
       left: 0, que anula o right: -100% acima e deixava o menu sempre visível.
       Fechado, o menu também fica invisível e fora do alcance do toque. */
    body.single-project2.dark .navbar .nav-menu,
    body.single-project2:not(.dark) .navbar .nav-menu {
        left: auto !important;
        visibility: hidden !important;
        transition: right 0.4s ease, visibility 0s linear 0.4s !important;
    }

    body.single-project2.dark .navbar .nav-menu.open,
    body.single-project2.dark .navbar .nav-menu.active,
    body.single-project2:not(.dark) .navbar .nav-menu.open,
    body.single-project2:not(.dark) .navbar .nav-menu.active {
        visibility: visible !important;
        transition: right 0.4s ease, visibility 0s linear 0s !important;
    }

    /* Ícone ☰ vira X quando o menu está aberto (traços a 8px de distância) */
    body.single-project2 .navbar .nav-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    body.single-project2 .navbar .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    body.single-project2 .navbar .nav-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ============================================================
   CONTENT LINES — LINHAS VERTICAIS DE DESTAQUE ARQUITETÔNICO
   ============================================================ */
.content-lines-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.content-lines-inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.content-lines {
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 100%;
    border-left: 1px solid rgba(0, 0, 0, 0.04);
    border-right: 1px solid rgba(0, 0, 0, 0.04);
}

.content-lines::before,
.content-lines::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(0, 0, 0, 0.04);
}

.content-lines::before {
    left: 33.333%;
}

.content-lines::after {
    left: 66.666%;
}

/* Content-lines no tema dark: linhas brancas e sutis (replicando o site original) */
body.dark .content-lines {
    border-left: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.dark .content-lines::before,
body.dark .content-lines::after {
    background: rgba(255, 255, 255, 0.06) !important;
}

/* ============================================================
   DARK THEME — Páginas de Projeto (body.dark)
   ============================================================ */

body.dark {
    background: #141414 !important;
    color: #e8e4de !important;
}

/* Preloader escuro */
body.dark #preloader {
    background: #141414 !important;
}

body.dark .loader {
    border-color: rgba(255, 255, 255, 0.1) !important;
    border-top-color: #a47044 !important;
}

/* Navbar: no topo — totalmente transparente, links e logo brancos */
body.dark .navbar {
    background: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.0) !important;
    box-shadow: none !important;
}

/* Navbar: ao rolar — fundo escuro fosco seguindo a paleta dark */
body.dark .navbar.scrolled {
    background: rgba(18, 18, 18, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Links — brancos tanto no topo quanto ao rolar (paleta dark) */
body.dark .nav-menu li a {
    color: #ffffff !important;
}

body.dark .nav-menu li.active a,
body.dark .nav-menu li a:hover {
    color: #a47044 !important;
}

body.dark .navbar.scrolled .nav-menu li a {
    color: #e8e4de !important;
}

body.dark .navbar.scrolled .nav-menu li.active a,
body.dark .navbar.scrolled .nav-menu li a:hover {
    color: #a47044 !important;
}

/* Logo — branca em ambos os estados */
body.dark .logo-dark {
    display: block !important;
    filter: brightness(0) invert(1) !important;
}

body.dark .logo-light {
    display: none !important;
}

body.dark .navbar.scrolled .logo-dark {
    display: block !important;
    filter: brightness(0) invert(1) !important;
}

/* Hambúrguer — branco */
body.dark .nav-toggle span {
    background: #ffffff !important;
}

body.dark .navbar.scrolled .nav-toggle span {
    background: #e8e4de !important;
}

/* Scroll to top escuro */
body.dark .progress-circle path {
    stroke: #a47044 !important;
}

/* Seção de projeto — Legibilidade e Contraste Nítido */
body.dark,
body.single-project2 {
    background: #141414 !important;
    color: #F5F5F5 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.dark .project-page,
body.single-project2 .project-page {
    background: #141414 !important;
    color: #F5F5F5 !important;
    font-size: 17px !important;
    line-height: 1.85 !important;
}

body.dark .project-page h1,
body.dark .project-page h2,
body.dark .project-page h3,
body.dark .project-page h4,
body.dark .project-page h5,
body.dark .project-page h6,
body.single-project2 h1,
body.single-project2 h2,
body.single-project2 h3,
body.single-project2 h4,
body.single-project2 h5,
body.single-project2 h6 {
    color: #FFFFFF !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
}

body.dark .project-page p,
body.dark .project-page span,
body.dark .project-page div,
body.dark .project-page li,
body.single-project2 p,
body.single-project2 span,
body.single-project2 div,
body.single-project2 li {
    color: #F5F5F5 !important;
    font-size: 17px !important;
    line-height: 1.85 !important;
}

body.dark .project-page strong,
body.dark .project-page b,
body.single-project2 strong,
body.single-project2 b {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* Table no dark */
body.single-project2 table td,
body.single-project2 table td > span,
body.single-project2 table td p,
body.dark table td,
body.dark table td > span,
body.dark table td p {
    color: #F5F5F5 !important;
    font-size: 17px !important;
    line-height: 1.85 !important;
}

/* ============================================================
   BANNER HEADER — TITULO DOS PROJETOS (idêntico ao site original)
   ============================================================ */
.banner-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 200px 0 120px 0;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.banner-header .container {
    position: relative;
    z-index: 2;
}

.banner-header .subtitle {
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 14px !important;
    font-family: 'DM Sans', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.banner-header .subtitle::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #a47044;
    border-radius: 1px;
}

.banner-header .title {
    font-family: 'Clash Display', 'DM Sans', sans-serif !important;
    font-size: clamp(36px, 5.5vw, 68px) !important;
    color: #FFFFFF !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

/* ============================================================
   RESPONSIVIDADE COMPLETA — IMAGENS, VÍDEOS E TABELAS DE PROJETOS
   ============================================================ */

/* 1. VÍDEOS E EMBEDS RESPONSIVOS */
.video-responsive,
.project-page .video-container,
.project-page .video-wrapper {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 56.25% !important; /* Proporção 16:9 perfeita */
    height: 0 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    margin: 35px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    background: #000000 !important;
}

/* Só posiciona em absoluto quem está dentro de um contêiner responsivo.
   Antes esta regra pegava qualquer iframe da página: um embed solto virava
   position:absolute sem ancestral posicionado e cobria o site inteiro. */
.video-responsive iframe,
.video-responsive video,
.video-responsive embed,
.project-page .pj-video iframe,
.project-page .pj-video video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 12px !important;
    object-fit: cover !important;
}

/* Rede de segurança: embed solto continua no fluxo, em 16:9 */
.project-page iframe,
.project-page video {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
}

/* Video de fundo do Banner */
.banner-header video.bg-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

/* 2. IMAGENS RESPONSIVAS E EFEITOS DE HOVER */
.project-page img,
body.single-project2 table img,
.project-page table img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    margin-bottom: 20px !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease !important;
}

.project-page img:hover,
body.single-project2 table img:hover {
    transform: scale(1.015) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
}

/* Floats de imagens adaptativos */
.project-page img.aligncenter,
body.single-project2 table img.aligncenter {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

.project-page img.alignleft,
body.single-project2 table img.alignleft {
    float: left !important;
    margin-right: 24px !important;
    margin-bottom: 24px !important;
    max-width: 48% !important;
}

.project-page img.alignright,
body.single-project2 table img.alignright {
    float: right !important;
    margin-left: 24px !important;
    margin-bottom: 24px !important;
    max-width: 48% !important;
}

/* 3. TABELAS DE LAYOUT E CONTAINER RESPONSIVO */
body.single-project2 table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 40px !important;
    table-layout: fixed !important;
}

body.single-project2 table tr {
    height: auto !important;
}

body.single-project2 table td {
    vertical-align: top !important;
    padding: 16px !important;
    height: auto !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Remover o comportamento de sticky que fazia imagens e textos flutuarem e sobreporem fotos em outras linhas ao rolar */
body.single-project2 table td .sticky-text-wrapper,
.sticky-text-wrapper {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
}

/* 4. MEDIA QUERIES PARA ADAPTAÇÃO PERFEITA EM DISPOSITIVOS (MÓVEIS E TABLETS) */
@media (max-width: 991px) {
    .banner-header {
        padding: 160px 0 90px 0 !important;
        min-height: 400px !important;
    }
    
    body.single-project2 table td {
        padding: 10px !important;
    }

    .project-page img.alignleft,
    .project-page img.alignright,
    body.single-project2 table img.alignleft,
    body.single-project2 table img.alignright {
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    body.dark .nav-menu {
        background: #141414 !important;
    }

    .banner-header {
        padding: 120px 0 60px 0 !important;
        min-height: 320px !important;
    }
    
    .banner-header .subtitle {
        font-size: 11px !important;
        letter-spacing: 2px !important;
        margin-bottom: 8px !important;
    }
    
    .banner-header .title {
        font-size: clamp(24px, 7vw, 36px) !important;
        letter-spacing: 1px !important;
    }
    
    /* Converter tabelas em layout de 1 coluna em telas de celular */
    body.single-project2 table,
    body.single-project2 table tbody,
    body.single-project2 table tr,
    body.single-project2 table td {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 0 20px 0 !important;
        box-sizing: border-box !important;
    }
    
    body.single-project2 table td .sticky-text-wrapper {
        position: static !important;
    }
    
    /* Resetar floats no mobile */
    .project-page img.alignleft,
    .project-page img.alignright,
    body.single-project2 table img.alignleft,
    body.single-project2 table img.alignright {
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .video-responsive,
    .project-page .video-container,
    .project-page .video-wrapper {
        margin: 20px 0 !important;
        border-radius: 8px !important;
    }
}


/* ============================================================
   BOTÃO LOGIN (menu) — leva para a plataforma em app.vkarquitetos.com.br
   Usa a mesma cor do texto do menu em cada contexto (branco sobre o
   banner, escuro ao rolar, claro nas páginas de projeto). O #navMenu
   garante prioridade sobre as regras !important das páginas de projeto.
   ============================================================ */
#navMenu li.nav-login > a.nav-login-btn {
    display: inline-block !important;
    padding: 9px 22px !important;
    border: 1px solid currentColor !important;
    border-radius: 30px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.3s, border-color 0.3s, color 0.3s !important;
}

#navMenu li.nav-login > a.nav-login-btn:hover,
#navMenu li.nav-login > a.nav-login-btn:focus-visible {
    background: #a47044 !important;
    border-color: #a47044 !important;
    color: #fff !important;
}

/* Menu mobile aberto: um respiro acima do botão */
#navMenu.open li.nav-login,
#navMenu.active li.nav-login {
    margin-top: 12px !important;
}

/* Tablet (769–991px): menu ainda horizontal — aperta o espaçamento para o
   botão Login caber sem encostar no logo */
@media (min-width: 769px) and (max-width: 991px) {
    .nav-menu {
        gap: 22px;
    }
    #navMenu li.nav-login > a.nav-login-btn {
        padding: 9px 16px !important;
    }
}
