/* CSS Reset & Definições Globais */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Paleta de Cores Heringer Advocacia - Tema Gelo (Clean Light Mode) */
    --primary: #5b6331;
    --primary-rgb: 91, 99, 49;
    --secondary: #999933;
    --secondary-rgb: 153, 153, 51;
    
    /* Fundo Cor Gelo */
    --bg-dark: #f2f5f7;       /* Fundo principal cor gelo */
    --bg-deep: #e8ecef;       /* Fundo de contraste/rodapé */
    --bg-card: rgba(255, 255, 255, 0.75); /* Vidro branco translúcido */
    
    --border-color: rgba(91, 99, 49, 0.15);
    --border-glow: rgba(91, 99, 49, 0.35);
    
    /* Textos (Alto Contraste Escuro) */
    --text-dark: #22251a;      /* Texto principal quase preto / verde escuro */
    --text-muted: #5e644c;     /* Texto secundário */
    --text-light: #3f4430;     /* Texto médio */
    --text-white: #ffffff;
    
    /* Fontes */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Transições */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-in-out;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-deep);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* -------------------------------------------------------------
   Glowing Blobs (Fundo Animado Soft - Cores Claras)
------------------------------------------------------------- */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12; /* Bem sutil no fundo claro */
    animation: floatBlobs 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background-color: var(--primary);
    animation-duration: 25s;
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background-color: var(--secondary);
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 35%;
    width: 40vw;
    height: 40vw;
    background-color: #999933;
    animation-duration: 22s;
    animation-delay: -8s;
}

@keyframes floatBlobs {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(5%, 10%) scale(1.1) rotate(180deg);
    }
    100% {
        transform: translate(-5%, -5%) scale(0.9) rotate(360deg);
    }
}

/* -------------------------------------------------------------
   Header / Navbar
------------------------------------------------------------- */
.header {
    width: 100%;
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

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

#nav-symbol {
    height: 45px;
    width: auto;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

#nav-symbol:hover {
    transform: rotate(5deg) scale(1.05);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(91, 99, 49, 0.15);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.social-link svg {
    color: var(--primary);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: rgba(91, 99, 49, 0.08);
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(91, 99, 49, 0.1);
    color: var(--text-dark);
}

.social-link:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* -------------------------------------------------------------
   Hero Section
------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    margin-bottom: 2rem;
}

.main-logo {
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.1));
}

.badge-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(91, 99, 49, 0.08);
    border: 1px solid var(--border-color);
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(91, 99, 49, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(91, 99, 49, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(91, 99, 49, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(91, 99, 49, 0);
    }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--primary);
    font-style: italic;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-description strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* -------------------------------------------------------------
   Progress Card (Glassmorphic Light)
------------------------------------------------------------- */
.progress-card {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 4rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    text-align: left;
    transition: var(--transition-smooth);
}

.progress-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 15px 40px rgba(91, 99, 49, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.progress-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.status-label {
    color: var(--text-dark);
    font-weight: 600;
}

.status-percentage {
    color: var(--primary);
    font-weight: 700;
    font-family: monospace;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(91, 99, 49, 0.3);
    transition: width 2.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.status-terminal {
    background: #1c1e15; /* Mantém contraste do terminal escuro para legibilidade da simulação */
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #cbd2b5;
    border-left: 3px solid var(--secondary);
    min-height: 38px;
    display: flex;
    align-items: center;
}

/* -------------------------------------------------------------
   Scroll Indicator
------------------------------------------------------------- */
.scroll-down-indicator {
    display: flex;
    justify-content: center;
}

.scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.scroll-link svg {
    margin-top: 2px;
    color: var(--primary);
}

.scroll-link:hover {
    color: var(--text-dark);
}

.chevron-down-anim {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* -------------------------------------------------------------
   Seções Genéricas
------------------------------------------------------------- */
.about-section {
    padding: 8rem 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(180deg, rgba(242, 245, 247, 0) 0%, rgba(232, 236, 239, 0.7) 100%);
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-paragraph {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    border-left: 2px solid var(--primary);
    padding-left: 1.5rem;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* -------------------------------------------------------------
   Areas de Atuação Cards
------------------------------------------------------------- */
.areas-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.area-card {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.area-card:hover {
    transform: translateX(8px);
    border-color: var(--border-glow);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px rgba(91, 99, 49, 0.1);
}

.area-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(91, 99, 49, 0.08);
    border: 1px solid rgba(91, 99, 49, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.area-card:hover .area-icon {
    background: var(--primary);
    color: var(--text-white);
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 0 15px rgba(91, 99, 49, 0.3);
}

.icon-svg {
    width: 24px;
    height: 24px;
}

.area-info h4 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.area-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* -------------------------------------------------------------
   Footer
------------------------------------------------------------- */
.footer {
    background-color: var(--bg-deep);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 5rem 0 0 0;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-logo {
    max-width: 240px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.footer-tagline {
    color: var(--text-muted);
    font-weight: 400;
    max-width: 450px;
}

.footer-col-contact h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--primary);
}

.contact-list a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition-fast);
}

.contact-list a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding: 2rem 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dev-credits a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.dev-credits a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* -------------------------------------------------------------
   WhatsApp Floating Button
------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20ba59;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

/* -------------------------------------------------------------
   Animações de Entrada (Entrada e Scroll)
------------------------------------------------------------- */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Trigger Animate Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------
   Responsividade (Medias Queries)
------------------------------------------------------------- */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-section {
        padding: 5rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section {
        padding-top: 10rem;
    }
    
    .main-logo {
        max-width: 250px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}
