/* 
    Mont Serrat Advogados - Design System v3.0
    Aesthetic: Strict Luxury / Dark Gold
    Colors: Deep Navy (#0A1128), Gold Gradient, Off-White (#F8F9FA)
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Roboto+Mono:wght@400;500&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #0A1128;
    --primary-light: #112040;
    --accent: #B87D4B;
    --accent-light: #CD925C;
    --accent-dark: #8C552A;
    --gold-gradient: linear-gradient(135deg, #B87D4B 0%, #D89868 50%, #A06436 100%);
    --gold-shine: linear-gradient(90deg, #A06436 0%, #CD925C 40%, #EAB58C 60%, #8C552A 100%);
    --bg-light: #FAFAF9;
    --bg-off: #F2EFEA;
    --bg-dark: #060B1B;
    --text-main: #1C120C;
    --text-muted: #826E62;
    --text-white: #FFFFFF;
    --border: rgba(184,125,75,0.15);
    --shadow-soft: 0 4px 30px rgba(10,17,40,0.06);
    --shadow-card: 0 10px 40px rgba(10,17,40,0.10);
    --transition-slow: 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.font-mono {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

/* --- Layout --- */

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-padding {
    padding: 110px 0;
}

/* --- Navigation --- */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Supera o drawer */
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(6, 11, 27, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.25);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    height: 55px;
    width: auto;
    /* make logo white on dark nav background */
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: all 0.3s ease;
    transform-origin: left center;
}


.logo:hover img {
    opacity: 1;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: width 0.35s ease;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent-light); }

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(197,160,89,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197,160,89,0.45);
    background: var(--gold-shine);
}

.btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(197,160,89,0.05);
}

.btn-outline-dark {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: white;
}

/* --- Hero Section --- */

.hero {
    min-height: 100vh;
    display: block;
    position: relative;
    background: var(--primary);
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: grayscale(0.3);
}

/* Gold geometric lines overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(197,160,89,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197,160,89,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(6,11,27,0.92) 45%, rgba(10,17,40,0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 650px;
}

.hero-photo {
    position: absolute;
    bottom: 0;
    right: 3rem;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 0;
}

.hero-photo img {
    height: 85vh;
    max-height: 750px;
    max-width: 50%;
    object-fit: cover;
    object-position: top center;
    filter: drop-shadow(-30px 0 60px rgba(0,0,0,0.6));
}

.hero-tag {
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
}

.hero-title-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    font-weight: 300;
    max-width: 540px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Gold accent line decoration */
.hero-line {
    width: 80px;
    height: 2px;
    background: var(--gold-gradient);
    margin-bottom: 2rem;
}

/* --- Social Proof Bar (Logo strip) --- */

.proof-bar {
    background: var(--bg-off);
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.proof-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.proof-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* --- Section Title --- */

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

.section-title.centered {
    text-align: center;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-top: 0.75rem;
}

.section-title .line {
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 1.5rem 0;
}

.section-title.centered .line {
    margin: 1.5rem auto;
}

/* --- Services Grid (5-area grid) --- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold-gradient);
    transition: width 0.4s ease;
}

.service-card:hover::before { width: 100%; }

.service-card:hover {
    border-color: transparent;
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.service-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.service-card ul {
    list-style: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-card li {
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* --- Pillars Section --- */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.pillar-item {
    padding: 3rem 2rem;
    border-right: 1px solid rgba(197,160,89,0.15);
    transition: background 0.3s ease;
    text-align: center;
}

.pillar-item:last-child { border-right: none; }

.pillar-item:hover {
    background: rgba(197,160,89,0.04);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.pillar-item:hover .pillar-icon {
    border-color: var(--accent);
    background: rgba(197,160,89,0.08);
}

.pillar-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.pillar-item h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.pillar-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Two-Column Advantage --- */

.advantage {
    background: var(--bg-dark);
    color: white;
}

.advantage-inner {
    display: flex;
    gap: 6rem;
    align-items: center;
}

.advantage-content { flex: 1; }

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

.advantage-image img {
    width: 100%;
    height: auto;
}

/* Founder photo special styling */
.founder-photo-wrap {
    position: relative;
    display: inline-block;
}

.founder-photo-wrap img {
    width: 100%;
    border-radius: 2px;
}

.founder-photo-wrap::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--accent);
    z-index: -1;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.founder-photo-wrap:hover::before {
    opacity: 1;
}

/* Gold badge */
.gold-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(197,160,89,0.1);
    border: 1px solid rgba(197,160,89,0.3);
    color: var(--accent);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
}

/* --- Blog Cards Section --- */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.35s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(10,17,40,0.6));
}

.blog-card-body {
    padding: 2rem;
}

.blog-tag {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.75rem;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-body p {
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.6;
}

/* --- Testimonials --- */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border: 1px solid #eee;
    position: relative;
    transition: all 0.35s ease;
}

.testimonial-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-card);
}

.testimonial-card::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1.2rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
}

.testimonial-author-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- Newsletter strip --- */

.newsletter-strip {
    background: var(--gold-gradient);
    padding: 60px 0;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    justify-content: space-between;
}

.newsletter-inner h3 {
    font-size: 1.8rem;
    color: var(--primary);
    flex: 1;
}

.newsletter-inner p {
    color: rgba(10,17,40,0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 480px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    color: var(--primary);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--primary-light);
}

/* --- FAQ Accordion --- */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--primary);
    text-align: left;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover { color: var(--accent); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-icon {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.35s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

/* --- Footer --- */

footer {
    position: relative;
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 40px;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/justice-bg.webp');
    background-size: cover;
    background-position: top center;
    z-index: 1;
    opacity: 0.08; /* Very subtle luxury texture */
    mix-blend-mode: luminosity;
}

.footer-grid, .footer-bottom {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo img {
    height: 100px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-about p {
    color: rgba(255,255,255,0.5);
    font-size: 0.87rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(197,160,89,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(197,160,89,0.08);
}

.footer-col h4 {
    color: var(--accent);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.87rem;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p, .footer-bottom a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom a:hover { color: var(--accent); }
.footer-bottom a { text-decoration: none; }

.footer-legal {
    display: flex;
    gap: 2rem;
}

/* --- Animations --- */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: var(--transition-slow);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Navigation Styles --- */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1105; /* Higher than EVERYTHING */
    transition: var(--transition-fast);
    padding: 0.5rem;
    position: relative;
}

#menu-toggle.active {
    color: var(--accent) !important;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 1500;
    padding: 100px 3rem 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    border-left: 1px solid var(--border);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1rem;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--accent);
}

/* --- Global Media Queries --- */

@media (max-width: 1024px) {
    .container { padding: 0 2rem; }
    .nav-links { gap: 1.5rem; }
    .hero h1 { font-size: 3rem; }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillar-item { border-bottom: 1px solid rgba(197,160,89,0.15); }
    .pillar-item:nth-child(2) { border-right: none; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    #menu-toggle { display: block; }
    .nav-links { display: none; }
    .nav-inner { justify-content: space-between; }
    .nav-inner > .btn-primary { display: none; } 

    .hero-photo { display: none; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-bg img { opacity: 0.35; } /* Subir opacidade no mobile para não parecer "vazio" */
    .hero-line { margin: 0 auto 2rem; }
    .hero-ctas { justify-content: center; }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .container { padding: 0 1.5rem; }
    
    /* Global Títulos Centrados */
    .section-title h2, 
    .hero h1, 
    h1.reveal, 
    .about-content h1 { 
        text-align: center; 
        font-size: 2.3rem;
    }

    .hero { min-height: 80vh; display: flex; align-items: center; }
    
    .service-grid { grid-template-columns: 1fr; }
    .advantage-inner { flex-direction: column; gap: 3rem; text-align: center; }
    .advantage-image { order: -1; } 
    
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar-item { border-right: none; }
    
    .blog-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    
    .newsletter-inner { flex-direction: column; text-align: center; gap: 2rem; }
    .newsletter-form { 
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px; 
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .newsletter-form input { width: 100%; }
    .newsletter-form button { width: 100%; margin: 0; }

    .gold-line { margin: 1.5rem auto 2rem !important; } 

    /* Footer: 2 colunas no topo, contato embaixo, alinhado à esquerda */
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 2rem; 
        text-align: left;
    }
    .footer-col:last-child { 
        grid-column: 1 / 3; 
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-top: 2rem;
    }
    .footer-about { align-items: flex-start; text-align: left; }
    .footer-social { justify-content: flex-start; }
    .footer-bottom { flex-direction: column; text-align: left; align-items: flex-start; gap: 1.5rem; }
    .footer-legal { flex-direction: column; gap: 0.8rem; }

    /* Áreas de Atuação Page Fixes */
    .areas-nav-inner { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    .areas-nav-inner a { 
        padding: 0.8rem 1rem; 
        font-size: 0.75rem; 
        border-right: 1px solid #eee;
    }
    .area-icon-box, .area-callout { display: none; } /* Ocultar boxes e ícones secundários no mobile */
    .area-header { flex-direction: column; text-align: center; gap: 1rem; }
    .area-header h2 { font-size: 1.8rem; }

    /* Sobre Nós Page Fixes */
    #quem-somos .advantage-inner { 
        flex-direction: column !important; 
        display: flex !important;
    }
    #quem-somos .advantage-image { order: -1; margin-bottom: 2rem; }
    #quem-somos .reveal { text-align: center !important; } /* Center text and children */
    #quem-somos .gold-line { margin: 1rem auto 2rem !important; } 
    
    .founder-info { text-align: center !important; }
    .founder-oab, .founder-socials { justify-content: center !important; }

    .pillars-grid { gap: 1rem; } 
}

/* Ensure menu toggle stays gold and on top when active */
.mobile-menu.active ~ #navbar #menu-toggle,
#menu-toggle.active {
    color: var(--accent) !important;
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .btn { width: 100%; justify-content: center; }
    .hero-ctas { flex-direction: column; }
    .mobile-menu { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col:last-child { grid-column: 1; }
}
