:root {
    --primary-color: #3a0940; /* Roxo 4WaTT Oficial */
    --secondary-color: #03a589; /* Ciano 4WaTT Oficial */
    --secondary-color-rgb: 3, 165, 137;
    --white: #ffffff;
    --bg-light: #fdfdfd;
}

/* ================= ANIMAÇÕES PREMIUM (REVEAL) ================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); /* Faster spring */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease-out;
}

.stagger-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= HERO UTILS & UX ================= */
.hero-ctas {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    border: 2px solid var(--secondary-color) !important;
    box-shadow: 0 10px 20px rgba(3, 165, 137, 0.2);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-3px);
}

.mobile-only-cta {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only-cta {
        display: block !important;
        padding: 3rem 5%;
        background: var(--bg-light);
        text-align: left;
        border-bottom: 1px solid #eee;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 15px;
        align-items: center; /* Centraliza botões no mobile */
    }
    .hero-slider, .slide {
        height: 85vh; /* Garante CTA acima da dobra */
    }
}

/* ================= SEÇÃO PROBLEMA (CONTRASTE) ================= */
.problem-visual-centered {
    display: block; /* Padrão Desktop */
}

.mobile-contrast-layout {
    display: none; /* Esconde no Desktop */
}

@media (max-width: 768px) {
    .problem-visual-centered {
        display: none !important; /* Esconde Desktop no Mobile */
    }
    
    .mobile-contrast-layout {
        display: block !important; /* Mostra Mobile no Mobile */
    }
}

.box-visual img, .input-circle img, .step-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    text-align: center;
    color: #333;
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

p {
    text-align: center;
    margin-bottom: 1rem;
    max-width: 850px;
    color: #ddd;
    margin-left: auto;
    margin-right: auto;
}

.btn, .card-link, .floating-cta {
    justify-content: center !important;
    text-align: center !important;
}

/* Forçar alinhamento em grids e flexboxes comuns */
.ecosystem-grid, .actuation-grid, .milestones-grid, .results-grid {
    justify-items: center !important;
    text-align: center !important;
}

.box-content, .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

ul {
    list-style-position: inside;
}

body {
    background: #fff;
    overflow-x: hidden;
}

/* ================= FOOTER BASE ================= */
.main-footer {
    background: var(--primary-color) !important;
    color: #fff !important;
    padding: 2.5rem 5% 1.5rem;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-brand, .footer-links, .footer-social, .footer-address-col, .footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 35px !important;
    width: auto !important;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    text-align: left !important;
}

.footer-links h4, .footer-social h4 {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left;
}

.footer-links li {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.footer-address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.footer-address span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.location-links {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    font-size: 1.5rem;
    color: #fff !important;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary-color) !important;
}
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;

.footer-address span {
    font-size: 0.7rem;
    opacity: 0.8;
}

.location-links {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a i {
    font-size: 1.2rem;
    transition: 0.3s ease;
}

/* Cores Oficiais */
.social-icons a .fa-facebook { color: #1877F2 !important; }
.social-icons a .fa-linkedin { color: #ffffff !important; }
.social-icons a .fa-instagram { color: #E4405F !important; }
.social-icons a .fa-youtube { color: #FF0000 !important; }

.social-icons a:hover i {
    transform: scale(1.15);
    filter: brightness(1.2);
}

/* Ícones de Contato e Localização - Mais visíveis */
.footer-links li i, .location-links a i {
    color: var(--secondary-color) !important;
    font-size: 0.9rem;
    opacity: 1 !important;
}

.legal-links {
    margin-top: 1.2rem;
    text-align: center;
}

.legal-links a {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.verified-seal {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.05);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(13, 202, 240, 0.15);
}

.verified-seal span {
    font-size: 0.6rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.verified-seal i {
    font-size: 0.7rem;
    color: #0dcaf0;
}

/* Fix for giant cards */
.actuation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.actuation-card img {
    width: 100%;
    max-width: 220px !important;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
}

.box-visual img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.3);
    transition: 0.4s;
    padding: 1rem 0;
}

header.scrolled {
    background: var(--primary-color) !important;
    backdrop-filter: blur(10px);
}

header.scrolled .nav-links > li > a {
    color: var(--white) !important;
}

header.scrolled .dropdown-content a {
    color: var(--primary-color) !important;
}

header.scrolled .dropdown-content a:hover {
    color: var(--secondary-color) !important;
}

header.scrolled .selected-lang {
    color: var(--white) !important;
}

header.scrolled .selected-lang i {
    color: var(--white) !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo img {
    height: 34px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* ================= DROPDOWN ================= */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border-top: 3px solid var(--secondary-color);
    padding: 10px 0;
    top: 100%;
    left: 0;
    list-style: none;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: var(--secondary-color) !important;
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* ================= LANGUAGE ================= */
.language-selector {
    position: relative;
    cursor: pointer;
    margin-left: 2rem;
}

.selected-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    color: white;
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: white;
    border-radius: 8px;
    list-style: none;
    display: none;
    width: 150px;
    padding: 8px 0;
    z-index: 10000;
}

.language-selector:hover .lang-dropdown {
    display: block;
}

.lang-dropdown li {
    padding: 10px 20px;
    font-size: 0.8rem;
    color: #333;
}

/* ================= NOSSA ATUAÇÃO (ESTILO ORIZON) ================= */
.section-header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.section-header.text-center {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #111;
    font-weight: 800;
    margin: 0.5rem 0 0;
    line-height: 1.1;
    max-width: 1000px;
    text-align: left;
}

.section-header.text-center h2 {
    text-align: center;
    margin: 0.5rem auto 0;
}

.section-header .subtitle {
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 10px;
}

/* ================= HERO SLIDER ================= */
.hero-slider {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
}

.slider-container,
.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* SLIDES */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 5;
}

/* VIDEO / IMAGE BACKGROUND */
.hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay escuro elegante - AJUSTADO PARA TEXTO CENTRALIZADO */
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* Overlay uniforme para melhor leitura no centro */
    z-index: 2;
}

/* CONTEÚDO */
.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 5%;
    color: #fff;
    text-align: center; /* CENTRALIZADO */
}

.slide-content .container {
    align-items: center; /* Garante que o container flex alinhe ao centro */
}

.slide-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #fff;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #f0f0f0;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-ctas {
    display: flex;
    gap: 1.2rem;
    justify-content: center; /* Botões centralizados */
}
.hero-bullets {
    list-style: none;
    margin-bottom: 2.5rem;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.hero-bullets i {
    color: var(--secondary-color);
}

/* ================= BOTÕES ================= */
.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
    cursor: pointer;
}

.btn-smaller {
    padding: 0.85rem 1.7rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    opacity: 0.85;
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: #000;
}

.volume-control {
    position: absolute;
    bottom: 40px;
    right: 5%;
    z-index: 100;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.volume-control:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.volume-control i {
    font-size: 1.2rem;
}

/* ================= CONTROLES ================= */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
}

.prev { left: 30px; }
.next { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 5%;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--white);
    width: 35px;
    border-radius: 7px;
}

/* ================= SEÇÃO PROBLEMA (SPLIT LAYOUT) ================= */
.section-problem {
    position: relative;
    background: #000;
    color: var(--white);
    overflow: hidden;
}

.mobile-contrast-layout {
    display: none !important;
}

@media (max-width: 768px) {
    .problem-visual-centered {
        display: none !important;
    }
    
    .mobile-contrast-layout {
        display: flex !important;
        flex-direction: column;
        width: 100%;
    }
    
    .mobile-contrast-box {
        position: relative;
        height: 50vh;
        overflow: hidden;
    }
    
    .mobile-contrast-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .mobile-contrast-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.25);
        display: flex;
        align-items: flex-start; /* Sobe o texto para o topo */
        justify-content: center;
        padding: 5rem 2rem; /* Espaçamento para não colar na borda superior */
    }
    
    .mobile-contrast-overlay h3 {
        color: #fff;
        font-size: 1.6rem;
        font-weight: 800;
        text-transform: uppercase;
        text-align: center;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    }
}

.problem-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.problem-visual-centered {
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    position: relative;
}

.contrast-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.contrast-side {
    flex: 1;
    display: flex;
    align-items: flex-start; /* Alinha ao topo da seção */
    justify-content: center;
    padding: 8rem 2rem; /* Alinhamento padrão para o lado direito */
    text-align: center;
}

.side-left {
    padding-top: 5rem; /* Sobe a frase do lado esquerdo (passivo) mais um pouco */
}

.side-left h3 {
    margin-left: 10%; /* Move 10% para a direita para não ficar em cima do caminhão */
}

.side-right {
    padding-top: 4rem !important; /* Sobe o texto da direita em aproximadamente 5% da altura da seção */
}

.contrast-side h3 {
    color: white;
    font-size: 1.9rem; /* Diminuída a fonte conforme pedido */
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    max-width: 400px;
}

.side-left h3 {
    padding-right: 2rem;
}

.side-right h3 {
    padding-left: 2rem;
}

@media (max-width: 768px) {
    .contrast-overlay {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 4rem 1.5rem;
    }
    
    .contrast-side {
        flex: none;
        padding: 0 !important;
        align-items: center;
        width: 100%;
    }
    
    .contrast-side h3 {
        font-size: 1.6rem !important;
        max-width: 100%;
        text-shadow: 2px 2px 20px rgba(0,0,0,1);
        line-height: 1.3;
    }
    
    .side-left {
        padding-top: 0 !important;
        margin-bottom: 2rem;
    }

    .side-left h3, .side-right h3 {
        border: none;
        padding: 0;
    }

    .problem-visual-centered {
        min-height: 100vh;
    }

    .problem-bg-image {
        height: 100vh;
        max-height: 100vh;
    }
}

.problem-bg-image {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: cover;
    filter: none; /* Imagem colorida conforme solicitado */
    transition: 1s ease;
}

.problem-visual-centered:hover .problem-bg-image {
    filter: brightness(1.1);
}

.problem-text-content {
    flex: 1.2;
    padding: 8rem 5%;
    display: flex;
    align-items: center;
    background: #000;
    z-index: 2;
}

.problem-text-content .subtitle {
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: 2.5px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: block;
}

.problem-text-content h2 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 500px;
}

.problem-intro {
    font-size: 1.25rem;
    color: #fff; /* Texto branco agora */
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.6;
}

.problem-points {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.problem-point {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.point-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    border: 1px solid rgba(4, 164, 137, 0.3);
    padding: 10px;
    line-height: 1;
    border-radius: 4px;
}

.problem-point h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #fff;
}

.problem-point p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.5;
    max-width: 450px;
}

.problem-bridge {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(4, 164, 137, 0.1);
    border-left: 4px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
    animation: fadeIn 1.5s ease;
}

.problem-bridge p {
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
}

.problem-bridge i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* ================= RESPONSIVO PROBLEMA ================= */
@media (max-width: 992px) {
    .problem-container {
        flex-direction: column-reverse;
    }
    .problem-visual {
        height: 300px;
    }
    .problem-overlay {
        background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    }
    .problem-text-content {
        padding: 5rem 5%;
    }
    .problem-text-content h2 {
        font-size: 2.2rem;
    }
}

/* ================= NOSSA ATUAÇÃO (ESTILO ORIZON) ================= */
.section-header {
    margin-bottom: 4rem;
    text-align: left;
}

.section-header.text-center {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #111;
    font-weight: 800;
    margin: 0.5rem 0 0;
    line-height: 1.1;
    max-width: 1000px;
    text-align: left;
}

.section-header.text-center h2 {
    text-align: center;
    margin: 0.5rem auto 0;
}

.section-header .subtitle {
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: 2.5px;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 15px;
}

/* Actuation grid handled at the top */

@media (max-width: 1100px) {
    .actuation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .actuation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
}

.actuation-card {
    padding: 2rem 1.5rem;
    transition: 0.4s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.actuation-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.actuation-card .card-link {
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
}

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

@media (max-width: 1100px) {
}

@media (max-width: 600px) {
    .actuation-card {
        border-right: none;
    }
}

.actuation-card:hover {
    background: #fdfdfd;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card-number {
    display: none; /* OCULTADO CONFORME SOLICITADO */
}

.actuation-card:hover .card-number {
    color: var(--secondary-color);
    opacity: 0.2;
}

.actuation-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #000; /* Preto puro */
    font-weight: 700;
}

.actuation-card p {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.card-link {
    text-decoration: none;
    color: var(--secondary-color); /* Usando a cor de destaque para o link ficar visível */
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.card-link i {
    font-size: 0.7rem;
    transition: 0.3s;
}

.actuation-card:hover .card-link {
    color: var(--secondary-color);
}

.actuation-card:hover .card-link i {
    transform: translateX(5px);
}

/* ================= SEÇÃO COMO FUNCIONA (SOLVING) ================= */
.solving-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.solving-card {
    text-align: left;
}

.solving-visual {
    height: 200px;
    margin-bottom: 1.5rem;
}

.solving-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.solving-card p {
    color: #222;
    line-height: 1.6;
}

/* ================= SEÇÃO FLUXO DE VALOR (CARDS) ================= */
.value-flow-section {
    padding: 1rem 0 2rem; /* Reduzido de 2rem/4rem */
}

.value-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Reduzido de 250px */
    gap: 1rem; /* Reduzido de 2rem para aproximar os cards */
    max-width: 1100px; /* Reduzido de 1200px */
    margin: 0 auto;
}

.flow-card {
    background: #fff;
    padding: 1.5rem 1.2rem; /* Reduzido de 2.5rem 2rem */
    border-radius: 12px; /* Reduzido de 16px */
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-card:hover {
    transform: translateY(-5px); /* Reduzido de -10px */
    box-shadow: 0 15px 30px rgba(58, 9, 64, 0.1);
    border-color: var(--secondary-color);
}

.flow-card-img {
    width: 100%;
    height: 140px; /* Reduzido de 180px */
    border-radius: 8px; /* Reduzido de 12px */
    overflow: hidden;
    border: 1px solid #eee;
    margin-bottom: 1rem; /* Reduzido de 1.5rem */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.flow-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flow-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.flow-card-content p {
    font-size: 1rem;
    color: #000000; /* Preto mais forte solicitado */
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* ================= INFOGRÁFICO DE FLUXO (BASE) ================= */
.infographic-container {
    background: #f9f9f9;
    padding: 3rem 5%;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
}

/* ================= SEÇÃO DE DIFERENCIAIS (CARDS) ================= */
.differentials-section {
    padding: 2rem 0;
    max-width: 1100px;
    margin: 0 auto;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.diff-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-5px);
}

.diff-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.diff-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.diff-card p {
    color: #000;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .diff-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* ================= PROVA SOCIAL / CREDIBILIDADE ================= */
.milestones-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: flex-start;
    padding-left: 25%;
}

.milestone-card {
    background: #fff;
    width: 130px;
    height: 130px;
    padding: 0.5rem;
    border-radius: 12px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.milestone-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: var(--secondary-color);
}

.milestone-card h2 {
    font-size: 1.3rem;
    color: var(--primary-color) !important;
    margin-bottom: 0.3rem;
    font-weight: 800;
    white-space: nowrap; /* EVITA QUEBRA DE LINHA NO + E NÚMEROS */
}

.milestone-card p {
    font-weight: 800; /* Made slightly bolder for better visibility */
    color: var(--primary-color) !important; /* Changed to the brand purple color */
    font-size: 0.6rem; /* Slightly larger */
    margin: 0;
    text-transform: uppercase; /* Added for impact */
    letter-spacing: 1px;
}

@media (max-width: 1100px) {
    .milestones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .milestones-grid {
        grid-template-columns: 1fr;
    }
}

.social-proof-cta {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}

/* ================= BOTÃO FLUTUANTE ================= */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color), #00d2ff);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    box-shadow: 0 8px 20px rgba(3, 165, 137, 0.3);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(100px);
    visibility: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: pulse-button 2s infinite;
}

@keyframes pulse-button {
    0% { box-shadow: 0 0 0 0 rgba(3, 165, 137, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(3, 165, 137, 0); }
    100% { box-shadow: 0 0 0 0 rgba(3, 165, 137, 0); }
}

.floating-cta.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.floating-cta.at-footer {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-cta:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-5px) scale(1.05);
    color: white;
    box-shadow: 0 12px 30px rgba(58, 9, 64, 0.4);
    animation: none;
}

.floating-cta i {
    font-size: 1rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* ================= RESPONSIVIDADE MOBILE FINAL ================= */
@media (max-width: 900px) {
    /* Infográfico: Volta a ser vertical para melhor leitura no celular */
    .infographic-container {
        overflow-x: hidden !important;
        padding: 2rem 1.5rem !important;
    }

    .rsu-flow-horizontal {
        flex-direction: column !important;
        align-items: center !important;
        gap: 3rem !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .step-item {
        flex: 0 0 auto !important;
        width: 100% !important;
    }

    .connector-arrow {
        transform: rotate(90deg) !important;
        right: 50% !important;
        top: auto !important;
        bottom: -2rem !important;
        margin-right: -10px !important;
    }

    .step-item-split {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
        width: 100% !important;
    }

    .branch-arrows-container {
        flex-direction: row !important;
        margin: 0.5rem 0 !important;
        gap: 2rem !important;
    }

    .branch-arrows-container i {
        transform: rotate(90deg) !important;
    }

    .sub-steps-stack {
        border-left: none !important;
        border-top: 2px dashed #eee !important;
        padding: 1.5rem 0 0 0 !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        width: 100% !important;
    }

    .sub-step-item {
        flex-direction: column !important;
        text-align: center !important;
    }

    /* Rodapé: MANTÉM HORIZONTAL (Lado a Lado) como no Desktop */
    .main-footer {
        overflow-x: auto !important;
        padding: 2rem 0 !important;
        -webkit-overflow-scrolling: touch;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: row !important; /* LADO A LADO */
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        min-width: 850px !important; /* Força largura para não quebrar */
        gap: 3rem !important;
        padding: 0 1.5rem 1rem !important;
        margin-left: 0 !important;
    }

    .footer-brand, .footer-links, .footer-social {
        flex: 0 0 280px !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .footer-logo {
        height: 45px !important;
    }

    .footer-links ul li {
        justify-content: flex-start !important;
    }
}

/* ================= FAQ ================= */
.faq-accordion {
    max-width: 700px;
    margin: 2rem auto 0;
}

/* ================= CORREÇÃO DO MENU MOBILE (ADICIONADO) ================= */
@media (max-width: 992px) {
    /* Botão Hambúrguer Visível */
    .menu-toggle {
        display: block !important;
        background: transparent;
        border: none;
        color: var(--secondary-color) !important; /* Ícone Ciano para contraste no branco */
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 10001; /* Acima do menu */
        transition: transform 0.3s ease;
    }

    .menu-toggle:hover {
        transform: scale(1.1);
    }

    /* Menu Gaveta (Drawer) */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido à direita */
        width: 85%; /* Largura da gaveta */
        height: 100vh;
        background: var(--white); /* Fundo branco limpo */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center; /* Centraliza itens */
        padding-top: 100px; /* Espaço para não ficar em cima do X */
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        z-index: 10000;
        overflow-y: auto; /* Permite rolagem se o menu for alto */
    }

    /* Estado Ativo (Aberto) */
    .nav-links.active {
        right: 0;
    }

    /* Itens de Menu */
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.3s;
    }

    /* Animação de entrada dos itens */
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.1s;
    }
    
    .nav-links li:nth-child(1) { transition-delay: 0.15s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.25s; }
    .nav-links li:nth-child(4) { transition-delay: 0.3s; }
    .nav-links li:nth-child(5) { transition-delay: 0.35s; }
    .nav-links li:nth-child(6) { transition-delay: 0.4s; }

    .nav-links a {
        color: var(--primary-color) !important;
        font-size: 1.2rem;
        font-weight: 700;
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    /* Ajuste para Dropdown no Mobile */
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        background: #f8f8f8; /* Fundo levemente diferente */
        width: 100%;
        padding: 0;
        border-top: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
        animation: fadeIn 0.3s;
    }
    
    .dropdown-content a {
        padding-left: 0; /* Centralizado */
        font-size: 1rem;
        color: #666 !important;
        background: transparent;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    /* Ícone de seta no dropdown mobile */
    .dropbtn i {
        margin-left: 10px;
        transition: transform 0.3s;
    }
    
    .dropdown.active .dropbtn i {
        transform: rotate(180deg);
    }
}

@media (min-width: 993px) {
    .menu-toggle {
        display: none !important;
    }
}

/* ================= CORREÇÃO TEXTO OVERLAY MOBILE ================= */
.mobile-contrast-overlay {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 20px !important;
}

.mobile-contrast-overlay h3 {
    color: #fff !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8) !important;
    line-height: 1.3 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================= CORREÇÃO LOGO MOBILE ================= */
@media (max-width: 600px) {
    .logo img {
        height: 28px !important; /* Logo levemente menor no mobile */
    }
    .navbar {
        padding: 15px 5% !important;
        box-shadow: none !important;
        background: transparent !important; /* Transparente por padrão no mobile */
    }

    .menu-toggle {
        color: #fff !important; /* Cor branca para o fundo roxo */
    }

    .selected-lang, .selected-lang i {
        color: #fff !important; /* Cor branca para o fundo roxo */
    }

    /* A mágica acontece aqui: */
    header.scrolled .navbar {
        background: var(--primary-color) !important; /* Mantém roxo quando rolar no mobile */
        box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
    }

    header.scrolled .menu-toggle,
    header.scrolled .selected-lang,
    header.scrolled .selected-lang i {
        color: #fff !important; /* Ícones brancos quando o fundo for roxo */
    }
}
/* ================= CORREÇÃO SELETOR DE IDIOMA MOBILE (ADICIONADO) ================= */
@media (max-width: 992px) {
    .language-selector {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 70px; /* À esquerda do hambúrguer */
        margin-left: 0;
        z-index: 9998; /* Abaixo do menu drawer (10000) */
    }
    
    .selected-lang {
        background: transparent;
        color: var(--primary-color) !important; /* Cor escura para fundo branco */
        border: 1px solid rgba(0,0,0,0.1);
        padding: 4px 10px;
    }
    
    .selected-lang i {
        color: var(--primary-color) !important;
    }
    
    /* Dropdown de idioma no mobile ajustado */
    .lang-dropdown {
        right: -10px;
        top: 45px;
        width: 140px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
}

/* ================= CORREÇÃO DEFINITIVA DO RODAPÉ MOBILE (ADICIONADO) ================= */
@media (max-width: 768px) {
    .main-footer {
        padding: 3rem 1.5rem !important;
        overflow-x: hidden !important; /* Remove rolagem horizontal */
        width: 100% !important;
    }

    /* Rodapé Adaptável para Mobile (Vertical) */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important; /* Empilha no mobile */
        gap: 2rem !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important; /* Respeitando a preferência de alinhamento à esquerda */
    }

    .footer-brand, .footer-links, .footer-social, .footer-address-col, .footer-col {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    /* Ajuste de Slogan e Direitos no Mobile */
    .footer-brand p[data-i18n="footer_phrase"],
    .footer-brand p[data-i18n="footer_rights"] {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        white-space: normal !important; /* Permite quebrar linha para não estourar */
        width: 100% !important;
        margin-bottom: 0.5rem !important;
    }

    /* Ajuste para os cards de Fluxo de Valor no Mobile */
    .value-flow-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }

    .flow-card {
        padding: 2rem 1.5rem !important;
    }

    .flow-card-img {
        width: 100% !important;
        height: 200px !important;
        border-radius: 12px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
        align-items: center !important;
        padding-top: 2rem !important;
    }
    
    .footer-bottom p {
        text-align: center !important;
        order: 2;
    }
    
    .legal-links {
        justify-content: center !important;
        order: 1;
    }
}
