:root {
    --primary-blue: #0A2240; /* Navy Blue from logo */
    --primary-green: #156b46; /* Dark Green from logo */
    --primary-yellow: #DCC000; /* Yellow from logo */
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(21, 107, 70, 0.3);
}

.btn-primary:hover {
    background-color: #0f5235;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 107, 70, 0.4);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
    object-fit: contain;
}

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

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-blue);
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

/* Sections General */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Hero */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 0 5%;
    overflow: hidden;
}

.hero-left {
    flex: 0 0 45%;
    padding-right: 5%;
    text-align: left;
    z-index: 2;
}

.hero-logo-container {
    margin-bottom: 30px;
}

.hero-main-logo {
    height: 90px;
    object-fit: contain;
    animation: logoEntrance 1s ease forwards;
}

@keyframes logoEntrance {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-left h1 {
    font-size: 3.2rem;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-green {
    color: var(--primary-green);
}

.hero-left .subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-left .btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border-radius: 8px;
    padding: 15px 35px;
    font-size: 1.1rem;
}

.hero-right {
    flex: 0 0 55%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 40px;
}

.hero-panels {
    display: flex;
    gap: 20px;
    height: 85%;
    width: 100%;
}

.hero-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.panel-img-wrapper {
    flex: 1;
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.hero-panel:hover .panel-img-wrapper {
    transform: translateY(-10px) scale(1.02);
}

.panel-total .panel-img-wrapper {
    border-radius: 200px;
    margin-bottom: 80px;
}

.panel-lc .panel-img-wrapper {
    border-radius: 200px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.panel-oliva .panel-img-wrapper {
    border-radius: 200px;
    margin-top: 80px;
}

.panel-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel-label {
    text-align: center;
    margin-top: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 80px;
}

.panel-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: transparent;
}

.label-total .panel-icon { border: 2px solid var(--primary-blue); color: var(--primary-blue); }
.label-total span { color: var(--primary-blue); }

.label-lc .panel-icon { border: 2px solid var(--primary-green); color: var(--primary-green); }
.label-lc span { color: var(--primary-green); }

.label-oliva .panel-icon { border: 2px solid var(--primary-yellow); color: var(--primary-yellow); }
.label-oliva span { color: var(--primary-yellow); }

@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
        padding-top: 120px;
    }
    .hero-left {
        flex: 0 0 auto;
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    .hero-right {
        flex: 0 0 auto;
        width: 100%;
        height: 500px;
        padding-top: 0;
    }
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    background: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-green), #2db579);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.about-footer p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Brands Section */
.brands {
    background-image: url('assets/images/brands_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.brands::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 34, 64, 0.85); /* Dark blue overlay */
    z-index: 0;
}

.brands .container {
    position: relative;
    z-index: 1;
}

.brands .section-header h2, .brands .section-header p {
    color: var(--white);
}

.brands .brands-footer p {
    font-weight: 600;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.brand-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.brand-img {
    height: 240px;
    overflow: hidden;
}

.brand-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.brand-card:hover .brand-img img {
    transform: scale(1.05);
}

.brand-content {
    padding: 32px;
}

.brand-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.brands-footer p {
    font-weight: 600;
    color: var(--primary-blue);
}

/* MVV Section */
.mvv {
    /* O 'background-attachment: fixed' anterior fazia o cover ser calculado
       sobre a viewport (bem mais larga que alta), e o recorte descartava tudo
       acima da boca. A foto é quadrada: com largura 100% o rosto cai sempre
       entre 22% e 34% da largura da seção, e subindo 12vw ele ocupa a faixa
       livre acima do cabeçalho em vez de ficar atrás do painel. */
    background-size: 100% auto;
    background-position: center -12vw;
    background-repeat: no-repeat;
    background-color: var(--primary-blue);
    padding-top: clamp(200px, 23vw, 560px);
    position: relative;
    color: var(--white);
}

.mvv-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 34, 64, 0.85);
}

.light-text h2, .light-text p {
    color: var(--white);
}

.mvv-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
}

.mvv-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mvv-item h3 {
    color: var(--primary-yellow);
    font-size: 2rem;
    margin-bottom: 16px;
}

/* 7 valores não fecham uma grade de 4 colunas, então a última linha sempre
   sobraria com um vão — parecendo que falta um card. Com flex-grow os 3 de
   baixo se esticam e ocupam a largura inteira: o bloco fecha como um
   retângulo, sem buraco e sem parecer sequência interrompida. */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.values-grid .value-card {
    flex: 1 1 calc(25% - 18px);
}

.value-card h4 {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

/* só no layout de 4 colunas os títulos quebram em 1 ou 2 linhas de forma
   irregular; reservar 2 linhas alinha o início de todos os parágrafos */
@media (min-width: 1025px) {
    .value-card h4 { min-height: 2.6em; }
}

/* Clients */
.clients {
    background-color: var(--bg-light);
    overflow: hidden;
}

.clients-carousel {
    margin: 40px 0;
    overflow: hidden;
    position: relative;
}

.client-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.client-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #cbd5e1;
    transition: var(--transition);
}

.client-logo:hover {
    color: var(--primary-blue);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.clients-footer {
    font-weight: 600;
    color: var(--primary-blue);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 80px 0;
}

.cta-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #051326;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 24px;
}

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

.footer-logo {
    height: 50px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer h4 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul a {
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .mvv-main { grid-template-columns: 1fr; }
    .values-grid .value-card { flex: 1 1 calc(50% - 12px); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .hero-content h1 { font-size: 2.5rem; }
    .brands-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .values-grid .value-card { flex: 0 0 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-content h2 { font-size: 2rem; }
}
