/* ============================================
   GALVÃO ADVOCACIA — Design System Global
   Navy #1a2744 + Dourado #c9a84c
   ============================================ */

/* --- Variáveis --- */
:root {
    --navy:       #1a2744;
    --navy-light: #243359;
    --navy-dark:  #111b30;
    --gold:       #c9a84c;
    --gold-light: #e2c97a;
    --gold-pale:  #f9f3e3;
    --white:      #ffffff;
    --gray-50:    #f8f9fa;
    --gray-100:   #f1f3f5;
    --gray-200:   #e9ecef;
    --gray-400:   #adb5bd;
    --gray-600:   #6c757d;
    --gray-800:   #343a40;
    --text:       #1e2b3c;
    --radius-sm:  4px;
    --radius:     8px;
    --radius-lg:  16px;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
    --shadow:     0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
    --transition: 0.25s ease;
    --font-main:  'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Contentor --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo .logo-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.nav-logo .logo-sub {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--gold);
    background: rgba(255,255,255,0.06);
}

.nav-links .btn-nav-cta {
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
}

.nav-links .btn-nav-cta:hover {
    background: var(--gold-light);
    color: var(--navy-dark);
}

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}

.footer-brand .logo-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.footer-contact-item .icon {
    flex-shrink: 0;
    color: var(--gold);
    font-size: 1rem;
    margin-top: 1px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom .badge-oa {
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ============================================
   FORMULÁRIOS
   ============================================ */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

/* ============================================
   CARDS DE SERVIÇO
   ============================================ */
.service-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

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

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.card-link:hover { gap: 10px; }

/* ============================================
   SECÇÕES GENÉRICAS
   ============================================ */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-dark .section-title { color: var(--white); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 580px;
    line-height: 1.7;
}

.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

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

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

/* Grid 3 colunas */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Grid 2 colunas */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

/* ============================================
   BADGE / CHIP
   ============================================ */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: var(--gold-pale);
    color: #8a6d1a;
    border: 1px solid rgba(201,168,76,0.3);
}

/* ============================================
   HERO (página base)
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1e3460 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 .highlight { color: var(--gold); }

.hero p.lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
}

.hero-badge-item .dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   LEAD CAPTURE BOX (landing pages)
   ============================================ */
.lead-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px 36px;
    border-top: 4px solid var(--gold);
}

.lead-box-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.lead-box-sub {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.lead-box .privacy-note {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 12px;
    text-align: center;
}

/* ============================================
   STEPS / PROCESSO
   ============================================ */
.steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
}

.faq-question {
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0;
    font-family: var(--font-main);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    transition: transform var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    display: none;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    padding-top: 12px;
}

.faq-item.open .faq-answer { display: block; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--navy);
    padding: 20px 0;
}

.trust-bar-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
}

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

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
    font-size: 0.825rem;
    color: var(--gray-600);
}

.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        padding: 16px;
        gap: 4px;
    }

    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; width: 100%; }

    .nav-toggle { display: flex; }

    .hero { padding: 64px 0 60px; }
    .hero::after { display: none; }

    .section { padding: 56px 0; }

    .lead-box { padding: 28px 24px; }
}

@media (max-width: 580px) {
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .trust-bar-inner { flex-direction: column; align-items: center; gap: 16px; }
}
