/* ==========================================================================
   Variáveis e Configurações Globais (Design System Básico)
   ========================================================================== */
:root {
    /* Paleta de Cores Premium (Estilo Cromo/Prata) */
    --primary-color: #1E293B;
    /* Chumbo / Dark Chrome (Base) */
    --primary-light: #475569;
    /* Titânio / Slate Chrome */
    --secondary-color: #94A3B8;
    /* Prata Metálico / Silver Chrome */
    --secondary-hover: #64748B;
    /* Prata Escuro para Hover */
    --accent-color: #C07C64;
    /* Cobre Suave (Toque reduzido) */

    /* Tons de Texto e Fundo */
    --text-dark: #334155;
    /* Cinza Escuro para textos */
    --text-light: #64748B;
    /* Cinza Médio para legendas */
    --text-white: #FFFFFF;
    /* Branco puro */
    --bg-main: #FFFFFF;
    /* Fundo principal */
    --bg-light: #F8FAFC;
    /* Fundo secundário claro */
    --bg-gray: #F1F5F9;
    /* Fundo para cards */

    /* Cores de Marcas Específicas */
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1EBE5A;
    --instagram-color: #E1306C;
    --instagram-hover: #C1215A;

    /* Tipografia */
    --font-main: 'Inter', sans-serif;

    /* Sombras e Bordas */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Transições */
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Reset Básico
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Botões e Componentes
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
}

.btn-outline {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color) !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-md);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--text-white) !important;
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--text-white);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--text-white);
}

.btn-instagram:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(225, 48, 108, 0.3);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
}

/* Títulos das Seções */
.section {
    padding: 80px 0;
    scroll-margin-top: 100px;
    /* Evita que o cabeçalho fixo cubra o título da sessão */
}

/* Offset específico para a hero section caso necessário */
.hero {
    scroll-margin-top: 100px;
}

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

.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 16px;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 800px;
    margin: 16px auto 0;
}

.regions-map-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 24px;
    background: var(--text-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.regions-map-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    transition: var(--transition);
    /* Removido o mask-image para maior clareza */
}

.regions-map-img:hover {
    transform: scale(1.01);
}

/* ==========================================================================
   Header e Navegação
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    padding: 10px 24px;
}

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

.logo img {
    max-height: 80px;
    /* Reduzido em mais 20% (de 100px para 80px) */
    width: auto;
    display: block;
    transition: var(--transition);
}

.header.scrolled .logo img {
    max-height: 50px;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

.nav-link:not(.btn-outline)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:not(.btn-outline):hover::after,
.nav-link.active:not(.btn-outline)::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    margin-top: 0;
    padding-top: 80px;
    /* Offset header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente moderno Prata e Chumbo */
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.8) 0%, rgba(30, 41, 59, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero-actions {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ==========================================================================
   Sobre a Empresa
   ========================================================================== */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-history {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.founder-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--text-white);
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-pillars {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: start;
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mv-box {
    background: var(--text-white);
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.mv-box i {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.mv-box h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--text-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(148, 163, 184, 0.1);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==========================================================================
   Regiões Atendidas
   ========================================================================== */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.region-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.region-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.region-image {
    background-color: var(--primary-color);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.region-info {
    padding: 24px 16px;
}

.region-info h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.region-info p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.city-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
    /* Fonte das cidades também um pouco menor para equilibrar a proporção */
}

.city-list i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* ==========================================================================
   Pontos de Coleta
   ========================================================================== */
.points-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--text-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.points-list {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-height: 500px;
    overflow-y: auto;
}

/* Estilização da barra de rolagem dos pontos */
.points-list::-webkit-scrollbar {
    width: 6px;
}

.points-list::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.points-list::-webkit-scrollbar-thumb {
    background-color: var(--text-light);
    border-radius: 10px;
}

.point-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid var(--bg-gray);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.point-item:hover {
    background-color: var(--bg-light);
}

.point-item.active {
    background-color: rgba(148, 163, 184, 0.1);
    /* Prata translúcido */
    border-left: 4px solid var(--secondary-color);
    padding-left: 12px;
}

.point-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.point-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(15, 23, 42, 0.05);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.point-details h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.point-details .address {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.point-details .info {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.point-details .info strong {
    color: var(--primary-color);
}

.point-details .phone {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.points-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ==========================================================================
   Contato (CTA)
   ========================================================================== */
.contact {
    background-color: var(--primary-color);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.15) 0%, rgba(30, 41, 59, 0) 60%);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0F172A;
    /* Chumbo Base */
    color: #94A3B8;
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 20px;
    margin-top: 53px;
    margin-bottom: 24px;
}

.footer-logo {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    /* Centraliza verticalmente apenas em relação ao parágrafo */
    flex-shrink: 0;
}

.footer-logo img {
    max-height: 90px;
    width: auto;
    display: block;
}

.footer-text-content {
    display: contents;
    /* Os filhos (p e social-links) participam diretamente do grid */
}

.footer-text-content p {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 16px;
    max-width: 400px;
}

.footer-text-content .social-links {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--text-white);
    font-size: 1.125rem;
    margin-bottom: 24px;
    font-weight: 600;
}

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

.footer-links a:hover {
    color: var(--secondary-color);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.footer-bottom {
    background-color: #020617;
    /* Quase preto / Chumbo Intenso */
    padding: 24px 0;
    font-size: 0.875rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal p {
    margin-bottom: 4px;
}

.footer-legal p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        gap: 40px;
    }

    .about-history {
        grid-template-columns: 1fr;
    }

    .about-pillars {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

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

    .points-container {
        grid-template-columns: 1fr;
    }

    .points-map {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--text-white);
        flex-direction: column;
        align-items: center;
        padding-top: 80px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 16px 24px;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--bg-gray);
        text-align: left;
    }

    .nav-link.active::after {
        display: none;
    }

    .btn-outline {
        margin: 16px 24px;
        text-align: center !important;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .regions-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision {
        flex-direction: column;
    }

    .footer-intro {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-logo {
        display: none;
    }

    .footer-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-text-content p {
        grid-column: auto;
        grid-row: auto;
        margin: 0 auto 16px;
    }

    .footer-text-content .social-links {
        grid-column: auto;
        grid-row: auto;
        justify-content: center;
    }

    .footer-bottom-content {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }

    .container {
        padding: 0 15px;
    }
}