/* --- VARIÁVEIS E RESET --- */
:root {
    --primary: #E3C64A; /* Amarelo Mostarda */
    --secondary: #5F6478; /* Cinza Azulado */
    --white: #FFFFFF;
    --bg-light: #F5F5F5;
    --text-dark: #2D2D2D;
    --text-muted: #666;
    --radius-sm: 8px;
    --radius-md: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
}

.text-center { text-align: center; }
.mb-60 { margin-bottom: 60px; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary); }
.text-white { color: var(--white); }

/* --- BOTÕES --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-primary:hover {
    background-color: #d4b840;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 198, 74, 0.3);
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* --- HEADER --- */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.logo-bold { color: var(--secondary); font-weight: 800; }
.logo-accent { color: var(--primary); font-weight: 800; }

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary);
}

.nav-menu a:hover { color: var(--primary); }

.btn-nav {
    background: var(--secondary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    transition: 0.3s;
}

/* --- HERO --- */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, #fff9e6, #ffffff);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.hero-reforce {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- PROVA DE REALIDADE --- */
.reality-proof {
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.proof-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.proof-header { max-width: 400px; font-weight: 600; font-size: 0.9rem; }

.proof-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon { font-size: 1.5rem; }
.stat-text { font-size: 0.85rem; font-weight: 700; color: var(--secondary); }

/* --- QUEM SOMOS --- */
.about { padding: 100px 0; }
.about-wrapper { text-align: center; max-width: 800px; }
.about h2 { font-size: 2.2rem; margin-bottom: 20px; }

/* --- ECOSSISTEMA --- */
.ecosystem { padding: 100px 0; background-color: var(--bg-light); }

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.eco-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.eco-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.eco-icon { font-size: 3rem; margin-bottom: 20px; }
.eco-card h3 { margin-bottom: 15px; color: var(--secondary); }

/* --- JORNADA --- */
.journey { padding: 100px 0; }

.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.journey-box {
    padding: 40px;
    border-left: 4px solid var(--primary);
    background: var(--bg-light);
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(95, 100, 120, 0.1);
    margin-bottom: -20px;
}

/* --- SOLUÇÕES --- */
/* --- SOLUÇÕES --- */
.solutions {
  padding: 60px 0;
}

/* GRID PRINCIPAL */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-content: center;
}

/* CARD */
.sol-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  transition: all 0.3s ease;
}

/* IMAGEM */
.sol-img {
  margin-bottom: 14px;
}

.sol-img img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

/* TEXTO */
.sol-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.sol-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* HOVER */
.sol-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* 🔥 CENTRALIZA OS 2 ÚLTIMOS */
.solutions-grid .sol-card:nth-child(4) {
  grid-column: 1 / 2;
  justify-self: end;
}

.solutions-grid .sol-card:nth-child(5) {
  grid-column: 2 / 3;
  justify-self: start;
}

/* --- RESPONSIVIDADE --- */

/* Tablet */
@media (max-width: 992px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* remove ajuste manual */
  .solutions-grid .sol-card:nth-child(4),
  .solutions-grid .sol-card:nth-child(5) {
    grid-column: auto;
    justify-self: auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* --- PROJETOS --- */
.projects { padding: 100px 0; }
.projects-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.project-list { margin-top: 30px; }
.project-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.project-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

.projects-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* --- TIMELINE --- */
.how-works { padding: 80px 0; }
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
}

.time-item { text-align: center; z-index: 1; }
.time-item span {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    margin: 0 auto 15px;
}

/* --- MÍDIA --- */
.media { padding: 100px 0; }
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.media-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.media-thumb { height: 200px; background-size: cover; background-position: center; }
.media-content { padding: 30px; }
.media-source {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.media-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 700;
    color: var(--secondary);
    border-bottom: 2px solid var(--primary);
}

/* --- CTA FINAL --- */
.cta-final { padding: 100px 0; }
.cta-box {
    background: var(--primary);
    padding: 80px 40px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--secondary);
}

.cta-box h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta-box p { font-size: 1.2rem; margin-bottom: 40px; max-width: 600px; margin-inline: auto; }

/* --- FOOTER --- */
footer { background: var(--secondary); color: var(--white); padding: 80px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-bold { color: var(--white); }
.footer-links h4, .footer-contact h4 { margin-bottom: 25px; }
.footer-links ul li { margin-bottom: 12px; opacity: 0.8; }
.footer-links a:hover { color: var(--primary); opacity: 1; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --- ANIMAÇÕES --- */
.animate-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.animate-scale { opacity: 0; transform: scale(0.9); transition: 0.8s ease-out; }
.animate-fade { opacity: 0; transition: 1s ease-in; }

.show { opacity: 1; transform: translateY(0) scale(1); }

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero-grid, .projects-wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.8rem; }
    .hero-actions { justify-content: center; }
    .proof-grid { flex-direction: column; gap: 30px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        padding: 100px 40px;
        flex-direction: column;
        transition: 0.4s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active { right: 0; }
    .nav-menu ul { flex-direction: column; width: 100%; gap: 20px; }
    
    .timeline { flex-direction: column; gap: 40px; }
    .timeline::before { display: none; }
}

.reality-proof {
    background: #F5F5F5;
    border-top: 1px solid rgba(95, 100, 120, 0.1);
    border-bottom: 1px solid rgba(95, 100, 120, 0.1);
    padding: 22px 0;
    text-align: center;
}

.proof-intro {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #E3C64A;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.proof-text {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #5F6478;
    letter-spacing: 0.3px;
}

.step-icon {
    font-size: 60px;
    margin-bottom: 12px;
}

/* --- MÉTODO / PERCURSO --- */
/* --- MÉTODO / PERCURSO --- */
.metodo-percurso {
    padding: 80px 0 90px;
    background: var(--white);
    color: var(--text-dark);
}

/* TÍTULO */
.metodo-percurso .text-center {
    margin-bottom: 28px;
}

.metodo-percurso .text-center h2 {
    max-width: 760px;
    margin: 0 auto;
    font-size: 2.1rem;
    line-height: 1.25;
    color: var(--secondary);
}

/* IMAGEM */
.metodo-percurso-img {
    max-width: 900px; /* controla largura */
    margin: 0 auto 32px;
}

.metodo-percurso-img img {
    width: 100%;
    height: auto;
    max-height: 280px; /* controla altura */
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* TEXTO */
.metodo-percurso-texto {
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
}

.metodo-percurso-texto p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .metodo-percurso {
        padding: 60px 0 70px;
    }

    .metodo-percurso .text-center h2 {
        font-size: 1.7rem;
    }

    .metodo-percurso-img {
        max-width: 100%;
        margin-bottom: 26px;
    }

    .metodo-percurso-img img {
        max-height: 220px;
    }

    .metodo-percurso-texto {
        text-align: left;
    }

    .metodo-percurso-texto p {
        font-size: 1rem;
        line-height: 1.75;
    }
}

/* --- DEPOIMENTOS --- */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    line-height: 1.8;
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info strong {
    display: block;
    color: var(--secondary);
    font-size: 1rem;
}

.author-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

/* Ajuste responsivo para os cards de depoimento */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px;
    }
}

/* --- ESTILO DOS VÍDEOS --- */
.videos-section {
    padding: 60px 0 100px;
}

.sub-title-videos {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 30px;
}

/* Define os vídeos um ao lado do outro */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dois vídeos com o mesmo tamanho */
    gap: 30px; /* Espaço entre eles */
}

.video-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Técnica para manter o vídeo na proporção 16:9 (Cinema/TV) */
.video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-footer {
    padding: 20px;
}

.video-footer h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.video-footer span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

/* RESPONSIVIDADE: Em telas pequenas (celulares), fica um em cima do outro */
@media (max-width: 850px) {
    .video-grid {
        grid-template-columns: 1fr; /* Muda para uma única coluna */
        gap: 20px;
    }
    
    .sub-title-videos {
        font-size: 1.5rem;
    }
}



