/* --- VARS & BASIC SETUP --- */
:root {
    --orange-dark: #F97316;
    --orange-light: #EDB82E;
    --cta-green: #31E473;
    --cta-green-hover: #91FFB9;
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --text-light: #F5F5F5;
    --text-muted: #A0A0A0;
    --border-color: rgba(255, 255, 255, 0.1);
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}
html.lenis {
  scroll-behavior: auto;
}
html {
    scrollbar-width: none;
}
body {
    -ms-overflow-style: none;
}
body::-webkit-scrollbar {
    display: none;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}
body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 95vw;
    margin: 0 auto;
}

.section-spacing {
    padding: 80px 0;
}

/* Oculta a seção de sócios */
#socios {
    display: none;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
}
.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: var(--text-muted);
    font-size: 1rem;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--cta-green);
    color: #000;
    box-shadow: 0 4px 20px rgba(49, 228, 115, 0.3);
}

.btn-primary:hover {
    background-color: var(--cta-green-hover);
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(145, 255, 185, 0.4);
}

/* --- NOVO CABEÇALHO E MENU --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.main-header.scrolled {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: var(--border-color);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.header-logo-img {
    height: 35px;
    width: auto;
}
.desktop-nav {
    display: none;
}
.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
.desktop-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange-dark);
    transition: width 0.3s ease;
}
.desktop-nav a:hover::after, .desktop-nav a.active::after {
    width: 100%;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    gap: 6px;
}
.hamburger-btn span {
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}
.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}
.fullscreen-nav ul {
    list-style: none;
    text-align: center;
}
.fullscreen-nav li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.fullscreen-menu.active .fullscreen-nav li {
    opacity: 1;
    transform: translateY(0);
}
.fullscreen-menu.active .fullscreen-nav li:nth-child(1) { transition-delay: 0.2s; }
.fullscreen-menu.active .fullscreen-nav li:nth-child(2) { transition-delay: 0.25s; }
.fullscreen-menu.active .fullscreen-nav li:nth-child(3) { transition-delay: 0.3s; }
.fullscreen-menu.active .fullscreen-nav li:nth-child(4) { transition-delay: 0.35s; }
.fullscreen-menu.active .fullscreen-nav li:nth-child(5) { transition-delay: 0.4s; }
.fullscreen-menu.active .fullscreen-nav li:nth-child(6) { transition-delay: 0.45s; }

.fullscreen-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.fullscreen-nav a:hover,
.fullscreen-nav a.active {
    color: var(--orange-dark);
}

/* --- HERO SECTION --- */
.hero {
    background-image: url('./assets/fundo.webp');
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@supports not (background-image: url('./assets/fundo.webp')) {
  .hero {
    background-image: url('./assets/fundo.jpg');
  }
}
.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.hero-text-content {
    order: 1;
}
.hero-image-content {
    order: 2;
    width: 90%;
    margin: 2.5rem auto 0;
    position: relative;
}
.hero-logo-main {
    max-width: 180px;
    margin: 0 auto 1.5rem;
}
.hero-text-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
}
.text-highlight {
    color: var(--orange-dark);
}
.hero-text-content .subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
}
.hero .hero-cta-desktop {
    display: none;
}
.hero-cta-mobile {
    order: 3;
    display: inline-block;
    margin-top: 2.5rem;
}

.hero-image-content video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}
.hero-image-content::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(45deg, var(--orange-dark), var(--orange-light));
    filter: blur(35px);
    opacity: 0.4;
    z-index: 1;
    border-radius: 16px;
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* --- CLIENT CAROUSEL --- */
.client-carousel-section {
    padding: 40px 0;
    overflow: hidden;
}
.carousel-track {
    width: calc(160px * 22); 
    display: flex;
    align-items: center;
    animation: scroll 60s linear infinite;
}
.carousel-track picture {
    margin: 0 20px;
    flex-shrink: 0;
}
.carousel-track img {
    height: 60px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 8px;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-160px * 11)); } 
}

/* --- GRIDS --- */
.services-grid, .mission-vision-grid, .results-grid, .founders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* --- CARDS --- */
.service-card, .founder-card, .result-card, .mission-vision-grid .card, .testimonial-card {
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.service-card:hover, .founder-card:hover, .result-card:hover {
    transform: translateY(-10px);
}
.service-card {
    text-decoration: none;
    justify-content: space-between;
}
.service-card-cta {
    justify-content: center;
    align-items: center;
}
.service-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--orange-light), var(--orange-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.service-card h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 15px;
}
.service-card p {
    color: var(--text-muted);
    flex-grow: 1;
}
.service-card-cta {
    background: linear-gradient(45deg, var(--orange-light), var(--orange-dark));
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
}
.service-card-cta h3, .service-card-cta p, .service-card-cta .cta-link {
    color: var(--text-light);
}
.service-card-cta p { margin-bottom: 20px; flex-grow: 0; }
.service-card-cta .cta-link { font-weight: 700; margin-top: auto; }
.service-card-cta .cta-link i { background: none; font-size: 1em; margin-left: 8px; transition: transform 0.3s ease; }
.service-card-cta:hover .cta-link i { transform: translateX(5px); }
.about-content { text-align: center; margin-bottom: 50px; }
.about-symbol { max-width: 100px; margin: 0 auto 2rem; }
.mission-vision-grid .card { background-color: var(--bg-dark); border: 1px solid var(--border-color); }
.mission-vision-grid .card h3 { font-size: 1.5rem; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.mission-vision-grid .card h3 i { color: var(--orange-dark); }
.result-card { overflow: hidden; padding: 0; }
.result-card img { width: 100%; height: auto; display: block; }
.result-card-content { padding: 30px 20px; text-align: left; }
.result-card-content h4 { font-size: 1.4rem; color: var(--text-light); margin-bottom: 15px; }
.result-card-content p { color: var(--text-muted); font-size: 0.95rem; }
.founder-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: center; margin: 0 auto 25px; border: 4px solid var(--orange-dark); }
.founder-name { font-size: 1.5rem; color: var(--text-light); margin-bottom: 8px; }
.founder-title { color: var(--orange-light); font-weight: 600; margin-bottom: 15px; }
.founder-bio { color: var(--text-muted); font-size: 0.9rem; }
.founder-social { margin-top: 20px; }
.founder-social a { color: var(--text-muted); font-size: 1.6rem; }
.testimonial-card { background-color: var(--bg-card); max-width: 500px; margin: 0 auto; position: relative; }
.testimonial-card .quote { font-style: italic; color: var(--text-muted); margin-bottom: 20px; }
.testimonial-card .quote::before { content: "“"; font-family: 'Montserrat', sans-serif; font-size: 4rem; position: absolute; left: 15px; top: 15px; line-height: 1; color: var(--orange-dark); opacity: 0.2; }
.author-info { display: flex; align-items: center; justify-content: center; gap: 15px; }
.author-name { font-weight: 700; color: var(--text-light); display: block; }
.author-title { font-size: 0.8rem; color: var(--text-muted); }

/* --- CARROSSÉIS (SWIPER) --- */
.results, .testimonials {
    position: relative;
}
.swiper {
    width: 100%;
    padding-bottom: 50px;
}
.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.swiper-slide > * {
    width: 100%;
}
.swiper-pagination-bullet {
    background-color: var(--text-muted);
    opacity: 0.7;
}
.swiper-pagination-bullet-active {
    background-color: var(--orange-dark);
    opacity: 1;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--orange-dark);
    display: none;
}

/* --- CTA BANNERS --- */
.cta-banner {
    padding: 60px 0;
    background-color: var(--bg-card);
    text-align: center;
}
.cta-banner h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.4;
}

/* --- FORMULÁRIO FINAL E RODAPÉ --- */
.cta-form { background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url('./assets/fundo.webp') no-repeat center center/cover; text-align: center; }
.cta-form h2 { font-size: 1.8rem; color: var(--text-light); margin-bottom: 20px; }
.cta-form p { color: var(--text-muted); margin-bottom: 40px; font-size: 1rem; }
.contact-form { max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form select { width: 100%; padding: 15px 20px; border: 1px solid var(--border-color); background-color: var(--bg-card); border-radius: 8px; font-size: 1rem; color: var(--text-light); font-family: 'Poppins', sans-serif; }
.contact-form select { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0A0A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em; }
.contact-form select:focus, .contact-form input:focus { outline: none; border-color: var(--orange-dark); }
.contact-form ::placeholder { color: var(--text-muted); }
.contact-form option { background-color: var(--bg-dark); color: var(--text-light); }
.form-message { margin-top: 15px; font-weight: 600; }

.footer { background-color: #000; text-align: center; padding: 40px 1.5rem; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 25px; margin-bottom: 30px; }
.footer-logo { max-width: 150px; }
.footer-social { display: flex; gap: 30px; font-size: 1.5rem; }
.footer-social a { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.footer-social a:hover { color: var(--orange-light); }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.copyright-col p, .dev-col p, .privacy-col { margin: 0; }
.dev-col a, .privacy-col a { color: var(--text-muted); text-decoration: none; }
.dev-col a:hover, .privacy-col a:hover { text-decoration: underline; color: var(--text-light); }

/* --- BOTÃO VOLTAR AO TOPO --- */
.back-to-top { position: fixed; bottom: 100px; right: 20px; width: 45px; height: 45px; background-color: var(--orange-dark); color: var(--text-light); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; text-decoration: none; z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); background-color: var(--orange-light); }

/* --- EFEITO GLASSMORPHISM --- */
.glass-effect { background: rgba(30, 30, 30, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); }
.service-card.glass-effect, .founder-card.glass-effect, .result-card.glass-effect { background-color: transparent; }

/* --- BOTÃO FLUTUANTE DE WHATSAPP --- */
.whatsapp-container { position: fixed; bottom: 25px; right: 25px; z-index: 1010; }
.whatsapp-fab { width: 60px; height: 60px; background-color: #25D366; color: #FFF; border-radius: 50%; border: none; display: flex; justify-content: center; align-items: center; font-size: 2.5rem; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); cursor: pointer; transition: transform 0.3s ease; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.whatsapp-chat-balloon { position: absolute; bottom: 75px; right: 0; width: calc(100vw - 40px); max-width: 300px; background-color: var(--bg-card); border-radius: 15px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95); transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease; }
.whatsapp-container.active .whatsapp-chat-balloon { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.balloon-header { background: linear-gradient(45deg, var(--orange-light), var(--orange-dark)); color: var(--text-light); padding: 20px; }
.balloon-header p { font-weight: 700; font-size: 1.2rem; margin: 0; }
.balloon-header span { font-size: 0.9rem; opacity: 0.9; }
.balloon-form { padding: 20px; }
.balloon-form form { display: flex; flex-direction: column; gap: 15px; }
.balloon-form input { width: 100%; padding: 12px; border: 1px solid var(--border-color); background-color: var(--bg-dark); color: var(--text-light); border-radius: 8px; font-family: 'Poppins', sans-serif; }
.balloon-form button { width: 100%; padding: 12px; border: none; border-radius: 8px; background-color: var(--cta-green); color: #000; font-weight: 700; cursor: pointer; transition: background-color 0.3s ease; }
.balloon-form button:hover { background-color: var(--cta-green-hover); }
#whatsapp-form-status { font-size: 0.85rem; text-align: center; margin-top: 10px; }

/* --- BANNER DE COOKIES --- */
.cookie-consent-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-muted);
    padding: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    transition: bottom 0.5s ease-in-out;
}
.cookie-consent-banner.active {
    bottom: 0;
}
.cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
    max-width: 800px;
}
.cookie-consent-banner a {
    color: var(--orange-light);
    text-decoration: underline;
}
.btn-cookie-accept {
    background-color: var(--orange-dark);
    color: var(--text-light);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.btn-cookie-accept:hover {
    background-color: var(--orange-light);
}


/* ================================================= */
/* --- ESTILOS PARA TABLET (min-width: 768px) --- */
/* ================================================= */
@media (min-width: 768px) {
    .container { padding: 0 2rem; }
    .hero .container { padding: 0 2rem; }
    .section-title { font-size: 2.5rem; }
    .section-description { font-size: 1.1rem; }

    .hero { min-height: 90vh; padding: var(--header-height) 0; }
    .hero .container { flex-direction: row; align-items: center; text-align: left; gap: 3rem; }
    .hero-text-content { order: 1; flex-basis: 50%; }
    .hero-logo-main { margin: 0 0 1.5rem; }
    .hero-text-content h1 { font-size: 3rem; text-align: left; }
    .hero-image-content { order: 2; flex-basis: 50%; margin: 0; height: 100%; }
    .hero-image-content video { height: 100%; object-fit: cover; }
    .hero-cta-mobile { display: none; }
    .hero-text-content .hero-cta-desktop { display: inline-block; }

    .carousel-track img { height: 80px; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-vision-grid { grid-template-columns: 1fr 1fr; }
    .about-content { margin-bottom: 80px; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .swiper-button-next, .swiper-button-prev { display: flex; }

    .footer-content { flex-direction: row; justify-content: space-between; align-items: center; }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .copyright-col { text-align: left; flex: 1; }
    .dev-col { text-align: center; flex: 1; }
    .privacy-col { text-align: right; flex: 1; }
    
    .whatsapp-fab { width: 60px; height: 60px; font-size: 2.5rem; bottom: 25px; right: 25px; }
    .back-to-top { bottom: 100px; right: 25px; }
    .whatsapp-chat-balloon { right: 0; bottom: 100px; }
    
    .cookie-consent-banner {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }
}

/* ================================================================ */
/* --- ESTILOS PARA DESKTOP PEQUENO (min-width: 992px) --- */
/* ================================================================ */
@media (min-width: 992px) {
    .hamburger-btn {
        display: none;
    }
    .desktop-nav {
        display: block;
    }
}


/* =================================================== */
/* --- ESTILOS PARA DESKTOP GRANDE (min-width: 1024px) --- */
/* =================================================== */
@media (min-width: 1024px) {
    .section-title { font-size: 2.8rem; }
    .hero-text-content h1 { font-size: 3rem; }
    .carousel-track img { height: 100px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .results-swiper { max-width: 1200px; }
}