/*
 * Painel Adv — Starter Theme v4.0
 * Layout Profissional para Escritórios de Advocacia
 * Playfair Display (serifada elegante) + Inter (corpo)
 * Configurável via Customizer (cor_primaria / cor_destaque)
 */

/* ==========================================
   VARIÁVEIS
========================================== */
:root {
    /* Cores (sobrescritas via wp_add_inline_style) */
    --primary:       #1e3a5f;
    --primary-dk:    #0f2438;
    --primary-lt:    #2d5080;
    --accent:        #c9a84c;
    --accent-lt:     #e0c27a;
    --accent-dk:     #a88535;

    /* Neutros */
    --white:         #ffffff;
    --off-white:     #f7f6f3;
    --gray-50:       #f9fafb;
    --gray-100:      #f3f4f6;
    --gray-200:      #e5e7eb;
    --gray-400:      #9ca3af;
    --gray-600:      #4b5563;
    --text:          #111827;
    --text-muted:    #6b7280;

    /* Tipografia */
    --ff-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --ff-body:    'Inter', system-ui, -apple-system, sans-serif;

    --fz-xs:   0.75rem;
    --fz-sm:   0.875rem;
    --fz-base: 1rem;
    --fz-md:   1.125rem;
    --fz-lg:   1.25rem;
    --fz-xl:   1.5rem;
    --fz-2xl:  1.875rem;
    --fz-3xl:  2.25rem;
    --fz-4xl:  3rem;
    --fz-5xl:  3.75rem;

    /* Layout */
    --container: 1140px;
    --header-h:  76px;
    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-f:  9999px;

    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow:    0 4px 12px rgba(0,0,0,.10);
    --shadow-md: 0 8px 24px rgba(0,0,0,.12);
    --shadow-lg: 0 16px 40px rgba(0,0,0,.14);
    --shadow-xl: 0 24px 60px rgba(0,0,0,.20);

    /* Transições */
    --ease:       cubic-bezier(.4,0,.2,1);
    --transition: all .25s var(--ease);
    --tr-slow:    all .40s var(--ease);
}

/* ==========================================
   RESET
========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--ff-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
textarea { resize: vertical; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ==========================================
   TIPOGRAFIA
========================================== */
h1, h2, h3, h4, h5 {
    font-family: var(--ff-heading);
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
}
h1 { font-size: var(--fz-4xl); }
h2 { font-size: var(--fz-3xl); }
h3 { font-size: var(--fz-xl); }
h4 { font-size: var(--fz-lg); font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.75; }

/* ==========================================
   LAYOUT
========================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section { padding: 96px 0; }

/* ==========================================
   SECTION HEADER
========================================== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { margin-bottom: 16px; color: var(--primary); }
.section-header p  { max-width: 540px; margin: 0 auto; font-size: var(--fz-md); }

.section-title-light { color: var(--white) !important; }
.section-sub-light   { color: rgba(255,255,255,.72) !important; }

.section-tag {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(201,168,76,.12);
    border: 1px solid rgba(201,168,76,.35);
    border-radius: var(--radius-f);
    color: var(--accent);
    font-size: var(--fz-xs);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-tag--gold {
    background: rgba(201,168,76,.18);
    border-color: rgba(201,168,76,.5);
}

/* ==========================================
   BOTÕES
========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: var(--fz-sm);
    letter-spacing: .3px;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}
.btn-lg { padding: 15px 36px; font-size: var(--fz-base); }
.btn-full { width: 100%; justify-content: center; }
.btn-sobre { margin-top: 32px; }

.btn-gold {
    background: var(--accent);
    color: var(--primary-dk) !important;
    border-color: var(--accent);
}
.btn-gold:hover {
    background: var(--accent-lt);
    border-color: var(--accent-lt);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201,168,76,.35);
}

.btn-ghost-white {
    background: transparent;
    color: var(--white) !important;
    border-color: rgba(255,255,255,.45);
}
.btn-ghost-white:hover {
    background: rgba(255,255,255,.10);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================
   HEADER
========================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: var(--tr-slow);
    background: transparent;
}
.site-header.scrolled {
    background: rgba(12,28,48,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 24px rgba(0,0,0,.22);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.site-logo img {
    height: 52px;
    width: auto;
    transition: var(--transition);
    object-fit: contain;
}
.site-header.scrolled .site-logo img { height: 44px; }
.site-logo-text {
    font-family: var(--ff-heading);
    font-size: var(--fz-lg);
    font-weight: 700;
    color: var(--white);
}

/* Nav links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-menu li a {
    display: block;
    padding: 8px 16px;
    color: rgba(255,255,255,.82);
    font-size: var(--fz-sm);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 3px; left: 16px; right: 16px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s var(--ease);
    border-radius: 1px;
}
.nav-menu li a:hover { color: var(--white); }
.nav-menu li a:hover::after { transform: scaleX(1); }

.header-cta {
    background: var(--accent) !important;
    color: var(--primary-dk) !important;
    padding: 9px 20px !important;
    border-radius: var(--radius) !important;
    font-weight: 700 !important;
}
.header-cta::after { display: none !important; }
.header-cta:hover {
    background: var(--accent-lt) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201,168,76,.35) !important;
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1100;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: var(--radius-f);
    transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.52);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    backdrop-filter: blur(2px);
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* ==========================================
   HERO
========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 60%, var(--primary-lt) 100%);
    overflow: hidden;
    color: var(--white);
}

/* Efeito decorativo de fundo (sem foto) */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 72% 25%, rgba(201,168,76,.13) 0%, transparent 55%),
        radial-gradient(circle at 18% 80%, rgba(201,168,76,.07) 0%, transparent 45%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(15,36,56,.25));
    pointer-events: none;
}

/* Com foto */
.hero-photo {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center top;
    filter: brightness(.42) saturate(.85);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(10,20,55,.55) 0%, rgba(10,20,55,.25) 100%);
}
.hero--photo::before, .hero--photo::after { display: none; }

/* Conteúdo */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 740px;
    padding: 80px 0 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    background: rgba(201,168,76,.14);
    border: 1px solid rgba(201,168,76,.40);
    border-radius: var(--radius-f);
    color: var(--accent-lt);
    font-size: var(--fz-xs);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--ff-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: var(--fz-md);
    color: rgba(255,255,255,.78);
    line-height: 1.8;
    max-width: 580px;
    margin-bottom: 20px;
}

.hero-oab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.58);
    font-size: var(--fz-sm);
    margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero-scroll span {
    display: block;
    width: 24px; height: 38px;
    border: 2px solid rgba(255,255,255,.28);
    border-radius: var(--radius-f);
    position: relative;
}
.hero-scroll span::before {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: rgba(255,255,255,.55);
    border-radius: var(--radius-f);
    animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ==========================================
   STATS STRIP
========================================== */
.stats-strip {
    background: var(--primary-dk);
    border-top: 1px solid rgba(201,168,76,.20);
    border-bottom: 1px solid rgba(201,168,76,.20);
    padding: 40px 0;
}
.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.stat-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 16px 48px;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; height: 60%;
    width: 1px;
    background: rgba(201,168,76,.22);
}
.stat-num {
    display: block;
    font-family: var(--ff-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    display: block;
    font-size: var(--fz-xs);
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 500;
}

/* ==========================================
   ÁREAS DE ATUAÇÃO
========================================== */
.areas-section { background: var(--off-white); }

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.area-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--tr-slow);
    position: relative;
    overflow: hidden;
    cursor: default;
}
.area-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-lt) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
    border-radius: 0;
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201,168,76,.20); }
.area-card:hover::before { transform: scaleX(1); }

.area-icon  { font-size: 2.6rem; display: block; margin-bottom: 20px; line-height: 1; }
.area-title { font-size: var(--fz-lg); color: var(--primary); margin-bottom: 10px; }
.area-desc  { font-size: var(--fz-sm); color: var(--text-muted); line-height: 1.65; margin: 0; }

.area-arrow {
    display: inline-flex;
    margin-top: 20px;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--transition);
}
.area-card:hover .area-arrow { opacity: 1; transform: translateX(0); }

/* ==========================================
   SOBRE
========================================== */
.sobre-section { background: var(--white); }

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.sobre-grid--no-img {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
}
.sobre-grid--no-img .sobre-content { text-align: center; }

.sobre-img-wrap { position: relative; }
.sobre-img {
    width: 100%;
    border-radius: var(--radius-xl);
    object-fit: cover;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-xl);
}

.sobre-badge {
    position: absolute;
    bottom: 28px;
    right: -24px;
    background: var(--accent);
    color: var(--primary-dk);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    min-width: 110px;
}
.sobre-badge strong {
    display: block;
    font-family: var(--ff-heading);
    font-size: var(--fz-3xl);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
}
.sobre-badge span { font-size: var(--fz-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }

.sobre-content h2 { color: var(--primary-dk); margin-bottom: 20px; }
.sobre-content p  { margin-bottom: 16px; font-size: var(--fz-md); }

/* ==========================================
   SERVIÇOS
========================================== */
.services-section { background: var(--white); }

.services-cat { margin-bottom: 48px; }
.services-cat:last-child { margin-bottom: 0; }

.services-cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--gray-200);
}
.services-cat-icon { font-size: 1.5rem; line-height: 1; }
.services-cat-header h3 {
    font-size: var(--fz-lg);
    color: var(--primary);
    margin: 0;
    font-family: var(--ff-heading);
}
.services-cat-count {
    margin-left: auto;
    background: var(--gray-100);
    color: var(--text-muted);
    font-size: var(--fz-xs);
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-f);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    transition: var(--transition);
}
.service-card:hover {
    border-color: rgba(201,168,76,.35);
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.service-icon { font-size: 1.75rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }

.service-info { flex: 1; min-width: 0; }
.service-info h4 {
    font-family: var(--ff-body);
    font-size: var(--fz-sm);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}
.service-info p {
    font-size: var(--fz-xs);
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.service-badge {
    display: inline-block;
    margin-top: 7px;
    padding: 2px 10px;
    background: rgba(16,185,129,.10);
    color: #065f46;
    border: 1px solid rgba(16,185,129,.25);
    border-radius: var(--radius-f);
    font-size: 11px;
    font-weight: 600;
}
.service-badge--orc {
    background: rgba(245,158,11,.10);
    color: #92400e;
    border-color: rgba(245,158,11,.30);
}

.service-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 8px;
}

.service-price-tag {
    font-family: var(--ff-heading);
    font-size: var(--fz-lg);
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}
.service-price-orc {
    font-family: var(--ff-body);
    font-size: var(--fz-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap;
}

.service-action .btn {
    padding: 8px 16px;
    font-size: var(--fz-xs);
    white-space: nowrap;
}

/* ==========================================
   CONTATO
========================================== */
.contact-section { background: var(--primary); }
.contact-section .section-header { margin-bottom: 56px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 64px;
    align-items: start;
}

/* Info */
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.ci-icon {
    width: 44px; height: 44px;
    background: rgba(201,168,76,.14);
    border: 1px solid rgba(201,168,76,.28);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}
.ci-text h4 {
    font-family: var(--ff-body);
    font-size: var(--fz-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--accent);
    margin-bottom: 4px;
}
.ci-text p, .ci-text a { color: rgba(255,255,255,.72); font-size: var(--fz-sm); line-height: 1.5; }
.ci-text a:hover { color: var(--accent-lt); }

.contact-social { margin-top: 36px; }
.contact-social h4 {
    font-family: var(--ff-body);
    font-size: var(--fz-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--accent);
    margin-bottom: 12px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.65);
    transition: var(--transition);
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dk); transform: translateY(-2px); }

/* Form wrapper */
.contact-form-wrap {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: var(--radius-xl);
    padding: 44px;
    backdrop-filter: blur(10px);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: var(--fz-sm);
    font-weight: 500;
    color: rgba(255,255,255,.75);
    margin-bottom: 7px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius);
    color: var(--white);
    font-size: var(--fz-sm);
    transition: var(--transition);
    -webkit-appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.35); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,.12);
    box-shadow: 0 0 0 3px rgba(201,168,76,.22);
}
.contact-form select option { background: var(--primary-dk); color: var(--white); }

/* Form success */
.form-success { text-align: center; padding: 64px 32px; }
.form-success svg { margin: 0 auto 20px; }
.form-success h3 { color: var(--white); font-size: var(--fz-xl); margin-bottom: 10px; }
.form-success p  { color: rgba(255,255,255,.65); }

/* ==========================================
   FOOTER
========================================== */
.site-footer {
    background: var(--primary-dk);
    color: rgba(255,255,255,.62);
    padding-top: 64px;
}
.footer-cols {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo   { height: 46px; width: auto; margin-bottom: 16px; }
.footer-name   { font-family: var(--ff-heading); font-size: var(--fz-xl); color: var(--white); margin-bottom: 12px; }
.footer-slogan { font-size: var(--fz-sm); margin-bottom: 6px; }
.footer-oab    { font-size: var(--fz-xs); color: var(--accent); margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.55);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dk); }

.footer-links-col h4,
.footer-contact-col h4 {
    font-family: var(--ff-body);
    font-size: var(--fz-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a  { font-size: var(--fz-sm); transition: color .2s; }
.footer-links-col a:hover { color: var(--accent); }

.footer-contact-col p, .footer-contact-col a { font-size: var(--fz-sm); display: block; margin-bottom: 10px; transition: color .2s; }
.footer-contact-col a:hover { color: var(--accent); }

.footer-bottom {
    padding: 20px 0;
    font-size: var(--fz-xs);
}
.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* ==========================================
   WHATSAPP FLOAT
========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 900;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: var(--radius-f);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 18px rgba(37,211,102,.50);
    transition: var(--transition);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.10); box-shadow: 0 6px 28px rgba(37,211,102,.60); }
.whatsapp-float::before {
    content: '';
    position: absolute; inset: -4px;
    border-radius: var(--radius-f);
    border: 2px solid rgba(37,211,102,.60);
    animation: wa-ring 2.2s ease-out infinite;
}
@keyframes wa-ring {
    0%   { transform: scale(1);   opacity: .7; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================
   SITE PRÓPRIO — REDIRECT
========================================== */
.site-proprio-redirect {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-dk), var(--primary));
    text-align: center; padding: 40px;
}
.site-proprio-inner { max-width: 480px; }
.redirect-logo { height: 64px; width: auto; margin: 0 auto 24px; filter: brightness(0) invert(1); }
.site-proprio-inner h1 { color: var(--white); margin-bottom: 12px; }
.site-proprio-inner p  { color: rgba(255,255,255,.68); margin-bottom: 32px; }
.btn-redirect {
    display: inline-block;
    background: var(--accent); color: var(--primary-dk);
    padding: 14px 36px; border-radius: var(--radius);
    font-weight: 700; font-size: var(--fz-base);
}
.redirect-back { display: block; margin-top: 16px; font-size: var(--fz-sm); color: rgba(255,255,255,.42); }
.redirect-back:hover { color: rgba(255,255,255,.7); }

/* ==========================================
   ANIMAÇÕES DE ENTRADA
========================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   RESPONSIVE — TABLET (≤1024px)
========================================== */
@media (max-width: 1024px) {
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-cols > .footer-brand { grid-column: 1 / -1; }
    .sobre-badge { right: 12px; }
}

/* ==========================================
   RESPONSIVE — MOBILE (≤768px)
========================================== */
@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .section { padding: 64px 0; }
    h1 { font-size: var(--fz-3xl); }
    h2 { font-size: var(--fz-2xl); }

    /* Nav mobile */
    .menu-toggle { display: flex; }
    .nav-overlay { display: block; }

    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: min(300px, 85vw);
        height: 100vh;
        background: var(--primary-dk);
        flex-direction: column;
        align-items: stretch;
        padding: 96px 20px 32px;
        z-index: 1050;
        transition: right .35s cubic-bezier(.4,0,.2,1);
        box-shadow: none;
        gap: 0;
        overflow-y: auto;
    }
    .nav-menu.active { right: 0; box-shadow: -8px 0 32px rgba(0,0,0,.40); }

    .nav-menu li a {
        display: block;
        padding: 14px 12px;
        font-size: var(--fz-base);
        color: rgba(255,255,255,.82);
        border-bottom: 1px solid rgba(255,255,255,.05);
        border-radius: 0;
    }
    .nav-menu li a::after { display: none; }
    .nav-menu li:last-child a {
        border-bottom: none;
        margin-top: 16px;
        border-radius: var(--radius);
        text-align: center;
    }

    /* Hero */
    .hero-content { padding: 60px 0 80px; }
    .hero-title   { font-size: clamp(1.9rem, 8vw, 2.6rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-scroll { display: none; }

    /* Stats */
    .stats-grid { flex-direction: column; gap: 0; }
    .stat-item  { padding: 20px 32px; width: 100%; }
    .stat-item:not(:last-child)::after { display: none; }
    .stat-item:not(:last-child) { border-bottom: 1px solid rgba(201,168,76,.15); }

    /* Areas */
    .areas-grid { grid-template-columns: 1fr; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }
    .service-card { flex-wrap: wrap; }
    .service-action { flex-direction: row; align-items: center; width: 100%; margin-left: 0; margin-top: 10px; justify-content: space-between; }

    /* Sobre */
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
    .sobre-badge { right: 12px; bottom: 16px; }

    /* Contato */
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row-2   { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }

    /* Footer */
    .footer-cols { grid-template-columns: 1fr; gap: 32px; }
    .footer-cols > .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .section-header { margin-bottom: 40px; }
    .contact-form-wrap { padding: 20px; }
    .area-card { padding: 28px 20px; }
}
