/* ==========================================================================
   Ezivandro Silva Advogado - Premium CSS (Modern & High-Conversion)
   ========================================================================== */

:root {
    /* Palette */
    --navy-blue: #0b172a;
    --navy-light: #162a45;
    --navy-surface: #1e3a5f;
    
    --gold-primary: #d4af37;
    --gold-hover: #f3e5ab;
    --gold-light: #f7e7a1;
    --gold-dark: #aa8625;
    
    --charcoal: #1e293b;
    --text-muted: #64748b;
    --ice-gray: #f8fafc;
    --white: #ffffff;
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #f7e7a1 0%, #d4af37 50%, #aa8625 100%);
    --gold-btn-gradient: linear-gradient(135deg, #e5c158 0%, #d4af37 50%, #b89228 100%);
    --dark-gradient: linear-gradient(135deg, #0b172a 0%, #162a45 100%);
    
    /* Shadows & Effects */
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-medium: 0 15px 35px rgba(11,23,42,0.12);
    --shadow-gold: 0 10px 25px rgba(212, 175, 55, 0.3);
    --shadow-3d: 0 6px 0 #aa8625;
    --shadow-3d-hover: 0 10px 0 #aa8625;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--navy-blue);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* --- Section Badges --- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--gold-light);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Gold Gradient Text --- */
.gold-text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Custom Premium Buttons --- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    border: none;
    outline: none;
    max-width: 100%;
}

/* 3D Elevated Gold Button */
.btn-primary {
    background: var(--gold-btn-gradient);
    color: var(--navy-blue);
    box-shadow: var(--shadow-3d), var(--shadow-gold);
    transform: translateY(0);
}

/* Hover Shine & Elevate Effect */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.6s ease;
}

.btn-primary:hover::before {
    left: 140%;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-3d-hover), 0 15px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #f7e7a1 0%, #e5c158 100%);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #aa8625, 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.88rem;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    padding: 12px 0;
}

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

.logo-container {
    height: 48px;
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    height: 100%;
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* Logo switching logic */
.header .logo-light-bg {
    display: none;
}

.header .logo-dark-bg {
    display: block;
}

.header.scrolled .logo-light-bg {
    display: block;
}

.header.scrolled .logo-dark-bg {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    position: relative;
    padding: 6px 0;
}

.header.scrolled .nav-links a {
    color: var(--charcoal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px;
}

.header.scrolled .menu-toggle {
    color: var(--navy-blue);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 80px;
    background: var(--navy-blue);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('assets/images/bg-1.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(22, 42, 69, 0.6) 0%, rgba(11, 23, 42, 0.95) 70%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.4rem;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--gold-primary);
    font-size: 1.1rem;
}

/* Hero Portrait Card */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-portrait-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.hero-portrait-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 35px 70px rgba(0,0,0,0.6), var(--shadow-gold);
}

.portrait-frame {
    width: 100%;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-portrait-card:hover .hero-photo {
    transform: scale(1.05);
}

.portrait-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--gold-primary);
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.portrait-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: rgba(11, 23, 42, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(12px);
    padding: 14px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.badge-icon {
    width: 42px;
    height: 42px;
    background: var(--gold-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-blue);
    font-size: 1.2rem;
}

.badge-text strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.badge-text span {
    font-size: 0.78rem;
    color: var(--gold-light);
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background-color: var(--ice-gray);
}

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: var(--gold-gradient);
    transition: var(--transition);
}

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

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

.service-card.highlight {
    background: var(--navy-blue);
    color: var(--white);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card.highlight h3 {
    color: var(--white);
}

.service-card.highlight p {
    color: #cbd5e1;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold-dark);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card.highlight .service-icon {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-3deg);
    background: var(--gold-gradient);
    color: var(--navy-blue);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold-dark);
}

.service-card.highlight .service-link {
    color: var(--gold-light);
}

.service-link::after {
    content: '→';
    transition: var(--transition);
}

.service-card:hover .service-link::after {
    transform: translateX(6px);
}

/* --- Authority Section --- */
.authority {
    padding: 100px 0;
    background: var(--white);
}

.authority-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.authority-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.authority-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.authority-image:hover img {
    transform: scale(1.04);
}

.authority-text h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.authority-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.authority-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.authority-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.authority-list .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.authority-list h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.authority-list p {
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* --- Parallax Banner Section --- */
.parallax-banner {
    position: relative;
    padding: 120px 0;
    background-image: url('assets/images/bg-2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--white);
}

.parallax-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 23, 42, 0.78);
}

.parallax-banner .container {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.parallax-banner h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 32px;
    font-style: italic;
}

/* --- About Section (Perfil Profissional) --- */
.about {
    padding: 100px 0;
    background: var(--ice-gray);
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-photo-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 4px solid var(--white);
    z-index: 1;
}

.about-photo {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.about-photo-wrapper:hover .about-photo {
    transform: scale(1.03);
}

.about-details {
    position: relative;
    z-index: 2;
}

.about-details h2 {
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.about-details .oab {
    display: inline-block;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 20px;
}

.curriculum-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.curriculum-list li {
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 500;
}

.curriculum-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-dark);
    font-weight: 700;
}

/* --- Contact Section & Interactive Form --- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0,0,0,0.06);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.contact-form-card p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-info-card {
    background: var(--navy-blue);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 24px;
}

.contact-info-card h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 1rem;
    color: var(--white);
}

.contact-item p, .contact-item a {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 220px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Footer --- */
.footer {
    background: #070e1a;
    color: #94a3b8;
    padding-top: 80px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-badge {
    height: 45px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.92rem;
}

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

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold-gradient);
    color: var(--navy-blue);
    transform: translateY(-4px);
}

.bottom-bar {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}

/* --- Floating WhatsApp Button --- */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* --- LGPD Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(11, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    padding: 16px 24px;
    z-index: 9999;
    display: none;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.cookie-banner.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.cookie-content p {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-content p a {
    color: var(--gold-light);
    text-decoration: underline;
}

.cookie-actions {
    flex-shrink: 0;
}

/* --- Responsive Media Queries (CRO & Conversion Optimized) --- */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-text {
        display: contents;
    }

    .hero-text .section-badge {
        order: 1;
        margin: 0 auto 12px auto;
        padding: 4px 12px;
        font-size: 0.72rem;
        letter-spacing: 0.8px;
    }

    .hero-text h1 {
        order: 2;
        font-size: 1.85rem;
        margin-bottom: 12px;
        line-height: 1.25;
    }

    .hero-text p {
        order: 3;
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.45;
    }

    .hero-cta-group {
        order: 4;
        margin-bottom: 20px;
        justify-content: center;
    }

    .hero-cta-group .btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    /* Photo Card appears AFTER CTA on mobile */
    .hero-image-wrapper {
        order: 5;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Trust Bar bullets appear AFTER lawyer photo on mobile */
    .hero-trust-bar {
        order: 6;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        margin-top: 8px;
    }
    
    .portrait-frame {
        height: 280px;
    }

    .portrait-badge {
        padding: 10px 14px;
        bottom: -15px;
        left: 10px;
    }

    .badge-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .badge-text strong {
        font-size: 0.85rem;
    }

    .badge-text span {
        font-size: 0.72rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .authority-content {
        grid-template-columns: 1fr;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 36px;
    }

    .about-photo-wrapper {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .about-photo {
        height: 360px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-container {
        padding: 0 4px;
    }

    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--navy-blue);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.15rem;
        color: var(--white) !important;
    }

    .parallax-banner {
        background-attachment: scroll;
        padding: 80px 0;
    }

    .parallax-banner h2 {
        font-size: 1.8rem;
    }

    .contact-form-card {
        padding: 24px 20px;
    }

    .contact-info-card {
        padding: 24px 20px;
    }

    .floating-whatsapp {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    /* ULTRA-MINIMALIST MOBILE LGPD BAR (<10% Screen Height) */
    .cookie-banner {
        bottom: 8px;
        left: 8px;
        right: 8px;
        max-width: 100%;
        padding: 8px 12px;
        border-radius: 10px;
        background: rgba(11, 23, 42, 0.96);
        border: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    }

    .cookie-content {
        flex-direction: row;
        text-align: left;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .cookie-icon {
        display: none;
    }

    .cookie-content p {
        font-size: 0.74rem;
        line-height: 1.25;
        margin: 0;
    }

    .cookie-actions .btn-sm {
        padding: 6px 12px;
        font-size: 0.72rem;
        border-radius: 6px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
        width: 100%;
    }

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