/* -------------------
   RESET & GLOBAL STYLES
   ------------------- */
:root {
    --primary-color: #0D1B2A;
    --secondary-color: #415A77;
    --accent-color: #FFC300;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-color: #333;
    --text-color-light: #E0E1DD;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title.text-center {
    text-align: center;
}

.bg-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin-bottom: 60px;
}

.section-subtitle.text-center {
    margin-left: auto;
    margin-right: auto;
}

/* -------------------
   BOTÕES
   ------------------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
}

/* -------------------
   CABEÇALHO
   ------------------- */
.main-header {
    background-color: var(--secondary-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

#logo {
    height: 130px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

.main-nav a {
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    padding-bottom: 5px;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}


/* -------------------
   SEÇÃO HERO
   ------------------- */
/* -------------------
   SEÇÃO HERO
   ------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#bgvid {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esta propriedade é crucial */
}

/* -------------------
   HERO - Ajuste de Luminosidade
   ------------------- */

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* A opacidade foi reduzida de 0.7 para 0.5 para clarear o vídeo */
    background: rgba(13, 27, 42, 0.5); 
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}


/* -------------------
   SEÇÃO STATS
   ------------------- */
.stats-section .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}
#logo-22-anos{
    height: 120px;
}
.stat-item h3 {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}
.stat-item p {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* -------------------
   QUEM SOMOS
   ------------------- */
.who-we-are-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.who-we-are-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mission-values {
    margin-top: 30px;
    display: flex;
    gap: 30px;
}
.mv-item h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.mv-item i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* -------------------
   PRODUTOS
   ------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.product-content {
    padding: 25px;
}
.product-content h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 10px;
}
.product-content p {
    font-size: 0.95rem;
}

/* -------------------
   DIFERENCIAIS (FEATURES)
   ------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}
.feature-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.feature-item h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* -------------------
   CONTATO
   ------------------- */
.contact-container {
    text-align: center;
    max-width: 800px;
}
.contact-info p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}
.contact-link {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-color-light);
    margin-bottom: 20px;
    font-weight: 600;
}
.contact-link:hover {
    color: var(--accent-color);
}
.contact-link i {
    margin-right: 15px;
}
.social-icons {
    margin-top: 40px;
}
.social-icons a {
    color: var(--white);
    font-size: 2rem;
    margin: 0 15px;
}
.social-icons a:hover {
    color: var(--accent-color);
}

/* -------------------
   RODAPÉ
   ------------------- */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 20px 0;
    text-align: center;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-nav a {
    color: var(--text-color-light);
    margin: 0 15px;
}
.footer-nav a:hover {
    color: var(--accent-color);
}


/* -------------------
   ANIMAÇÕES
   ------------------- */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}
.fade-in-delay {
    animation: fadeIn 1s 0.5s ease-out forwards;
    opacity: 0;
}
.fade-in-delay-2 {
    animation: fadeIn 1s 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------
   RESPONSIVIDADE
   ------------------- */
@media (max-width: 992px) {
    .section-title { font-size: 2.2rem; }
    .who-we-are-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .main-nav, .header-contact { display: none; }
    
    .mobile-menu-toggle { display: block; }
    
    /* Estilos para o menu mobile (a serem ativados via JS) */
    .main-header.mobile-open .main-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
     .main-header.mobile-open .main-nav ul {
         flex-direction: column;
         gap: 20px;
         width: 100%;
         text-align: center;
     }

    .stats-section .container { flex-direction: column; }
    .mission-values { flex-direction: column; }
    .footer-content { flex-direction: column; }
}
/* -------------------
   QUEM SOMOS - Estilo do Vídeo
   ------------------- */

.who-we-are-image .who-we-are-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: block;
}

/* Remove a regra antiga da imagem para não gerar conflito */
.who-we-are-image img {
    display: none;
}