/* ==========================================================================
   DESIGN SYSTEM - CSS VARIABLES
   ========================================================================== */
:root {
    --bg-dark: #060913;
    --bg-dark-alt: #0a0e1c;
    --gold: #B8A07A;
    --gold-bright: #e2c295;
    --gold-glow: rgba(184, 160, 122, 0.15);
    --blue-accent-glow: rgba(5, 36, 61, 0.4);

    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(184, 160, 122, 0.45);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    /* Layout */
    --header-height: 80px;
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --container-max-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease-in-out;
}

/* ==========================================================================
   RESET & GLOBAL BASICS
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Subtle Premium Noise Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.015;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* SVG Icon Styling */
.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(184, 160, 122, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Structural Layout helper */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.container-section {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    z-index: 2;
}

.section-bg-alt {
    background-color: var(--bg-dark-alt);
    position: relative;
}

.section-bg-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

/* ==========================================================================
   AMBIENT BACKGROUND GLOWS
   ========================================================================== */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.45;
}

.glow-1 {
    top: 15%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: var(--gold-glow);
    animation: pulseGlow 15s infinite alternate ease-in-out;
}

.glow-2 {
    top: 45%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: var(--blue-accent-glow);
    animation: pulseGlow 20s infinite alternate-reverse ease-in-out;
}

.glow-3 {
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--gold-glow);
    animation: pulseGlow 18s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.35;
    }

    50% {
        transform: translate(50px, -30px) scale(1.1);
        opacity: 0.55;
    }

    100% {
        transform: translate(-30px, 40px) scale(0.95);
        opacity: 0.35;
    }
}

/* ==========================================================================
   NAVBAR STYLE
   ========================================================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar-header.scrolled {
    background: rgba(6, 9, 19, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    height: 70px;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    outline: none;
}

.nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar-header.scrolled .nav-logo {
    height: 50px;
}

/* Menu items */
.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-quick);
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-primary);
}

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

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px rgba(184, 160, 122, 0.1);
}

.nav-btn-contact:hover {
    background: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(184, 160, 122, 0.4);
    transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    outline: none;
}

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

/* Hamburger animation */
.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6deg, -7deg);
}

/* ==========================================================================
   BUTTONS STYLING
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-dark);
    border: 1px solid var(--gold);
    box-shadow: 0 4px 20px rgba(184, 160, 122, 0.3);
}

.btn-primary:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    box-shadow: 0 8px 30px rgba(184, 160, 122, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--gold) !important;
    color: var(--bg-dark) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 4px 15px rgba(184, 160, 122, 0.3);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Elegant touch active feedback */
.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.tab-btn:active,
.faq-question:active,
.btn-card-whatsapp:active,
.membro-link:active,
.whatsapp-floating:active,
.nav-btn-contact:active {
    transform: scale(0.97);
}

/* ==========================================================================
   GLASS CARDS COMMON BASE
   ========================================================================== */
.card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(184, 160, 122, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    box-shadow: 0 12px 40px 0 rgba(184, 160, 122, 0.12);
}

.card:hover::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(184, 160, 122, 0.6));
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 160, 122, 0.08);
    border: 1px solid rgba(184, 160, 122, 0.25);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(184, 160, 122, 0.05);
}

.hero-badge .icon {
    width: 18px;
    height: 18px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 5.5vw, 4rem);
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    z-index: 10;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    transition: var(--transition-quick);
}

.scroll-indicator:hover .scroll-text {
    color: var(--gold);
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    transition: var(--transition-quick);
}

.scroll-indicator:hover .scroll-mouse {
    border-color: var(--gold);
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    animation: scrollMouseWheel 1.6s infinite ease-in-out;
}

.scroll-indicator:hover .scroll-wheel {
    background-color: var(--gold);
}

@keyframes scrollMouseWheel {
    0% {
        transform: translate3d(-50%, 0, 0);
        opacity: 1;
    }

    50% {
        transform: translate3d(-50%, 10px, 0);
        opacity: 0;
    }

    100% {
        transform: translate3d(-50%, 0, 0);
        opacity: 0;
    }
}

/* ==========================================================================
   SECTIONS GENERAL PARTS
   ========================================================================== */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-primary);
    line-height: 1.25;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
}

.section-header {
    margin-bottom: 60px;
}

/* ==========================================================================
   SOBRE SECTION
   ========================================================================== */
.sobre-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.sobre-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    /* text-align: justify;
    text-justify: inter-word;
        hyphens: auto;
    
    -webkit-hyphens: auto;
    -ms-hyphens: auto; */
}

.sobre-text strong {
    color: var(--gold);
    font-weight: 500;
}

.sobre-content .btn {
    margin-top: 20px;
}

.sobre-media {
    position: relative;
}

.image-glass-frame {
    position: relative;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
}

.sobre-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: calc(var(--border-radius-lg) - 10px);
    display: block;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.image-glass-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    border-radius: 0 var(--border-radius-lg) 0 0;
    z-index: -1;
    opacity: 0.3;
}

/* ==========================================================================
   COMMON CARD COMPONENTS
   ========================================================================== */
.card-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background: rgba(184, 160, 122, 0.08);
    border: 1px solid rgba(184, 160, 122, 0.25);
    color: var(--gold);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.card-icon-wrapper .icon {
    width: 28px;
    height: 28px;
}


.card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ==========================================================================
   ÁREAS DE ATUAÇÃO SECTION
   ========================================================================== */
.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.card-atuacao {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, display 0.4s allow-discrete;
}

.card-atuacao.card-hidden {
    display: none !important;
}

.card-atuacao:not(.card-hidden) {
    animation: fadeInUpCard 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   ATUAÇÃO TABS SYSTEM
   ========================================================================== */
.atuacao-tabs-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.tab-btn:hover {
    background: var(--glass-bg-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(184, 160, 122, 0.3);
}

.tab-btn .icon {
    width: 20px;
    height: 20px;
}

.card-atuacao-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.card-atuacao-arrow {
    display: none;
}

.card-atuacao:hover .card-atuacao-header {
    border-bottom-color: rgba(184, 160, 122, 0.2);
}

.card-atuacao-header .card-title {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.card-atuacao-content {
    padding: 24px 32px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-atuacao-content .card-description {
    margin-bottom: 20px;
}

.atuacao-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.atuacao-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.atuacao-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.2rem;
    line-height: 1;
}

.btn-card-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius-md);
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.card-atuacao:hover .btn-card-whatsapp {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(184, 160, 122, 0.05);
}

.btn-card-whatsapp:hover {
    background: var(--gold) !important;
    color: var(--bg-dark) !important;
    box-shadow: 0 4px 15px rgba(184, 160, 122, 0.3);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-accordion {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-hover);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    gap: 20px;
}

.faq-icon {
    color: var(--gold);
    transition: var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   LOCALIZAÇÃO SECTION
   ========================================================================== */
.localizacao-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.pin-icon {
    color: var(--gold);
    font-size: 24px;
}

.address-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.map-container {
    position: relative;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
    margin-top: 40px;
    transition: var(--transition-smooth);
    line-height: 0;
}

.map-container:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px 0 rgba(184, 160, 122, 0.15);
}

.map-container iframe {
    border-radius: calc(var(--border-radius-lg) - 10px);
    display: block;
    border: none;
}



/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
    background: #04060d;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

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

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 500;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    transition: var(--transition-quick);
}

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

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-contact-info .icon {
    color: var(--gold);
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.footer-contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-quick);
}

.footer-contact-info a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
    text-align: center;
}

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

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

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

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* WhatsApp pulse effect */
.whatsapp-floating::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: inherit;
    opacity: 0.4;
    z-index: -1;
    animation: pulseWhatsapp 2s infinite;
}

@keyframes pulseWhatsapp {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-floating .tooltip-text {
    position: absolute;
    right: 75px;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    transform: translateX(10px);
}

.whatsapp-floating:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-consent {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 600px;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-md);
    padding: 20px 24px;
    z-index: 1000;
    display: none;
    animation: slideUpCookie 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpCookie {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
    flex: 1;
    min-width: 250px;
}

.cookie-content button {
    white-space: nowrap;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.scroll-anim {
    opacity: 0;
    will-change: transform, opacity;
}

.scroll-fade-in-up {
    transform: translateY(40px);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-scale-in {
    transform: scale(0.96);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-anim.scroll-active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ==========================================================================
   ESTATÍSTICAS SECTION
   ========================================================================== */
.estatisticas-section {
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 24px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(184, 160, 122, 0.15);
}

.stat-label {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Add a line separator between stats on desktop */
.stat-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   EQUIPE SECTION
   ========================================================================== */
.equipe-section {
    position: relative;
    z-index: 2;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card-membro {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.membro-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.membro-media::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(6, 9, 19, 0.9));
    z-index: 1;
}

.membro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    background: linear-gradient(135deg, #111a2e, #050811);
}

.card-membro:hover .membro-image {
    transform: scale(1.05);
}

.membro-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.membro-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.membro-role {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 16px;
    display: inline-block;
}

.membro-description {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.membro-socials {
    margin-top: auto;
}

.membro-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.card-membro:hover .membro-link {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(184, 160, 122, 0.05);
}

.membro-link:hover {
    background: var(--gold) !important;
    color: var(--bg-dark) !important;
    box-shadow: 0 4px 15px rgba(184, 160, 122, 0.3);
}

/* ==========================================================================
   COMO FUNCIONA SECTION
   ========================================================================== */
.como-funciona-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    margin-bottom: 50px;
}

/* Timeline connector line on desktop */
.como-funciona-steps::before {
    content: '';
    position: absolute;
    top: 55px;
    /* Center of the 60px icon wrapper + border spacing */
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(to right, rgba(184, 160, 122, 0.05), var(--gold), rgba(184, 160, 122, 0.05));
    z-index: 1;
}

.step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 30px 24px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(12px);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 160, 122, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.step-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--gold);
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(184, 160, 122, 0.2);
    z-index: 3;
    transition: var(--transition-smooth);
}

.step-card:hover .step-icon-wrapper {
    background: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(184, 160, 122, 0.5);
}

.step-icon-wrapper .icon {
    width: 26px;
    height: 26px;
}

.step-number {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: var(--gold);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--bg-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-weight: 300;
}

.como-funciona-cta {
    text-align: center;
    margin-top: 20px;
}

.como-funciona-cta .btn {
    padding: 14px 28px;
}

/* ==========================================================================
   FAQ & FOOTER ADDITIONS
   ========================================================================== */
.faq-cta {
    text-align: center;
    margin-top: 50px;
}

.faq-cta .btn {
    padding: 14px 28px;
}

.footer-cta-phrase {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--gold);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 24px;
    font-style: italic;
    opacity: 0.9;
}

.footer-hours span {
    color: var(--text-secondary);
}

.footer-oab {
    font-size: 0.8rem !important;
    color: var(--text-muted);
    font-weight: 300;
    margin-top: 8px;
    opacity: 0.8;
}

/* ==========================================================================
   CONTATO SECTION & FORMULÁRIO
   ========================================================================== */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.form-card {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 14px 20px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-smooth);
    width: 100%;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B8A07A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

select.form-control option {
    background-color: var(--bg-dark-alt);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px var(--gold-glow);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.btn-block {
    width: 100%;
}

.form-status {
    margin-top: 20px;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 500;
    min-height: 24px;
    transition: var(--transition-quick);
}

.form-status.success {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.25);
}

.form-status.error {
    color: #f87171;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.25);
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

/* Tablet viewports (max-width: 991px) */
@media (max-width: 991px) {
    .container-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    /* Toggle hamburger display */
    .menu-toggle {
        display: flex;
    }

    /* Mobile nav drawer style */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(6, 9, 19, 0.95);
        backdrop-filter: blur(25px);
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 100px 40px;
        transition: var(--transition-smooth);
        z-index: 1000;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .nav-item {
        font-size: 1.15rem;
    }

    .nav-btn-contact {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: 16px;
    }

    /* Grid layouts adjustments */
    .sobre-grid,
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-media {
        order: -1;
        /* Place image on top of text on tablets */
        max-width: 500px;
        margin-right: auto;
        margin-left: auto;
        width: 100%;
    }

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

    .contact-col {
        grid-column: span 2;
    }

    /* Collapsible practice area cards on mobile */
    .card-atuacao-header {
        position: relative;
        padding-right: 60px;
        /* Make space for expand arrow */
        cursor: pointer;
    }

    .card-atuacao-arrow {
        display: block;
        position: absolute;
        right: 32px;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        fill: var(--gold);
        transition: var(--transition-smooth);
        pointer-events: none;
    }

    .card-atuacao.active .card-atuacao-arrow {
        transform: translateY(-50%) rotate(180deg);
    }

    .card-atuacao-content {
        max-height: 0;
        overflow: hidden;
        padding-top: 0;
        padding-bottom: 0;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    }

    .card-atuacao.active .card-atuacao-content {
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .equipe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Como funciona responsive on tablet */
    .como-funciona-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .como-funciona-steps::before {
        display: none;
    }
}

/* Smartphone viewports (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .scroll-indicator {
        display: none;
    }

    .atuacao-tabs-container {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        margin-bottom: 30px;
    }

    .tab-btn {
        justify-content: center;
    }


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

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .section-header .section-subtitle {
        margin-right: auto;
        margin-left: auto;
    }

    .localizacao-info {
        flex-direction: column;
        text-align: center;
    }

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

    .contact-col {
        grid-column: span 1;
    }

    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .cookie-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 16px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }

    /* Responsive Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 24px;
    }

    /* Responsive Equipe */
    .equipe-grid {
        grid-template-columns: 1fr;
    }

    /* Como funciona responsive on mobile */
    .como-funciona-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}