@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --brand-gold: #D49017;
    --brand-gold-hover: #B5790C;
    --brand-gold-light: rgba(212, 144, 23, 0.12);
    --brand-gold-glow: rgba(212, 144, 23, 0.25);

    --brand-navy: #112340;
    --brand-navy-dark: #0A1526;
    --brand-navy-light: #1D3B6C;

    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;

    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    --border-color: #E2E8F0;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 12px 32px -4px rgba(17, 35, 64, 0.08);
    --shadow-lg: 0 24px 48px -12px rgba(17, 35, 64, 0.16);
    --shadow-gold: 0 8px 24px -4px rgba(212, 144, 23, 0.35);
    --radius-sm: 18px;
    --radius-md: 24px;
    --radius-lg: 32px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition-smooth: cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* --- CURSOR GLOW --- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 144, 23, 0.06) 0%, rgba(212, 144, 23, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: left 0.15s ease-out, top 0.15s ease-out;
    mix-blend-mode: screen;
}

/* --- NAVBAR --- */
.navbar-custom {
    background: rgba(10, 21, 38, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
    transition: all 0.4s var(--transition-smooth);
}

.navbar-scrolled {
    padding: 8px 0 !important;
    background: rgba(10, 21, 38, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    height: 44px;
    width: auto;
    transition: transform 0.3s var(--transition-bounce);
}

.navbar-brand:hover img {
    transform: scale(1.05) rotate(-1deg);
}

.nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 500;
    font-size: 0.98rem;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: all 0.3s var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.nav-link:hover, .nav-link.active {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link-devis {
    background: linear-gradient(135deg, var(--brand-gold), #e8a623);
    color: var(--brand-navy-dark) !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 24px !important;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s var(--transition-smooth);
    overflow: hidden;
}

.nav-link-devis::after {
    display: none;
}

.nav-link-devis::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.nav-link-devis:hover::before {
    left: 100%;
}

.nav-link-devis:hover {
    background: linear-gradient(135deg, #e8a623, var(--brand-gold));
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -4px rgba(212, 144, 23, 0.5);
}

/* --- BUTTONS --- */
.btn-gold {
    background: linear-gradient(135deg, var(--brand-gold), #e8a623);
    color: var(--brand-navy-dark);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #e8a623, #c58209);
    color: var(--brand-navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 144, 23, 0.45);
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-navy-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 50px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-navy-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--transition-smooth);
}

.btn-navy-outline:hover {
    border-color: #FFFFFF;
    transform: translateY(-3px);
}

.btn-navy-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 80% 20%, #1d3b6c 0%, #112340 50%, #0A1526 100%);
    color: white;
    padding: 100px 0 120px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-gold-glow) 0%, rgba(212, 144, 23, 0) 70%);
    pointer-events: none;
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite;
}

/* --- 3D BACKGROUND CONTAINER --- */
.hero-3d-bg {
    position: absolute;
    inset: 0;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    overflow: hidden;
    z-index: 0;
}

/* --- GRID FLOOR (3D perspective) --- */
.grid-floor {
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -10%;
    height: 60%;
    background-image:
        linear-gradient(rgba(212, 144, 23, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 144, 23, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: rotateX(65deg) translateZ(-50px);
    transform-origin: center bottom;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 80%);
    animation: gridFloorPulse 8s ease-in-out infinite;
}

@keyframes gridFloorPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* --- 3D FLOATING SHAPES CONTAINER --- */
.shape-3d {
    position: absolute;
    pointer-events: none;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
    will-change: transform;
}

/* --- 3D CUBE --- */
.shape-cube {
    width: 70px;
    height: 70px;
    right: 15%;
    top: 20%;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 18s linear infinite;
}

.cube-face {
    position: absolute;
    width: 70px;
    height: 70px;
    border: 1.5px solid rgba(212, 144, 23, 0.25);
    background: rgba(212, 144, 23, 0.04);
    backdrop-filter: blur(1px);
}

.cube-face.front  { transform: translateZ(35px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(35px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(35px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(35px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(35px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(35px); }

@keyframes rotateCube {
    0%   { transform: rotateX(0deg) rotateY(0deg); }
    25%  { transform: rotateX(90deg) rotateY(90deg); }
    50%  { transform: rotateX(180deg) rotateY(180deg); }
    75%  { transform: rotateX(270deg) rotateY(270deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* --- 3D OCTAHEDRON --- */
.shape-octahedron {
    width: 60px;
    height: 60px;
    left: 12%;
    top: 30%;
}

.octahedron {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateOctahedron 14s linear infinite;
}

.octahedron::before,
.octahedron::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(95, 135, 255, 0.3);
    background: rgba(95, 135, 255, 0.04);
}

.octahedron::before {
    transform: rotateX(54.7deg) rotateY(0deg);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.octahedron::after {
    transform: rotateX(54.7deg) rotateY(90deg);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes rotateOctahedron {
    0%   { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(180deg) rotateZ(90deg); }
}

/* --- 3D TORUS (ring shape) --- */
.shape-torus {
    width: 90px;
    height: 90px;
    left: 8%;
    bottom: 25%;
}

.torus {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(212, 144, 23, 0.2);
    border-radius: 50%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateTorus 12s linear infinite;
}

.torus::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(212, 144, 23, 0.12);
    border-radius: 50%;
}

.torus::after {
    content: '';
    position: absolute;
    inset: -3px;
    border: 1px solid rgba(212, 144, 23, 0.08);
    border-radius: 50%;
}

@keyframes rotateTorus {
    0%   { transform: rotateX(70deg) rotateZ(0deg); }
    100% { transform: rotateX(70deg) rotateZ(360deg); }
}

/* --- 3D RING --- */
.shape-ring {
    width: 110px;
    height: 110px;
}

.shape-ring-1 {
    right: 5%;
    bottom: 30%;
}

.shape-ring-2 {
    left: 30%;
    top: 15%;
    width: 70px;
    height: 70px;
}

.ring {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateRing 20s linear infinite;
}

.ring::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px dashed rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

@keyframes rotateRing {
    0%   { transform: rotateX(60deg) rotateY(0deg); }
    100% { transform: rotateX(60deg) rotateY(360deg); }
}

/* --- 3D DIAMOND --- */
.shape-diamond {
    width: 50px;
    height: 50px;
    left: 25%;
    bottom: 20%;
}

.diamond {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 144, 23, 0.12), rgba(212, 144, 23, 0.02));
    border: 1.5px solid rgba(212, 144, 23, 0.2);
    transform: rotate(45deg);
    position: relative;
    animation: rotateDiamond 10s ease-in-out infinite;
}

.diamond::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(212, 144, 23, 0.1);
    transform: rotate(15deg);
}

@keyframes rotateDiamond {
    0%, 100% { transform: rotate(45deg) scale(1) rotateZ(0deg); }
    25%  { transform: rotate(45deg) scale(1.1) rotateZ(90deg); }
    50%  { transform: rotate(45deg) scale(0.9) rotateZ(180deg); }
    75%  { transform: rotate(45deg) scale(1.05) rotateZ(270deg); }
}

/* --- 3D PYRAMID --- */
.shape-pyramid {
    width: 55px;
    height: 55px;
    right: 25%;
    top: 10%;
}

.pyramid {
    width: 0;
    height: 0;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-bottom: 48px solid rgba(212, 144, 23, 0.1);
    position: relative;
    animation: rotatePyramid 16s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(212, 144, 23, 0.15));
}

.pyramid::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 10px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(95, 135, 255, 0.08);
}

@keyframes rotatePyramid {
    0%, 100% { transform: rotateY(0deg) rotateX(10deg); }
    25%  { transform: rotateY(90deg) rotateX(-5deg); }
    50%  { transform: rotateY(180deg) rotateX(10deg); }
    75%  { transform: rotateY(270deg) rotateX(-5deg); }
}

/* --- DEPTH FOG LAYERS --- */
.depth-fog {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fog-near {
    background: radial-gradient(ellipse at 30% 80%, rgba(17, 35, 64, 0.4) 0%, transparent 50%);
    animation: fogDrift 12s ease-in-out infinite alternate;
}

.fog-mid {
    background: radial-gradient(ellipse at 70% 40%, rgba(29, 59, 108, 0.2) 0%, transparent 60%);
    animation: fogDrift 16s ease-in-out infinite alternate-reverse;
}

.fog-far {
    background: radial-gradient(ellipse at 50% 20%, rgba(212, 144, 23, 0.06) 0%, transparent 50%);
    animation: fogPulse 8s ease-in-out infinite;
}

@keyframes fogDrift {
    0%   { transform: translateX(-20px) translateY(10px); }
    100% { transform: translateX(20px) translateY(-10px); }
}

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

/* --- LIGHT RAYS --- */
.light-ray {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.ray-1 {
    top: 0;
    right: 20%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(212, 144, 23, 0.15), transparent 70%);
    transform: rotate(-15deg);
    animation: rayPulse 6s ease-in-out infinite;
}

.ray-2 {
    top: 0;
    right: 35%;
    width: 1px;
    height: 80%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), transparent 60%);
    transform: rotate(-8deg);
    animation: rayPulse 8s ease-in-out infinite 1s;
}

.ray-3 {
    top: 0;
    left: 15%;
    width: 1px;
    height: 70%;
    background: linear-gradient(to bottom, rgba(212, 144, 23, 0.08), transparent 50%);
    transform: rotate(12deg);
    animation: rayPulse 10s ease-in-out infinite 2s;
}

@keyframes rayPulse {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 1; }
}

/* Grid background */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(212, 144, 23, 0.5);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(40px); opacity: 0; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 144, 23, 0.15);
    border: 1px solid rgba(212, 144, 23, 0.4);
    color: #FCD34D;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 144, 23, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(212, 144, 23, 0); }
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--brand-gold);
    background: linear-gradient(135deg, #F59E0B, #D49017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-gold), transparent);
    border-radius: 2px;
    animation: underlineGrow 1.5s ease-out 0.8s both;
}

@keyframes underlineGrow {
    from { width: 0; }
    to { width: 100%; }
}

.hero-subtitle {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    margin-bottom: 36px;
}

.hero-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
}

.hero-image-card {
    position: relative;
    width: min(100%, 520px);
    border-radius: var(--radius-lg);
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 144, 23, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.4s ease;
}

.hero-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(212, 144, 23, 0.08) 0%, transparent 50%, rgba(95, 135, 255, 0.05) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-image-card:hover::after {
    opacity: 1;
}

.hero-image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: translateZ(20px);
}

/* Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    animation: floatOrb 8s ease-in-out infinite;
}

.orb-one {
    width: 220px;
    height: 220px;
    right: 10%;
    top: 12%;
    background: radial-gradient(circle, rgba(212, 144, 23, 0.45), rgba(212, 144, 23, 0));
}

.orb-two {
    width: 180px;
    height: 180px;
    left: 8%;
    bottom: 10%;
    background: radial-gradient(circle, rgba(95, 135, 255, 0.28), rgba(95, 135, 255, 0));
    animation-delay: 1s;
}

.orb-three {
    width: 140px;
    height: 140px;
    left: 40%;
    top: 5%;
    background: radial-gradient(circle, rgba(212, 144, 23, 0.2), rgba(212, 144, 23, 0));
    animation-delay: 2s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(10px, -15px, 0) scale(1.04); }
    66% { transform: translate3d(-5px, -8px, 0) scale(0.97); }
}

/* Float cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(17, 35, 64, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    color: #fff;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    animation: floatCard 6s ease-in-out infinite;
    z-index: 3;
}

.float-card i {
    color: var(--brand-gold);
    font-size: 1.2rem;
}

.float-card-one {
    left: 12%;
    top: 8%;
}

.float-card-two {
    right: 10%;
    bottom: 14%;
    animation-delay: 1.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Mini stats */
.mini-stat {
    position: absolute;
    background: rgba(9, 18, 31, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    transform: translateZ(30px);
    animation: miniStatPulse 4s ease-in-out infinite;
}

@keyframes miniStatPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 144, 23, 0.15); }
}

.mini-stat strong {
    font-size: 1.1rem;
    color: var(--brand-gold);
}

.mini-stat span {
    font-size: 0.72rem;
    opacity: 0.8;
}

.stat-top { top: 25px; right: 20px; }
.stat-bottom { bottom: 20px; left: 20px; }

/* --- MARQUEE --- */
.marquee-section {
    background: var(--brand-navy-dark);
    padding: 18px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee-track {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-size: 0.9rem;
}

.marquee-item i {
    color: var(--brand-gold);
}

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

/* --- STATS BAR --- */
.stats-section {
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.stats-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-navy));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--transition-smooth);
}

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

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

.stats-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1;
    margin-bottom: 6px;
}

.stats-number span {
    color: var(--brand-gold);
}

.stats-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 80px 0 30px;
    background: linear-gradient(180deg, rgba(17, 35, 64, 0.03), rgba(17, 35, 64, 0));
}

.process-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.process-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-gold);
    transform: scaleX(0);
    transition: transform 0.4s var(--transition-smooth);
}

.process-card:hover {
    transform: translateY(-10px) rotateX(3deg);
    box-shadow: var(--shadow-lg);
}

.process-card:hover::after {
    transform: scaleX(1);
}

.process-number {
    color: rgba(212, 144, 23, 0.7);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.process-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-gold-light), rgba(17, 35, 64, 0.06));
    color: var(--brand-gold);
    font-size: 1.7rem;
    transition: all 0.4s var(--transition-bounce);
}

.process-card:hover .process-icon {
    transform: scale(1.12) rotate(-5deg);
    background: var(--brand-gold);
    color: var(--brand-navy-dark);
}

.process-card h4 {
    color: var(--brand-navy);
    margin-bottom: 12px;
}

.process-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- SERVICE CARDS --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .badge-tag {
    color: var(--brand-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.section-title h2 {
    font-size: 2.4rem;
    color: var(--brand-navy);
    font-weight: 800;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-navy));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 144, 23, 0.03), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 144, 23, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-gold-light);
    color: var(--brand-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: all 0.4s var(--transition-bounce);
}

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

.service-image-wrap {
    margin-bottom: 22px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(17, 35, 64, 0.04), rgba(212, 144, 23, 0.08));
    border: 1px solid rgba(17, 35, 64, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.service-illustration {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s var(--transition-smooth);
}

.service-card:hover .service-illustration {
    transform: scale(1.06);
}

.service-card h4 {
    font-size: 1.4rem;
    color: var(--brand-navy);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(-10px);
    animation: featureSlideIn 0.4s ease forwards;
}

.service-features li:nth-child(1) { animation-delay: 0.2s; }
.service-features li:nth-child(2) { animation-delay: 0.35s; }
.service-features li:nth-child(3) { animation-delay: 0.5s; }

@keyframes featureSlideIn {
    to { opacity: 1; transform: translateX(0); }
}

.service-features li i {
    color: #10B981;
    font-size: 0.9rem;
}

.btn-service-link {
    color: var(--brand-navy);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    transition: all 0.3s var(--transition-smooth);
}

.btn-service-link i {
    transition: transform 0.3s var(--transition-smooth);
}

.btn-service-link:hover {
    color: var(--brand-gold);
    gap: 10px;
}

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

/* --- TESTIMONIALS --- */
.testimonials-section {
    padding: 90px 0 60px;
    background: rgba(17, 35, 64, 0.02);
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 28px 22px;
    height: 100%;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--brand-gold-light);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 144, 23, 0.2);
}

.stars {
    color: #f6b91a;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.stars i {
    animation: starPop 0.3s ease both;
}

.stars i:nth-child(1) { animation-delay: 0.1s; }
.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.3s; }
.stars i:nth-child(4) { animation-delay: 0.4s; }
.stars i:nth-child(5) { animation-delay: 0.5s; }

@keyframes starPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}

.testimonial-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: var(--brand-navy);
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- WHY CHOOSE US --- */
.why-section {
    background: var(--brand-navy);
    color: white;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.why-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 144, 23, 0.08), transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}

.why-feature-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.why-feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 144, 23, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-feature-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 144, 23, 0.4);
    transform: translateY(-6px);
}

.why-feature-box:hover::before {
    opacity: 1;
}

.why-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 144, 23, 0.15);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    transition: all 0.4s var(--transition-bounce);
}

.why-feature-box:hover .why-feature-icon {
    transform: scale(1.15) rotate(-5deg);
    background: var(--brand-gold);
    color: var(--brand-navy-dark);
}

/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(135deg, var(--brand-gold), #b5790c, var(--brand-gold));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-animation {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: ctaGlow 4s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.cta-section h2 {
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* --- CONTACT PAGE --- */
.contact-hero {
    background: var(--brand-navy);
    color: white;
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.text-gold {
    color: var(--brand-gold);
    background: linear-gradient(135deg, #F59E0B, #D49017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    transition: transform 0.3s var(--transition-smooth);
}

.info-item:hover {
    transform: translateX(6px);
}

.info-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--brand-gold-light);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s var(--transition-bounce);
}

.info-item:hover .info-icon {
    background: var(--brand-gold);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

/* Animated input focus */
.input-animated {
    position: relative;
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: all 0.4s var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 2px;
}

.input-animated:focus-within .input-focus-line {
    width: 100%;
}

.form-control, .form-select {
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-size: 0.98rem;
    transition: all 0.3s var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 4px var(--brand-gold-light);
}

/* Submit button animation */
.submit-btn {
    transition: all 0.3s var(--transition-smooth);
}

.submit-btn:active {
    transform: scale(0.97);
}

/* Success animation */
.animate-success {
    animation: successSlideIn 0.6s var(--transition-bounce);
}

@keyframes successSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Security badge */
.security-badge {
    transition: all 0.3s ease;
}

.security-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* --- SOCIAL LINKS --- */
.social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    color: var(--brand-gold);
    background: rgba(212, 144, 23, 0.15);
    transform: translateY(-3px) scale(1.1);
}

/* --- FOOTER --- */
.footer-custom {
    background: var(--brand-navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
    height: 40px;
    margin-bottom: 18px;
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--brand-gold);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--brand-gold);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand-gold);
    padding-left: 18px;
}

.footer-links a:hover::before {
    width: 12px;
    left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
}

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--brand-gold);
    color: var(--brand-navy-dark);
    border: none;
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--transition-smooth);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 30px rgba(212, 144, 23, 0.5);
}

/* --- MAGNETIC BUTTON BASE --- */
.magnetic-btn {
    transition: transform 0.2s ease;
}

/* ============================================
   SECTEURS SECTION
   ============================================ */
.secteurs-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.secteur-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s var(--transition-smooth);
    height: 100%;
}
.secteur-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-gold);
}
.secteur-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--brand-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--brand-gold);
    transition: all 0.4s var(--transition-smooth);
}
.secteur-card:hover .secteur-icon {
    background: var(--brand-gold);
    color: var(--bg-white);
    transform: scale(1.1) rotate(5deg);
}
.secteur-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}
.secteur-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* ============================================
   SEO / DECENNALE SECTION
   ============================================ */
.seo-section {
    padding: 80px 0;
    background: var(--bg-white);
}
.seo-highlight-box {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-color);
}
.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}
.highlight-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.highlight-item:first-child {
    padding-top: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.faq-item {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 12px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: var(--brand-gold) !important;
}
.faq-item .accordion-button {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem;
    padding: 18px 20px;
}
.faq-item .accordion-button:not(.collapsed) {
    background: var(--brand-gold-light);
    color: var(--brand-gold);
    box-shadow: none;
}
.faq-item .accordion-button::after {
    filter: none;
    transition: transform 0.3s ease;
}
.faq-item .accordion-body {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 20px 18px;
}

/* ============================================
   PARTENAIRES / BADGES
   ============================================ */
.partenaires-section {
    padding: 80px 0;
    background: var(--bg-white);
}
.partenaire-logo {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    transition: all 0.3s ease;
}
.partenaire-logo--dark {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
}
.partenaire-logo--black {
    background: #000;
    border-color: #000;
}
.partenaire-logo:hover {
    border-color: var(--brand-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.partenaire-placeholder {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--brand-navy);
    opacity: 0.5;
    letter-spacing: 2px;
}
.partenaire-img {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%) opacity(0.85);
    transition: all 0.4s ease;
}
.partenaire-img--lg {
    max-width: 180px;
    max-height: 80px;
}
.partenaire-logo:hover .partenaire-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}
.badges-row {
    gap: 12px;
}
.badge-reglementaire {
    display: inline-flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(10, 21, 38, 0.97);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    border-top: 1px solid rgba(212, 144, 23, 0.3);
    transform: translateY(100%);
    transition: transform 0.5s var(--transition-smooth);
}
.cookie-banner.visible {
    transform: translateY(0);
}
.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}
.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-text {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    flex: 1;
    min-width: 300px;
}
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ============================================
   WHATSAPP FLOTTANT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2.5s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
    color: white;
}
.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background: var(--bg-white);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   CLICK TO CALL FLOTTANT
   ============================================ */
.call-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(212, 144, 23, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}
.call-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(212, 144, 23, 0.6);
    color: white;
}

/* ============================================
   EXIT-INTENT POPUP
   ============================================ */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.exit-popup.visible {
    opacity: 1;
    pointer-events: all;
}
.exit-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 21, 38, 0.8);
    backdrop-filter: blur(6px);
}
.exit-popup-content {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s var(--transition-bounce);
}
.exit-popup.visible .exit-popup-content {
    transform: scale(1);
}
.exit-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}
.exit-popup-close:hover {
    color: var(--text-main);
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 767.98px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-text {
        min-width: auto;
        justify-content: center;
    }
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        bottom: 80px;
        right: 16px;
    }
    .call-float {
        width: 44px;
        height: 44px;
        bottom: 16px;
        right: 16px;
    }
    .exit-popup-content {
        padding: 28px 20px;
    }
    .secteur-card {
        padding: 28px 20px;
    }
    .seo-highlight-box {
        padding: 20px;
    }
    .highlight-item {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 120px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .float-card-one { left: 5%; }
    .float-card-two { right: 5%; }

    .cursor-glow { display: none; }

    .shape-3d { display: none; }
    .grid-floor { display: none; }
    .light-ray { display: none; }
    .depth-fog { opacity: 0.3; }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .process-card,
    .testimonial-card,
    .service-card {
        padding: 22px 18px;
    }

    .float-card {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .stats-number {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .contact-card {
        padding: 24px 18px;
    }

    .marquee-item {
        padding: 0 20px;
        font-size: 0.8rem;
    }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-particles,
    .hero-grid-bg,
    .cursor-glow,
    .shape-3d,
    .grid-floor,
    .light-ray,
    .depth-fog {
        display: none;
    }
}
