/* ========================================
   COREWAVE Engenharia - Premium Styles
   ======================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --navy: #0A1E33;
    --navy-light: #122a45;
    --deep-teal: #085F6E;
    --teal: #49C7D0;
    --teal-light: #6dd5dc;
    --gray: #D7DCE0;
    --gray-light: #f5f7f9;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--deep-teal) 0%, var(--teal) 100%);
    --gradient-dark: linear-gradient(135deg, var(--navy) 0%, var(--deep-teal) 100%);
    --gradient-text: linear-gradient(135deg, var(--teal) 0%, var(--deep-teal) 100%);
    
    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Sizes */
    --text-xs: 12px;
    --text-sm: 13px;
    --text-base: 14px;
    --text-md: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    --text-5xl: 48px;
    --text-6xl: 60px;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(73, 199, 208, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--navy);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Preloader
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    gap: 8px;
}

.loader .wave {
    width: 6px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: wave 1s ease-in-out infinite;
}

.loader .wave:nth-child(2) {
    animation-delay: 0.1s;
}

.loader .wave:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes wave {
    0%, 100% {
        transform: scaleY(0.5);
    }
    50% {
        transform: scaleY(1);
    }
}

/* ========================================
   Container
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

@media (max-width: 768px) {
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    h3 { font-size: var(--text-xl); }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: var(--text-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--text-md);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

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

.btn-white {
    background: var(--white);
    color: var(--navy);
}

.btn-white:hover {
    background: var(--gray-light);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.btn-whatsapp svg {
    transform: none;
}

.btn-whatsapp:hover svg {
    transform: none;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: var(--space-sm) 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 22px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-img {
        height: 20px;
    }
}

/* Versões de logo para fundo escuro/claro */
.logo-img--dark {
    display: block;
}

.logo-img--light {
    display: none;
}

.header.scrolled .logo-img--dark {
    display: none;
}

.header.scrolled .logo-img--light {
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-base);
}

.header.scrolled .nav-link {
    color: var(--navy);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--teal);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--deep-teal);
}

.nav-cta {
    margin-left: var(--space-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: var(--z-modal);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
}

.header.scrolled .nav-toggle span {
    background: var(--navy);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        transition: right var(--transition-base);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        color: #FFFFFF !important;
        font-size: 18px;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('../../imgs/image1%20Grande.jpeg') center/cover no-repeat;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 30, 51, 0.9) 0%, rgba(8, 95, 110, 0.8) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 15vh;
    padding-bottom: 15vh;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(73, 199, 208, 0.2);
    border: 1px solid rgba(73, 199, 208, 0.3);
    border-radius: var(--radius-full);
    color: var(--teal);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: clamp(28px, 4.2vw, 46px);
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 560px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.hero-cta .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero-cta .btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--teal);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--teal);
}

.stat-label {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-xs);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

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

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .stat-number {
        font-size: var(--text-2xl);
    }
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: rgba(8, 95, 110, 0.1);
    border-radius: var(--radius-full);
    color: var(--deep-teal);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    color: #64748b;
    font-size: var(--text-md);
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

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

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

.service-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.service-title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.service-desc {
    color: #64748b;
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--deep-teal);
    font-weight: 600;
    font-size: var(--text-base);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.service-link:hover svg {
    transform: translateX(4px);
}

.services-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ========================================
   Differentials Section
   ======================================== */
.differentials-section {
    background: var(--white);
    overflow: hidden;
}

.differentials-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gray-light);
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.differentials-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 1024px) {
    .differentials-wrapper {
        grid-template-columns: 1fr;
    }
    
    .differentials-bg {
        display: none;
    }
}

.differentials-content {
    position: relative;
    z-index: 2;
}

.differentials-content .section-badge {
    margin-bottom: var(--space-md);
}

.differentials-content .section-title {
    text-align: left;
    margin-bottom: var(--space-md);
}

.section-text {
    color: #64748b;
    font-size: var(--text-md);
    margin-bottom: var(--space-xl);
}

.differentials-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.differential-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.differential-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 95, 110, 0.1);
    border-radius: var(--radius-md);
    color: var(--deep-teal);
}

.differential-icon svg {
    width: 24px;
    height: 24px;
}

.differential-text h4 {
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.differential-text p {
    color: #64748b;
    font-size: var(--text-base);
}

.differentials-image {
    position: relative;
    z-index: 2;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.diff-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.floating-card {
    position: absolute;
    bottom: var(--space-xl);
    left: -40px;
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.floating-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(73, 199, 208, 0.2);
    border-radius: var(--radius-full);
    color: var(--teal);
}

.floating-icon svg {
    width: 24px;
    height: 24px;
}

.floating-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--navy);
}

.floating-label {
    font-size: var(--text-sm);
    color: #64748b;
}

@media (max-width: 768px) {
    .floating-card {
        left: var(--space-md);
        bottom: var(--space-md);
    }
    
    .image-accent {
        display: none;
    }
}

/* ========================================
   Methodology Section
   ======================================== */
.methodology-section {
    background: var(--navy);
    color: var(--white);
}

.methodology-section .section-badge {
    background: rgba(73, 199, 208, 0.2);
    color: var(--teal);
}

.methodology-section .section-title {
    color: var(--white);
}

.methodology-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.methodology-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal), var(--deep-teal));
}

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
}

.methodology-step {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    position: relative;
}

.methodology-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
    .step-marker {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
}

.step-letter {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
}

@media (max-width: 768px) {
    .step-letter {
        font-size: var(--text-xl);
    }
}

.step-content {
    padding-top: var(--space-md);
}

.step-title {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.step-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-base);
}

.methodology-cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* Customer Challenges */
.challenges-section {
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.challenges-title {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.challenges-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .challenges-list {
        grid-template-columns: 1fr;
    }
}

.challenges-list li {
    position: relative;
    padding-left: var(--space-lg);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-base);
    line-height: 1.6;
}

.challenges-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

/* ========================================
   Sectors Section
   ======================================== */
.sectors-section {
    background: var(--gray-light);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

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

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

.sector-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.sector-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.sector-card:hover .sector-image img {
    transform: scale(1.1);
}

.sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 30, 51, 0.9) 0%, rgba(10, 30, 51, 0.3) 100%);
    transition: background var(--transition-base);
}

.sector-card:hover .sector-overlay {
    background: linear-gradient(to top, rgba(8, 95, 110, 0.95) 0%, rgba(8, 95, 110, 0.5) 100%);
}

.sector-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    color: var(--white);
    z-index: 2;
}

.sector-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-md);
    color: var(--teal);
}

.sector-title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.sector-desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.sector-card:hover .sector-desc {
    opacity: 1;
    transform: translateY(0);
}

.sectors-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    background: var(--white);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--gray-light);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.testimonial-quote {
    margin-bottom: var(--space-lg);
}

.testimonial-quote svg {
    width: 48px;
    height: 48px;
    color: var(--teal);
    opacity: 0.5;
}

.testimonial-text {
    font-size: var(--text-lg);
    color: var(--navy);
    font-style: italic;
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    color: var(--white);
}

.author-avatar svg {
    width: 24px;
    height: 24px;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--navy);
}

.author-company {
    font-size: var(--text-sm);
    color: #64748b;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial-prev,
.testimonial-next {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: var(--radius-full);
    color: var(--navy);
    transition: all var(--transition-base);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.testimonial-prev svg,
.testimonial-next svg {
    width: 20px;
    height: 20px;
}

.testimonials-dots {
    display: flex;
    gap: var(--space-sm);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--gray);
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot.active {
    background: var(--teal);
    width: 30px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../imgs/Image_fx-4%20Grande.jpeg') center/cover no-repeat;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 30, 51, 0.95) 0%, rgba(8, 95, 110, 0.9) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--text-4xl);
    color: var(--white);
    margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: var(--text-2xl);
    }
}

.cta-text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--navy);
    color: var(--white);
    position: relative;
    padding-top: 0;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
    fill: var(--navy);
}

.footer-wave {
    display: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    padding: var(--space-3xl) 0;
}

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

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

.footer-logo img {
    height: 20px;
    margin-bottom: var(--space-md);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: var(--space-md);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--teal);
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-base);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-base);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--teal);
    margin-top: 2px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg) 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

.footer-legal a:hover {
    color: var(--teal);
}

/* ========================================
   WhatsApp Float Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: var(--radius-full);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--navy);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: calc(var(--space-xl) + 70px);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    border-radius: var(--radius-md);
    color: var(--white);
    box-shadow: var(--shadow-md);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--deep-teal);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: var(--space-md);
        right: calc(var(--space-md) + 60px);
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   Cookie Notice
   ======================================== */
.cookie-notice {
    position: fixed;
    bottom: var(--space-lg);
    left: var(--space-lg);
    max-width: 400px;
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    z-index: var(--z-modal);
    transform: translateY(150%);
    transition: transform var(--transition-base);
}

.cookie-notice.visible {
    transform: translateY(0);
}

.cookie-notice.hidden {
    display: none;
}

.cookie-content p {
    font-size: var(--text-sm);
    color: #64748b;
    margin-bottom: var(--space-md);
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cookie-link {
    font-size: var(--text-sm);
    color: var(--deep-teal);
    font-weight: 500;
}

@media (max-width: 768px) {
    .cookie-notice {
        left: var(--space-md);
        right: var(--space-md);
        max-width: none;
    }
}

/* ========================================
   Page Header (Internal Pages)
   ======================================== */
.page-header {
    background: var(--navy);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../imgs/image2%20Grande.jpeg') center/cover no-repeat;
    opacity: 0.2;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-size: var(--text-5xl);
    color: var(--white);
    margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
    .page-title {
        font-size: var(--text-3xl);
    }
}

.page-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.breadcrumb a,
.breadcrumb span {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--teal);
}

.breadcrumb svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Forms
   ======================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: var(--text-base);
    color: var(--navy);
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(73, 199, 208, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-file {
    position: relative;
}

.form-file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.form-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border: 2px dashed var(--gray);
    border-radius: var(--radius-md);
    color: #64748b;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.form-file-label:hover {
    border-color: var(--teal);
    color: var(--deep-teal);
}

.form-file-label svg {
    width: 24px;
    height: 24px;
}

.form-hint {
    font-size: var(--text-xs);
    color: #94a3b8;
    margin-top: var(--space-xs);
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

/* ========================================
   Animations
   ======================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ========================================
   Particles
   ======================================== */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(73, 199, 208, 0.5);
    border-radius: var(--radius-full);
    pointer-events: none;
}
