/* ==========================================================================
   BLLZ ADVOCACIA - ADVANCED LUXURY LEGAL DESIGN SYSTEM
   Bellato, Lobo, Luciano & Zorgdrager Sociedade de Advogados (OAB/SP 49.757)
   ========================================================================== */

:root {
    /* Brand Color Palette */
    --gold-primary: #C8A34F;
    --gold-light: #E8D39E;
    --gold-dark: #9A772D;
    --gold-glow: rgba(200, 163, 79, 0.25);
    
    --navy-black: #0B0E14;
    --navy-dark: #121824;
    --navy-slate: #1C2434;
    --navy-light: #2A364F;
    
    --bg-light: #F9F8F5;
    --bg-warm: #F2EFE9;
    --bg-card-light: #FFFFFF;
    --bg-card-dark: #171E2C;

    --text-primary: #1A1F2C;
    --text-secondary: #4B5563;
    --text-muted: #6E798D;
    --text-light: #F9FAFB;
    --text-gold: #DCA54A;

    --border-light: rgba(200, 163, 79, 0.2);
    --border-dark: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(11, 14, 20, 0.08), 0 8px 10px -6px rgba(11, 14, 20, 0.04);
    --shadow-lg: 0 20px 40px -15px rgba(11, 14, 20, 0.15);
    --shadow-gold: 0 10px 30px -5px rgba(200, 163, 79, 0.3);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-full: 9999px;
}

/* Base Reset & Globals */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

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

ul {
    list-style: none;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

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

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

.light-text, .light-text h1, .light-text h2, .light-text h3 {
    color: var(--text-light) !important;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5.5rem 0;
    position: relative;
}

.bg-dark {
    background-color: var(--navy-dark);
    color: var(--text-light);
}

.bg-light {
    background-color: var(--bg-warm);
}

/* Section Header Component */
.section-header {
    margin-bottom: 3.5rem;
    position: relative;
}

.subheading {
    font-family: var(--font-body);
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-dark);
    display: block;
    margin-bottom: 0.75rem;
}

.bg-dark .subheading {
    color: var(--gold-light);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    color: var(--navy-dark);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.bg-dark .section-title {
    color: var(--text-light);
}

.section-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
}

.bg-dark .section-subtitle {
    color: var(--text-muted);
}

.title-separator {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    margin: 1.25rem auto 0;
    border-radius: var(--radius-full);
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.95rem 1.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    min-height: 48px;
}

.btn-sm {
    padding: 0.65rem 1.25rem;
    font-size: 0.78rem;
    min-height: 40px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--navy-black);
    border-color: var(--gold-primary);
}

.btn-gold:hover, .btn-gold:active {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--navy-black);
}

.btn-outline-hero {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-outline-hero:hover, .btn-outline-hero:active {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--gold-light);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 163, 79, 0.2);
    transition: var(--transition-fast);
    padding: 0.85rem 0;
}

.header.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.logo-img {
    height: clamp(38px, 5vw, 48px);
    width: auto;
    transition: var(--transition-fast);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    font-size: 0.825rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy-dark);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--gold-dark);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--navy-dark);
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background-color: var(--navy-dark);
    color: var(--text-light);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 1.5rem;
}

.mobile-logo {
    height: 34px;
    filter: brightness(0) invert(1);
}

.mobile-close {
    background: transparent;
    border: none;
    color: var(--gold-light);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    padding: 0.4rem 0;
    display: block;
}

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

.mobile-drawer-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-oab {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gold-light);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: clamp(8.5rem, 12vw, 11rem);
    padding-bottom: 5.5rem;
    background: linear-gradient(135deg, #0D131F 0%, #172031 60%, #232D42 100%);
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(200, 163, 79, 0.12), transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(200, 163, 79, 0.08), transparent 40%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 163, 79, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200, 163, 79, 0.15);
    border: 1px solid rgba(200, 163, 79, 0.35);
    color: var(--gold-light);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: clamp(0.75rem, 1.2vw, 0.825rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.hero-title {
    font-size: clamp(1.8rem, 4.2vw, 3.4rem);
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-subtitle-brand {
    display: block;
    font-size: clamp(1.05rem, 2vw, 1.55rem);
    color: var(--gold-light);
    font-weight: 400;
    letter-spacing: 0.12em;
    margin-top: 0.25rem;
}

.hero-tagline {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    line-height: 1.45;
}

.hero-description {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 620px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition-fast);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 163, 79, 0.4);
    transform: translateX(6px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(200, 163, 79, 0.15);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #FFFFFF;
}

.about-img {
    width: 100%;
    height: clamp(340px, 40vw, 520px);
    object-fit: cover;
    object-position: center top;
}

/* Expandable Photo Seal Badges (Selos Interativos nas Fotos) */
.photo-seal-badge,
.about-badge-floating {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: auto;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    background: rgba(11, 14, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--gold-primary);
    border-radius: 50px;
    padding: 5px;
    color: var(--text-light);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 46px;
    height: 46px;
    max-width: 46px;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

.photo-seal-badge:hover,
.about-badge-floating:hover {
    border-color: var(--gold-light);
    box-shadow: 0 10px 28px rgba(200, 163, 79, 0.35);
    transform: translateY(-2px);
}

.seal-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.4s ease, background 0.3s ease;
}

.photo-seal-badge.expanded .seal-icon-box,
.about-badge-floating.expanded .seal-icon-box {
    transform: rotate(360deg);
    background: var(--gold-light);
}

.seal-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    animation: sealPulse 2s infinite;
    pointer-events: none;
}

@keyframes sealPulse {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.5); opacity: 0; }
}

.photo-seal-badge.expanded .seal-pulse,
.about-badge-floating.expanded .seal-pulse {
    display: none;
}

.seal-content-box,
.about-badge-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0.65rem;
    padding-right: 0.85rem;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
    pointer-events: none;
}

.photo-seal-badge.expanded,
.about-badge-floating.expanded {
    width: auto;
    max-width: 320px;
    height: auto;
    min-height: 46px;
    border-radius: 30px;
    padding: 5px 14px 5px 5px;
}

.photo-seal-badge.expanded .seal-content-box,
.about-badge-floating.expanded .about-badge-content {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.seal-content-box strong,
.about-badge-content strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.25;
}

.seal-content-box span,
.about-badge-content span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.2;
    margin-top: 2px;
}

.about-heading {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    color: var(--navy-dark);
    margin-bottom: 1.25rem;
}

.about-paragraph {
    font-size: clamp(0.95rem, 1.2vw, 1.025rem);
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.about-feature-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(200, 163, 79, 0.14);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.2rem;
}

.about-feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-action {
    margin-top: 2rem;
}

/* ==========================================================================
   PRACTICE AREAS SECTION
   ========================================================================== */
.areas-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--navy-black);
}

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

.area-card {
    background: var(--navy-slate);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.85rem;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.area-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.area-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(200, 163, 79, 0.15);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.area-badge {
    position: absolute;
    top: 1.85rem;
    right: 1.85rem;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(200, 163, 79, 0.3);
    color: var(--gold-light);
    border-radius: var(--radius-sm);
}

.area-title {
    font-size: 1.28rem;
    color: var(--text-light);
    margin-bottom: 0.85rem;
}

.area-excerpt {
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.area-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    margin-top: auto;
}

.area-bullets li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.area-bullets i {
    color: var(--gold-primary);
    font-size: 0.85rem;
}

.btn-area-details {
    background: transparent;
    border: none;
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.btn-area-details:hover {
    color: #FFFFFF;
    gap: 0.8rem;
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.team-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(23, 27, 34, 0.08);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.team-img-box {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 14, 20, 0.88) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-name {
    font-size: 1.25rem;
    color: var(--navy-dark);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    display: block;
    margin-bottom: 0.75rem;
}

.team-badge {
    display: inline-block;
    background: var(--bg-warm);
    color: var(--navy-slate);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
}

.team-bio {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-mobile-action {
    display: none;
    margin-top: 1rem;
}

/* ==========================================================================
   DIFFERENTIALS SECTION
   ========================================================================== */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.diferencial-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 2.25rem 1.75rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(200, 163, 79, 0.15);
    transition: var(--transition-fast);
}

.diferencial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-primary);
}

.dif-number {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(200, 163, 79, 0.15);
    line-height: 1;
}

.dif-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--navy-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.diferencial-card h3 {
    font-size: 1.15rem;
    color: var(--navy-dark);
    margin-bottom: 0.75rem;
}

.diferencial-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   INTAKE FORM SECTION (WHATSAPP ASSISTANT)
   ========================================================================== */
.section-intake {
    background: linear-gradient(135deg, #0B0E14 0%, #151C2A 100%);
    position: relative;
}

.intake-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intake-info h2 {
    color: #FFFFFF;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
}

.intake-info p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.intake-check-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intake-check-list li {
    color: #FFFFFF;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.925rem;
}

.intake-form-box {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 163, 79, 0.35);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-lg);
}

.intake-form h3 {
    color: #FFFFFF;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    min-height: 46px;
}

.form-control:focus {
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.12);
}

select.form-control option {
    background-color: var(--navy-dark);
    color: #FFFFFF;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.contact-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(23, 27, 34, 0.08);
    transition: var(--transition-fast);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: rgba(200, 163, 79, 0.14);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--navy-dark);
    margin-bottom: 0.75rem;
}

.contact-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.contact-subtext {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.contact-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.contact-link:hover {
    color: var(--navy-dark);
}

/* Location Map Box */
.location-box {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(200, 163, 79, 0.2);
}

.location-info {
    padding: 1.75rem 2rem;
    background: var(--navy-dark);
    color: #FFFFFF;
}

.location-info h3 {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.location-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.map-embed-wrapper iframe {
    display: block;
    height: clamp(260px, 35vw, 360px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--navy-black);
    color: var(--text-light);
    padding-top: 4.5rem;
    border-top: 1px solid rgba(200, 163, 79, 0.2);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.1fr 1.1fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}

.footer-logo {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.25rem;
}

.footer-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
}

.footer-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.85rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background: var(--gold-primary);
    color: var(--navy-black);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.05rem;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    transition: var(--transition-fast);
}

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

.footer-oab, .footer-address {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--gold-light);
    border: 1px solid rgba(200, 163, 79, 0.3);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
}

.privacy-link:hover {
    background: rgba(200, 163, 79, 0.15);
    color: #FFFFFF;
}

.footer-bottom {
    background: #06080C;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-fast);
}

.whatsapp-float:hover, .whatsapp-float:active {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
    color: #FFFFFF;
}

.whatsapp-badge {
    position: absolute;
    right: 66px;
    background: var(--navy-dark);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gold-primary);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-badge {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   MODAL COMPONENT
   ========================================================================== */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: min(650px, 92%);
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    background: var(--navy-dark);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    z-index: 1200;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--gold-primary);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 1150;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--gold-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ==========================================================================
   ADVANCED RESPONSIVE BREAKPOINTS (CELULARES, TABLETS E DESKTOPS)
   ========================================================================== */

/* Tablets e Laptops Menores (<= 1024px) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-grid, .intake-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets em modo retrato e celulares grandes (<= 768px) */
@media (max-width: 768px) {
    .nav-menu, .header-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-section {
        padding-top: 7.5rem;
        padding-bottom: 4rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .section {
        padding: 4rem 0;
    }

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

    .areas-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        margin-bottom: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .team-card .team-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(11, 14, 20, 0.95) 0%, rgba(11, 14, 20, 0.4) 100%);
        padding: 1rem;
    }

    .team-mobile-action {
        display: block;
    }

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

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

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

    .footer-bottom-container {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }

    .whatsapp-badge {
        display: none;
    }
}

/* Celulares pequenos (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle-brand {
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }

    .stat-card {
        padding: 1rem;
        gap: 1rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    .about-img {
        height: 280px;
    }

    .photo-seal-badge,
    .about-badge-floating {
        left: 0.85rem;
        bottom: 0.85rem;
    }

    .intake-form-box {
        padding: 1.5rem 1.15rem;
    }

    .location-info {
        padding: 1.25rem 1.15rem;
    }

    .modal {
        padding: 1.5rem 1.15rem;
        width: 95%;
    }
}
