/* ==========================================================================
   MEGALEDS - RESET, VARIABLES & OVERRIDES
   ========================================================================== */
:root {
    /* Cores Premium */
    --c-ice: #FCFCFC;
    --c-gray: #F5F5F5;
    --c-gray-dark: #EAEAEA;
    --c-dark: #0A0A0A;
    --c-beige: #DDB864; 
    --c-text-dark: #1A1A1A;
    --c-text-light: #666666;
    --c-white: #FFFFFF;
    
    /* Tipografia Refinada */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Cormorant Garamond', serif; 
    --font-logo: 'Montserrat', sans-serif; 
    
    /* Espaçamentos e Transições */
    --space-sm: clamp(1rem, 3vw, 2rem);
    --space-md: clamp(3rem, 6vw, 5rem);
    --space-lg: clamp(5rem, 10vw, 8rem);
    --space-xl: clamp(6rem, 12vw, 10rem);
    
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Básico */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: auto;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--c-ice);
    color: var(--c-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a, button { text-decoration: none; color: inherit; background: none; border: none; cursor: pointer; transition: var(--transition); }
ul { list-style: none; }

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.title-serif {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.title-serif em { 
    font-style: italic; 
    color: var(--c-beige); 
    font-weight: 300;
}

.eyebrow {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}
.eyebrow-light { color: rgba(255,255,255,0.6); }

.subtitle-delicate {
    font-size: 1.1rem;
    color: var(--c-text-light);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.section { padding: var(--space-xl) 0; }
.bg-gray { background-color: var(--c-gray); }
.bg-dark { background-color: var(--c-dark); color: var(--c-white); }
.text-center { text-align: center; }

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* Logo Moderna e Limpa */
.logo {
    font-family: var(--font-logo);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--c-dark); 
    text-transform: uppercase;
    letter-spacing: 0.18em;
    position: relative;
    z-index: 1001;
    transition: color 0.4s ease;
}

.logo:hover {
    color: var(--c-beige);
}

/* Page Transition Overlay */
.page-transition {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--c-dark); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}
.page-transition .loader-brand {
    font-family: var(--font-logo); font-size: 2.5rem; font-weight: 900;
    letter-spacing: 0.2em; color: var(--c-beige);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Buttons & Links */
.btn-primary, .btn-outline-dark {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: 1.2rem 2.5rem; 
    font-size: 0.8rem; 
    text-transform: uppercase;
    letter-spacing: 0.15em; 
    font-weight: 500;
    text-align: center;
    white-space: nowrap; 
}

.btn-primary, .btn-primary.nav-link { 
    background-color: var(--c-dark); 
    color: var(--c-white); 
    border: 1px solid var(--c-dark); 
}
.btn-primary:hover, .btn-primary.nav-link:hover { 
    background-color: var(--c-beige); 
    color: var(--c-white); 
    border-color: var(--c-beige); 
}

.btn-outline-dark {
    border: 1px solid var(--c-gray-dark); 
    color: var(--c-dark);
}
.btn-outline-dark:hover { 
    border-color: var(--c-dark); 
    background-color: var(--c-dark); 
    color: var(--c-white); 
}

.w-100 { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em;
    font-weight: 500; margin-top: 2rem; border-bottom: 1px solid var(--c-text-dark);
    padding-bottom: 0.25rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; padding: 2.5rem 0;
    z-index: 1000; transition: all 0.5s ease;
}
.header.scrolled {
    padding: 1.2rem 0; background-color: rgba(252, 252, 252, 0.95);
    backdrop-filter: blur(15px); border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header.scrolled .logo { font-size: 1.5rem; }

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.main-nav {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background-color: var(--c-ice); display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 3rem;
    transition: var(--transition); z-index: 1000;
}
.main-nav.active { right: 0; }

.nav-list { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.nav-list a { font-size: 1.5rem; color: var(--c-text-dark); font-family: var(--font-serif); font-weight: 400;}

.mobile-toggle { display: block; z-index: 1001; width: 35px; height: 24px; position: relative; }
.hamburger {
    display: block; width: 100%; height: 2px; background-color: var(--c-text-dark);
    position: absolute; top: 50%; transform: translateY(-50%); transition: var(--transition);
}
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; width: 100%; height: 2px;
    background-color: var(--c-text-dark); left: 0; transition: var(--transition);
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.mobile-toggle.active .hamburger { background-color: transparent !important; }
.mobile-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.active .hamburger::after { bottom: 0; transform: rotate(-45deg); }

@media (min-width: 992px) {
    .mobile-toggle { display: none; }
    .main-nav {
        position: static; width: auto; height: auto; background-color: transparent;
        flex-direction: row; gap: 3rem;
    }
    .nav-list { flex-direction: row; gap: 2.5rem; }
    .nav-list a {
        font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em;
        font-family: var(--font-sans); position: relative; font-weight: 500; color: var(--c-text-dark);
    }
    
    .nav-list a::after {
        content: ''; position: absolute; bottom: -6px; left: 0; width: 100%;
        height: 1px; background-color: var(--c-beige); transform: scaleX(0);
        transform-origin: right; transition: transform 0.4s ease;
    }
    .nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-layered {
    position: relative; 
    min-height: 100vh;
    padding-top: calc(100px + var(--space-sm)); 
    background-color: var(--c-ice); 
    overflow: hidden;
    display: flex; 
    flex-direction: column; 
}

.hero-layered-container {
    flex: 1; 
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 4rem; 
}

@media (min-width: 1024px) {
    .hero-layered-container {
        grid-template-columns: 45% 55%;
        gap: 2rem;
        padding-bottom: var(--space-xl);
    }
}

.hero-text-content {
    max-width: 600px;
    z-index: 2;
}

.title-hero {
    font-size: clamp(2.5rem, 6.5vw, 6.5rem);
    margin-bottom: 1.5rem;
    color: var(--c-dark);
}

.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--c-text-light);
    margin-bottom: 3rem; 
    font-weight: 300;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visuals {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 500px;
    display: flex;
    justify-content: flex-end;
}

.hero-img-main {
    width: 85%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); 
}

.hero-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-img-secondary {
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 45%;
    aspect-ratio: 4/5;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 8px solid var(--c-ice); 
    z-index: 2;
}

.hero-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-layered {
        padding-top: 100px; 
    }
    
    .hero-layered-container {
        gap: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary, .btn-outline-dark {
        width: 100%; 
        padding: 1.2rem;
    }

    .hero-visuals {
        height: auto;
        aspect-ratio: 4/5; 
        min-height: auto;
        width: 90%;
        margin: 0 auto 2rem auto;
    }
    
    .hero-img-main {
        width: 85%;
    }

    .hero-img-secondary {
        width: 55%;
        bottom: -8%;
        left: -5%; 
        border-width: 6px; 
    }
}

/* ==========================================================================
   FAIXA DE AUTORIDADE
   ========================================================================== */
.authority-bar {
    width: 100%;
    background: var(--c-white);
    border-top: 1px solid var(--c-gray-dark);
    padding: 4rem 0; 
    z-index: 10;
    margin-top: auto; 
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
}

@media (min-width: 768px) {
    .auth-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.auth-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-left: 1px solid var(--c-gray-dark);
    padding-left: 1.5rem;
}

.auth-item:first-child, .auth-item:nth-child(odd) {
    border-left: none;
    padding-left: 0;
}

@media (min-width: 768px) {
    .auth-item:nth-child(odd) {
        border-left: 1px solid var(--c-gray-dark);
        padding-left: 1.5rem;
    }
    .auth-item:first-child {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .authority-bar {
        padding: 3rem 0;
    }
    .auth-grid {
        gap: 2rem 1rem;
    }
    .auth-num {
        font-size: 2rem !important; 
    }
    .auth-text {
        font-size: 0.7rem;
        letter-spacing: 0.05em;
    }
    .auth-item:nth-child(even) {
        padding-left: 1rem;
    }
}

.auth-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--c-dark);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.auth-num small {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--c-beige);
    font-weight: 500;
}

.auth-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-text-light);
    font-weight: 500;
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.grid-manifesto {
    display: grid; 
    grid-template-columns: 1fr; 
    gap: var(--space-xl); 
    align-items: center;
}

@media (min-width: 1024px) {
    .grid-manifesto { 
        grid-template-columns: 4fr 6fr; 
        gap: var(--space-lg); 
    }
}

.manifesto-text p { 
    font-size: 1.15rem; 
    color: var(--c-text-light); 
    font-weight: 300; 
}

.manifesto-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.manifesto-col {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .m-col-1 { transform: translateY(12%); } 
    .m-col-2 { transform: translateY(-12%); } 
    .manifesto-visual { gap: 2.5rem; }
}

.img-wrapper-editorial {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
}

.img-wrapper-tall {
    width: 100%;
    aspect-ratio: 3/5; 
    overflow: hidden;
    position: relative;
}

.img-parallax-container img { 
    width: 100%; 
    height: 120%; 
    object-fit: cover; 
}

/* ==========================================================================
   COLEÇÕES / PROJETOS
   ========================================================================== */
.projetos-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; border-top: 1px solid var(--c-gray-dark); padding-top: 3rem; }
@media (min-width: 768px) { .projetos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projetos-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.projeto-card { cursor: pointer; }
.projeto-card .card-img { width: 100%; aspect-ratio: 3/4; overflow: hidden; margin-bottom: 1.5rem; }
.projeto-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.projeto-card:hover .card-img img { transform: scale(1.05); }
.card-info h3 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 0.2rem; font-weight: 400; }
.card-info p { font-size: 0.95rem; color: var(--c-text-light); font-weight: 300;}

/* ==========================================================================
   GALERIA / AMBIENTES
   ========================================================================== */
.interactive-gallery { display: flex; width: 100%; height: 65vh; min-height: 400px; max-height: 700px; gap: 8px; overflow: hidden; border-radius: 4px; }
.ig-item { position: relative; flex: 1; overflow: hidden; cursor: pointer; transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1); border-radius: 4px; }
.ig-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.7s ease; filter: grayscale(80%) brightness(0.6); }
.ig-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%); opacity: 0.5; transition: opacity 0.7s ease; }
.ig-content { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; color: var(--c-white); display: flex; flex-direction: column; gap: 1rem; }
.ig-icon { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; font-weight: 300; backdrop-filter: blur(4px); transition: var(--transition); }
.ig-text { opacity: 0; transform: translateY(20px); transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); white-space: nowrap; }
.ig-text h3 { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; margin-bottom: 0.2rem; }
.ig-text p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-beige); }
.ig-item.active, .ig-item:hover { flex: 5; }
.ig-item.active .ig-bg, .ig-item:hover .ig-bg { filter: grayscale(0%) brightness(1); transform: scale(1.03); }
.ig-item.active .ig-overlay, .ig-item:hover .ig-overlay { opacity: 0.9; }
.ig-item.active .ig-icon, .ig-item:hover .ig-icon { background: var(--c-beige); border-color: var(--c-beige); color: var(--c-dark); transform: rotate(45deg); }
.ig-item.active .ig-text, .ig-item:hover .ig-text { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
@media (max-width: 768px) { .interactive-gallery { flex-direction: column; height: 80vh; } .ig-text { white-space: normal; } }

/* ==========================================================================
   DIFERENCIAIS & DETALHES
   ========================================================================== */
.diferenciais-wrapper { display: grid; grid-template-columns: 1fr; gap: var(--space-md); border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-xl); }
@media (min-width: 1024px) { .diferenciais-wrapper { grid-template-columns: 1fr 2fr; } }
.dif-list { display: flex; flex-direction: column; }
.dif-item { display: flex; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.dif-number { font-family: var(--font-serif); font-size: 1.8rem; color: var(--c-beige); font-style: italic; }
.dif-content h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: 0.5rem; }
.dif-content p { color: rgba(255,255,255,0.6); font-weight: 300; font-size: 0.95rem; }

.grid-details { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); align-items: center; }
@media (min-width: 1024px) { .grid-details { grid-template-columns: 1fr 1fr; } }

.details-slider { position: relative; overflow: hidden; }
.quote-mark { font-family: var(--font-serif); font-size: 8rem; color: var(--c-gray-dark); line-height: 1; position: absolute; top: -2rem; left: -1rem; z-index: -1; }
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.slide { min-width: 100%; padding-right: 2rem; }
.quote { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2; margin-bottom: 2rem; color: var(--c-text-dark); }
.author { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--c-text-light); }
.slider-controls { display: flex; gap: 1rem; margin-top: 3rem; }
.slider-controls button { font-size: 1.5rem; color: var(--c-text-dark); }
.slider-controls button:hover { color: var(--c-beige); }

.details-gallery.slider-gallery-wrapper { 
    overflow: hidden; 
    position: relative; 
    width: 100%; 
}
.gallery-track { 
    display: flex; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}
.gallery-slide { 
    min-width: 100%; 
    display: flex; 
    align-items: flex-start;
}
.details-gallery .img-wrapper { 
    width: 60%; 
    aspect-ratio: 3/4; 
}

/* ==========================================================================
   CONTATO & FOOTER
   ========================================================================== */
.grid-contato { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 1024px) { .grid-contato { grid-template-columns: 4fr 6fr; gap: var(--space-lg); align-items: start; } }
.contact-details { margin-top: 3rem; display: flex; flex-direction: column; gap: 2rem; }
.contact-details li { display: flex; flex-direction: column; font-size: 0.95rem; color: var(--c-text-dark); }
.contact-details span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--c-text-light); margin-bottom: 0.4rem; }
.form-premium { background: var(--c-white); padding: var(--space-md); border: 1px solid var(--c-gray-dark); }
.input-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .input-row { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.input-group { position: relative; margin-bottom: 3rem; }
.input-group input, .input-group textarea { width: 100%; padding: 1rem 0; border: none; border-bottom: 1px solid var(--c-gray-dark); background: transparent; font-family: var(--font-sans); font-size: 1rem; color: var(--c-text-dark); border-radius: 0; transition: border-color 0.3s; }
.input-group textarea { resize: vertical; min-height: 80px; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-bottom-color: var(--c-dark); }
.input-group label { position: absolute; top: 1rem; left: 0; color: var(--c-text-light); pointer-events: none; transition: all 0.3s ease; font-weight: 300; }
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label, .input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label { top: -1.2rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-dark); }
.footer { background-color: var(--c-dark); color: var(--c-white); padding: var(--space-xl) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; margin-bottom: var(--space-lg); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .logo { font-size: 1.5rem; margin-bottom: 1.5rem; display: inline-block; color: var(--c-white); }
.footer-brand p { color: rgba(255,255,255,0.5); font-weight: 300; max-width: 300px; }
.footer-nav h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.5rem; color: var(--c-beige); }
.footer-nav a { display: block; margin-bottom: 0.8rem; color: rgba(255,255,255,0.7); font-weight: 300; }
.footer-nav a:hover { color: var(--c-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); text-align: center; }

/* ==========================================================================
   POP-UP PREMIUM INTELIGENTE
   ========================================================================== */
.premium-popup {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 1rem; 
}

.premium-popup.active {
    opacity: 1; visibility: visible;
}

.popup-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.popup-container {
    position: relative;
    width: 100%; max-width: 900px;
    max-height: 85vh; 
    background: var(--c-white);
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-popup.active .popup-container {
    transform: translateY(0) scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 2.2rem; color: var(--c-text-light);
    width: 40px; height: 40px;
    display: flex; justify-content: center; align-items: center;
    z-index: 10;
    transition: color 0.3s, transform 0.3s;
}

.popup-close-btn:hover { color: var(--c-dark); transform: scale(1.1); }

.popup-visual {
    width: 100%;
    height: 25vh; 
}

.popup-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.popup-content {
    width: 100%;
    padding: 2.5rem 1.5rem;
    overflow-y: auto; 
    display: flex; flex-direction: column; justify-content: center;
}

.popup-content p {
    color: var(--c-text-light); margin-bottom: 2rem; font-weight: 300; font-size: 1rem;
}

.popup-actions {
    display: flex; flex-direction: column; gap: 1rem; align-items: center;
    margin-top: auto;
}

.btn-text {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--c-text-light); border-bottom: 1px solid transparent;
    padding-bottom: 0.2rem; transition: var(--transition);
}

.btn-text:hover { color: var(--c-dark); border-color: var(--c-dark); }

@media (min-width: 768px) {
    .popup-container { flex-direction: row; }
    .popup-visual { width: 45%; height: auto; display: block; }
    .popup-content { width: 55%; padding: 4rem; overflow-y: visible; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation: none !important; transition: none !important;
    }
}

/* ==========================================================================
   WHATSAPP FLOAT BUTTON (OFICIAL & ELEGANTE)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 58px;
    height: 58px;
    background-color: #25D366; /* Verde Oficial do WhatsApp */
    color: var(--c-white);     /* Ícone Branco */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35); /* Sombra verde suave e profunda */
    z-index: 9998;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ícone com tamanho bem equilibrado */
.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    transition: transform 0.4s ease;
}

/* Efeito luxuoso ao passar o mouse */
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    background-color: #1EBE5D; /* Verde ligeiramente mais escuro para hover */
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:hover svg {
    transform: scale(1.08);
}

/* Variante Cinza (Ajuste apenas de sombra para casar com o fundo) */
.whatsapp-float.gray-mode {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Variante Escura (Ganha um leve contorno para não perder destaque no preto) */
.whatsapp-float.dark-mode {
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.whatsapp-float.dark-mode:hover {
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
}

/* Ajustes Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}