/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-deep: #080808;
    --color-bg-card: #141416;
    --color-bg-card-hover: #1c1c1e;
    
    --color-gold-primary: #c5a880;
    --color-gold-light: #e2cfa7;
    --color-gold-dark: #a6845c;
    --color-gold-glow: rgba(197, 168, 128, 0.4);
    
    --color-text-white: #ffffff;
    --color-text-gray: #b5b5be;
    --color-text-muted: #72727a;
    
    --color-whatsapp: #25d366;
    --color-whatsapp-dark: #128c7e;
    --color-whatsapp-glow: rgba(37, 211, 102, 0.3);
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', sans-serif;
    
    /* Spacing & Borders */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-gold-subtle: 1px solid rgba(197, 168, 128, 0.15);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* ==========================================================================
   TYPOGRAPHY & ACCENTS
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
}

p {
    color: var(--color-text-gray);
    font-size: 1.05rem;
    font-weight: 300;
}

strong {
    color: var(--color-text-white);
    font-weight: 500;
}

.highlight-gold {
    color: var(--color-gold-primary);
    background: linear-gradient(135deg, var(--color-gold-primary) 30%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-gold {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-gold-primary);
    border: 1px solid var(--color-gold-primary);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background: rgba(197, 168, 128, 0.05);
}

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

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-whatsapp);
    color: var(--color-text-white);
    box-shadow: 0 4px 20px var(--color-whatsapp-glow);
}

.btn-primary:hover {
    background-color: var(--color-whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-gold-primary);
    border: 1px solid var(--color-gold-primary);
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.05);
}

.btn-secondary:hover {
    background-color: var(--color-gold-primary);
    color: var(--color-bg-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--color-gold-glow);
}

.btn-nav-cta {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--color-whatsapp);
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
}

.btn-nav-cta:hover {
    background-color: var(--color-whatsapp);
    color: var(--color-text-white);
    border-color: var(--color-whatsapp);
    box-shadow: 0 4px 15px var(--color-whatsapp-glow);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1.25rem 3rem;
}

/* Pulse Keyframes */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(197, 168, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(197, 168, 128, 0);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.pulse-gold-effect {
    animation: pulse-gold 3s infinite;
}

.btn-primary.pulse-gold-effect {
    animation: pulse-green 3s infinite;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background-color: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
}

.main-header.sticky {
    padding: 0.6rem 0;
    background-color: rgba(6, 6, 6, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
}

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

.nav-logo {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

.sticky .nav-logo {
    height: 42px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.2rem;
}

.nav-link {
    color: var(--color-text-gray);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-gold-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-white);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   BACKGROUNDS & SECTIONS
   ========================================================================== */
.section-with-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

/* Individual Background overlays and images */
#hero {
    background-image: url('identidade/fotos/de_fundo_1.avif');
    padding: 10rem 0 5rem 0;
}

#hero .bg-overlay {
    background: linear-gradient(to bottom, 
        rgba(8, 8, 8, 0.63) 0%, 
        rgba(8, 8, 8, 0.78) 80%,
        var(--color-bg-deep) 100%
    );
}

#atuacao {
    background-image: url('identidade/fotos/de_fundo_2.jpg');
    padding: 5rem 0;
}

#atuacao .bg-overlay {
    background: linear-gradient(to bottom, 
        rgba(8, 8, 8, 0.80) 0%,
        rgba(8, 8, 8, 0.80) 20%, 
        rgba(8, 8, 8, 0.80) 80%,
        var(--color-bg-deep) 100%
    );
}

#sobre {
    background-image: url('identidade/fotos/de_fundo_3.jpg');
    padding: 7rem 0;
}

#sobre .bg-overlay {
    background: linear-gradient(to bottom, 
        var(--color-bg-deep) 0%, 
        rgba(8, 8, 8, 0.79) 15%,
        rgba(8, 8, 8, 0.79) 85%,
        var(--color-bg-deep) 100%
    );
}

#contato {
    background-image: url('identidade/fotos/de_fundo_4.avif');
    padding: 8rem 0;
}

#contato .bg-overlay {
    background: linear-gradient(to bottom, 
        var(--color-bg-deep) 0%, 
        rgba(8, 8, 8, 0.75) 100%
    );
}

.section-como-funciona, .section-depoimentos {
    padding: 6.5rem 0;
    background-color: var(--color-bg-deep);
}

/* Grid helper */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ==========================================================================
   1. HERO BLOCK STYLING
   ========================================================================== */
.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.cta-guarantee i {
    color: var(--color-gold-primary);
}

/* Hero visual / portrait */
.hero-frame-container {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

.gold-box-behind {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 25px;
    left: -25px;
    border: 2px solid var(--color-gold-primary);
    border-radius: var(--border-radius-sm);
    z-index: 1;
    opacity: 0.6;
}

.hero-visual-mobile {
    display: none;
}

/* Float animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(-0.5deg);
    }
}

@keyframes float-reverse {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(8px) rotate(0.5deg);
    }
}

.animate-slow-float {
    animation: float 8s ease-in-out infinite;
}

.animate-slow-float-reverse {
    animation: float-reverse 8s ease-in-out infinite;
}



/* ==========================================================================
   3. AREAS OF ACTUATION
   ========================================================================== */
.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.card-atuacao:hover {
    background-color: var(--color-bg-card-hover);
    transform: translateY(-8px);
    border-color: rgba(197, 168, 128, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(197, 168, 128, 0.05);
}

.card-atuacao:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--color-gold-primary);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.card-atuacao:hover .card-icon {
    transform: scale(1.1) rotate(2deg);
    color: var(--color-gold-light);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
    color: var(--color-text-white);
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.atuacao-cta {
    margin-top: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.atuacao-cta-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-gray);
    font-weight: 300;
    margin-top: 0.5rem;
}

/* ==========================================================================
   4. HOW IT WORKS
   ========================================================================== */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
    position: relative;
}

.timeline-step {
    position: relative;
    padding-top: 2rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(197, 168, 128, 0.2);
}

.timeline-step:hover::before {
    background-color: var(--color-gold-primary);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(197, 168, 128, 0.1);
    line-height: 1;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.timeline-step:hover .step-num {
    color: var(--color-gold-primary);
    transform: translateY(-3px);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-white);
}

.step-content p {
    font-size: 0.92rem;
}

.middle-cta {
    background: rgba(20, 20, 22, 0.5);
    border: var(--border-gold-subtle);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-sm);
    max-width: 800px;
    margin: 0 auto;
}

.middle-cta-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* ==========================================================================
   5. WHY CHOOSE ME (SOBRE)
   ========================================================================== */
.sobre-intro-text {
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.diferenciais-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.diferencial-card {
    display: flex;
    gap: 1.5rem;
}

.diferencial-icon {
    font-size: 1.5rem;
    color: var(--color-gold-primary);
    background: rgba(197, 168, 128, 0.08);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.diferencial-info h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.diferencial-info p {
    font-size: 0.95rem;
}

.sobre-frame-container {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.sobre-img {
    width: 100%;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.gold-box-behind-right {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 25px;
    right: -25px;
    border: 2px solid var(--color-gold-primary);
    border-radius: var(--border-radius-sm);
    z-index: 1;
    opacity: 0.6;
}

/* ==========================================================================
   6. DEPOIMENTOS
   ========================================================================== */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
}

.card-depoimento {
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    background-color: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.card-depoimento:hover {
    background-color: var(--color-bg-card-hover);
    border-color: rgba(197, 168, 128, 0.2);
}

.depoimento-quote {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 0.5;
    color: var(--color-gold-primary);
    opacity: 0.25;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.depoimento-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.depoimento-author {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--color-gold-primary);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.15);
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--color-text-white);
    font-size: 0.95rem;
}

.author-location {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   7. CTA FINAL BLOCK
   ========================================================================== */
.cta-final-description {
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.cta-final-buttons {
    margin-bottom: 2.5rem;
}

.cta-final-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.88rem;
    color: var(--color-text-gray);
}

.cta-final-footer span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-final-footer i {
    color: var(--color-gold-primary);
}

.cta-final-footer .separator {
    color: rgba(255, 255, 255, 0.1);
}

.cta-final-frame {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.cta-final-img {
    width: 100%;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.gold-box-behind-final {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 25px;
    left: -25px;
    border: 2px solid var(--color-gold-primary);
    border-radius: var(--border-radius-sm);
    z-index: 1;
    opacity: 0.6;
}

/* ==========================================================================
   FOOTER STYLING
   ========================================================================== */
.site-footer {
    background-color: #050505;
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    padding: 5rem 0 2rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    height: 48px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.92rem;
    max-width: 320px;
}

.footer-links h3, .footer-contact h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--color-text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-gold-primary);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-contact p {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.footer-contact-link:hover {
    color: var(--color-gold-primary);
}

.gold-text {
    color: var(--color-gold-primary);
}

.oab-info {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   SCROLL REVEAL STYLING
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE LAYOUTS & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-2 {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .grid-3 {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Base spacing adjustments */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Header & Mobile navigation */
    .main-header {
        padding: 0.8rem 0;
    }
    
    .header-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }
    
    .logo-link {
        grid-column: 1;
        justify-self: start;
        display: flex;
        align-items: center;
    }
    
    .nav-logo {
        height: 38px !important;
    }
    
    .nav-cta-wrapper {
        grid-column: 2;
        display: flex !important; /* Enforce visible on all mobile screens */
        justify-content: center;
        margin-right: 0;
        width: 100%;
    }
    
    .btn-nav-cta {
        animation: pulse-gold 3s infinite !important; /* Replicated exact web version gold pulse animation */
        background: linear-gradient(135deg, var(--color-whatsapp) 0%, var(--color-whatsapp-dark) 100%) !important;
        color: var(--color-text-white) !important;
        border: none !important;
        font-weight: 700;
        font-size: 0.72rem !important;
        padding: 0.55rem 0.85rem !important;
        box-shadow: 0 4px 12px rgba(197, 168, 128, 0.3) !important;
        text-transform: uppercase;
        white-space: nowrap;
        letter-spacing: 0.5px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1100;
        grid-column: 3;
        justify-self: end;
    }
    
    /* Menu Mobile Toggle logic */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(197, 168, 128, 0.15);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.3rem;
    }
    
    /* Hero section adjustments */
    #hero {
        padding: 8rem 0 4rem 0; /* Restored standard mobile padding since header is a compact single row again */
    }
    
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        align-items: center;
    }
    
    .hero-visual {
        display: none !important; /* Hide desktop visual container on mobile */
    }
    
    .hero-visual-mobile {
        display: block !important; /* Show mobile-only nested container */
        margin: 2.5rem auto;
        max-width: 320px;
        width: 100%;
    }
    

    
    /* Timeline adjustments */
    .timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Sobre section */
    .sobre-visual {
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto 1.5rem auto;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .cta-final-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .cta-final-footer .separator {
        display: none;
    }
}
