/* www.templatemo.com - ELEGIA STUDIO COLLECTIONS
   CSS CORRIGIDO E OTIMIZADO - VERSÃO FINAL
   ================================================
   PROBLEMAS RESOLVIDOS:
   1. Removida duplicação completa do CSS
   2. Sistema de modificadores para product containers
   3. Menu mobile com interação robusta
   4. Isolamento de stacking context
   5. Responsividade consistente
   ================================================ */

/* ================================================
   1. UNIVERSAL STYLES & RESET
================================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 15px;
    line-height: 1.7;
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    animation: fadeInBody 0.5s ease-out;
    background: #fff;
}

@keyframes fadeInBody {
    from { opacity: 0; }
    to { opacity: 1; }
}

ul { list-style: none; }
a:hover { color: #D0AF51; text-decoration: none; }
section { padding: 60px 0; position: relative; }

/* ================================================
   2. LAYOUT CONTAINERS & UTILITIES
================================================ */
.templatemo-container {
    margin: 0 auto;
    max-width: 1600px;
    overflow: hidden;
    position: relative;
    z-index: 10;
    background: white;
    isolation: isolate; /* Novo stacking context */
}

.templatemo-container::after {
    content: "";
    display: table;
    clear: both;
}

/* Utility Classes */
.gold-text { 
    color: #D0AF51; 
    position: relative;
}

.gold-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #D0AF51, transparent);
    opacity: 0.5;
}

.white-text { color: white; }
.gray-text { color: #838383; }

.templatemo-gray-bg { 
    background: #F8F8F8; 
    position: relative;
}

.templatemo-gray-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D0AF51, transparent);
    opacity: 0.3;
}

.templatemo-dark-bg {
    background: #181818;
    color: #DDD;
    position: relative;
}

.templatemo-dark-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D0AF51, transparent);
}

/* Section Headers */
.templatemo-section-header-hr {
    border-top: 2px solid #D0AF51;
    width: 185px;
    display: inline-block;
    margin: 0 10px 0 0;
    vertical-align: middle;
    opacity: 0.8;
}

.templatemo-section-subheader {
    color: #D0AF51;
    display: inline-block;
    margin-bottom: 70px;
    font-size: 1.1em;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.templatemo-section-subheader::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #D0AF51;
    margin: 8px auto 0;
    opacity: 0.7;
    transition: width 0.4s ease;
}

.templatemo-section-subheader:hover::after {
    width: 80px;
}

/* Buttons */
.btn-gray-bordered {
    border: 2px solid #D1D1D1;
    color: #8F8E8E;
    display: inline-block;
    padding: 14px 40px;
    margin-top: 20px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    text-align: center;
    font-size: 15px;
    text-decoration: none;
}

.btn-gray-bordered:hover {
    border-color: #D0AF51;
    color: #D0AF51;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(208, 175, 81, 0.2);
    background: rgba(208, 175, 81, 0.05);
    padding: 14px 45px;
    text-decoration: none;
}

/* ================================================
   3. VIDEO SECTION - ISOLADO E SEGURO
================================================ */
.video-section-wrapper {
    position: relative;
    z-index: 1;
    background: #000;
}

.video-container {
    width: 100%;
    position: relative;
    background: #000;
    height: auto;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    pointer-events: none; /* Não intercepta cliques */
    user-select: none;
}

.fullscreen-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

/* Mobile video adjustments */
@media screen and (max-width: 768px) {
    .video-container {
        padding-top: 75%; /* 4:3 para mobile */
    }
}

@media screen and (max-width: 576px) {
    .video-container {
        padding-top: 100%; /* 1:1 para mobile pequeno */
    }
}

/* ================================================
   4. HEADER - ESTRUTURA CORRIGIDA
================================================ */
.templatemo-block-left { 
    width: 40%; 
    float: left;
    position: relative;
}

.templatemo-block-right { 
    width: 60%; 
    float: left;
    position: relative;
}

@media screen and (max-width: 991px) {
    .templatemo-block-left, 
    .templatemo-block-right {
        width: 100%;
        float: none;
    }
}

/* Header Panels */
.templatemo-header-left,
.templatemo-header-right { 
    height: 500px;
    position: relative;
    overflow: hidden;
}

.templatemo-header-left {
    background: url(../img/banner.jpg) no-repeat center center;
    background-size: cover; 
    color: #fff;
}

.templatemo-header-left-overlay {
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.55) 100%
    );
    position: absolute;
    inset: 0;
    z-index: 1;
}

.templatemo-header-right {
    background: url(../img/header-img.jpg) no-repeat center center;
    background-size: cover; 
}

.templatemo-header-right-overlay {
    background: linear-gradient(
        135deg,
        rgba(208,175,81,0.15) 0%,
        rgba(208,175,81,0.05) 100%
    );
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Header Text */
.templatemo-header-text-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
    padding: 0 60px;
}

.templatemo-header-text {
    text-align: center;
    width: 100%;
    animation: slideInRight 1s ease-out 0.3s both;
    padding: 40px 0;
}

.header-branding-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.header-collections {
    display: block;
    color: #D0AF51;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.header-studio {
    display: block;
    color: white;
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 5px;
}

.header-tagline {
    display: block;
    color: #c9c9c9;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
    line-height: 1.4;
}

.header-access-note {
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.6;
    margin: 20px auto 0;
    max-width: 500px;
    text-align: center;
    float: none;
}

/* Header Responsive */
@media screen and (max-width: 991px) {
    .templatemo-header-left,
    .templatemo-header-right {
        height: 350px;
    }
    
    .templatemo-header-text-wrap {
        padding: 0 30px;
    }
    
    .templatemo-header-text {
        text-align: center;
        padding: 30px 0;
    }
}

@media screen and (max-width: 768px) {
    .templatemo-header-left,
    .templatemo-header-right {
        height: 300px;
    }
    
    .header-collections {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .header-studio {
        font-size: 30px;
        letter-spacing: 3px;
    }
}

@media screen and (max-width: 576px) {
    .templatemo-header-left,
    .templatemo-header-right {
        height: 250px;
    }
    
    .header-collections {
        font-size: 18px;
    }
    
    .header-studio {
        font-size: 24px;
    }
}

/* ================================================
   5. SOCIAL BAR
================================================ */
/* REDES SOCIAIS — HEADER ESQUERDO */
.templatemo-social {
    position: absolute;
    bottom: 30px;
    left: 40px;
    z-index: 15;
}

.templatemo-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.templatemo-social li {
    display: inline-block;
}

.templatemo-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.templatemo-social li a:hover {
    background-color: #c7a254; /* tom elegia studio */
    color: #fff;
    transform: translateY(-3px);
}

/* fundo cinza (caso queira manter) */
.templatemo-gray-bg {
    background-color: transparent; /* ou remova a classe se desnecessário */
}

/* RESPONSIVIDADE */
@media screen and (max-width: 991px) {
    .templatemo-social {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 30px;
        padding-left: 40px;
    }
    
    .templatemo-social li a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media screen and (max-width: 767px) {
    .templatemo-social {
        padding-left: 20px;
    }
    
    .templatemo-social ul {
        gap: 15px;
    }
    
    .templatemo-social li a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}
/* ================================================
   6. NAVIGATION — DESKTOP & MOBILE (FINAL / CORRIGIDO)
================================================ */

/* ---------- DESKTOP NAVIGATION ---------- */
.templatemo-nav {
    height: 70px;
    width: 100%;
    position: relative;
    z-index: 20;
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(208, 175, 81, 0.1);
}

.templatemo-nav ul {
    display: flex;
    justify-content: flex-start;
    padding-left: 60px;
    list-style: none;
}

.templatemo-nav li { 
    line-height: 70px; 
    position: relative;
    display: inline-block;
}

.templatemo-nav a {
    color: #D0AF51;
    width: 100px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

/* underline desktop */
.templatemo-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #D0AF51;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.templatemo-nav a:hover::before,
.templatemo-nav li.active a::before {
    width: 40px;
}

.templatemo-nav a:hover {
    color: #FFD700;
    background: rgba(60, 60, 61, 0.4);
}

.templatemo-nav li.active a {
    color: #FFD700;
    background: rgba(60, 60, 61, 0.4);
}

/* ---------- MOBILE MENU ICON ---------- */
.mobile-menu-icon {
    display: none;                 /* escondido em desktop */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;                 /* acima do nav */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.9);
    border: none;
    color: #D0AF51;
    font-size: 24px;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.3s ease, background 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-icon:hover {
    transform: scale(1.05);
}

/* ---------- MOBILE NAVIGATION (OVERLAY) ---------- */
@media (max-width: 991px) {

    .mobile-menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .templatemo-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.98);

        /* 🔥 REMOVIDO backdrop-filter (causa bugs mobile) */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;

        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
        z-index: 9998;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* estado ativo */
    .templatemo-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .templatemo-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 100px 0 120px;
        width: 100%;
        min-height: 100vh;
    }

    .templatemo-nav li {
        width: 100%;
        text-align: center;
        line-height: 60px;
        border-bottom: 1px solid rgba(208, 175, 81, 0.15);
    }

    .templatemo-nav a {
        width: 100%;
        height: 60px;
        font-size: 16px;
    }

    .templatemo-nav a::before {
        display: none;
    }
}


/* ================================================
   7. HOME PAGE COMPONENTS
================================================ */

/* NEW ARRIVALS */
.new-arrival-container {
    cursor: pointer;
    display: inline-block;
    position: relative;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.08),
        0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.6s ease-out;
    background: white;
}

.new-arrival-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 5px 15px rgba(0,0,0,0.07);
}

.new-arrival-overlay {
    background: linear-gradient(135deg, rgba(208, 175, 81, 0.5) 0%, rgba(208, 175, 81, 0.3) 100%);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.new-arrival-container:hover .new-arrival-overlay {
    opacity: 1;
}

.new-arrival-title {
    color: rgb(237,237,237);
    font-size: 2.8em;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 3;
}

.new-arrival-container:hover .new-arrival-title {
    transform: translateY(0);
}

/* PRODUCT TYPE - SISTEMA DE MODIFICADORES */
.product-type-container {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    /* Propriedades base - sem dimensões fixas */
}

/* Layout Normal (Home Page) */
.product-type-container.normal {
    max-width: 100%;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.08),
        0 1px 3px rgba(0,0,0,0.05);
}

.product-type-container.normal:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.12),
        0 3px 10px rgba(0,0,0,0.06);
}

/* =========================================
   LAYOUT QUADRADO (MEN / WOMEN)
   ======================================== */

.product-type-container.square {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;

    border-radius: 14px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.08),
                0 1px 3px rgba(0,0,0,0.05);
}


/* =========================================
   IMAGEM (SEM OPACIDADE / SEM OVERLAY)
   ======================================== */

.product-type-container.square img,
.product-type-container.square .img-collection,
.product-type-container.square .product-type-img {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 14px;

    opacity: 1 !important;
    filter: none !important;
    background: none !important;

    transition: transform 0.6s ease;
}


/* =========================================
   HOVER — APENAS ZOOM
   ======================================== */

.product-type-container.square:hover img,
.product-type-container.square:hover .img-collection,
.product-type-container.square:hover .product-type-img {
    transform: scale(1.12);
}


/* =========================================
   PRICE TAG — NO TOPO DA IMAGEM
   ======================================== */

.price-tag{
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;

    background: rgba(0, 0, 0, 0.9);
    color: #D0AF51;

    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;

    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(208, 175, 81, 0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);

    white-space: nowrap;

    /* ✅ isto resolve o “container” desalinhado */
    display: inline-flex;
    align-items: center;       /* centra vertical */
    justify-content: center;   /* centra horizontal */
    line-height: 1;            /* evita offset do texto */

    transition: all 0.3s ease;
}

.price-tag p{
    margin: 0;
    padding: 0;
    line-height: 1;
}



/* =========================================
   HOVER NA TAG
   ======================================== */

.product-type-container.square:hover .price-tag {
    background: #D0AF51;
    color: #000;
    border-color: #fff;
    transform: scale(1.05);
}

/* =========================================
   PRODUCT MENU
   ======================================== */
.product-menu {
    margin-bottom: 80px;
    overflow: visible;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.product-menu li {
    background: #000;
    display: inline-block;
    line-height: 60px;
    list-style: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.product-menu a {
    color: #D0AF51;
    min-width: 110px;
    height: 60px;
    padding: 0 25px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.product-menu li.active a,
.product-menu a:hover {
    background: rgba(208, 175, 81, 0.9);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(208, 175, 81, 0.3);
}

.product-menu li.active {
    box-shadow: 0 5px 20px rgba(208, 175, 81, 0.4);
    background: #D0AF51;
}

.product-menu li.active a {
    color: #000;
    font-weight: 600;
}

/* =========================================
   PRODUCT MESSAGE
   ======================================== */
.product-type-message {
    background: #fff;
    border: 2px solid #D0AF51;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.08),
        0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.product-type-message:hover {
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.12),
        0 3px 10px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: #C19B3C;
}

/* ================================================
   8. ABOUT & FOOTER
================================================ */
.templatemo-about-hr {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    border-top: 2px solid #D0AF51;
    opacity: 0.7;
}

.templatemo-about-subtitle {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    color: #D0AF51;
    font-size: 1.1em;
    letter-spacing: 2px;
}

.about-us-text {
    line-height: 1.9;
    margin: 80px auto 50px auto;
    max-width: 850px;
    font-size: 1.1em;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border-left: 4px solid #D0AF51;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.about-us-text::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: #D0AF51;
    opacity: 0.2;
    font-family: 'Dancing Script', cursive;
}

footer {
    background: #000;
    color: #fff;
    font-size: 0.9em;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #D0AF51, transparent);
}

footer p {
    margin: 0;
    padding: 10px 0;
    font-size: 14px;
    color: #aaa;
}

footer a {
    color: #D0AF51;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ================================================
   9. BLOG SECTION
================================================ */
.templatemo-blog-post { 
    margin-top: 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.08),
        0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    background: white;
    animation: fadeInUp 0.6s ease-out;
}

.templatemo-blog-post:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 5px 15px rgba(0,0,0,0.07);
}

.post-img-container { 
    position: relative; 
    overflow: hidden;
    min-height: 250px;
    height: auto;
}

.post-img-container img {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.templatemo-blog-post:hover .post-img-container img {
    transform: scale(1.08);
}

.templatemo-post-date {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #000 0%, #222 100%);
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center; 
    border-radius: 0 0 16px 0;
    z-index: 2;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

.date { 
    font-size: 3em; 
    font-weight: 300;
    color: #D0AF51;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.post-excerpt {
    margin-top: 25px;
    margin-bottom: 25px;
    line-height: 1.8;
    color: #555;
    padding: 0 20px;
}

.post-read-more {
    display: inline-flex;
    align-items: center;
    margin-bottom: 55px;
    margin-top: 30px;
    color: #D0AF51;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(208, 175, 81, 0.05);
    text-decoration: none;
}

.post-read-more:hover {
    color: #C19B3C;
    transform: translateX(10px);
    background: rgba(208, 175, 81, 0.1);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(208, 175, 81, 0.15);
}

/* ================================================
   10. CONTACT SECTION - CORES CLARAS
================================================ */
.contact-section {
    padding: 80px 0 !important;
}

.contact-layout-wrapper {
    display: flex;
    align-items: stretch;
    min-height: 700px;
    gap: 40px;
    padding: 40px 0;
}

/* Form Container */
.templatemo-contact-info {
    max-width: 450px;
    width: 100%;
    padding: 50px 45px;
    background: rgba(25, 25, 25, 0.98);
    border-radius: 20px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(208, 175, 81, 0.3);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.8s ease-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Text Colors - Claros */
.templatemo-contact-info h2 {
    color: #F0F0F0 !important;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.templatemo-contact-info p {
    color: #CCCCCC !important;
    line-height: 1.8;
    margin-bottom: 25px;
}

.templatemo-contact-info strong {
    color: #E0E0E0 !important;
}

/* Form Elements */
.form-control {
    background: rgba(35, 35, 35, 0.95);
    color: #F0F0F0 !important;
    border-radius: 12px;
    padding: 14px 18px;
    height: 52px;
    font-size: 16px;
    border: 2px solid rgba(70, 70, 70, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
    width: 100%;
}

.form-control:focus {
    border-color: #D0AF51;
    box-shadow: 
        0 0 0 3px rgba(208, 175, 81, 0.2),
        inset 0 0 20px rgba(208, 175, 81, 0.05);
    background: rgba(40, 40, 40, 0.95);
    transform: translateY(-2px);
    color: #FFFFFF !important;
    outline: none;
}

textarea.form-control {
    min-height: 160px;
    padding: 16px 18px;
    resize: vertical;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Form Labels */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    color: #E0E0E0 !important;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    font-size: 15px;
    letter-spacing: 0.8px;
    position: relative;
    padding-left: 5px;
}

.form-group label::before {
    content: '•';
    position: absolute;
    left: -10px;
    color: #D0AF51;
    font-size: 1.2em;
}

/* Submit Button */
.templatemo-btn-gold {
    background: linear-gradient(135deg, #D0AF51 0%, #C19B3C 100%);
    border: none;
    width: 100%;
    color: #FFFFFF !important;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 16px;
    height: 54px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.25),
        0 2px 5px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.templatemo-btn-gold:hover {
    background: linear-gradient(135deg, #C19B3C 0%, #A8862A 100%);
    transform: translateY(-4px);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.35),
        0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

/* Map Container */
.map-container {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.8s ease-out 0.2s both;
}

#google-map {
    width: 100%;
    height: 100%;
    min-height: 650px;
    display: block;
    border: none;
}

/* ================================================
   11. MEDIA QUERIES - OTIMIZADAS
================================================ */

/* Product Menu Scroll em Mobile */
@media screen and (max-width: 768px) {
    .product-menu {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    
    .product-menu::-webkit-scrollbar {
        height: 4px;
    }
    
    .product-menu::-webkit-scrollbar-thumb {
        background: rgba(208, 175, 81, 0.3);
        border-radius: 2px;
    }
    
    /* Contact Mobile */
    .contact-layout-wrapper {
        flex-direction: column;
        min-height: auto;
        gap: 30px;
    }
    
    .templatemo-contact-info {
        max-width: 100%;
        margin-right: 0;
        padding: 35px 30px;
    }
    
    .map-container {
        min-height: 400px;
    }
    
    #google-map {
        min-height: 400px;
    }
}

/* Small Mobile Adjustments */
@media screen and (max-width: 576px) {
    h2 {
        font-size: 2.5em;
    }
    
    .templatemo-section-subheader {
        font-size: 1em;
    }
    
    .product-menu a {
        min-width: 95px;
        padding: 0 18px;
        font-size: 13px;
        height: 55px;
    }
    
    .btn-gray-bordered {
        padding: 12px 30px;
        min-width: 160px;
        font-size: 14px;
    }
    
    .templatemo-contact-info {
        padding: 30px 25px;
    }
    
    .map-container {
        min-height: 350px;
    }
    
    #google-map {
        min-height: 350px;
    }
    
    .form-control {
        padding: 12px 15px;
        height: 48px;
        font-size: 15px;
    }
    
    textarea.form-control {
        min-height: 140px;
    }
}

/* Extra Small */
@media screen and (max-width: 480px) {
    .templatemo-site-name {
        font-size: 32px;
    }
    
    .templatemo-slogan {
        font-size: 10px;
        letter-spacing: 3px;
    }
    
    .header-collections {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .header-studio {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .templatemo-contact-info {
        padding: 25px 20px;
    }
    
    .map-container {
        min-height: 300px;
    }
    
    #google-map {
        min-height: 300px;
    }
    
    .templatemo-btn-gold {
        padding: 12px;
        height: 48px;
        font-size: 15px;
    }
}

/* ================================================
   12. ANIMATIONS & EFFECTS
================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================================
   13. ACCESSIBILITY & ENHANCEMENTS
================================================ */
/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
.btn-gray-bordered:focus,
.templatemo-btn-gold:focus {
    outline: 2px solid #D0AF51;
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #D0AF51 0%, #C19B3C 100%);
    border-radius: 5px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #C19B3C 0%, #A8862A 100%);
    box-shadow: 0 0 10px rgba(208, 175, 81, 0.3);
}

/* Selection */
::selection {
    background: rgba(208, 175, 81, 0.3);
    color: #000;
}

::-moz-selection {
    background: rgba(208, 175, 81, 0.3);
    color: #000;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .templatemo-nav,
    .templatemo-social,
    .mobile-menu-icon,
    .btn-gray-bordered,
    .post-read-more,
    .templatemo-btn-gold,
    .map-container,
    .video-container {
        display: none !important;
    }
    
    .templatemo-container {
        max-width: 100%;
        box-shadow: none;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}


/* =========================================
   MOBILE MENU — GARANTIR LISTA COMPLETA
========================================= */
@media (max-width: 991px) {

  .templatemo-nav {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .templatemo-nav ul {
    min-height: 100vh;
    padding-bottom: 120px; /* espaço para últimos links */
  }

  .templatemo-nav li {
    width: 100%;
  }
}


/* =========================================
   HOME HEADER VIDEO — MOBILE & TABLET (FINAL)
   Compatível com:
   - .header-video-bg video
   - .fullscreen-video
========================================= */

/* ---------- TABLET (iPad incluído) ---------- */
@media (max-width: 1024px) {

  /* neutraliza alturas antigas */
  .templatemo-header-left {
    min-height: auto !important;
    height: 50vh;
    position: relative;
    overflow: hidden;
  }

  /* se o vídeo estiver no header */
  .header-video-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  /* vídeo — ambas as variantes */
  .header-video-bg video,
  .fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: contain;        /* 🔴 MOSTRA O FRAME TODO (WELCOME VISÍVEL) */
    object-position: center center;
    background: #000;
  }

  /* texto acima do vídeo */
  .templatemo-header-text-wrap {
    position: relative;
    z-index: 5;
  }
}


/* ---------- MOBILE ---------- */
@media (max-width: 767px) {

  .templatemo-header-left {
    height: 40vh;
  }

  .header-video-bg video,
  .fullscreen-video {
    object-fit: contain;        /* mantém Welcome visível */
    object-position: center center;
  }

  /* legibilidade mínima do texto */
  .templatemo-header-text {
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
  }
}



.templatemo-header-left-overlay,
.templatemo-header-right-overlay {
    pointer-events: none;
}

/* 🔥 FIX DEFINITIVO — MENU MOBILE */
@media (max-width: 991px) {
    .templatemo-container {
        isolation: auto !important;
        overflow: visible !important;
    }
}



/* =========================================
   HOTFIX — BOOTSTRAP CONTAINING BLOCK FIX
   ========================================= */
@media (max-width: 991px) {
    /* Anular position relative dos pais que prendem o fixed */
    .templatemo-container,
    .templatemo-block-left,
    .templatemo-block-right,
    .templatemo-header-right,
    .container,
    .container-fluid,
    .row,
    [class*="col-"] {
        position: static !important;
        transform: none !important;
        isolation: auto !important;
        will-change: auto !important;
        overflow: visible !important;
    }

    /* Forçar o menu a ser fixed ao viewport */
    .templatemo-nav {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.98) !important;
        transform: translateY(-100%) !important;
        transition: transform 0.3s ease !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        pointer-events: none !important;
    }

    .templatemo-nav.active {
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }

    /* Bloquear scroll do body */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }

    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: static !important;
    }
}


