/* ==========================================================================
   SANDRA MG OLIVEIRA - Compliance Trabalhista & Segurança Jurídica
   Premium Styling Sheet (Vanilla CSS)
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary-dark: hsla(220, 30%, 8%, 1);       /* Deep Navy/Black */
    --secondary-dark: hsla(220, 25%, 13%, 1);     /* Rich Slate Card BG */
    --accent-gold: hsla(45, 60%, 52%, 1);         /* Traditional Legal Gold */
    --accent-gold-hover: hsla(45, 80%, 55%, 1);   /* Bright Gold */
    --accent-gold-light: hsla(45, 60%, 52%, 0.15); /* Semi-transparent Gold */
    --text-light: hsla(210, 20%, 98%, 1);         /* Clear White */
    --text-muted: hsla(210, 15%, 80%, 1);         /* Light Grey Body */
    --text-dark: hsla(220, 30%, 15%, 1);          /* Dark Grey for light sections */
    --text-dark-muted: hsla(220, 15%, 40%, 1);    /* Muted Text for light sections */
    --bg-light: hsla(220, 20%, 97%, 1);           /* Pure Light Gray */
    --bg-light-card: hsla(0, 0%, 100%, 1);         /* Pure White Card */
    --border-color-dark: hsla(220, 20%, 20%, 0.5); /* Subtle dark border */
    --border-color-light: hsla(220, 15%, 90%, 1);/* Subtle light border */
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-width: 1400px;
    --header-height: 80px;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    background-color: var(--primary-dark);
    color: var(--text-muted);
    overflow-x: hidden;
}

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

p {
    font-size: 1rem;
}

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

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

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

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

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.premium-bg {
    background-color: var(--primary-dark);
    position: relative;
}

.premium-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, hsla(220, 25%, 15%, 0.3) 0%, transparent 80%);
    pointer-events: none;
}

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

.light-bg h2, .light-bg h3, .light-bg h4 {
    color: var(--text-dark);
}

.dark-section {
    background-color: var(--secondary-dark);
    border-top: 1px solid var(--border-color-dark);
    border-bottom: 1px solid var(--border-color-dark);
}

.premium-dark-bg {
    background: linear-gradient(135deg, hsla(220, 30%, 6%, 1) 0%, hsla(220, 30%, 10%, 1) 100%);
    position: relative;
    border-top: 1px solid var(--accent-gold-light);
}

.grid {
    display: grid;
}

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

.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

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

.align-stretch {
    align-items: stretch;
}

.gap-md {
    gap: 2rem;
}

.gap-lg {
    gap: 4rem;
}

.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 4.5rem; }

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

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

.max-w-xl {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Section Headers --- */
.section-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.section-subtitle.centered {
    display: block;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-gold {
    background: linear-gradient(135deg, hsla(45, 60%, 52%, 1) 0%, hsla(45, 80%, 65%, 1) 50%, hsla(45, 60%, 52%, 1) 100%);
    background-size: 200% auto;
    color: var(--primary-dark);
    border: none;
    box-shadow: 0 4px 15px hsla(45, 60%, 52%, 0.2);
    transition: all 0.4s ease;
}

.btn-gold:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsla(45, 60%, 52%, 0.4);
}

.btn-primary {
    background-color: var(--accent-gold-light);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid hsla(0, 0%, 100%, 0.2);
}

.btn-outline:hover {
    background-color: hsla(0, 0%, 100%, 0.05);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-outline-gold:hover {
    background-color: hsla(45, 60%, 52%, 0.1);
    color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Navigation Header --- */
.main-header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: hsla(220, 30%, 8%, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color-dark);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1650px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logo-badge {
    width: 58px;
    height: 58px;
    background-color: hsla(220, 30%, 4%, 1);
    border: 1.5px solid var(--accent-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.logo-badge i {
    color: var(--accent-gold);
    font-size: 1.75rem;
    transition: var(--transition-smooth);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.name-gold {
    color: var(--accent-gold);
    background: linear-gradient(135deg, #ffe082 0%, var(--accent-gold) 60%, #b28900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.name-white {
    color: #ffffff;
    font-weight: 600;
}

.logo-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold) 15%, var(--accent-gold) 85%, transparent);
    position: relative;
    margin: 4px 0;
}

.divider-diamond {
    width: 4px;
    height: 4px;
    background-color: var(--accent-gold);
    transform: rotate(45deg);
    position: absolute;
    top: -1.5px;
}

.logo-subtext {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    color: #e0e0e0;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    line-height: 1;
}

/* Hover effects */
.logo-wrapper:hover .logo-badge {
    border-color: var(--accent-gold-hover);
    box-shadow: 0 4px 15px hsla(45, 60%, 52%, 0.35);
    transform: translateY(-1px);
}

.logo-wrapper:hover .logo-badge i {
    transform: scale(1.08);
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0.2rem;
    white-space: nowrap;
}

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

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

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

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

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

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-light);
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 90vh;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    background: url('assets/office_bg.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, hsla(220, 30%, 8%, 0.95) 0%, hsla(220, 30%, 8%, 0.85) 45%, transparent 100%),
                      linear-gradient(180deg, transparent 70%, var(--primary-dark) 100%),
                      url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 48c-2 0-3 1-4 2v4c0 1-1 2-2 2h-4c-1 0-2-1-2-2v-4c-1-1-2-2-4-2h-4c-2 0-3 1-4 2v4c0 1-1 2-2 2h-4c-1 0-2-1-2-2v-4c-1-1-2-2-4-2H8c-2 0-3 1-4 2v4c0 1-1 2-2 2H0v-2c0-1 1-2 2-2h4c1 0 2-1 2-2v-4c1-1 2-2 4-2h4c2 0 3 1 4 2v4c0 1 1 2 2 2h4c1 0 2-1 2-2v-4c1-1 2-2 4-2h4c2 0 3 1 4 2v4c0 1 1 2 2 2h4c1 0 2-1 2-2v-4c1-1 2-2 4-2h4c2 0 3 1 4 2v4c0 1 1 2 2 2h2v-2c0-1-1-2-2-2h-4zM30 20c-2 0-3 1-4 2v4c0 1-1 2-2 2h-4c-1 0-2-1-2-2v-4c-1-1-2-2-4-2h-4c-2 0-3 1-4 2v4c0 1-1 2-2 2H2c-1 0-2-1-2-2v-4c-1-1-2-2-4-2h-4c-2 0-3 1-4 2v4c0 1-1 2-2 2H0v-2c0-1 1-2 2-2h4c1 0 2-1 2-2v-4c1-1 2-2 4-2h4c2 0 3 1 4 2v4c0 1 1 2 2 2h4c1 0 2-1 2-2v-4c1-1 2-2 4-2h4c2 0 3 1 4 2v4c0 1 1 2 2 2h4c1 0 2-1 2-2v-4c1-1 2-2 4-2h4c2 0 3 1 4 2v4c0 1 1 2 2 2h2v-2c0-1-1-2-2-2h-4z' fill='%23ffffff' fill-opacity='0.015' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

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

.hero-content {
    animation: fadeInUp 1s ease;
    max-width: 800px;
}

.hero-tagline {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 2rem;
    letter-spacing: 0;
    line-height: 1.25;
    max-width: 750px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.hero-features-list {
    list-style: none;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 500;
}

.hero-features-list li i {
    color: var(--accent-gold);
    width: 20px;
    text-align: center;
}

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

.hero-badge-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInRight 1s ease;
}

.hero-badge {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color-dark);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    box-shadow: 0 10px 30px hsla(220, 30%, 4%, 0.5);
    transition: var(--transition-smooth);
}

.hero-badge:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-gold-light);
    box-shadow: 0 15px 35px hsla(220, 30%, 4%, 0.7);
}

.badge-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    background-color: hsla(45, 60%, 52%, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.badge-text h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.badge-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Quem Somos Section & Profile --- */
.about-image-wrapper {
    position: relative;
}

.image-frame {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color-dark);
    box-shadow: 0 20px 40px hsla(220, 30%, 4%, 0.4);
    background-color: var(--secondary-dark);
    position: relative;
}

.image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    transform: translate(15px, 15px);
    z-index: -1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .image-frame::after {
    transform: translate(8px, 8px);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(10%) contrast(105%);
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-image {
    filter: grayscale(0%) contrast(100%);
}

.experience-card {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    max-width: 180px;
    text-align: center;
}

.exp-years {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.subsection-title {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color-dark);
    padding-bottom: 0.5rem;
}

.qualification-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.qualification-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.qualification-list li i {
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.qualification-list li strong {
    color: var(--text-light);
}

/* --- Compliance Section --- */
.compliance-intro {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.compliance-text {
    font-size: 1rem;
    color: var(--text-dark-muted);
}

.compliance-card {
    background-color: var(--bg-light-card);
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 20px hsla(220, 20%, 50%, 0.05);
    transition: var(--transition-smooth);
}

.compliance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px hsla(220, 20%, 50%, 0.12);
    border-color: var(--accent-gold);
}

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

.compliance-card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.compliance-card p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
}

/* --- Tabs & Especialidades Section --- */
.tabs-container {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-color-dark);
    padding-bottom: 1rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn i {
    font-size: 0.95rem;
}

.tab-btn:hover {
    color: var(--text-light);
    background-color: hsla(0, 0%, 100%, 0.03);
}

.tab-btn.active {
    color: var(--accent-gold);
    background-color: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.service-detail-card {
    background-color: var(--primary-dark);
    border: 1px solid var(--border-color-dark);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition-fast);
}

.service-detail-card:hover {
    border-color: var(--accent-gold-light);
    transform: scale(1.01);
}

.service-icon-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon-heading i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-icon-heading h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
}

.service-detail-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tab-section-heading {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tab-section-p {
    margin-bottom: 1.5rem;
}

.styled-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.styled-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
}

.styled-list li i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.interactive-document-icon {
    position: relative;
    display: inline-block;
    padding: 2rem;
}

.interactive-document-icon i {
    font-size: 8rem;
    color: var(--accent-gold);
}

.doc-pulse {
    animation: pulse 3s infinite alternate;
}

.training-pulse {
    animation: pulseScale 3s infinite alternate;
}

.doc-badge {
    position: absolute;
    bottom: 30px;
    right: 0;
    background-color: #2e7d32;
    color: #fff;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-transform: uppercase;
}

/* --- Por que Investir Section --- */
.pattern-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
    position: relative;
    border-top: 1px solid var(--border-color-light);
    border-bottom: 1px solid var(--border-color-light);
}

.pattern-bg .section-title,
.pattern-bg h2,
.pattern-bg h3,
.pattern-bg h4 {
    color: var(--text-dark) !important;
}

.pattern-bg .section-desc,
.pattern-bg p {
    color: var(--text-dark-muted) !important;
}

.why-card {
    background-color: var(--bg-light-card);
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    padding: 3rem 2.2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-gold);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--primary-dark);
    background-color: var(--accent-gold-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: var(--transition-fast);
}

.why-card:hover .why-icon {
    background-color: var(--accent-gold);
}

.why-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
}

/* --- Contact & CTA Section --- */
.contact-info-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-lead {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.contact-instruction {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color-dark);
    transition: var(--transition-fast);
}

.contact-item:not(.non-clickable):hover {
    border-color: var(--accent-gold);
    background-color: hsla(220, 25%, 15%, 1);
    transform: translateX(5px);
}

.contact-icon-box {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 45px;
    height: 45px;
    background-color: hsla(220, 30%, 8%, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text-box span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.contact-text-box strong {
    font-size: 1.1rem;
    color: var(--text-light);
}

.glass-form-card {
    background-color: hsla(220, 25%, 12%, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid hsla(45, 60%, 52%, 0.3);
    border-radius: 8px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    max-width: 550px;
    margin: 0 auto;
}

.glass-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.glass-form-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.glass-form-card label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.glass-form-card input,
.glass-form-card textarea {
    width: 100%;
    background-color: hsla(220, 30%, 8%, 1);
    border: 1px solid hsla(205, 40%, 35%, 1); /* Borda em azul sutil e elegante */
    color: hsla(205, 50%, 92%, 1); /* Texto digitado em azul gelo muito elegante e legível */
    padding: 0.9rem 1.1rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.glass-form-card input::placeholder,
.glass-form-card textarea::placeholder {
    color: hsla(205, 35%, 72%, 1); /* Placeholder em tom azul claro de alta visibilidade (não fica apagado) */
}

.glass-form-card input:focus,
.glass-form-card textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px hsla(205, 40%, 35%, 0.4);
    background-color: hsla(220, 30%, 10%, 1);
}

.form-success-message {
    text-align: center;
    padding: 3rem 1rem;
}

.form-success-message i {
    font-size: 3.5rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.form-success-message h4 {
    font-family: var(--font-body);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.form-success-message p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hidden {
    display: none !important;
}

/* --- Footer --- */
.main-footer {
    background-color: hsla(220, 30%, 6%, 1);
    border-top: 1px solid var(--border-color-dark);
    padding: 5rem 0 2rem 0;
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-color-dark);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-top h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
}

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

.footer-top ul a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-top ul a:hover {
    color: var(--accent-gold);
    padding-left: 3px;
}

.footer-portal-col p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

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

.footer-extra-links {
    display: flex;
    gap: 1.5rem;
}

.footer-extra-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* --- Floating Elements --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition-fast);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #22c35e;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color-dark);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-8px);
    }
}

@keyframes pulseScale {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}


/* --- Especialidades Jurídicas (New) --- */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.specialty-card {
    background-color: var(--bg-light-card);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color-light);
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.specialty-card .sp-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    background-color: hsla(45, 60%, 52%, 0.05);
}

.specialty-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.specialty-card p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
    text-align: justify;
}

/* --- Tecnologia BlindCorp --- */
.tech-card-wrapper {
    position: relative;
    width: 280px;
    height: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, hsla(220, 30%, 12%, 1), hsla(220, 30%, 6%, 1));
    border: 1px solid hsla(45, 60%, 52%, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px hsla(45, 60%, 52%, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.tech-card-wrapper:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 50px hsla(45, 60%, 52%, 0.1);
}

.tech-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.5;
}

.tech-icon-container i {
    font-size: 5.5rem;
    color: var(--accent-gold);
    text-shadow: 0 0 20px hsla(45, 60%, 52%, 0.4);
    margin-bottom: 1.5rem;
}

.tech-card-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tech-dot {
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 10px #25d366;
    animation: pulseScale 1.5s infinite alternate;
}

.tech-card-bg {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, hsla(45, 60%, 52%, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ==========================================================================
   Responsive Design Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-badge-container {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-badge {
        flex: 1;
        max-width: 350px;
    }
    
    .grid-3-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .trust-items {
        flex-direction: column;
        gap: 0.3rem;
    }
    .trust-divider {
        display: none;
    }

    .grid-2-cols, .grid-3-cols, .grid-4-cols {
        grid-template-columns: 1fr;
    }
    
    .gap-lg {
        gap: 2.5rem;
    }
    
    /* Navigation Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--primary-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color-dark);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .btn-portal {
        display: none; /* Hide top portal button on small screen */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-badge-container {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-badge {
        width: 100%;
    }
    
    .experience-card {
        bottom: -15px;
        right: -15px;
        padding: 1rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: none;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .interactive-document-icon i {
        font-size: 5rem;
    }
    
    .order-2-mobile {
        order: 2;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .glass-form-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
