/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores da marca Nova Aliança baseadas na identidade visual */
    --primary-green: #005A32;        /* Verde escuro principal - melhor contraste (era #006B3D) */
    --secondary-green: #3D8B6F;      /* Verde água - mais escuro para contraste (era #4FA88A) */
    --accent-green: #008F44;         /* Verde Heineken vibrante - melhor contraste (era #00A651) */
    --dark-green: #003A1A;           /* Verde muito escuro para contraste máximo (era #004225) */

    /* Cores complementares */
    --gold-accent: #C19B2E;          /* Dourado mais escuro para melhor contraste (era #D4AF37) */
    --text-dark: #0F0F0F;            /* Texto principal - preto intenso (era #1a1a1a) */
    --text-medium: #3A3A3A;          /* Texto secundário - mais escuro (era #4a4a4a) */
    --text-light: #525252;           /* Texto auxiliar - mais escuro (era #6a6a6a) */

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f5f7f6;             /* Verde muito suave */
    --bg-lighter: #fafbfa;

    /* Sombras */
    --shadow: 0 2px 10px rgba(0, 90, 50, 0.10);
    --shadow-lg: 0 10px 30px rgba(0, 90, 50, 0.15);
    --shadow-hover: 0 8px 25px rgba(0, 90, 50, 0.18);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-green);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 150px 20px 100px;
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('Imagens/Fachada da empresa.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gold-accent);
    color: var(--dark-green);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: #AA8525;
    color: var(--bg-white);
}

/* Sections */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Sobre Section */
.section-sobre {
    background: var(--bg-light);
}

.sobre-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sobre-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.sobre-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.sobre-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.valor-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.valor-card:hover {
    transform: translateY(-5px);
}

.valor-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.valor-card ul {
    list-style: none;
    padding: 0;
}

.valor-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.valor-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* Produtos Section */
.section-produtos {
    background: var(--bg-white);
}

.produtos-categorias {
    display: grid;
    gap: 3rem;
}

.categoria {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.categoria h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.categoria p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.produtos-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.produtos-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.produtos-images img:hover {
    transform: scale(1.05);
}

/* Atuação Section */
.section-atuacao {
    background: var(--bg-light);
}

.atuacao-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mapa img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.atuacao-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-green);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-medium);
    margin-top: 0.5rem;
}

/* Unidades Section */
.section-unidades {
    background: var(--bg-white);
}

.unidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.unidade-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.unidade-card:hover {
    transform: translateY(-5px);
}

.unidade-card h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.endereco {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: white;
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--gold-accent);
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-subtitle {
    font-style: italic;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-address {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Social Links */
.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(188, 24, 136, 0.4);
}

.social-linkedin {
    background: #0077b5;
}

.social-linkedin:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
    background: #006396;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .sobre-content {
        grid-template-columns: 1fr;
    }

    .atuacao-content {
        grid-template-columns: 1fr;
    }

    .produtos-images {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        width: 150px;
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }

    .unidades-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 20px 80px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 20px;
    }

    .produtos-images {
        grid-template-columns: 1fr;
    }

    .produtos-images img {
        height: 250px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Acessibilidade */
a:focus,
button:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* Melhorias visuais com as cores da marca */
.valor-card:hover {
    box-shadow: 0 10px 30px rgba(0, 107, 61, 0.15);
    border-left: 4px solid var(--accent-green);
}

.unidade-card:hover {
    box-shadow: 0 10px 30px rgba(0, 107, 61, 0.15);
    border-top: 4px solid var(--primary-green);
}

.stat-card {
    border-left: 3px solid var(--secondary-green);
}

.categoria {
    border-left: 5px solid var(--primary-green);
}

/* Active state para navegação */
.nav-menu a.active {
    color: var(--accent-green);
    font-weight: 600;
}
