/* 
  Yandee Telecom - Liquid Glass Design System
  Maintained for a premium B2B experience.
*/

:root {
    --brand-coral: #FF8C56;
    /* Official Yandee Coral */
    --brand-coral-soft: #FFA37A;
    --brand-navy: #0f172a;
    --brand-black: #1a1a1a;
    --brand-white: #ffffff;

    --yandee-orange: #FF8C56;
    --yandee-yellow: #FFB74D;

    --glass-bg: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.8);

    --text-primary: #1a1a1a;
    --text-secondary: #4b5563;
    --text-glass: #2d3748;

    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --blur-amount: 12px;
    --radius-liquid: 24px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    background: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Liquid Blobs */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #fff 0%, #f8fafc 100%);
}

.blob {
    position: absolute;
    width: 800px;
    height: 800px;
    background: var(--brand-coral);
    filter: blur(100px);
    opacity: 0.22;
    border-radius: 50%;
    animation: move 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    top: -200px;
    right: -200px;
    background: #FF6B4A;
    animation-delay: 0s;
}

.blob-2 {
    bottom: -200px;
    left: -200px;
    background: var(--brand-coral);
    opacity: 0.15;
    animation-delay: -5s;
}

.blob-3 {
    top: 30%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: var(--brand-coral);
    opacity: 0.10;
    animation-delay: -10s;
}

@keyframes move {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(100px, 50px) scale(1.1) rotate(10deg);
    }

    66% {
        transform: translate(-50px, 150px) scale(0.9) rotate(-10deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

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

.text-center {
    text-align: center;
}

/* Glass Utilities with Dynamic Reflection */
.glass,
.glass-liquid {
    --mouse-x: 50%;
    --mouse-y: 50%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.15),
            transparent 45%), var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount)) saturate(2);
    -webkit-backdrop-filter: blur(var(--blur-amount)) saturate(2);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-liquid);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-liquid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 140, 86, 0.15),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.glass-liquid:hover::before {
    opacity: 1;
}

.liquid-card {
    padding: 30px;
    z-index: 1;
}

.liquid-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--brand-coral);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.text-gradient {
    color: var(--brand-coral);
    /* Restore solid coral */
}

/* Header - Navigation Pill — Luxury Glass */
.nav-liquid {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    z-index: 1000;
    background: linear-gradient(165deg,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(255, 255, 255, 0.45) 100%);
    backdrop-filter: blur(40px) saturate(2);
    -webkit-backdrop-filter: blur(40px) saturate(2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 100px;
    padding: 0 24px;
    height: 84px;
    display: flex;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    overflow: visible;
}

.nav-liquid.is-scrolled {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px) saturate(3);
    -webkit-backdrop-filter: blur(12px) saturate(3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.8);
}

.nav-liquid:hover {
    transform: translateX(-50%) scale(1.005);
}

.nav-liquid::before {
    content: '';
    position: absolute;
    inset: -3px; /* Larger rim */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        transparent 25%, 
        rgba(255, 255, 255, 0.3) 50%,
        transparent 75%,
        rgba(255, 140, 86, 0.3) 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.9;
    filter: blur(2px);
    mask-image: radial-gradient(circle at center, transparent 40%, black 100%);
}

/* Spectral light leak for extra prism effect */
.nav-liquid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 1; /* Behind nav links (10) and indicator (5) */
    opacity: 0.5;
}

/* Hamburger Menu */
.nav-mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,140,86,0.1);
    border: 1px solid rgba(255,140,86,0.2);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.nav-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--brand-coral);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-mobile-toggle.active {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.nav-mobile-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.logo img {
    height: 70px !important;
    width: auto !important;
    opacity: 1 !important;
    display: block !important;
    object-fit: contain;
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.15));
}

.logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 10;
}

/* Fluid Navigation Indicator */
.nav-indicator {
    position: absolute;
    height: 42px;
    background: linear-gradient(135deg,
            rgba(255, 140, 86, 0.18) 0%,
            rgba(255, 140, 86, 0.08) 100%);
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border-radius: 50px;
    border: 1px solid rgba(255, 140, 86, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    /* inner highlight */
    box-shadow:
        0 4px 20px rgba(255, 140, 86, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    /* glass shine */
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--brand-coral);
}

.nav-links a.active {
    color: var(--brand-coral);
    font-weight: 700;
    /* Background handled by indicator pill */
}

/* Bento Hierarchical Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(30px) saturate(1.8);
    -webkit-backdrop-filter: blur(30px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 40px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Featured cards span 2 columns */
.service-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--brand-coral);
}

/* Hierarchical sizing on hover based on content */
.service-card:hover .service-body p {
    color: var(--text-primary);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 140, 86, 0.12);
    color: var(--brand-coral);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-8deg);
    background: var(--brand-coral);
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.featured .service-title {
    font-size: 2rem;
}

.service-body p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.featured .service-body p {
    max-width: 80%;
}

.service-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--brand-coral);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.service-card:hover .service-cta {
    gap: 18px;
}

/* ═══════════════════════════════════════════
   KEYFRAMES — Animations boutons
═══════════════════════════════════════════ */

/* Pulse concentrique — anneau qui s'élargit */
@keyframes ring-pulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* Halo respirant en boucle */
@keyframes glow-breathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 86, 0.55), 0 6px 20px rgba(255, 140, 86, 0.35); }
    50%       { box-shadow: 0 0 0 8px rgba(255, 140, 86, 0), 0 10px 32px rgba(255, 140, 86, 0.55); }
}

/* Halo respirant WhatsApp */
@keyframes glow-wa {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 6px 20px rgba(37, 211, 102, 0.3); }
    50%       { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0), 0 10px 32px rgba(37, 211, 102, 0.5); }
}

/* Sweep lumineux sur le bouton CTA */
@keyframes shimmer-sweep {
    0%   { left: -120%; }
    100% { left: 150%;  }
}

/* ═══════════════════════════════════════════
   BOUTONS — Base
═══════════════════════════════════════════ */

.btn-liquid {
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    line-height: 1;
    width: fit-content;
}

/* ── Bouton CTA principal ── */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--brand-coral);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s ease,
                background 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(255, 140, 86, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    will-change: transform;
}

/* Filet de lumière en pseudo-élément */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 80%
    );
    transform: skewX(-18deg);
    pointer-events: none;
}

.btn-primary:hover {
    transform: scale(1.07) translateY(-3px);
    background: linear-gradient(135deg, #ff9d71, var(--brand-coral));
    box-shadow:
        0 0 0 0 rgba(255, 140, 86, 0.5),
        0 12px 36px rgba(255, 140, 86, 0.55),
        inset 0 1px 0 rgba(255,255,255,0.25);
    animation: glow-breathe 1.6s ease-in-out infinite;
}

/* Sweep de lumière au survol */
.btn-primary:hover::before {
    animation: shimmer-sweep 0.65s ease forwards;
}

.btn-primary:active {
    transform: scale(0.97) translateY(0);
    animation: none;
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.05);
    color: var(--brand-navy);
}

/* ── Boutons ronds (téléphone + WhatsApp) ── */
.phone-btn {
    position: relative;
    width: 42px;
    height: 42px;
    background: var(--brand-coral);
    color: white;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 86, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    will-change: transform;
}

/* Anneau concentrique — pseudo-élément */
.phone-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    pointer-events: none;
}

/* Bouton téléphone (coral) au survol */
.phone-btn:not([style*="25D366"]):hover {
    transform: rotate(18deg) scale(1.18);
    animation: glow-breathe 1.4s ease-in-out infinite;
}

.phone-btn:not([style*="25D366"]):hover::after {
    animation: ring-pulse 0.7s ease-out;
    color: var(--brand-coral);
    opacity: 1;
}

/* Bouton WhatsApp (vert) au survol */
.phone-btn[style*="25D366"]:hover {
    transform: scale(1.18) translateY(-2px);
    animation: glow-wa 1.4s ease-in-out infinite;
}

.phone-btn[style*="25D366"]:hover::after {
    animation: ring-pulse 0.7s ease-out;
    color: #25D366;
    opacity: 1;
}

.phone-btn:active {
    transform: scale(0.94);
    animation: none;
}

.phone-btn svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}


/* Animations */
.reveal-liquid {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-liquid.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific Sections */
.hero {
    padding: 240px 0 160px;
}

.section-padding {
    padding: 120px 0;
}

/* Metrics Grid - Flyer Bandeau */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    width: 100%;
}

/* ── Tilt 3D — perspective wrapper ── */
.metric-card-wrapper {
    perspective: 900px;
    perspective-origin: center center;
}

.metric-card {
    text-align: center;
    padding: 32px 20px;
    display: flex;
    /* Tilt 3D */
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out, box-shadow 0.25s ease;
    will-change: transform;
    cursor: default;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Reflet holographique — pseudo-élément qui suit le curseur */
.metric-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 140, 86, 0.07) 35%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.metric-card:hover::after {
    opacity: 1;
}

/* Icône qui pop vers l'avant au survol */
.metric-card:hover .metric-icon {
    transform: translateZ(24px) scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(255, 140, 86, 0.5));
}

.metric-card:hover .metric-title {
    transform: translateZ(12px);
}

.metric-icon {
    margin-bottom: 20px;
    opacity: 0.9;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                filter 0.3s ease;
    transform-style: preserve-3d;
}

.metric-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.metric-desc {
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.8rem;
    max-width: 160px;
}

@media (max-width: 1200px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.nav-mobile-actions {
    display: none;
}

.nav-actions-desktop {
    display: flex;
    gap: 16px;
    align-items: center;
}

@media (max-width: 992px) {
    .nav-indicator {
        display: none !important;
    }

    .nav-actions-desktop {
        display: none !important;
    }
    
    .nav-liquid {
        min-width: auto;
        width: calc(100% - 40px);
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(30px) saturate(2);
        -webkit-backdrop-filter: blur(30px) saturate(2);
        flex-direction: column;
        padding: 30px 20px;
        border-radius: 32px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 30px 60px rgba(0,0,0,0.15);
        z-index: 1000;
        gap: 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .nav-links a.active {
        background: transparent !important;
        box-shadow: none !important;
    }

    .nav-mobile-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.08);
        gap: 4px;
    }
}


/* Footer System */
.footer-liquid {
    padding: 100px 0 60px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Footer Grid System */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    text-align: left;
    margin-bottom: 60px;
}

.footer-grid h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-grid a {
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-grid a:hover {
    color: var(--brand-coral) !important;
}

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

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

/* ── Blog Carousel ── */
.blog-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.blog-carousel-track {
    display: flex;
    gap: 32px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.blog-carousel-item {
    flex: 0 0 calc(33.333% - 21.33px);
    max-width: calc(33.333% - 21.33px);
}

@media (max-width: 992px) {
    .blog-carousel-item {
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
}

@media (max-width: 640px) {
    .blog-carousel-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ── Carousel Controls ── */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--brand-coral);
    width: 24px;
    border-radius: 4px;
}

/* ── CTA Spacing ── */
.cta-section {
    padding-bottom: 120px;
}

/* ── SVG Icons Utilities ── */
.icon-liq {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
}

/* Larger icons for performance/innovation qualities */
.metric-card .icon-liq {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .services-grid, .grid-2-cols, .grid-3-cols {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .service-card.featured {
        grid-column: span 1 !important;
    }
    
    .section-padding {
        padding: 60px 0;
    }

    .hero {
        padding: 160px 0 80px;
    }

    .section-padding img {
        height: auto !important;
        max-height: 350px;
        object-fit: cover;
    }
}
.partners-bar-liquid {
    padding: 22px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(16px);
}

.partners-bar-liquid .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.pb-label-liq {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pb-logos-liq {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.pb-logo-liq {
    font-size: 12px;
    font-weight: 800;
    color: rgba(0,0,0,0.18);
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s;
}

.pb-logo-liq:hover {
    color: var(--brand-coral);
}

#tarifs {
    padding: 120px 0;
}

.tarifs-intro-liq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-bottom: 60px;
}

.tarifs-table-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -.2px;
    color: var(--text-primary);
}

/* Comparatif Table */
.ct-liq {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.07);
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(20px);
}

.ct-head-liq {
    padding: 10px 24px;
    background: rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 10px;
}

.ct-row-liq {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 10px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    align-items: center;
    transition: background .2s;
}

.ct-row-liq:last-child {
    border-bottom: none;
}

.ct-row-liq:hover {
    background: rgba(255,140,86,0.04);
}

.ct-row-liq.yandee-row-liq {
    background: rgba(255,140,86,0.07);
    border-left: 3px solid var(--brand-coral);
}

.op-name-liq {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.op-sub-liq {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 2px;
}

.ct-cell-liq {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.ct-cell-liq.good {
    color: #16a34a;
    font-weight: 700;
}

.ct-cell-liq.bad {
    color: rgba(0,0,0,0.28);
}

.ct-cell-liq.mid {
    color: #ca8a04;
}

.yandee-badge-liq {
    display: inline-block;
    background: var(--brand-coral);
    color: #fff;
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-left: 6px;
    vertical-align: middle;
}

.note-small-liq {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.6;
    font-style: italic;
}

/* Pricing Cards */
.prix-grid-liq {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.prix-card-liq {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(25px) saturate(1.8);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 28px;
    padding: 36px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.prix-card-liq:hover {
    transform: translateY(-6px);
    border-color: var(--brand-coral);
    box-shadow: 0 24px 48px rgba(255,140,86,0.12);
    background: rgba(255,255,255,0.92);
}

.prix-card-liq.star-liq {
    border-color: var(--brand-coral);
    box-shadow: 0 8px 32px rgba(255,140,86,0.14);
}

.prix-star-badge-liq {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--brand-coral);
    color: #fff;
    padding: 6px 14px;
    border-radius: 0 28px 0 14px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.prix-service-liq {
    font-size: 10px;
    font-weight: 700;
    color: var(--brand-coral);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.prix-name-liq {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -.3px;
}

.prix-desc-liq {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}

.prix-from-liq {
    font-size: 11px;
    color: var(--text-secondary);
}

.prix-num-liq {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.prix-num-liq .or {
    color: var(--brand-coral);
}

.prix-unit-liq {
    font-size: 13px;
    color: var(--text-secondary);
}

.prix-ht-liq {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.prix-features-liq {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.prix-features-liq li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 7px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.prix-features-liq li:last-child {
    border-bottom: none;
}

.ck-liq {
    color: var(--brand-coral);
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: 700;
}

.prix-cta-liq {
    display: block;
    text-align: center;
    padding: 13px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    margin-top: auto;
    text-decoration: none;
    transition: all .3s;
    text-transform: uppercase;
}

/* Economie block */
.eco-block-liq {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,140,86,0.2);
    border-radius: 24px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.eco-icon-liq {
    font-size: 36px;
    flex-shrink: 0;
}

.eco-text-liq h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.eco-text-liq p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .tarifs-intro-liq { grid-template-columns: 1fr; }
    .prix-grid-liq { grid-template-columns: 1fr; }
    .eco-block-liq { flex-direction: column; text-align: center; }
}

/* ── Alternating Rows for Offres Pro ── */
.solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.solution-row.reverse {
    direction: ltr; /* Ensure text direction is standard */
}

.solution-row.reverse .solution-image {
    grid-column: 2;
}

.solution-row.reverse .solution-content {
    grid-column: 1;
}

.solution-image {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

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

.solution-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--brand-navy);
}

.solution-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.solution-features {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 16px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--brand-navy);
}

.solution-features svg {
    color: var(--brand-coral);
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .solution-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .solution-row.reverse .solution-image {
        grid-column: 1;
        grid-row: 1;
    }

    .solution-row.reverse .solution-content {
        grid-column: 1;
        grid-row: 2;
    }
}

/* ── NAVIGATION MOBILE ── */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        z-index: 999;
        overflow-y: auto;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-indicator { display: none !important; }
}

/* ── CAROUSEL BLOG ── */
.blog-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 40px;
    position: relative;
}

.blog-carousel-track {
    display: flex;
    gap: 32px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.blog-carousel-item {
    flex: 0 0 calc(33.333% - 22px);
    min-width: 300px;
}

@media (max-width: 992px) {
    .blog-carousel-item {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 600px) {
    .blog-carousel-item {
        flex: 0 0 100%;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--brand-coral);
    transform: scale(1.3);
    width: 24px;
    border-radius: 10px;
}
