/* CSS Variables for Exact Graphical Clone */
:root {
    --clr-bg: #1e3040;         /* Azul escuro da logo */
    --clr-bg-card: #243848;
    --clr-text: #e8dfd0;          /* Texto principal mais visível */
    --clr-text-light: #c8b89a;   /* Texto secundário - dourado suave */
    --clr-dark: #f5f0ea;
    --clr-brown: #c8b89a;
    --clr-brown-nav: rgba(14, 26, 38, 0.94); /* Azul escuro da logo, sem marrom */
    --clr-book-bg: #162838;
    --clr-white: #FFFFFF;
    
    /* Gold da logo */
    --gold-primary: #E8A020;
    --gold-light: #F5CC60;
    --gold-dark: #C07018;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #C07018 0%, #F5CC60 50%, #C07018 100%);
    --gradient-gold-text: linear-gradient(135deg, #C8821A 0%, #F0D060 40%, #E8A020 70%, #C8821A 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Impede scroll lateral em TODA a página */
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background: linear-gradient(160deg, #1a2e42 0%, #1e3040 40%, #162636 100%);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Ajuste geral de seções para fundo escuro */
.quem-somos,
.areas-atuacao,
.nossa-historia,
.socios-cards,
.animated-testimonials {
    background: transparent;
}

.quem-somos p,
.historia-text p,
.text-side p {
    color: var(--clr-text-light);
}

/* Utilitário: texto com gradiente dourado */
.gold-gradient-text {
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-dark);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base Components */
.section-title {
    font-size: 2.2rem;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    font-weight: 400;
    display: inline-block; /* necessário para o clip funcionar */
}

.section-title-white {
    font-size: 2.2rem;
    color: var(--clr-white);
    margin-bottom: 25px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    letter-spacing: 1px;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--clr-white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.btn-gold:hover {
    box-shadow: 0 8px 15px rgba(164, 145, 124, 0.4);
    transform: translateY(-2px);
}

.btn-gold.outline {
    background: transparent;
    color: #9C8974;
    position: relative;
    transition: all 0.4s ease;
}

.btn-gold.outline:hover {
    color: var(--clr-dark);
    box-shadow: 0 8px 15px rgba(164, 145, 124, 0.2);
    transform: translateY(-2px);
}

.btn-gold.outline::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 2px;
    background: var(--gradient-gold);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.btn-dark {
    background: #6D6358;
    color: white;
    transition: all 0.4s ease;
}

.btn-dark:hover {
    background: #4B433A;
    transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
    background: rgba(10, 20, 30, 0.96); /* Azul escuro, sem marrom */
    color: #c8b89a;
    font-size: 0.75rem;
    padding: 8px 0;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.top-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left a { margin-right: 15px; font-size: 0.85rem; }
.top-right a { margin-left: 15px; }

/* Navbar */
.navbar {
    position: absolute;
    top: 35px;
    width: 100%;
    z-index: 99;
    background: rgba(10, 20, 30, 0.94); /* Azul escuro puro, sem marrom */
    padding: 15px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    background: rgba(10, 20, 32, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.nav-left, .nav-right {
    display: flex;
    gap: 25px;
}

.nav-left li a, .nav-right li a {
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s ease;
}

.nav-left li a:hover, .nav-right li a:hover {
    opacity: 0.75;
}

.logo-center {
    text-align: center;
    color: var(--clr-white);
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    display: block;
}

.logo-desc {
    font-family: var(--font-body);
    font-size: 0.5rem;
    letter-spacing: 3px;
    opacity: 0.7;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz o vídeo preencher todo o espaço 16:9 uniformemente */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(80, 65, 50, 0.4); /* Overlay original para o vídeo */
    z-index: -1;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.slider-text {
    text-align: center;
    color: white;
}

.slider-text h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.slider-text p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}
.slider-dots .active { background: white; }

/* Newsletter Wrapper */
.newsletter-wrapper {
    position: relative;
    margin-top: -60px;
    z-index: 10;
}

.newsletter-box {
    background: #FDF9F2;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
}

.news-text {
    padding: 40px;
    flex: 1.2;
}

.news-text h3 {
    font-size: 1.5rem;
    color: #A38F75;
    margin-bottom: 10px;
}

.news-text p {
    font-size: 0.9rem;
    color: var(--clr-text-light);
}

.news-form {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(0,0,0,0.05);
}

.news-form p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.news-form form {
    display: flex;
    gap: 10px;
}

.news-form input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    flex: 1;
    font-family: var(--font-body);
}

.news-image {
    flex: 0.8;
}

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

/* Quem Somos */
.quem-somos {
    padding: 100px 0;
    background-color: var(--clr-bg);
}

.content-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-side {
    flex: 1;
}

.text-side p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

.image-side {
    flex: 1;
}

.image-side img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 10px 10px 0 #EBE4DB;
}

/* Áreas de Atuação */
.areas-atuacao {
    padding: 60px 0 100px;
    text-align: center;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.area-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.area-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    width: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.area-card:hover img {
    transform: scale(1.1);
}

.area-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: background 0.4s ease;
}

.area-card:hover .area-overlay {
    background: rgba(20, 20, 20, 0.4);
}

.area-overlay h3 {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 15px 20px;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.area-card:hover .area-overlay h3 {
    background: var(--clr-white);
    color: var(--clr-dark);
    border-color: var(--clr-white);
}

/* Nosso Livro */
.nosso-livro {
    background: var(--clr-book-bg);
    padding: 100px 0;
}

.livre-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.livro-text {
    flex: 1;
    color: #DDD;
}

.livro-text p {
    margin-bottom: 20px;
}

.livro-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.book-mockup {
    max-width: 350px;
    transform: rotate(5deg);
    box-shadow: -10px 20px 30px rgba(0,0,0,0.3);
}

/* Nossa História */
.nossa-historia {
    padding: 120px 0 60px;
    position: relative;
}

.historia-watermark {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    opacity: 0.1;
    z-index: -1;
}

.historia-watermark span {
    font-size: 8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}

.historia-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-left: 100px; /* Space for watermark */
}

.historia-text {
    flex: 1;
}

.historia-text p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

.historia-image {
    flex: 1;
    position: relative;
}

.historia-image img {
    width: 100%;
    border-radius: 4px;
}

.logo-overlay-socios {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(14, 26, 40, 0.85); /* Azul escuro - sem marrom */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(200, 184, 154, 0.25);
    color: white;
    padding: 20px 40px;
    border-radius: 8px;
}

.oc-big { font-family: var(--font-heading); font-size: 2.5rem; }
.oc-text { font-family: var(--font-body); font-size: 0.8rem; margin-left: 10px; letter-spacing: 2px;}

/* Sócios Cards */
.socios-cards {
    padding: 60px 0 100px;
}

.socios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .socios-grid {
        grid-template-columns: 1fr;
    }
}

.socio-item {
    text-align: center;
}

.socio-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 480px; /* Aumentado para mostrar a foto inteira */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.socio-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.socio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Centraliza verticalmente */
    transition: transform 0.6s ease;
}

.socio-item:hover .socio-photo img {
    transform: scale(1.05);
}

.socio-name-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(14, 26, 40, 0.88);
    padding: 16px 15px;
    text-align: center;
    transition: background 0.4s ease;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(200, 184, 154, 0.2);
}

.socio-item:hover .socio-name-box {
    background: rgba(14, 26, 40, 0.96);
}

.socio-name-box h4 {
    font-size: 1rem;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.socio-social a {
    color: #A4917C;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.socio-social a:hover {
    color: var(--clr-dark);
}

.full-w {
    width: 100%;
    border-radius: 0 0 8px 8px;
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
    background: var(--clr-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-item h5 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: #A38F75;
    margin-bottom: 15px;
    line-height: 1.4;
}

.read-more {
    color: var(--clr-dark);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: underline;
}

/* Image Gallery */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    height: auto;
}

.image-gallery img {
    flex: 1;
    height: 300px;
    object-fit: cover;
    min-width: 250px;
}

/* Footer */
.site-footer {
    display: flex;
    flex-direction: column;
}

.footer-beige {
    background: #162838;
    padding: 80px 0 60px;
}

.footer-logo-box {
    text-align: center;
    margin-bottom: 50px;
}

.footer-logo-box .logo-box {
    display: inline-block;
    background: #7C7165;
    color: white;
    padding: 20px 40px;
    border-radius: 4px;
}

.footer-logo-box h2 { color: white; margin: 0; }

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #c8b89a;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: #a09080; }

.footer-social a {
    display: inline-flex;
    width: 30px; height: 30px;
    background: white;
    color: #5C5248;
    border-radius: 50%;
    align-items: center; justify-content: center;
    margin-right: 10px;
}

.address-col p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: #a09080;
}

.address-col i {
    margin-right: 10px;
    color: #c8b89a;
}

.form-col p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: #a09080;
}

.form-col input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 2px;
}

.footer-dark {
    background: #0f1f2e;
    color: #a09080;
    padding: 15px 0;
    font-size: 0.75rem;
}

.foot-btm {
    display: flex;
    justify-content: space-between;
}

/* --- Scroll Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays for grid items */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }


/* Responsive */
@media(max-width: 1024px) {
    .nav-container { flex-direction: column; gap: 20px;}
    .newsletter-box { flex-direction: column; }
    .news-form { border-left: none; border-top: 1px solid rgba(0,0,0,0.05); }
    .historia-flex { padding-left: 0; flex-direction: column;}
    .historia-watermark { display: none; }
    .footer-links-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
    /* Hide top bar for space */
    .top-bar { display: none; }
    .navbar { 
        position: relative; 
        top: 0; 
        padding: 12px 0; 
        background: rgba(10, 20, 32, 0.98) !important; /* Azul escuro - sem marrom */
    }
    .navbar.scrolled { 
        background: rgba(10, 20, 32, 0.99) !important; 
    }
    .navbar.active {
        background: rgba(10, 20, 32, 1) !important;
    }
    
    /* Navigation */
    .nav-container { flex-direction: row; justify-content: space-between; align-items: center; padding: 0 15px; width: 100%;}
    .nav-left, .nav-right { display: none; width: 100%; flex-direction: column; gap: 10px; align-items: center; padding: 10px 0;}
    .logo-main { font-size: 1.4rem; }
    .logo-sub { font-size: 0.55rem; }
    
    .mobile-menu-btn { display: block; font-size: 1.4rem; cursor: pointer; color: white;}
    
    /* When mobile menu is active */
    .navbar.active { background: rgba(30, 26, 23, 0.98); }
    .navbar.active .nav-container { flex-direction: column; position: relative;}
    .navbar.active .nav-left, .navbar.active .nav-right { display: flex; }
    .navbar.active .mobile-menu-btn { position: absolute; right: 20px; top: 5px; }

    /* Hero text fix */
    .hero-content { padding-top: 0; }
    .slider-text h2 { font-size: 1.4rem; margin-bottom: 5px; margin-top: 0; line-height: 1.2; }
    .slider-text p { font-size: 0.75rem; margin-bottom: 10px; line-height: 1.3;}
    .slider-arrow { display: none; } /* Hide arrows on mobile, keep dots */
    
    /* Newsletter */
    .newsletter-wrapper { margin-top: -10px; }
    .news-text, .news-form { padding: 15px; text-align: center; }
    .news-text h3 { font-size: 1.2rem; }
    .news-text p { font-size: 0.8rem; }
    .news-form p { font-size: 0.75rem; }
    .news-form form { flex-direction: column; gap: 5px; }
    .news-image { display: none; } /* Hide generic image to save space */
    
    /* Sections spacing & global scaling */
    .section-title { font-size: 1.3rem; margin-bottom: 12px; }
    .btn { font-size: 0.7rem; padding: 8px 15px; }
    p { font-size: 0.8rem; line-height: 1.6; }
    
    .quem-somos, .areas-atuacao, .nosso-livro, .socios-cards, .blog-section { padding: 35px 0; }
    .nossa-historia { padding: 35px 0; }
    
    /* Quem Somos + Seções gerais - fix overflow mobile */
    .quem-somos { overflow: hidden; }
    .quem-somos .container,
    .areas-atuacao .container,
    .nossa-historia .container,
    .socios-cards .container,
    .animated-testimonials .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Garante que nenhum elemento vaze */
    section, .container, .content-split {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .content-split { flex-direction: column; gap: 20px; align-items: center; }
    .text-side { 
        text-align: center; 
        width: 100%; 
        max-width: 100%; 
        padding: 0;
        box-sizing: border-box;
    }
    .text-side p { 
        font-size: 0.78rem; 
        line-height: 1.7; 
        color: var(--clr-text-light); 
        margin-bottom: 10px;
        text-align: center;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        max-width: 100%;
        padding: 0 4px;
    }
    .text-side .section-title { 
        text-align: center; 
        font-size: 1.3rem; 
        margin-bottom: 12px;
        display: block;
        max-width: 100%;
    }
    .text-side .btn { margin: 10px auto 0; display: inline-block; }
    .image-side { width: 100%; max-width: 100%; }
    .image-side img { width: 100%; max-width: 100%; }
    .areas-grid { grid-template-columns: 1fr; gap: 20px; }
    .livre-flex { flex-direction: column; text-align: center; gap: 30px; }
    .socios-grid { grid-template-columns: 1fr; gap: 20px; }
    .blog-grid { grid-template-columns: 1fr; gap: 30px; }
    
    /* Story watermark & books */
    .historia-flex { padding-left: 0; flex-direction: column; text-align: center; }
    .historia-watermark { display: none; }
    .book-mockup { max-width: 250px; }
    .logo-overlay-socios { 
        padding: 12px 20px; 
        bottom: -10px; 
        right: 10px; 
        left: 10px; 
        text-align: center;
        border-radius: 8px;
    }
    .image-side img { box-shadow: none; width: 100%; }
    .socio-photo { height: 420px; } /* Menor no mobile mas ainda mostrando bem */
    
    /* Image Gallery */
    .image-gallery { flex-direction: column; height: auto; }
    .image-gallery img { width: 100%; height: 200px; }
    
    /* Footer */
    .footer-beige { padding: 40px 0; text-align: center; }
    .footer-links-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-social { justify-content: center; display: flex; margin-bottom: 20px;}
    .foot-btm { flex-direction: column; text-align: center; gap: 10px; }
}

/* ================================================
   SECRET CMS EDIT MODE STYLES (41417)
   ================================================ */

#admin-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: linear-gradient(90deg, #0d1117 0%, #161b22 100%);
    border-bottom: 2px solid #30d158;
    padding: 10px 20px;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    font-family: 'Montserrat', sans-serif;
}

#admin-bar.visible {
    display: flex;
}

#admin-bar .admin-logo {
    color: #30d158;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#admin-bar .admin-logo svg {
    width: 18px;
    height: 18px;
    fill: #30d158;
}

.admin-btn {
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-btn-save {
    background: #30d158;
    color: #000;
}
.admin-btn-save:hover { background: #25a244; }

.admin-btn-exit {
    background: transparent;
    color: #ff453a;
    border: 1px solid #ff453a;
    margin-left: auto;
}
.admin-btn-exit:hover { background: #ff453a; color: white; }

.admin-status {
    font-size: 0.7rem;
    color: #8b949e;
    margin-left: 5px;
}

/* Editable text highlight */
body.edit-mode [data-editable]:hover {
    outline: 2px dashed #30d158 !important;
    outline-offset: 3px;
    cursor: text;
    border-radius: 3px;
}
body.edit-mode [data-editable]:focus {
    outline: 2px solid #30d158 !important;
    outline-offset: 3px;
    background: rgba(48, 209, 88, 0.05);
    border-radius: 3px;
}

/* Editable image highlight */
body.edit-mode [data-editable-img] {
    position: relative;
    cursor: pointer;
}
body.edit-mode [data-editable-img]::after {
    content: '📷 Trocar Imagem';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}
body.edit-mode [data-editable-img]:hover::after {
    opacity: 1;
}

/* Push page content down when admin bar is visible */
body.edit-mode {
    padding-top: 52px;
}

/* Notification toast */
#cms-toast {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #161b22;
    color: #30d158;
    border: 1px solid #30d158;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    z-index: 999999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: slideInRight 0.3s ease;
}

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

/* =============================================
   IMAGE PICKER MODAL
   ============================================= */

#img-picker-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
#img-picker-overlay.visible {
    display: flex;
}

#img-picker-modal {
    background: #0d1117;
    border: 1px solid #30d158;
    border-radius: 14px;
    width: 90%;
    max-width: 780px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    font-family: 'Montserrat', sans-serif;
}

#img-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #21262d;
}

#img-picker-header h3 {
    color: #30d158;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

#img-picker-close {
    background: none;
    border: none;
    color: #8b949e;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
#img-picker-close:hover { color: white; }

/* Step 1 — upload zone */
#picker-step-upload {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

#picker-dropzone {
    width: 100%;
    border: 2px dashed #30d158;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
    color: #8b949e;
    font-size: 0.85rem;
}
#picker-dropzone:hover { background: rgba(48, 209, 88, 0.06); }
#picker-dropzone .dropzone-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }
#picker-dropzone span { font-weight: 600; color: #30d158; }

#picker-preview-wrap {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}
#picker-preview-wrap.visible { display: flex; }
#picker-preview-img {
    max-height: 200px;
    max-width: 100%;
    border-radius: 8px;
    border: 2px solid #30d158;
    object-fit: contain;
}
#picker-preview-name {
    color: #8b949e;
    font-size: 0.75rem;
}
#picker-next-btn {
    padding: 10px 30px;
    background: #30d158;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Montserrat', sans-serif;
}
#picker-next-btn:hover { background: #25a244; }

/* Step 2 — choose slot */
#picker-step-choose {
    display: none;
    flex-direction: column;
    overflow: hidden;
}
#picker-step-choose.visible { display: flex; }

#picker-step-choose p {
    padding: 14px 24px 10px;
    color: #8b949e;
    font-size: 0.8rem;
}

#picker-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    padding: 10px 24px 24px;
    overflow-y: auto;
    max-height: 55vh;
}

.picker-slot {
    cursor: pointer;
    border: 2px solid #21262d;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.2s;
    background: #161b22;
    text-align: center;
}
.picker-slot:hover {
    border-color: #30d158;
    transform: scale(1.04);
}
.picker-slot img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}
.picker-slot-label {
    padding: 6px 8px;
    font-size: 0.65rem;
    color: #8b949e;
    word-break: break-all;
    line-height: 1.3;
}

#picker-back-btn {
    display: inline-block;
    margin: 0 24px 16px;
    background: none;
    border: 1px solid #8b949e;
    color: #8b949e;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s;
    align-self: flex-start;
}
#picker-back-btn:hover { border-color: white; color: white; }

/* --- Testimonials Animated Carousel --- */
.animated-testimonials {
    padding: 80px 0;
    text-align: center;
    background: transparent;
    position: relative;
    overflow: hidden;
}
.testimonials-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}
.badge-tag {
    border: 1px solid #e5e5e5;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    background: rgba(245,245,245,0.5);
    margin-bottom: 20px;
}
.testimonials-wrapper {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-height: 740px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.testim-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
    width: 320px;
    max-width: 100%;
    animation: scroll-vertical 15s linear infinite;
}
.testim-col.col-2 {
    animation-duration: 19s;
}
.testim-col.col-3 {
    animation-duration: 17s;
}
@media (max-width: 1024px) {
    .testim-col.col-3 { display: none; }
}
@media (max-width: 768px) {
    .testim-col.col-2 { display: none; }
}

@keyframes scroll-vertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.testim-card {
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    user-select: none;
}
.testim-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}
.testim-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.testim-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testim-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}
.testim-card:hover .testim-avatar {
    border-color: #d4c2af; /* gold matching */
}
.testim-info {
    display: flex;
    flex-direction: column;
}
.testim-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.2;
}
.testim-role {
    font-size: 0.8rem;
    color: #999;
}
.testim-stars {
    color: #FFD700;
    font-size: 0.8rem;
    margin-bottom: 8px;
}
