/* === Variables === */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a2e;
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --cyan: #00f0ff;
    --purple: #a855f7;
    --green: #39ff14;
    --gradient: linear-gradient(135deg, var(--cyan), var(--purple));
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3);
    --radius: 12px;
    --font: 'Space Grotesk', system-ui, sans-serif;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === Container === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Navbar === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.nav-logo { font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.logo-icon-img { width: 32px; height: 32px; object-fit: contain; }
.logo-sub { color: var(--cyan); font-weight: 400; font-size: 0.9rem; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-menu a:hover { color: var(--text-primary); }
.nav-cta {
    background: var(--gradient) !important; color: var(--bg-dark) !important;
    padding: 8px 20px; border-radius: 8px; font-weight: 600 !important;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: 0.3s; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 10px; font-weight: 600;
    font-size: 1rem; cursor: pointer; transition: all 0.3s;
    border: none; font-family: var(--font);
}
.btn-primary { background: var(--gradient); color: var(--bg-dark); box-shadow: var(--glow-cyan); }
.btn-primary:hover { box-shadow: 0 0 30px rgba(0, 240, 255, 0.5); transform: translateY(-2px); }
.btn-secondary { background: #25D366; color: #fff; box-shadow: 0 0 15px rgba(37, 211, 102, 0.3); }
.btn-secondary:hover { box-shadow: 0 0 25px rgba(37, 211, 102, 0.5); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-primary); border: 2px solid rgba(255,255,255,0.15); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-full { width: 100%; justify-content: center; }

/* === Hero - Split Layout === */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 100px 24px 60px;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.02) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.02) 50px);
    z-index: 0;
}
/* Animated floating orbs */
.hero-bg::before, .hero-bg::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
    animation: floatOrb 8s ease-in-out infinite alternate;
}
.hero-bg::before {
    width: 400px; height: 400px; top: -100px; left: -100px;
    background: rgba(0, 240, 255, 0.07);
}
.hero-bg::after {
    width: 350px; height: 350px; bottom: -80px; right: -80px;
    background: rgba(168, 85, 247, 0.07);
    animation-delay: -4s; animation-direction: alternate-reverse;
}
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}
/* Animated grid scan line */
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.03) 50%, transparent 100%);
    background-size: 100% 200%; animation: scanLine 6s linear infinite;
}
@keyframes scanLine {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 200%; }
}
.hero-content { position: relative; z-index: 1; max-width: 1200px; width: 100%; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-left { text-align: left; }
.hero-eyebrow {
    display: inline-block; background: rgba(0, 240, 255, 0.1); border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; color: var(--cyan);
    margin-bottom: 20px; font-weight: 500;
    animation: eyebrowPulse 2.5s ease-in-out infinite alternate;
}
@keyframes eyebrowPulse {
    0% { box-shadow: 0 0 0 rgba(0, 240, 255, 0); }
    100% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.15); }
}
.hero-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-badge {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 7px 16px; border-radius: 100px; font-size: 0.85rem;
    color: var(--text-secondary); backdrop-filter: blur(8px);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 0.8rem; color: var(--text-secondary); margin-top: 16px; font-style: italic; }

/* Hero right - image stack */
.hero-right { position: relative; }
.hero-image-stack { position: relative; height: 420px; }
.hero-img {
    border-radius: 16px; object-fit: cover; position: absolute;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.08);
}
.hero-img-1 {
    width: 340px; height: 260px; top: 0; left: 0; z-index: 2;
    animation: floatImg1 5s ease-in-out infinite alternate;
}
.hero-img-2 {
    width: 240px; height: 200px; bottom: 20px; right: 0; z-index: 3;
    animation: floatImg2 6s ease-in-out infinite alternate;
}
@keyframes floatImg1 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes floatImg2 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(10px) rotate(-1.5deg); }
}
.hero-stat-card {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4;
    background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.2); border-radius: 16px;
    animation: pulseGlow 3s ease-in-out infinite alternate;
    padding: 20px 28px; text-align: center; box-shadow: var(--glow-cyan);
}
.hero-stat-number {
    display: block; font-size: 2.8rem; font-weight: 700;
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
}
.hero-stat-label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
    100% { box-shadow: 0 0 35px rgba(0, 240, 255, 0.4), 0 0 60px rgba(168, 85, 247, 0.15); }
}

/* === Sections === */
section { padding: 100px 0; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 60px; }

/* === Services === */
.services { background: var(--bg-dark); }
.services-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: rgba(18, 18, 26, 0.6); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius); overflow: hidden; transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}
.service-card:hover {
    background: rgba(26, 26, 46, 0.8); border-color: rgba(0, 240, 255, 0.2);
    box-shadow: var(--glow-cyan); transform: translateY(-4px);
    backdrop-filter: blur(12px);
}
.service-img { width: 100%; height: 160px; object-fit: cover; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 6px; padding: 16px 20px 0; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; padding: 0 20px 20px; }

/* === Avantages === */
.avantages { background: linear-gradient(180deg, var(--bg-dark), #0d0d18); }
/* Expert banner */
.expert-banner {
    display: flex; align-items: center; gap: 48px;
    background: rgba(18, 18, 26, 0.6); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 40px; margin-bottom: 48px;
    backdrop-filter: blur(0px); transition: all 0.4s ease;
}
.expert-banner:hover {
    backdrop-filter: blur(12px); background: rgba(26, 26, 46, 0.8);
    border-color: rgba(0, 240, 255, 0.15); box-shadow: var(--glow-cyan);
}
.expert-photo { flex-shrink: 0; }
.expert-photo img {
    width: 180px; height: 180px; border-radius: 50%; object-fit: cover;
    border: 3px solid transparent; background-origin: border-box;
    background-clip: padding-box, border-box;
    background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--gradient);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}
.expert-info h3 { font-size: 1.4rem; margin-bottom: 12px; }
.expert-info p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.expert-stats { display: flex; gap: 32px; }
.expert-stat { text-align: center; }
.expert-stat-value {
    display: block; font-size: 1.6rem; font-weight: 700;
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.expert-stat-label { display: block; font-size: 0.8rem; color: var(--text-secondary); }

.avantages-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.avantage-card {
    background: rgba(18, 18, 26, 0.6); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius); padding: 36px; transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}
.avantage-card:hover {
    border-color: rgba(168, 85, 247, 0.3); box-shadow: var(--glow-purple);
    backdrop-filter: blur(12px); background: rgba(26, 26, 46, 0.8);
    transform: translateY(-4px);
}
.avantage-number {
    font-size: 3rem; font-weight: 700;
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1; margin-bottom: 16px;
}
.avantage-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.avantage-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* === Tarifs === */
.tarifs { background: var(--bg-dark); }
.tarifs-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
}
.tarif-card {
    background: rgba(18, 18, 26, 0.6); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius); padding: 36px; text-align: center;
    transition: all 0.4s ease; position: relative; overflow: hidden;
    backdrop-filter: blur(0px);
}
.tarif-card:hover {
    backdrop-filter: blur(12px); background: rgba(26, 26, 46, 0.8);
    transform: translateY(-4px); box-shadow: var(--glow-cyan);
    border-color: rgba(0, 240, 255, 0.15);
}
.tarif-card.featured { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.tarif-badge {
    position: absolute; top: 16px; right: -30px;
    background: var(--gradient); color: var(--bg-dark); font-weight: 700;
    font-size: 0.75rem; padding: 4px 40px;
    transform: rotate(45deg); text-transform: uppercase;
}
.tarif-header h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tarif-price { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 16px; }
.tarif-price span { font-size: 2rem; font-weight: 700; color: var(--cyan); }
.tarif-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* === Zone === */
.zone { background: linear-gradient(180deg, #0d0d18, var(--bg-dark)); }
.zone-content { text-align: center; }
.zone-city.main { font-size: 1.6rem; font-weight: 700; margin-bottom: 24px; color: var(--cyan); }
.zone-cities-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
    max-width: 700px; margin: 0 auto 24px;
}
.zone-city {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
    padding: 8px 20px; border-radius: 100px; font-size: 0.9rem;
    color: var(--text-secondary); transition: all 0.3s;
}
.zone-city:hover { border-color: var(--cyan); color: var(--text-primary); }
.zone-note { color: var(--text-secondary); font-size: 0.95rem; font-style: italic; }

/* === Avis Marquee === */
.avis { background: var(--bg-dark); overflow: hidden; }
.marquee-row { overflow: hidden; padding: 12px 0; }
.marquee-track {
    display: flex; gap: 24px; width: max-content;
}
.marquee-left { animation: marqueeLeft 40s linear infinite; }
.marquee-right { animation: marqueeRight 40s linear infinite; }

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-row:hover .marquee-track { animation-play-state: paused; }

.avis-card {
    min-width: 380px; max-width: 380px; flex-shrink: 0;
    background: rgba(18, 18, 26, 0.6); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius); padding: 28px; transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}
.avis-card:hover {
    backdrop-filter: blur(12px); background: rgba(26, 26, 46, 0.8);
    border-color: rgba(168, 85, 247, 0.2); box-shadow: var(--glow-purple);
    transform: translateY(-4px);
}
.avis-stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.avis-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.avis-author { display: flex; align-items: center; gap: 12px; }
.avis-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--gradient); display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--bg-dark); font-size: 1rem; flex-shrink: 0;
}
.avis-name { display: block; font-weight: 600; font-size: 0.9rem; }
.avis-date { display: block; font-size: 0.75rem; color: var(--text-secondary); }

/* === Contact === */
.contact { background: var(--bg-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-direct h3, .contact-form h3 { font-size: 1.3rem; margin-bottom: 24px; }
.contact-btn {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 24px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 16px; transition: all 0.3s; cursor: pointer;
}
.contact-btn:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.contact-btn.whatsapp:hover { border-color: #25D366; box-shadow: 0 0 20px rgba(37,211,102,0.3); }
.contact-btn svg { flex-shrink: 0; }
.contact-label { display: block; font-size: 0.85rem; color: var(--text-secondary); }
.contact-value { display: block; font-size: 1.1rem; font-weight: 600; }
.contact-info { margin-top: 32px; }
.contact-info p { color: var(--text-secondary); margin-bottom: 8px; font-size: 0.95rem; }
.contact-form {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius); padding: 36px;
}
.form-group { margin-bottom: 16px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03); color: var(--text-primary);
    font-family: var(--font); font-size: 0.95rem; transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-secondary); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-dark); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { text-align: center; color: var(--text-secondary); font-size: 0.85rem; margin-top: 12px; }

/* === Footer === */
.footer {
    background: #07070c; border-top: 1px solid rgba(255,255,255,0.05);
    padding: 48px 0 24px;
}
.footer-content { display: flex; justify-content: space-between; align-items: start; margin-bottom: 32px; }
.footer-brand { font-size: 1.3rem; font-weight: 700; }
.footer-brand p { font-size: 0.9rem; color: var(--text-secondary); font-weight: 400; margin-top: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; text-align: center; }
.footer-bottom p { color: var(--text-secondary); font-size: 0.85rem; }

/* === Animations === */
[data-animate] {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* Section titles fade */
.section-title, .section-subtitle {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-title.visible, .section-subtitle.visible { opacity: 1; transform: translateY(0); }

/* === Success message === */
.form-success { text-align: center; padding: 40px 20px; }
.form-success h3 { color: var(--cyan); font-size: 1.5rem; margin-bottom: 12px; }
.form-success p { color: var(--text-secondary); }

/* === Responsive === */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .avantages-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-split { grid-template-columns: 1fr; gap: 40px; }
    .hero-left { text-align: center; }
    .hero-badges { justify-content: center; }
    .hero-ctas { justify-content: center; }
    .hero-note { text-align: center; }
    .hero-right { display: none; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 70px; left: 0; right: 0;
        background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(12px);
        flex-direction: column; padding: 24px; gap: 20px;
        transform: translateY(-100%); opacity: 0;
        transition: all 0.3s; pointer-events: none;
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: all; }
    .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); }
    .hero { padding: 100px 20px 60px; }
    .hero-badges { gap: 8px; }
    .hero-badge { font-size: 0.8rem; padding: 6px 14px; }
    .services-grid { grid-template-columns: 1fr; }
    .avantages-grid { grid-template-columns: 1fr; }
    .expert-banner { flex-direction: column; text-align: center; padding: 32px 24px; gap: 24px; }
    .expert-photo img { width: 140px; height: 140px; }
    .expert-stats { justify-content: center; gap: 20px; }
    .avis-card { min-width: 280px; max-width: 280px; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; justify-content: center; max-width: 320px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 24px; }
    .footer-links { flex-wrap: wrap; }
    section { padding: 60px 0; }
    .avis-nav { display: none; }
    .avis-carousel { overflow-x: auto; scroll-snap-type: x mandatory; }
}
