/* CORREÇÃO COMPLETA DE SCROLL HORIZONTAL */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 100vw;
    padding: 0 15px;
}

/* Elementos que costumam causar problemas */
.hero-shape,
.floating-badge,
.timeline-progress,
.carousel-track,
.hero-card {
    max-width: 100vw;
}

/* Correção específica para elementos posicionados */
.hero-shape-1 {
    right: -50px !important;
}

.hero-shape-2 {
    left: -20px !important;
}

.floating-badge.badge-2 {
    left: 10px !important;
}
/* ===== VARIÁVEIS CSS ===== */
:root {
    --primary: #00a878;
    --primary-dark: #007a5c;
    --primary-light: #e8f7f2;
    --primary-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --secondary: #2d3748;
    --accent: #ff6b35;
    --light: #f8fafc;
    --dark: #1a202c;
    --gray: #718096;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 35px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 168, 120, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 120, 0.4);
}

.btn-secondary {
    color: var(--secondary);
    border: 2px solid var(--secondary);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-hero {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* ===== ANIMAÇÕES DE SCROLL ===== */
.scroll-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.scroll-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.scroll-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.scroll-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.scroll-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.scroll-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.scroll-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-light);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 168, 120, 0.3);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--dark);
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: var(--primary-light);
}

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, rgba(0, 168, 120, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-1 {
    width: 250px;
    height: 250px;
    top: -100px;
    right: -80px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 80px;
    left: -40px;
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 168, 120, 0.1);
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-light);
    z-index: -1;
    border-radius: 3px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: rotate(-3deg);
    transition: var(--transition);
    position: relative;
}

.hero-card:hover {
    transform: rotate(0) scale(1.03);
}

.card-image {
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.card-features {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.card-features span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: float 4s ease-in-out infinite;
}

.badge-1 {
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    animation-delay: 0s;
}

.badge-2 {
    bottom: 80px;
    left: -25px;
    animation-delay: 2s;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

/* ===== SEÇÕES ===== */
section {
    padding: 80px 0;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    order: 1;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
    order: 2;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    order: 3;
    margin-top: 8px;
}

/* ===== FEATURES SECTION ===== */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
}

/* ===== PRODUCTS SECTION ===== */
.products {
    background: linear-gradient(135deg, rgba(0, 168, 120, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 4;
}

/* ===== CARROSSEL DE PRODUTOS ===== */
.product-carousel {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    opacity: 0;
}

.product-card:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-nav i {
    color: var(--primary);
    font-size: 1rem;
}

.carousel-autoplay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.autoplay-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.autoplay-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.autoplay-btn i {
    color: var(--white);
    font-size: 0.8rem;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.product-price {
    font-size: 1rem;
    margin-bottom: 12px;
}

.product-price span {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.product-features {
    margin: 15px 0;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.product-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.product-actions {
    margin-top: 20px;
}

/* ===== SUSTAINABILITY SECTION ===== */
.sustainability {
    background: var(--white);
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sustainability-visual {
    position: relative;
}

.sustainability-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.sustainability-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 168, 120, 0.1) 0%, transparent 100%);
}

.eco-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    font-size: 0.9rem;
}

.sustainability-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.sustainability-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--primary-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.sustainability-feature:hover {
    transform: translateX(5px);
    background: var(--primary);
    color: var(--white);
}

.sustainability-feature:hover i,
.sustainability-feature:hover h4,
.sustainability-feature:hover p {
    color: var(--white);
}

.sustainability-feature i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.sustainability-feature h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.sustainability-feature p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== TIMELINE SECTION ===== */
.timeline {
    background: linear-gradient(135deg, rgba(0, 168, 120, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.timeline-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--primary-light);
    z-index: 1;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 50%;
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 300px;
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 15px;
    height: 15px;
    background: var(--white);
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -7px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -7px;
}

.timeline-year {
    position: absolute;
    top: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -60px;
}

/* ===== CLIENTS SECTION ===== */
.clients {
    background: var(--white);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 25px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
    height: 100px;
}

.client-logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.client-logo img {
    max-width: 120px;
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ===== CTA SECTION ===== */
.cta {
    background: var(--primary-gradient);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta h2, .cta p {
    color: var(--white);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: var(--light-gray);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-description {
    color: var(--light-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-title {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-gray);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 3px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 1rem;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item a {
    color: var(--light-gray);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1rem;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    text-align: center;
}

/* ===== BOTÕES FLUTUANTES ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
    font-size: 1.5rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.float-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    top: -45px;
}

.back-to-top {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 168, 120, 0.3);
    z-index: 100;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 120, 0.4);
}

/* ===== RESPONSIVIDADE OTIMIZADA ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .sustainability-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .timeline-container {
        padding: 0 20px;
    }
    
    .timeline-progress {
        left: 25px;
    }
    
    .timeline-item {
        justify-content: flex-start !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
        margin-bottom: 30px;
    }
    
    .timeline-year {
        left: 0 !important;
        right: auto !important;
        top: 15px;
    }
    
    .timeline-content::before {
        left: -7px !important;
        right: auto !important;
    }
    
    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .hero-shape-1 {
        width: 200px;
        height: 200px;
        top: -80px;
        right: -60px;
    }
    
    .hero-shape-2 {
        width: 120px;
        height: 120px;
        bottom: 60px;
        left: -30px;
    }
    
    .hero-shape-3 {
        width: 100px;
        height: 100px;
        top: 30%;
        right: 10%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 15px 0;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .sustainability-features {
        gap: 15px;
    }
    
    .sustainability-feature {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .carousel-nav {
        opacity: 1;
        background: rgba(255, 255, 255, 0.7);
        width: 35px;
        height: 35px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .autoplay-btn {
        opacity: 0.8;
        width: 25px;
        height: 25px;
    }
    
    .hero-shape-1,
    .hero-shape-2,
    .hero-shape-3 {
        display: none;
    }
    
    .floating-badge.badge-2 {
        display: none;
    }
    
    .hero-card {
        transform: rotate(0);
        margin: 0 auto;
        max-width: 400px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title::after {
        width: 50px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .client-logo {
        height: 80px;
        padding: 15px;
    }
    
    .client-logo img {
        max-width: 100px;
        max-height: 40px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.3rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 85px;
        right: 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .stat-item {
        width: 100%;
        align-items: center;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .product-carousel {
        height: 160px;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
    
    .product-content {
        padding: 15px;
    }
    
    .product-features li {
        font-size: 0.85rem;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-grid {
        gap: 25px;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .nav-toggle {
        padding: 4px;
    }
    
    .nav-toggle-bar {
        width: 20px;
    }
    
    .scroll-arrow {
        width: 20px;
        height: 35px;
    }
    
    .hero-scroll-indicator {
        bottom: 15px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large, .btn-hero {
        padding: 12px 24px;
    }
    
    .hero-actions .btn {
        padding: 12px 20px;
    }
    
    .features-grid,
    .products-grid {
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        height: 70px;
    }
    
    .footer-grid {
        gap: 20px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
}

/* ===== MELHORIAS ESPECÍFICAS PARA MOBILE ===== */
/* Prevenir zoom em inputs em iOS */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px; /* Previne zoom em iOS */
    }
}

/* Melhorar área de toque para botões */
@media (max-width: 768px) {
    .btn, .nav-link, .carousel-dot {
        min-height: 44px; /* Tamanho mínimo recomendado para área de toque */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .carousel-dot {
        min-height: auto;
        width: 12px;
        height: 12px;
    }
}

/* Otimizar performance de animações em mobile */
@media (max-width: 768px) {
    .hero-shape {
        animation-duration: 8s; /* Reduzir velocidade das animações */
    }
    
    .scroll-section {
        transition-duration: 0.6s; /* Reduzir duração das animações de scroll */
    }
}

/* Melhorar legibilidade do texto em mobile */
@media (max-width: 768px) {
    body {
        line-height: 1.5;
    }
    
    p {
        margin-bottom: 0.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
}

/* Ajustes específicos para telas muito pequenas */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-actions .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .feature-card {
        padding: 18px 12px;
    }
}

/* ===== SIMULADOR NR24 ===== */
.simulator {
    background: linear-gradient(135deg, rgba(0, 168, 120, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.simulator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.calculator-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    border: 1px solid var(--light-gray);
}

.calculator-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculator-title i {
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 120, 0.1);
}

.results-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    position: sticky;
    top: 100px;
    border: 1px solid var(--light-gray);
}

.results-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 500;
}

.result-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.recommendation-box {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 20px;
}

.recommendation-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

/* Responsividade do Simulador */
@media (max-width: 768px) {
    .simulator-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .results-card {
        position: static;
    }
    
    .calculator-card,
    .results-card {
        padding: 20px;
    }
}