/* Custom Variables for a Premium Palette */
:root {
    --primary-blue: #061756;
    --dark-bg: #030a26;
    --navy-card: #091d6b;
    --navy-card-hover: #0d278a;
    
    /* Gold Accents */
    --gold: #D4AF37;
    --gold-light: #E6C594;
    --gold-dark: #B39266;
    --gold-gradient: linear-gradient(135deg, #C5A880 0%, #E6C594 50%, #B39266 100%);
    --gold-gradient-hover: linear-gradient(135deg, #B39266 0%, #E6C594 50%, #C5A880 100%);
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #F4F6FA;
    --text-light: #f1f3f7;
    --text-muted: #a4b3d6;
    --text-dark: #1e2538;
    --border-color: rgba(197, 168, 128, 0.2);
    --border-color-glow: rgba(197, 168, 128, 0.5);
    
    /* Typography & Spacing */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 10px 25px rgba(197, 168, 128, 0.15);
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
}

p {
    color: var(--text-muted);
}

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

/* Utility Containers */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--primary-blue);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient-hover);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-gold:hover::before {
    opacity: 1;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(197, 168, 128, 0.3);
}

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

.btn-outline:hover {
    background: rgba(197, 168, 128, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header & Navbar */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 10, 38, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar-header.scrolled {
    padding: 8px 0;
    background: rgba(3, 10, 38, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

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

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

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    color: var(--text-muted);
}

.nav-item:hover, .nav-item.active {
    color: var(--gold-light);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 6px;
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--primary-blue);
    z-index: 1002;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-nav-drawer.active {
    transform: translateX(-320px);
}

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

.drawer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

.drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-item {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.drawer-item:hover {
    color: var(--gold-light);
    padding-left: 8px;
}

/* Hero Section */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
    background: radial-gradient(circle at 70% 30%, rgba(6, 23, 86, 0.6) 0%, rgba(3, 10, 38, 1) 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
}

.gold-line {
    width: 32px;
    height: 2px;
    background: var(--gold-gradient);
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    font-weight: 700;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--primary-blue);
    border: 1px solid var(--border-color);
}

.hero-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) contrast(1.05);
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

.gold-border-decor {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--border-color);
    pointer-events: none;
    transition: var(--transition);
}

.hero-image-wrapper:hover .gold-border-decor {
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-color: var(--gold);
}

.floating-badge {
    position: absolute;
    bottom: 24px;
    left: -20px;
    background: rgba(6, 23, 86, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold);
    padding: 16px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    max-width: 250px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.badge-icon {
    color: var(--gold);
    font-size: 2rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

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

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

/* Section Header Shared */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    display: block;
    margin-bottom: 12px;
}

.section-subtitle-white {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--white);
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 20px auto 0;
}

.gold-divider-left {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 16px 0 24px;
}

/* Pillars Section */
.pillars-section {
    background: var(--dark-bg);
}

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

.pillar-card {
    background: var(--navy-card);
    padding: 40px 32px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-8px);
    background: var(--navy-card-hover);
    border-color: var(--border-color-glow);
    box-shadow: var(--shadow);
}

.pillar-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(197, 168, 128, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--gold-light);
    transition: var(--transition);
}

.pillar-icon-box span {
    font-size: 2rem;
}

.pillar-card:hover .pillar-icon-box {
    background: var(--gold-gradient);
    color: var(--primary-blue);
    transform: rotateY(180deg);
}

.pillar-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--white);
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(6, 23, 86, 0.3) 100%);
}

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

.service-card {
    background: rgba(9, 29, 107, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--navy-card);
    border-color: var(--border-color-glow);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 24px;
    display: block;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.card-link span {
    transition: var(--transition);
}

.service-card:hover .card-link span {
    transform: translateX(4px);
}

/* About Section */
.about-section {
    background: var(--dark-bg);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image-column {
    display: flex;
    justify-content: center;
}

.about-image-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.about-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--gold-gradient);
    color: var(--primary-blue);
    padding: 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow);
}

.exp-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.about-content-column {
    display: flex;
    flex-direction: column;
}

.about-lead {
    font-size: 1.25rem;
    font-family: var(--font-serif);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.5;
}

.about-text {
    font-size: 1rem;
    margin-bottom: 20px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 2.2rem;
    color: var(--gold-light);
    font-family: var(--font-serif);
}

.metric-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Intake / Triagem Section */
.intake-section {
    background: radial-gradient(circle at 10% 20%, rgba(6, 23, 86, 0.8) 0%, rgba(3, 10, 38, 1) 90%);
    position: relative;
    border-top: 1px solid var(--border-color);
}

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

.intake-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.intake-info h2 {
    font-size: 2.5rem;
    color: var(--white);
}

.intake-steps {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.intake-steps li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--gold-gradient);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.intake-steps strong {
    color: var(--white);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 4px;
}

.intake-steps p {
    font-size: 0.9rem;
}

.intake-form-box {
    background: rgba(9, 29, 107, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.intake-form-box h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.25rem;
    pointer-events: none;
}

.input-icon-textarea {
    top: 20px;
    transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(3, 10, 38, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 16px 12px 40px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.3);
}

/* Custom Urgency Radios */
.urgency-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.urgency-option {
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    background: rgba(3, 10, 38, 0.4);
}

.urgency-option input {
    display: none;
}

.urgency-option span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.urgency-option:hover {
    border-color: rgba(197, 168, 128, 0.4);
}

.urgency-option input:checked + span {
    color: var(--primary-blue);
}

.option-low input:checked {
    background: #4ade80;
}
.option-low:has(input:checked) {
    background: #4ade80;
    border-color: #4ade80;
}
.option-medium:has(input:checked) {
    background: #facc15;
    border-color: #facc15;
}
.option-high:has(input:checked) {
    background: #f87171;
    border-color: #f87171;
}

/* Footer Section */
.main-footer {
    background: #02071a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-top .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-contact span {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
}

.oab-disclaimer {
    font-size: 0.75rem;
    color: rgba(164, 179, 214, 0.5);
    max-width: 800px;
}

/* Floating WhatsApp Button */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin: 0 auto;
    }
    
    .hero-image-container {
        margin-top: 40px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-column {
        order: 2;
    }
    
    .about-content-column {
        order: 1;
        align-items: center;
        text-align: center;
    }
    
    .gold-divider-left {
        margin: 16px auto 24px;
    }
    
    .intake-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 340px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-logo {
        align-self: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .intake-form-box {
        padding: 24px;
    }
    
    .urgency-selector {
        grid-template-columns: 1fr;
    }
}
