/* ══════════════════════════════════════════════
   DIGI COM — Red & White · Premium Design
   ══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-alt2: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    /* Identité principale : rouge, blanc et nuances de contraste */
    --red: #c62839;
    --red-dark: #941f2d;
    --red-light: #fff1f3;
    --red-surface: #ffe0e5;
    /* Alias historiques conservés pour les composants existants */
    --blue: var(--red);
    --blue-dark: var(--red-dark);
    --blue-light: var(--red-light);
    --blue-surface: var(--red-surface);
    --yellow: #e14955;
    --yellow-dark: var(--red-dark);
    --yellow-light: #fff7f8;
    --yellow-surface: var(--red-surface);
    --primary: var(--red);
    --gradient-blue: linear-gradient(135deg, var(--red), var(--red-dark));
    --gray-400: #94a3b8;
    --green: #10b981;
    --green-light: #ecfdf5;
    --purple: #8b5cf6;
    --purple-light: #f5f3ff;
    --cyan: #06b6d4;
    --cyan-light: #ecfeff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg:
        0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-xl:
        0 20px 50px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
    --shadow-card:
        0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.04),
        0 12px 40px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}
body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    overflow-x: hidden;
}
::selection {
    background: var(--red-surface);
    color: var(--red-dark);
}
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}
.nav.scrolled {
    border-bottom-color: var(--border);
    background: rgba(255,255,255,0.96);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

/* ── LOGO ── */
.site-loader {
    isolation: isolate;
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #ffffff;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}
.site-loader::before,
.site-loader::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 42vw;
    height: 42vw;
    min-width: 260px;
    min-height: 260px;
    border: 1px solid rgba(198, 40, 57, .12);
    border-radius: 50%;
}
.site-loader::before { top: -20vw; right: -12vw; box-shadow: 0 0 0 34px rgba(198, 40, 57, .05), 0 0 0 68px rgba(198, 40, 57, .03); }
.site-loader::after { bottom: -27vw; left: -17vw; opacity: .7; }
.site-loader.is-loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.site-loader-panel {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(340px, calc(100vw - 48px));
    padding: 32px 30px;
    text-align: center;
}
.site-loader-logo {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    overflow: hidden;
    border-radius: 26px;
    background: transparent;
    box-shadow: 0 0 0 8px rgba(198, 40, 57, .06), 0 16px 36px rgba(198, 40, 57, .12);
    animation: siteLoaderPulse 2.2s ease-in-out infinite;
}
.site-loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    color: #c62839;
}
.site-loader-label {
    margin: 6px 0 0;
    color: #c62839;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}
.site-loader-status {
    margin: 0;
    color: rgba(198, 40, 57, .72);
    font-size: .78rem;
    letter-spacing: .04em;
}
.site-loader-dots { display: inline-block; width: 18px; text-align: left; animation: siteLoaderDots 1.2s steps(4, end) infinite; }
@keyframes siteLoaderPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes siteLoaderDots { 0%, 20% { opacity: .2; } 50% { opacity: 1; } 80%, 100% { opacity: .2; } }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-right: 16px;
}
.nav-logo-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(198, 40, 57, 0.16);
}
.nav-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.nav-logo:hover .nav-logo-img {
    transform: scale(1.08);
}
.nav-logo-wordmark {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
}
.nav-logo-wordmark strong {
    display: block;
    color: var(--red);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ── MENU LINKS ── */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
}
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 13px;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 530;
    color: var(--text-secondary);
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--blue);
    background: var(--blue-light);
}
.nav-link.active {
    color: var(--blue);
    background: var(--blue-light);
    font-weight: 600;
}
.nav-link-caret::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 3px;
    margin-top: -2px;
    opacity: 0.5;
    transition: transform 0.25s;
}

/* ── DROPDOWN SIMPLE (Agence) ── */
.nav-drop {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
    list-style: none;
    z-index: 100;
}
.nav-drop-parent:hover .nav-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-drop-parent:hover .nav-link-caret::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}
.nav-drop-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    transition: all 0.15s;
}
.nav-drop-link:hover,
.nav-drop-link.active {
    background: var(--bg-alt);
    color: var(--blue);
}
.nav-drop-link i {
    width: 18px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ── MEGA MENU (Services) ── */
.nav-mega-parent { position: relative; }
.nav-mega-parent:hover .nav-link-caret::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}
.nav-mega {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
    min-width: 480px;
    z-index: 100;
}
.nav-mega-parent:hover .nav-mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-mega-inner { padding: 22px 24px; }
.nav-mega-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.nav-mega-header span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.nav-mega-all {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-mega-all:hover { text-decoration: underline; }
.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}
.nav-mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.83rem;
    color: var(--text-secondary);
    transition: all 0.15s;
}
.nav-mega-item:hover {
    background: var(--bg-alt);
    color: var(--blue);
}
.nav-mega-icon {
    width: 20px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--blue);
    opacity: 0.6;
}

/* ── NAV BUTTONS ── */
.nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 10px;
}
.nav-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 17px;
    border-radius: 10px;
    transition: all 0.25s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-btn-ghost {
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
}
.nav-btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}
.nav-btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 2px 8px rgba(198,40,57,0.22);
}
.nav-btn-primary:hover {
    background: #941f2d;
    color: #fff;
    box-shadow: 0 4px 14px rgba(198,40,57,0.32);
    transform: translateY(-1px);
}

/* ── USER BUTTON ── */
.nav-btn-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 13px 4px 4px;
    background: var(--bg-alt);
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.25s;
    font-size: 0.8rem;
}
.nav-btn-user:hover {
    border-color: var(--blue-light);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}
.nav-user-name { color: var(--text); font-weight: 600; }

/* ── LANG SWITCH ── */
.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 10px;
    padding: 2px;
    background: var(--bg-alt);
    border-radius: 8px;
}
.lang-opt {
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: 6px;
    transition: 0.2s;
}
.lang-opt.active {
    background: var(--blue);
    color: #fff;
}
.lang-opt:not(.active):hover { color: var(--text); }
.lang-sep {
    width: 1px;
    height: 14px;
    background: var(--border);
    margin: 0 1px;
}

.menu-btn {
    display: none;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border);
    font-size: 1.2rem;
    color: var(--text);
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s;
}
.menu-btn:hover {
    background: #fff;
    border-color: var(--red);
}

/* ── HERO BANNER ── */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 76px;
}
.hero-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(198,40,57,0.6), rgba(255,180,190,0.8), rgba(198,40,57,0.6), transparent);
    background-size: 200% 100%;
    animation: hero-edge-glow 4s ease-in-out infinite;
    z-index: 5;
}
@keyframes hero-edge-glow {
    0%, 100% { background-position: 0% 50%; opacity: 0.6; }
    50% { background-position: 100% 50%; opacity: 1; }
}
.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
}

/* ── Premium Animated Mesh Backgrounds ── */
.hero-slide:nth-child(1) {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(198,40,57,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(140,25,45,0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 60% 80%, rgba(80,12,28,0.05) 0%, transparent 50%),
        #fff;
    background-size: 200% 200%, 200% 200%, 200% 200%, 300% 300%;
    animation: hero-gradient-shift 12s ease-in-out infinite;
}
.hero-slide:nth-child(2) {
    background:
        radial-gradient(ellipse at 70% 30%, rgba(225,73,85,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 25% 75%, rgba(198,40,57,0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 80%, rgba(100,18,35,0.04) 0%, transparent 50%),
        #fff;
    background-size: 200% 200%, 200% 200%, 200% 200%, 300% 300%;
    animation: hero-gradient-shift 14s ease-in-out infinite -3s;
}
.hero-slide:nth-child(3) {
    background:
        radial-gradient(ellipse at 40% 25%, rgba(198,40,57,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 65%, rgba(148,31,45,0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 15% 85%, rgba(60,10,22,0.05) 0%, transparent 50%),
        #fff;
    background-size: 200% 200%, 200% 200%, 200% 200%, 300% 300%;
    animation: hero-gradient-shift 16s ease-in-out infinite -6s;
}
.hero-slide:nth-child(4) {
    background:
        radial-gradient(ellipse at 55% 40%, rgba(198,40,57,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 20%, rgba(110,20,38,0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 85%, rgba(160,30,48,0.05) 0%, transparent 50%),
        #fff;
    background-size: 200% 200%, 200% 200%, 200% 200%, 300% 300%;
    animation: hero-gradient-shift 13s ease-in-out infinite -2s;
}

/* ── Logo SVG Background ── */
.hero-logo-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.hero-slide.active .hero-logo-bg { opacity: 1; }
.hero-logo-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Ghost rings */
.hero-ghost-ring {
    fill: none;
    stroke: var(--red);
    stroke-width: 1.5;
    opacity: 0.08;
    animation: hero-breathe 6s ease-in-out infinite;
}
@keyframes hero-breathe {
    0%, 100% { opacity: 0.05; }
    50%      { opacity: 0.14; }
}

/* Africa silhouette */
.hero-africa {
    fill: var(--red);
    fill-opacity: 0.05;
    stroke: var(--red);
    stroke-width: 2.4;
    opacity: 0.5;
    transform-box: fill-box;
    transform-origin: center;
    animation: hero-africa-breathe 9s ease-in-out infinite;
}
@keyframes hero-africa-breathe {
    0%, 100% { opacity: 0.38; transform: scale(1); }
    50%      { opacity: 0.6;  transform: scale(1.015); }
}

/* Bamako pin */
.hero-pin {
    fill: var(--red);
    animation: hero-pin-pulse 2.6s ease-in-out infinite;
}
@keyframes hero-pin-pulse {
    0%, 100% { opacity: 0.4; r: 4; }
    50%      { opacity: 1;   r: 6.5; }
}

/* Main arcs */
.hero-arc {
    fill: none;
    stroke: var(--red);
    stroke-linecap: round;
    animation: hero-arc-pulse 4.6s ease-in-out infinite;
    opacity: 0;
}
@keyframes hero-arc-pulse {
    0%   { opacity: 0;   stroke-dashoffset: var(--len); }
    14%  { opacity: 1; }
    46%  { opacity: 1;   stroke-dashoffset: 0; }
    72%  { opacity: 0.5; }
    100% { opacity: 0;   stroke-dashoffset: calc(var(--len) * -1); }
}
.hero-arc-group {
    transform-box: view-box;
    transform-origin: 1020px 250px;
    animation: hero-arc-rotate 48s linear infinite;
}
@keyframes hero-arc-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Secondary arc group (bottom-left) */
.hero-arc2 {
    fill: none;
    stroke: var(--red);
    stroke-linecap: round;
    animation: hero-arc2-pulse 3.4s ease-in-out infinite;
    opacity: 0;
}
@keyframes hero-arc2-pulse {
    0%   { opacity: 0;   stroke-dashoffset: var(--len); }
    16%  { opacity: 0.9; }
    48%  { opacity: 0.9; stroke-dashoffset: 0; }
    74%  { opacity: 0.4; }
    100% { opacity: 0;   stroke-dashoffset: calc(var(--len) * -1); }
}
.hero-arc-group2 {
    transform-box: view-box;
    transform-origin: 260px 400px;
    animation: hero-arc2-rotate 30s linear infinite reverse;
}
@keyframes hero-arc2-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Blips */
.hero-blip {
    fill: var(--red);
    transform-box: fill-box;
    transform-origin: center;
    animation: hero-blip-blink 3.2s ease-in-out infinite;
}
@keyframes hero-blip-blink {
    0%, 100% { opacity: 0.12; transform: scale(0.8); }
    50%      { opacity: 1;    transform: scale(1); }
}

/* Drift texture */
.hero-drift {
    fill: none;
    stroke: var(--red);
    stroke-linecap: round;
    opacity: 0.15;
    transform-box: fill-box;
    animation: hero-drift-float 17s ease-in-out infinite;
}
@keyframes hero-drift-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(-12px, 8px) rotate(2deg); }
}

/* ── Aurora Light Sweep ── */
.hero-aurora {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
}
.hero-aurora::before {
    content: "";
    position: absolute;
    width: 160%;
    height: 60%;
    top: -30%;
    left: -30%;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255,120,140,0.1) 42%,
        rgba(255,200,210,0.18) 50%,
        rgba(255,120,140,0.1) 58%,
        transparent 70%
    );
    animation: hero-aurora 12s ease-in-out infinite;
}
.hero-aurora::after {
    content: "";
    position: absolute;
    width: 140%;
    height: 40%;
    bottom: -20%;
    right: -20%;
    background: linear-gradient(
        75deg,
        transparent 35%,
        rgba(198,40,57,0.08) 45%,
        rgba(255,180,190,0.14) 50%,
        rgba(198,40,57,0.08) 55%,
        transparent 65%
    );
    animation: hero-aurora 15s ease-in-out infinite reverse;
}

/* ── Morphing Gradient Blobs ── */
.hero-blobs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
}
.hero-blob {
    position: absolute;
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
}
.hero-slide.active .hero-blob { opacity: 1; }
.hero-blob-1 {
    width: 620px; height: 620px;
    top: -12%; right: -6%;
    background: radial-gradient(circle, rgba(198,40,57,0.12), transparent 65%);
    animation: hero-morph-1 18s ease-in-out infinite;
}
.hero-blob-2 {
    width: 500px; height: 500px;
    bottom: -18%; left: 8%;
    background: radial-gradient(circle, rgba(255,120,140,0.08), transparent 65%);
    animation: hero-morph-2 22s ease-in-out infinite;
}
.hero-blob-3 {
    width: 400px; height: 400px;
    top: 28%; left: 38%;
    background: radial-gradient(circle, rgba(148,31,45,0.1), transparent 65%);
    animation: hero-morph-3 15s ease-in-out infinite;
}

/* ── Light Streak ── */
.hero-streak {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
}
.hero-streak::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 200%;
    top: -50%;
    left: -15%;
    background: linear-gradient(to bottom, transparent 20%, rgba(255,255,255,0.1) 35%, rgba(255,200,210,0.22) 50%, rgba(255,255,255,0.1) 65%, transparent 80%);
    transform: rotate(25deg);
    animation: hero-streak-move 9s ease-in-out infinite;
}
.hero-streak::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 180%;
    top: -40%;
    left: -15%;
    background: linear-gradient(to bottom, transparent 25%, rgba(255,180,190,0.16) 50%, transparent 75%);
    transform: rotate(25deg);
    animation: hero-streak-move 9s ease-in-out infinite 1.5s;
}

/* ── Noise Texture ── */
.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
    mix-blend-mode: overlay;
}

/* ── Grid Overlay ── */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.015) 79px, rgba(255,255,255,0.015) 80px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.015) 79px, rgba(255,255,255,0.015) 80px);
    pointer-events: none;
    z-index: 1;
}

/* ── Content Overlay ── */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.5) 35%, rgba(255,255,255,0.2) 60%, rgba(255,255,255,0.05) 100%),
        linear-gradient(to top, rgba(255,255,255,0.9) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.4) 100%),
        radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(255,255,255,0.3) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

/* ── Slide Content ── */
.hero-slide-content {
    max-width: 680px;
    position: relative;
    z-index: 3;
}
.hero-slide-content > * {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition:
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.hero-slide.active .hero-slide-content > * {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.hero-slide-content .hero-badge {
    transition-delay: 0.1s;
    transform: translateY(40px) translateX(-30px) scale(0.85);
}
.hero-slide.active .hero-slide-content .hero-badge {
    transform: translateY(0) translateX(0) scale(1);
}
.hero-slide-content h1 {
    transition-delay: 0.25s;
    transform: translateY(80px) scale(0.88);
}
.hero-slide.active .hero-slide-content h1 {
    transform: translateY(0) scale(1);
}
.hero-slide-content p {
    transition-delay: 0.45s;
    transform: translateY(50px);
}
.hero-slide.active .hero-slide-content p {
    transform: translateY(0);
}
.hero-slide-content .hero-btns {
    transition-delay: 0.65s;
    transform: translateY(40px) scale(0.9);
}
.hero-slide.active .hero-slide-content .hero-btns {
    transform: translateY(0) scale(1);
}
.hero-slide-content h1 {
    font-size: 3.4rem;
    line-height: 1.08;
    font-weight: 800;
    color: #1a0a0e;
    margin-bottom: 20px;
    text-shadow: none;
}
.hero-slide.active .hero-slide-content h1 {
    animation: none;
}
.hero-slide-content h1 .accent {
    color: var(--red);
    position: relative;
    text-shadow: none;
}
.hero-slide-content h1 .accent::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, rgba(198,40,57,0.4), rgba(255,180,190,0.3), rgba(198,40,57,0.4));
    background-size: 200% 100%;
    border-radius: 4px;
    z-index: -1;
    animation: hero-accent-shimmer 3s ease-in-out infinite;
}
@keyframes hero-accent-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.hero-slide-content p {
    font-size: 1.1rem;
    color: #4a2a30;
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.8;
}

/* ── Badge ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(198, 40, 57, 0.08);
    backdrop-filter: blur(12px);
    padding: 9px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    border: 1px solid rgba(198, 40, 57, 0.15);
    position: relative;
}
.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
.hero-badge::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(198,40,57,0.6), rgba(255,255,255,0.1), rgba(198,40,57,0.4));
    background-size: 300% 300%;
    animation: hero-badge-border 4s ease infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}

/* ── CTA Buttons ── */
.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-btns .btn-primary {
    box-shadow: 0 4px 20px rgba(198,40,57,0.3), 0 0 40px rgba(198,40,57,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-btns .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(198,40,57,0.45), 0 0 60px rgba(198,40,57,0.2);
}
.hero-btns .btn-outline {
    border-color: rgba(26, 10, 14, 0.25);
    color: #1a0a0e;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.hero-btns .btn-outline:hover {
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.08);
}

/* ── Dots ── */
.hero-slider-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(26, 10, 14, 0.2);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.hero-slider-dots button:hover {
    background: rgba(198, 40, 57, 0.4);
    transform: scale(1.2);
}
.hero-slider-dots button.active {
    background: var(--red);
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(198,40,57,0.3);
}

/* ── Arrows ── */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(26, 10, 14, 0.15);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    color: #1a0a0e;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition:
        opacity 0.35s,
        background 0.3s,
        border-color 0.3s,
        transform 0.3s;
}
.hero-banner:hover .hero-slider-arrow {
    opacity: 1;
}
.hero-slider-arrow:hover {
    background: rgba(198, 40, 57, 0.08);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.08);
}
.hero-slider-prev {
    left: 24px;
}
.hero-slider-next {
    right: 24px;
}

/* ── Counter ── */
.hero-slider-counter {
    position: absolute;
    top: 100px;
    right: 40px;
    z-index: 3;
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-slider-counter .hero-current {
    color: var(--red);
    font-size: 1.4rem;
    font-weight: 700;
}
.hero-counter-sep {
    width: 28px;
    height: 1px;
    background: rgba(26, 10, 14, 0.25);
}

/* ── Progress Bar ── */
.hero-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.1);
}
.hero-slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #c62839, #ffbec5, #c62839);
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(198, 40, 57, 0.5);
}

/* ── Animations ── */
@keyframes hero-spin { to { transform: rotate(360deg); } }
@keyframes hero-spin-rev { to { transform: rotate(-360deg); } }
@keyframes hero-line-pulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.1); } }
@keyframes hero-ptcl {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, -20px); }
    50% { transform: translate(-5px, -35px); }
    75% { transform: translate(15px, -15px); }
}
@keyframes hero-aurora {
    0%, 100% { transform: translateX(-20%) rotate(0deg); }
    50% { transform: translateX(20%) rotate(3deg); }
}
@keyframes hero-morph-1 {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translate(0, 0) scale(1); }
    25% { border-radius: 58% 42% 36% 64% / 65% 28% 72% 35%; transform: translate(30px, -20px) scale(1.08); }
    50% { border-radius: 42% 58% 54% 46% / 48% 62% 38% 52%; transform: translate(-15px, 25px) scale(0.95); }
    75% { border-radius: 65% 35% 42% 58% / 35% 55% 45% 65%; transform: translate(20px, 10px) scale(1.04); }
}
@keyframes hero-morph-2 {
    0%, 100% { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; transform: translate(0, 0) scale(1); }
    33% { border-radius: 55% 45% 38% 62% / 42% 58% 42% 58%; transform: translate(-25px, -15px) scale(1.06); }
    66% { border-radius: 38% 62% 55% 45% / 58% 35% 65% 42%; transform: translate(20px, 20px) scale(0.96); }
}
@keyframes hero-morph-3 {
    0%, 100% { border-radius: 50% 50% 40% 60% / 45% 55% 45% 55%; transform: translate(0, 0) rotate(0deg); }
    50% { border-radius: 60% 40% 55% 45% / 35% 65% 35% 65%; transform: translate(15px, -25px) rotate(15deg); }
}
@keyframes hero-gradient-shift {
    0%, 100% { background-position: 0% 50%, 100% 0%, 50% 100%, 0% 50%; }
    25% { background-position: 50% 0%, 0% 100%, 100% 50%, 50% 0%; }
    50% { background-position: 100% 50%, 50% 50%, 0% 0%, 100% 100%; }
    75% { background-position: 50% 100%, 100% 50%, 50% 50%, 50% 50%; }
}
@keyframes hero-pulse-expand {
    0% { width: 100px; height: 100px; margin-top: -50px; margin-right: -50px; opacity: 0.6; border-width: 2px; }
    100% { width: 800px; height: 800px; margin-top: -400px; margin-right: -400px; opacity: 0; border-width: 1px; }
}
@keyframes hero-glass-drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(5deg); }
    50% { transform: translate(-10px, -35px) rotate(-3deg); }
    75% { transform: translate(20px, -10px) rotate(8deg); }
}
@keyframes hero-bokeh-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.25); }
}
@keyframes hero-streak-move {
    0%, 100% { left: -15%; opacity: 0; }
    8% { opacity: 1; }
    50% { left: 115%; opacity: 1; }
    58% { opacity: 0; }
}
@keyframes hero-badge-border {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-banner {
        height: 55vh;
        max-height: 420px;
        min-height: 340px;
        margin-top: 64px;
    }
    .hero-slide-content {
        width: 100%;
        max-width: 100%;
        padding: 0 4px;
    }
    .hero-slide-content h1 {
        font-size: 1.65rem;
        line-height: 1.15;
        margin-bottom: 12px;
    }
    .hero-slide-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 18px;
        max-width: 100%;
    }
    .hero-badge {
        font-size: 0.68rem;
        gap: 8px;
        padding: 7px 14px;
        margin-bottom: 14px;
    }
    .hero-badge::before {
        width: 6px;
        height: 6px;
    }
    .hero-btns {
        gap: 10px;
    }
    .hero-btns .btn {
        padding: 11px 20px;
        font-size: 0.8rem;
    }
    .hero-slider-dots {
        bottom: 22px;
        gap: 8px;
    }
    .hero-slider-dots button {
        width: 8px;
        height: 8px;
    }
    .hero-slider-dots button.active {
        width: 22px;
    }
    .hero-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        border-width: 1px;
        opacity: 1;
    }
    .hero-slider-prev {
        left: 10px;
    }
    .hero-slider-next {
        right: 10px;
    }
    .hero-slider-counter {
        top: 70px;
        right: 14px;
        font-size: 0.68rem;
        gap: 6px;
    }
    .hero-slider-counter .hero-current {
        font-size: 1rem;
    }
    .hero-counter-sep {
        width: 18px;
    }
}

/* ── OLD HERO (kept for other pages) ── */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.55) 100%
        ),
        url("https://images.unsplash.com/photo-1573164713714-d95e436ab8d6?w=1400&h=900&fit=crop")
            no-repeat center 30% / cover;
}
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(198, 40, 57, 0.12) 0%,
        transparent 60%
    );
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s ease-in-out infinite;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
    z-index: 1;
}
.hero .hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, var(--blue) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, var(--yellow) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, var(--blue) 1px, transparent 1px);
    background-size:
        80px 80px,
        100px 100px,
        60px 60px;
}
.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(198, 40, 57, 0.08);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
    border: 1px solid rgba(198, 40, 57, 0.15);
}
.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
.hero h1 {
    font-size: 3.6rem;
    line-height: 1.08;
    margin-bottom: 22px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.hero h1 .accent {
    color: var(--yellow);
    position: relative;
}
.hero h1 .accent::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(234, 179, 8, 0.25);
    border-radius: 4px;
    z-index: -1;
}
.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 34px;
    max-width: 500px;
    line-height: 1.8;
}
.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-btns .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}
.hero-btns .btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.hero-visual {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

/* ── IMAGE SLIDER ── */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
}
.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}
.slider-slide.active {
    opacity: 1;
    z-index: 2;
}
.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.slider-slide.active img {
    transform: scale(1);
}
.slider-slide-label {
    position: absolute;
    bottom: 20px;
    left: 24px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    pointer-events: none;
}

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition:
        opacity 0.3s,
        background 0.3s,
        transform 0.3s,
        box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.slider:hover .slider-arrow {
    opacity: 1;
}
.slider-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.slider-arrow-prev {
    left: 16px;
}
.slider-arrow-next {
    right: 16px;
}
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.slider-dots button.active {
    background: #fff;
    width: 26px;
    border-radius: 6px;
}
@media (max-width: 768px) {
    .slider {
        aspect-ratio: 4/3;
    }
    .slider-arrow {
        opacity: 1;
        width: 36px;
        height: 36px;
    }
    .slider-slide-label {
        bottom: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ── IMAGE STRIP (fallback) ── */
.image-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.image-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.image-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-surface);
}
.image-card-visual {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}
.image-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.image-card:hover .image-card-visual img {
    transform: scale(1.06);
}
.image-card-body {
    padding: 20px 22px;
}
.image-card-body h3 {
    font-size: 0.95rem;
    font-weight: 650;
    margin-bottom: 4px;
    transition: color var(--transition);
}
.image-card:hover .image-card-body h3 {
    color: var(--blue);
}
.image-card-body p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}
@media (max-width: 1024px) {
    .image-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .image-strip {
        grid-template-columns: 1fr;
    }
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    font-family: "Inter", sans-serif;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn:hover::after {
    opacity: 1;
}
.btn:active {
    transform: scale(0.97);
}
.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(198, 40, 57, 0.2);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(198, 40, 57, 0.28);
}
.btn-yellow {
    background: var(--yellow);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.2);
}
.btn-yellow:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(234, 179, 8, 0.28);
}
.btn-outline {
    border: 2px solid var(--border);
    color: var(--text);
    background: #fff;
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}
.btn-ghost:hover {
    color: var(--blue);
}
.btn-sm {
    padding: 10px 22px;
    font-size: 0.82rem;
}

/* ── SECTIONS ── */
.section {
    padding: 100px 0;
    position: relative;
}
.section-alt {
    background: var(--bg-alt);
}
.section-accent {
    background: linear-gradient(180deg, var(--blue-light) 0%, var(--bg) 100%);
}
.section-divider {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg);
    pointer-events: none;
}
.section-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg);
    pointer-events: none;
}
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
    display: inline-block;
}
.section-title {
    font-size: 2.6rem;
    margin-bottom: 14px;
    font-weight: 800;
}
.section-title .accent {
    color: var(--blue);
}
.section-title .warm {
    color: var(--yellow-dark);
}
.section-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.7;
}
.text-center {
    text-align: center;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ── PAGE HEADER ── */
.page-header {
    padding: 140px 0 64px;
    text-align: center;
    background: linear-gradient(
        180deg,
        var(--yellow-light) 0%,
        transparent 100%
    );
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--bg));
}
.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
}
.page-header h1 .accent,
.page-header h1 .gradient {
    color: var(--blue);
}
.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── BREADCRUMB ── */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    align-items: center;
}
.breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--blue);
}
.breadcrumb span {
    color: var(--text);
    font-weight: 500;
}

/* ── SERVICES GRID ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.service-card {
    background: var(--bg);
    padding: 42px 30px;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
}
.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--yellow);
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transition: transform var(--transition);
}
.service-card:hover {
    background: var(--blue-light);
}
.service-card:hover::before {
    transform: scaleY(1);
}
.service-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform var(--transition-bounce);
    box-shadow: var(--shadow-sm);
}
.service-card:hover .service-icon {
    transform: scale(1.12) rotate(-5deg);
}
.service-icon svg {
    width: 22px;
    height: 22px;
}
.service-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 650;
}
.service-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── PORTFOLIO ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.portfolio-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: all var(--transition-slow);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.portfolio-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.7s;
}
.portfolio-item:hover .portfolio-bg {
    transform: scale(1.08);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        transparent 55%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: all var(--transition-slow);
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-overlay .portfolio-tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-bottom: 6px;
    font-weight: 600;
}
.portfolio-overlay h3 {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 650;
}
.portfolio-overlay p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
}

/* ── PROCESS / TIMELINE ── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}
.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-surface);
}
.process-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 18px;
    transition: all var(--transition);
}
.process-card:hover .process-num {
    background: var(--blue);
    color: #fff;
    transform: scale(1.1);
}
.process-card h4 {
    font-size: 0.95rem;
    font-weight: 650;
    margin-bottom: 8px;
}
.process-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
}
.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    color: var(--blue);
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--yellow-surface);
}
.testimonial-card .testimonial-stars {
    color: var(--yellow);
    font-size: 0.85rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-card .testimonial-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.testimonial-author h5 {
    font-size: 0.85rem;
    font-weight: 650;
}
.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── CLIENTS / PARTNERS ── */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    align-items: center;
}
.client-logo {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
    filter: grayscale(100%);
    opacity: 0.55;
    cursor: default;
}
.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-surface);
}
.client-logo .client-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.client-logo .client-sector {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── CTA BANNER ── */
.cta-banner {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}
.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #fff;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    font-size: 1rem;
}
.cta-banner .btn-primary {
    background: #fff;
    color: var(--blue);
    box-shadow: none;
}
.cta-banner .btn-primary:hover {
    background: var(--yellow);
    color: #0f172a;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ── CONTACT ── */

/* Header */
.contact-header {
    background:
        radial-gradient(
            ellipse at 20% 50%,
            rgba(198, 40, 57, 0.06) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 80% 50%,
            rgba(234, 179, 8, 0.06) 0%,
            transparent 60%
        ),
        linear-gradient(180deg, var(--yellow-light) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}
.contact-header-shape, .devis-header-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: ellipse(60% 100% at 50% 100%);
}

/* ── DEVIS FORM ── */
.devis-form {
    max-width: 860px;
    margin: 0 auto;
}
.devis-section {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.devis-section-head {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}
.devis-step {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}
.devis-section-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    padding-top: 8px;
}
.devis-section-head p {
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0 54px;
}
.devis-fields {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
@media (max-width: 768px) {
    .devis-section {
        padding: 24px 20px;
        border-radius: 14px;
    }
    .devis-section-head {
        gap: 10px;
        margin-bottom: 20px;
    }
    .devis-section-head p {
        margin-left: 0;
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 48px;
    align-items: start;
}

/* ── CONTACT HERO ── */
.contact-hero { position: relative; overflow: hidden; }
.contact-hero-bg {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1400&h=500&fit=crop') center/cover;
    opacity: 0.06; pointer-events: none;
}

/* ── SUCCESS / ERROR ── */
.contact-success-box {
    max-width: 600px; margin: 0 auto; text-align: center;
    padding: 48px 32px; background: #f0fdf4;
    border: 1px solid #bbf7d0; border-radius: 20px;
}
.contact-success-icon { font-size: 3rem; color: #16a34a; margin-bottom: 16px; }
.contact-success-box h3 { font-size: 1.3rem; font-weight: 700; color: #166534; margin-bottom: 8px; }
.contact-success-box p { color: #15803d; margin-bottom: 20px; font-size: 0.95rem; }
.contact-error-bar {
    max-width: 700px; margin: 0 auto 24px; padding: 14px 20px;
    background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px;
    color: #dc2626; font-size: 0.9rem; display: flex; align-items: center; gap: 10px;
}

/* ── CONTACT CARDS ── */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.contact-card {
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    padding: 28px 24px; text-align: center; transition: all 0.3s;
    display: block; text-decoration: none; color: inherit;
}
.contact-card-link:hover { border-color: var(--blue-light); box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
.contact-card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin: 0 auto 14px; }
.contact-card h4 { font-size: 0.95rem; font-weight: 650; margin-bottom: 6px; color: var(--text); }
.contact-card-main { font-size: 0.9rem; font-weight: 700; color: var(--blue); margin-bottom: 4px; word-break: break-all; }
.contact-card span { font-size: 0.75rem; color: var(--text-muted); }

/* ── FORM WRAPPER ── */
.contact-form-wrapper { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 36px 40px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.contact-form-head { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.contact-form-head h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.contact-form-head p { font-size: 0.88rem; color: var(--text-muted); }
.contact-form-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 14px; }
.contact-form-note i { color: var(--blue); margin-right: 4px; }

/* ── PREFERENCE RADIO ── */
.form-label-sm { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; display: block; }
.contact-pref-group { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-pref-option { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; transition: all 0.2s; font-size: 0.82rem; color: var(--text-secondary); }
.contact-pref-option:hover { border-color: var(--blue-light); }
.contact-pref-option:has(input:checked) { border-color: var(--blue); background: var(--blue-light); color: var(--blue); font-weight: 600; }
.contact-pref-option input { display: none; }

/* ── SIDEBAR ── */
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-office-card { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.contact-office-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.contact-office-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.65)); color: #fff; font-size: 0.8rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }

/* ── HOURS CARD ── */
.contact-hours-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; }
.contact-hours-card h4 { font-size: 0.9rem; font-weight: 650; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.contact-hours-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.contact-hours-row:last-child { border-bottom: none; }
.contact-hours-row span { color: var(--text-secondary); }
.contact-hours-row strong { color: var(--text); font-size: 0.88rem; }
.contact-hours-closed strong { color: var(--text-muted); }

/* ── MAP ── */
.contact-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }

/* ── SOCIAL CARD ── */
.contact-social-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; text-align: center; }
.contact-social-card p { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .contact-form-wrapper { padding: 28px 24px; }
}
@media (max-width: 768px) {
    .contact-cards { grid-template-columns: 1fr 1fr; }
    .contact-pref-group { flex-direction: column; }
    .contact-form-wrapper { padding: 24px 18px; border-radius: 14px; }
}
@media (max-width: 480px) { .contact-cards { grid-template-columns: 1fr; } }

/* ── FORM CARD (LEGACY) ── */
.contact-form-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow: var(--shadow-card);
}
.contact-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text);
}

/* Form */
.contact-form-subtitle {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 28px;
    line-height: 1.6;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    position: relative;
    padding-bottom: 18px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 2px solid var(--border);
    font-size: 0.95rem;
    font-family: "Inter", sans-serif;
    background: transparent;
    transition: border-color 0.3s;
    outline: none;
    color: var(--text);
}
.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--red);
}
.form-error {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 0.75rem;
    color: var(--red);
    font-weight: 500;
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
        no-repeat right 4px center;
    padding-right: 24px;
}
.form-group label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.25s ease;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    font-size: 0.72rem;
    color: var(--blue);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
}
.form-group select:focus {
    border-color: var(--blue);
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

/* Messages */
.contact-message {
    padding: 18px 24px;
    border-radius: var(--radius);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
}
.contact-message strong {
    display: block;
    margin-bottom: 2px;
}
.contact-message p {
    margin: 0;
    color: inherit;
}
.contact-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.contact-success .cm-icon {
    font-size: 1.8rem;
    color: #10b981;
    flex-shrink: 0;
}
.contact-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.contact-error i {
    font-size: 1.3rem;
    color: var(--red);
    flex-shrink: 0;
}

/* Info column */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-info-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
}
.contact-info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}
.contact-item:last-child {
    margin-bottom: 0;
}
.contact-item .ci-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--yellow-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-dark);
    flex-shrink: 0;
    font-size: 1rem;
    transition: all 0.3s;
}
.contact-item:hover .ci-icon {
    background: var(--yellow-surface);
    transform: scale(1.1);
}
.contact-item h5 {
    font-weight: 650;
    font-size: 0.85rem;
    margin-bottom: 3px;
    color: var(--text);
}
.contact-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.contact-item a {
    color: var(--blue);
    transition: color 0.2s;
    text-decoration: none;
}
.contact-item a:hover {
    color: var(--blue-dark);
}

/* 24h Badge */
.contact-badge {
    background: linear-gradient(135deg, var(--red-light), var(--red-surface));
    border: 1px solid rgba(198, 40, 57, 0.18);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--red-dark);
}
.contact-badge i {
    font-size: 1.2rem;
    color: var(--yellow);
}

/* WhatsApp button */
.contact-whatsapp {
    background: #25d366;
    color: #fff;
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.contact-whatsapp:hover {
    background: #22c35e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
    text-decoration: none;
}
.contact-whatsapp i {
    font-size: 1.3rem;
}

/* Social */
.contact-social {
    text-align: center;
}
.contact-social p {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.contact-social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.contact-social-links a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s;
    text-decoration: none;
}
.contact-social-links a:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 57, 0.12);
}

/* ── FAQ ── */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--bg);
    transition: all var(--transition);
}
.faq-item:hover {
    border-color: var(--blue-surface);
}
.faq-item.open {
    border-color: var(--blue);
    box-shadow: var(--shadow-sm);
}
.faq-q {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.98rem;
    font-weight: 600;
    transition: color var(--transition);
    user-select: none;
}
.faq-item.open .faq-q {
    color: var(--blue);
}
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all var(--transition);
    flex-shrink: 0;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
    transition: all 0.45s;
}
.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 28px 24px;
}

/* ── BLOG / NEWS ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-surface);
}
.news-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.news-img .news-img-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s;
}
.news-card:hover .news-img-bg {
    transform: scale(1.06);
}
.news-card-body {
    padding: 24px;
}
.news-card .news-cat {
    display: inline-block;
    padding: 4px 12px;
    background: var(--yellow-light);
    color: var(--yellow-dark);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.news-card .news-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.news-card h3 {
    font-size: 1.05rem;
    margin: 8px 0;
    font-weight: 650;
    transition: color var(--transition);
}
.news-card:hover h3 {
    color: var(--blue);
}
.news-card p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── VALUE CARDS ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.value-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-surface);
}
.value-card .value-num {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0.08;
    margin-bottom: 12px;
}
.value-card h3 {
    font-size: 1.05rem;
    font-weight: 650;
    margin-bottom: 8px;
}
.value-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── ACADEMY PAGE ── */
.academy-header {
    position: relative;
    overflow: hidden;
}
.academy-hero-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 42%;
    background: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=800&h=600&fit=crop') center/cover;
    opacity: 0.08;
    pointer-events: none;
}

.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.academy-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}
.academy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.1);
    border-color: var(--blue-light);
}
.academy-card-img {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}
.academy-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.academy-card:hover .academy-card-img img {
    transform: scale(1.06);
}
.academy-card-level {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 6px;
    letter-spacing: 0.03em;
}
.academy-card-body {
    padding: 20px 22px 22px;
}
.academy-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 12px;
}
.academy-card-body h3 {
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: 6px;
    color: var(--text);
}
.academy-card-body p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0;
}
.academy-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.academy-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}
.academy-price {
    font-weight: 700;
    color: var(--blue);
    font-size: 0.9rem;
}

/* ── TRAINERS ── */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trainer-card {
    text-align: center;
    padding: 28px 16px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}
.trainer-card:hover {
    border-color: var(--blue-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}
.trainer-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    border: 3px solid var(--blue-light);
}
.trainer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trainer-card h4 {
    font-size: 0.95rem;
    font-weight: 650;
    margin-bottom: 4px;
    color: var(--text);
}
.trainer-specialty {
    font-size: 0.82rem;
    color: var(--blue);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}
.trainer-exp {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── CERTIFICATIONS ── */
.certif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.certif-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}
.certif-card:hover {
    border-color: var(--blue-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}
.certif-badge {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}
.certif-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .academy-grid { grid-template-columns: repeat(2, 1fr); }
    .trainers-grid { grid-template-columns: repeat(2, 1fr); }
    .certif-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .academy-grid { grid-template-columns: 1fr; }
    .trainers-grid { grid-template-columns: 1fr 1fr; }
    .certif-grid { grid-template-columns: 1fr; }
    .academy-hero-bg { display: none; }
}
@media (max-width: 480px) {
    .trainers-grid { grid-template-columns: 1fr; }
}

/* ── TEAM GRID ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    text-align: center;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.team-avatar {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.team-info {
    padding: 20px;
}
.team-info h4 {
    font-size: 0.95rem;
    font-weight: 650;
}
.team-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.team-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}
.team-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all var(--transition);
}
.team-social a:hover {
    background: var(--blue);
    color: #fff;
}

/* ── BADGES / TAGS ── */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.tag-blue {
    background: var(--blue-light);
    color: var(--blue);
}
.tag-yellow {
    background: var(--yellow-light);
    color: var(--yellow-dark);
}
.tag-green {
    background: var(--green-light);
    color: var(--green);
}
.tag-purple {
    background: var(--purple-light);
    color: var(--purple);
}

/* ── ALERTS ── */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.alert-info {
    background: var(--blue-light);
    color: var(--blue);
    border: 1px solid var(--blue-surface);
}
.alert-success {
    background: var(--green-light);
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.alert-error {
    background: var(--red-light);
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ── FORMS (login/register) ── */
.form-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.03),
        0 20px 50px rgba(0, 0, 0, 0.06);
}
.form-logo {
    text-align: center;
    margin-bottom: 28px;
}
.form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    text-align: center;
    font-weight: 700;
}
.form-card .form-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Alert */
.form-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-alert i {
    color: var(--red);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Input with icon */
.input-icon-wrapper {
    position: relative;
}
.input-icon-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.3s;
}
.input-icon-wrapper input {
    padding-left: 40px !important;
    padding-right: 42px !important;
}
.input-icon-wrapper:focus-within .input-icon {
    color: var(--blue);
}
.input-toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 0.95rem;
    transition: color 0.2s;
    line-height: 1;
}
.input-toggle-pw:hover {
    color: var(--text);
}

/* Form options row */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.84rem;
}
.form-link {
    color: var(--blue);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.form-link:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

/* Custom checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.84rem;
    user-select: none;
    position: relative;
    padding-left: 0;
}
.checkbox-label input {
    display: none;
}
.checkbox-label .checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border);
    border-radius: 5px;
    flex-shrink: 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkbox-label .checkmark::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
    margin-top: -2px;
}
.checkbox-label input:checked ~ .checkmark {
    background: var(--blue);
    border-color: var(--blue);
}
.checkbox-label input:checked ~ .checkmark::after {
    transform: rotate(45deg) scale(1);
}

/* Form base (login/register cards only) */
.form-card .form-group {
    margin-bottom: 18px;
}
.form-card .form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.form-card .form-group input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: "Inter", sans-serif;
    transition: all var(--transition);
    background: var(--bg-alt);
}
.form-card .form-group input:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--bg);
    box-shadow: 0 0 0 3px rgba(198, 40, 57, 0.10);
}
.form-card .form-group input::placeholder {
    color: var(--text-muted);
}
.form-actions {
    margin-top: 24px;
}
.form-actions .btn {
    width: 100%;
    justify-content: center;
}
.form-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.form-footer a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}
.form-footer a:hover {
    text-decoration: underline;
}
.form-separator {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}
.form-separator::before,
.form-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── FOOTER ── */
.footer {
    background: var(--text);
    color: #94a3b8;
    padding: 72px 0 28px;
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--red-dark),
        var(--red),
        var(--yellow),
        var(--red)
    );
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 44px;
}
.footer h4 {
    color: #fff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    font-weight: 700;
}
.footer-logo {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 14px;
    display: inline-block;
}
.footer-logo .accent {
    color: var(--yellow);
}
.footer p {
    font-size: 0.86rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 18px;
}
.footer a {
    color: #94a3b8;
    display: block;
    margin-bottom: 12px;
    font-size: 0.84rem;
    transition: all 0.2s;
}
.footer a:hover {
    color: var(--yellow);
    transform: translateX(4px);
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #94a3b8;
    transition: all var(--transition);
    transform: none !important;
}
.footer-social a:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-3px) !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 12px;
}

/* ── ANIMATIONS ── */
.animate {
    opacity: 0;
    transform: translateY(36px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-delay-1 {
    transition-delay: 0.05s;
}
.animate-delay-2 {
    transition-delay: 0.12s;
}
.animate-delay-3 {
    transition-delay: 0.19s;
}
.animate-delay-4 {
    transition-delay: 0.26s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}
@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}
@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1024px) {
    .nav-link {
        font-size: 0.78rem;
        padding: 7px 10px;
    }
    .nav-mega {
        left: 0;
        transform: translateY(6px);
        min-width: 420px;
    }
    .nav-mega-parent:hover .nav-mega {
        transform: translateY(0);
    }
    .nav-btn {
        padding: 7px 13px;
        font-size: 0.76rem;
    }
    .nav-actions { margin-left: 4px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid,
    .news-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-visual {
        display: none;
    }
}
@media (max-width: 768px) {
    .nav {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .container {
        padding: 0 20px;
    }
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero {
        background: linear-gradient(180deg, #f8fafc 0%, #ffffff 60%) !important;
    }
    .hero p {
        font-size: 1rem;
    }
    .section {
        padding: 64px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .services-grid,
    .portfolio-grid,
    .news-grid,
    .testimonials-grid,
    .process-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        padding: 12px 20px 32px;
        gap: 0;
        border-top: 1px solid var(--border);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        overflow-y: auto;
        align-items: stretch;
        z-index: 9999;
    }
    .nav-links.open { display: flex; }
    .nav-item { width: 100%; }
    .nav-link {
        padding: 13px 14px;
        font-size: 0.95rem;
        border-radius: 10px;
        width: 100%;
    }
    .nav-link-caret::after { margin-left: auto; }
    .nav-drop, .nav-mega {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        min-width: auto;
        display: none;
        padding: 0;
    }
    .nav-drop-parent.open .nav-drop,
    .nav-mega-parent.open .nav-mega { display: block; }
    .nav-drop-link, .nav-mega-item {
        padding: 10px 14px 10px 28px;
        font-size: 0.88rem;
    }
    .nav-mega-inner { padding: 6px 0; }
    .nav-mega-header { display: none; }
    .nav-mega-grid { grid-template-columns: 1fr; }
    .nav-actions {
        flex-direction: column;
        gap: 8px;
        margin-left: 0;
        margin-top: 10px;
        padding-top: 14px;
        border-top: 1px solid var(--border);
        width: 100%;
    }
    .nav-btn { text-align: center; justify-content: center; width: 100%; }
    .nav-btn-user { width: auto; margin: 0 auto; justify-content: center; }
    .lang-switch { margin-left: 0; justify-content: center; margin-top: 8px; width: 100%; }
    .menu-btn { display: block; }
    .hero-btns {
        flex-direction: column;
    }
    .hero-btns .btn {
        justify-content: center;
    }
    .cta-banner {
        padding: 40px 28px;
        border-radius: var(--radius);
    }
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-card {
        padding: 28px 22px;
    }
}

/* ── CAREER OFFER ICON ── */
.career-offer-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    flex-shrink: 0;
}

/* ── PORTFOLIO FILTERS ── */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.portfolio-filter-btn {
    padding: 8px 20px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    background: white;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}
.portfolio-filter-btn:hover {
    border-color: var(--blue-light);
    color: var(--blue);
}
.portfolio-filter-btn.active {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

/* ── TESTIMONIALS SLIDER (Homepage) ── */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    max-width: 780px;
    margin: 40px auto 0;
}
.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonials-slider .testimonial-card {
    min-width: 100%;
    box-sizing: border-box;
    padding: 36px 40px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}
.testimonials-slider .testimonial-card::before {
    display: none;
}
.testimonial-quote {
    font-size: 4rem;
    font-weight: 900;
    color: var(--blue);
    line-height: 0.5;
    opacity: 0.2;
    font-family: Georgia, serif;
}
.testimonials-slider .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 600px;
}
.testimonials-slider .testimonial-author {
    padding-top: 8px;
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: 300px;
}
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.testimonials-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.testimonials-dots button.active {
    background: var(--blue);
    transform: scale(1.3);
}

/* ── BLOG PREVIEW (Homepage) ── */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.blog-preview-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s;
}
.blog-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
}
.blog-preview-img {
    aspect-ratio: 2/1;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.blog-preview-cat {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.blog-preview-body {
    padding: 20px 24px 24px;
}
.blog-preview-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.blog-preview-body h3 {
    font-size: 1.05rem;
    font-weight: 650;
    margin: 8px 0;
    color: var(--text);
    line-height: 1.4;
}
.blog-preview-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-slider .testimonial-card {
        padding: 28px 24px;
    }
    .portfolio-filters {
        gap: 6px;
    }
    .portfolio-filter-btn {
        padding: 6px 14px;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .page-header h1 {
        font-size: 1.7rem;
    }
    .cta-banner h2 {
        font-size: 1.5rem;
    }
}


/* ── RED & WHITE VISUAL SYSTEM ── */
.nav {
    box-shadow: 0 8px 30px rgba(88, 18, 28, 0.06);
}
.nav.scrolled {
    border-bottom-color: rgba(198, 40, 57, 0.14);
    box-shadow: 0 8px 30px rgba(88, 18, 28, 0.10);
}
.nav-logo-text { color: var(--text); }
.nav-logo-accent,
.nav-link:hover,
.nav-link.active,
.nav-drop-link:hover,
.nav-drop-link.active,
.nav-mega-all,
.nav-mega-item:hover,
.nav-mega-icon,
.btn-ghost:hover,
.section-label,
.section-title .accent,
.page-header h1 .accent,
.page-header h1 .gradient,
.breadcrumb a:hover,
.image-card:hover .image-card-body h3,
.auth-link,
.auth-footer a { color: var(--red); }
.nav-link:hover,
.nav-link.active { background: var(--red-light); }
.nav-btn-ghost:hover {
    border-color: var(--red);
    color: var(--red);
    background: var(--red-light);
}
.nav-btn-primary,
.btn-primary {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    box-shadow: 0 6px 18px rgba(198, 40, 57, 0.22);
}
.nav-btn-primary:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #d73549 0%, var(--red-dark) 100%);
    box-shadow: 0 10px 26px rgba(198, 40, 57, 0.30);
}
.nav-user-avatar,
.lang-opt.active { background: var(--red); }
.nav-btn-user:hover { border-color: var(--red-surface); }
.hero-slide-overlay {
    background:
        linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.5) 35%, rgba(255,255,255,0.2) 60%, rgba(255,255,255,0.05) 100%),
        linear-gradient(to top, rgba(255,255,255,0.9) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.4) 100%);
}
.hero-slide-content h1 .accent,
.hero h1 .accent { color: var(--red); }
.hero-slider-counter .hero-current { color: var(--red); }
.hero-slider-dots button.active { background: var(--red); }
.hero-slider-progress-bar {
    background: linear-gradient(90deg, var(--red), #ffbec5, var(--red));
    box-shadow: 0 0 10px rgba(198, 40, 57, 0.35);
}
.hero-badge::before { background: var(--red); }
.hero h1 .accent::after { background: rgba(198, 40, 57, 0.25); }
.btn-yellow {
    background: var(--red);
    color: #fff;
    box-shadow: 0 6px 18px rgba(198, 40, 57, 0.22);
}
.btn-yellow:hover { background: var(--red-dark); color: #fff; }
.section-accent { background: linear-gradient(180deg, var(--red-light) 0%, var(--bg) 100%); }
.page-header { background: linear-gradient(180deg, var(--red-light) 0%, transparent 100%); }
.service-card::before { background: var(--red); }
.service-card:hover { background: var(--red-light); }
.service-icon {
    background: var(--red-light) !important;
    color: var(--red) !important;
}
.process-card:hover { border-color: var(--red-surface); }
.process-num { background: var(--red-light); color: var(--red); }
.process-card:hover .process-num { background: var(--red); color: #fff; }
.portfolio-overlay .portfolio-tag { color: #ffd4d9; }
.auth-page {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(198, 40, 57, 0.13) 0%, transparent 52%),
        radial-gradient(ellipse at 100% 100%, rgba(198, 40, 57, 0.07) 0%, transparent 48%),
        #fff;
}
.auth-card::before { background: linear-gradient(90deg, var(--red-dark), var(--red), #f08a94); }
.auth-input:focus-within i { color: var(--red); }
.auth-input input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(198, 40, 57, 0.10); }
.auth-btn { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); box-shadow: 0 6px 18px rgba(198, 40, 57, 0.22); }
.auth-btn:hover { box-shadow: 0 10px 26px rgba(198, 40, 57, 0.30); }

/* Éléments inline hérités des anciennes pages : priorité à l’identité du site. */
.service-card [style*="background"],
.service-card [style*="color"] { color: var(--red) !important; }

@media (max-width: 768px) {
    .nav-links.open {
        border-top: 3px solid var(--red);
    }
    .nav-actions { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .site-loader, .site-loader-logo, .site-loader-dots { animation: none; transition: none; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Accessibilité : focus visible cohérent avec la couleur de marque. */
:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(198, 40, 57, 0.35);
    outline-offset: 3px;
}

/* Pages d’authentification : la feuille globale reste la source de vérité. */
.auth-card .auth-link:hover,
.auth-card .auth-footer a:hover { color: var(--red-dark); }
.auth-check input:checked ~ .box {
    background: var(--red);
    border-color: var(--red);
}
.auth-google:hover { border-color: var(--red-surface); background: var(--red-light); }
.copyright a:hover { color: var(--red); }

/* Micro-texture discrète, uniquement en surfaces blanches pour conserver la lisibilité. */
.section-alt {
    background-image: linear-gradient(rgba(255,255,255,0.72), rgba(255,255,255,0.72));
}
.section-alt .service-card,
.section-alt .testimonial-card,
.section-alt .process-card { background: rgba(255,255,255,0.94); }

@media (max-width: 600px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .section { padding: 72px 0; }
    .section-title { font-size: 2rem; }
}


/* Harmonisation des pages publiques secondaires malgré leurs styles inline historiques. */
.team-avatar {
    background: var(--red-light) !important;
    color: var(--red) !important;
}
.career-offer-icon,
.career-offer-icon i,
.value-num,
.value-num i {
    color: var(--red) !important;
}

/* Pages service : hero éditorial, illustration légère et parcours de conversion. */
.service-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 86px;
    background: radial-gradient(circle at 78% 12%, rgba(198, 40, 57, .16), transparent 30%), linear-gradient(135deg, #fff7f8 0%, #fff 64%);
}
.service-hero::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; background-image: linear-gradient(rgba(198,40,57,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(198,40,57,.045) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, #000, transparent 76%); }
.service-hero::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -42%;
    width: 48vw;
    height: 48vw;
    border: 1px solid rgba(198, 40, 57, .12);
    border-radius: 50%;
    pointer-events: none;
}
.service-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: clamp(42px, 7vw, 92px); }
.service-hero-copy { max-width: 650px; }
.service-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--text-muted); font-size: .72rem; }
.service-breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.service-breadcrumb a:hover { color: var(--red); }
.service-breadcrumb i { color: var(--red); font-size: .55rem; }
.service-breadcrumb span { color: var(--red-dark); font-weight: 700; }
.service-hero-copy h1 { max-width: 700px; margin: 14px 0 20px; color: var(--text); font-size: clamp(2.55rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.04em; }
.service-hero-copy > p { max-width: 600px; color: var(--text-secondary); font-size: 1.08rem; line-height: 1.8; }
.service-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.service-hero-signals { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; color: var(--text-secondary); font-size: .78rem; }
.service-hero-signals i { margin-right: 5px; color: var(--red); }
.service-hero-art { position: relative; display: grid; min-height: 370px; place-items: center; isolation: isolate; }
.service-hero-art img { position: relative; z-index: 2; width: min(100%, 460px); height: 330px; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(72, 24, 34, .14)); animation: serviceArtFloat 7s ease-in-out infinite; }
.service-hero-orbit { position: absolute; z-index: 1; border: 1px solid rgba(198, 40, 57, .2); border-radius: 50%; transform: rotate(-18deg); }
.service-hero-orbit-one { width: 290px; height: 180px; }
.service-hero-orbit-two { width: 390px; height: 250px; opacity: .55; transform: rotate(24deg); }
.service-hero-badge { position: absolute; right: 3%; bottom: 18px; z-index: 3; padding: 8px 13px; color: var(--red-dark); background: rgba(255,255,255,.78); border: 1px solid rgba(198,40,57,.16); border-radius: 999px; box-shadow: 0 8px 22px rgba(52, 20, 27, .1); font-size: .75rem; font-weight: 700; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.service-hero-badge i { margin-right: 5px; color: var(--red); }
.marketing-channel-band { border-top: 1px solid rgba(198,40,57,.12); border-bottom: 1px solid rgba(198,40,57,.12); background: #fff; }
.marketing-channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.marketing-channel { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 15px 22px; border-right: 1px solid var(--border); }
.marketing-channel:first-child { border-left: 1px solid var(--border); }
.marketing-channel span { color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.marketing-channel strong { color: var(--text); font-size: .82rem; line-height: 1.25; }
.empty-public-content { max-width: 620px; margin: 38px auto 0; padding: 38px 24px; text-align: center; background: var(--bg-alt); border: 1px dashed var(--border); border-radius: var(--radius-lg); }
.empty-public-content i { color: var(--red); font-size: 1.8rem; }
.empty-public-content h2 { margin: 14px 0 8px; font-size: 1.2rem; }
.empty-public-content p { margin: 0; color: var(--text-secondary); font-size: .92rem; }
.service-intro-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: end; gap: clamp(40px, 8vw, 120px); }
.service-intro .section-title { margin-top: 14px; }
.service-lead { margin: 0; color: var(--text-secondary); font-size: 1.12rem; line-height: 1.9; }
.service-features-section { padding-top: 30px; }
.service-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-feature-card { position: relative; min-height: 220px; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-feature-card:hover { border-color: rgba(198,40,57,.32); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-feature-number { position: absolute; top: 22px; right: 24px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.service-feature-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 28px; color: var(--red); background: var(--red-light); border-radius: 12px; }
.service-feature-card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.service-feature-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.65; }

/* Client dashboard */
.account-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff7f8 0%, #fff 58%, #fff1f3 100%);
}
.account-header::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -150px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(198, 40, 57, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(198, 40, 57, .035), 0 0 0 58px rgba(198, 40, 57, .025);
}
.account-page { background: #fbfcfe; }
.account-page .container { position: relative; z-index: 1; }
.account-erp-card { box-shadow: 0 10px 28px rgba(198, 40, 57, .08); }
.account-erp-card:hover { border-color: var(--red) !important; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(198, 40, 57, .14); }
.account-stats { gap: 16px; }
.account-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 116px;
    padding: 22px 24px;
    text-align: left;
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 16px;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .04);
}
.account-stat-card::after {
    content: "";
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 90px;
    height: 90px;
    border: 12px solid rgba(198, 40, 57, .07);
    border-radius: 50%;
}
.account-stat-card .stat-num { position: relative; z-index: 1; color: var(--text); font-size: 1.7rem; font-weight: 800; }
.account-stat-card .stat-label { position: relative; z-index: 1; margin-top: 5px; color: var(--text-muted); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.account-project-grid { align-items: stretch; }
.account-project-card { box-shadow: 0 5px 16px rgba(15, 23, 42, .04); }
.account-project-card:hover { border-color: rgba(198, 40, 57, .35) !important; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15, 23, 42, .09); }
.account-project-card h4 { color: var(--text); }
.account-project-card [style*="var(--gradient-blue)"] { background: linear-gradient(90deg, var(--red-dark), var(--red)) !important; }
.account-invoices { box-shadow: 0 5px 16px rgba(15, 23, 42, .04); }
.account-invoices table th { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.account-invoices table tbody tr { transition: background .2s ease; }
.account-invoices table tbody tr:hover { background: #fff8f9; }
.account-profile { box-shadow: 0 5px 16px rgba(15, 23, 42, .04); }
.account-profile h4 { margin-bottom: 6px; color: var(--text); font-size: 1rem; }

@media (max-width: 760px) {
    .account-project-grid { grid-template-columns: 1fr !important; }
    .account-invoices { overflow-x: auto; }
    .account-invoices table { min-width: 620px; }
    .account-profile { align-items: flex-start !important; flex-direction: column; gap: 20px; }
}
.service-deliverables-section { background: #fff; }
.service-deliverables-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 8vw, 110px); }
.service-deliverables-grid .section-title { margin: 14px 0 18px; }
.service-deliverables-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.service-deliverables-list li { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: .92rem; font-weight: 700; }
.service-deliverables-list li i { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; color: #fff; background: var(--red); border-radius: 50%; font-size: .68rem; }
.service-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.service-benefit { position: relative; min-height: 145px; padding: 24px; background: linear-gradient(145deg, #fff, #fff8f9); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-benefit:hover { border-color: rgba(198,40,57,.28); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-benefit span { color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.service-benefit p { margin: 16px 0 0; color: var(--text); font-size: .96rem; font-weight: 700; line-height: 1.5; }
.service-section-heading { max-width: 680px; margin-bottom: 34px; }
.service-section-heading .section-title { margin-top: 13px; }
.service-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-step { position: relative; min-height: 170px; padding: 24px; background: rgba(255,255,255,.9); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(15,23,42,.035); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-step:hover { border-color: rgba(198,40,57,.3); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-step > span { display: inline-grid; width: 32px; height: 32px; place-items: center; color: #fff; background: var(--red); border-radius: 50%; font-weight: 800; }
.service-step h3 { margin: 22px 0 0; font-size: 1rem; line-height: 1.35; }
.service-step > i { position: absolute; top: 29px; right: 20px; color: var(--red); opacity: .65; }
.service-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 0 60px; border-bottom: 1px solid var(--border); }
.service-final-cta-copy { max-width: 650px; }
.service-final-cta-copy .section-title { margin: 13px 0 10px; }
.service-final-cta-copy p { margin: 0; color: var(--text-secondary); }
.service-final-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.service-whatsapp-link { display: inline-flex; align-items: center; gap: 7px; color: #15803d; font-size: .85rem; font-weight: 750; text-decoration: none; }
.service-whatsapp-link:hover { color: #166534; }
.service-whatsapp-link i { font-size: 1.1rem; }
.service-other-services { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 58px; }
.service-other-services .section-title { margin: 0; font-size: 1.65rem; }
@keyframes serviceArtFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 800px) {
    .service-hero { padding: 62px 0 58px; }
    .service-hero-grid { grid-template-columns: 1fr; gap: 35px; }
    .service-hero-art { min-height: 270px; order: -1; }
    .service-hero-art img { height: 260px; }
    .service-hero-orbit-one { width: 220px; height: 140px; }
    .service-hero-orbit-two { width: 300px; height: 190px; }
    .service-intro-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-benefits, .service-steps, .service-feature-grid { grid-template-columns: 1fr 1fr; }
    .service-deliverables-grid { grid-template-columns: 1fr; gap: 30px; }
    .marketing-channel-grid { grid-template-columns: 1fr 1fr; }
    .service-final-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
    .service-hero-copy h1 { font-size: 2.3rem; letter-spacing: -.03em; }
    .service-hero-copy > p { font-size: 1rem; }
    .service-hero-actions .btn { width: 100%; justify-content: center; }
    .service-hero-art { min-height: 220px; }
    .service-hero-art img { height: 210px; }
    .service-hero-badge { right: 0; bottom: 0; }
    .service-benefits, .service-steps, .service-feature-grid { grid-template-columns: 1fr; }
    .marketing-channel-grid { grid-template-columns: 1fr; }
    .marketing-channel, .marketing-channel:first-child { border-left: 0; border-right: 0; border-bottom: 1px solid var(--border); }
    .service-other-services { align-items: flex-start; flex-direction: column; }
    .service-benefit { padding: 18px; }
}

/* Academy : direction éditoriale premium et cohérente avec l’identité DigiCom. */
.academy-header { padding: 92px 0 105px; background: radial-gradient(circle at 78% 28%, rgba(198,40,57,.14), transparent 34%), linear-gradient(135deg, #fff7f8 0%, #fff 68%); }
.academy-header::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(rgba(198,40,57,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(198,40,57,.045) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, #000, transparent 82%); }
.academy-header .container { position: relative; z-index: 1; max-width: 860px; }
.academy-header h1 { max-width: 780px; margin: 14px auto 18px; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; }
.academy-header p { max-width: 650px; margin: 0 auto; color: var(--text-secondary); font-size: 1.08rem; line-height: 1.8; }
.academy-hero-bg { width: 48%; opacity: .12; filter: saturate(.75) sepia(.08); mix-blend-mode: multiply; }
.stats-section { position: relative; z-index: 2; margin-top: -48px; padding-top: 0; }
.stats-section .stats-grid { gap: 14px; }
.stats-section .stat-card { min-height: 145px; padding: 22px 18px; background: rgba(255,255,255,.94); border: 1px solid rgba(198,40,57,.12); border-radius: 14px; box-shadow: 0 12px 30px rgba(29,19,24,.08); backdrop-filter: blur(12px); }
.stats-section .stat-icon { color: var(--red) !important; background: var(--red-light) !important; }
.stats-section .stat-num { color: var(--red-dark); }
.stats-section .stat-label { color: var(--text); font-weight: 750; }
.stats-section .stat-sub { color: var(--text-muted); }
.academy-grid { gap: 20px; }
.academy-card { border-color: rgba(198,40,57,.14); border-radius: 14px; box-shadow: 0 5px 18px rgba(15,23,42,.035); }
.academy-card:hover { border-color: rgba(198,40,57,.4); box-shadow: 0 18px 42px rgba(80,20,30,.12); }
.academy-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,23,42,.36)); pointer-events: none; }
.academy-card-level { z-index: 1; background: rgba(94,18,31,.78); border: 1px solid rgba(255,255,255,.28); }
.academy-card-body { padding: 22px 22px 24px; }
.academy-card-icon { background: var(--red-light); color: var(--red); }
.academy-card-body h3 { font-size: 1.08rem; line-height: 1.35; }
.academy-card-body p { min-height: 53px; color: var(--text-secondary); }
.academy-price { color: var(--red) !important; }
.academy-card .btn-primary { min-height: 42px; }
.trainers-grid { gap: 18px; }
.trainer-card { border-color: rgba(198,40,57,.14); border-radius: 14px; box-shadow: 0 5px 18px rgba(15,23,42,.035); }
.trainer-card:hover { border-color: rgba(198,40,57,.35); box-shadow: 0 14px 32px rgba(80,20,30,.1); }
.trainer-photo { border-color: var(--red-light); box-shadow: 0 0 0 5px rgba(198,40,57,.05); }
.trainer-specialty { color: var(--red) !important; }
.certif-grid { gap: 16px; }
.certif-card { border-color: rgba(198,40,57,.14); border-radius: 14px; box-shadow: 0 5px 18px rgba(15,23,42,.035); }
.certif-card:hover { border-color: rgba(198,40,57,.35); box-shadow: 0 14px 30px rgba(80,20,30,.1); }
.empty-public-content { background: linear-gradient(145deg, #fff, #fff7f8); border-color: rgba(198,40,57,.25); box-shadow: 0 12px 30px rgba(80,20,30,.06); }
.empty-public-content i { display: inline-grid; width: 52px; height: 52px; place-items: center; background: var(--red-light); border-radius: 15px; }
@media (max-width: 768px) {
    .academy-header { padding: 70px 0 82px; }
    .stats-section { margin-top: -34px; }
    .stats-section .stat-card { min-height: 130px; }
}
@media (max-width: 480px) {
    .academy-header h1 { font-size: 2.35rem; }
    .academy-header p { font-size: 1rem; }
    .stats-section .stats-grid { grid-template-columns: 1fr 1fr; }
    .stats-section .stat-card { padding: 17px 12px; }
    .stats-section .stat-num { font-size: 1.7rem; }
}

/* Accueil : la grille des expertises reste lisible sur petit écran. */
.expertise-section .section-title { max-width: 820px; margin-left: auto; margin-right: auto; }
.expertise-section .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) {
    .expertise-section .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .expertise-section .services-grid { display: grid; grid-template-columns: minmax(0, 1fr) !important; gap: 1px; }
    .expertise-section .service-card { min-width: 0; padding: 24px 20px; }
    .expertise-section .section-title { max-width: 340px; font-size: 1.75rem; line-height: 1.18; }
    .expertise-section .section-sub { max-width: 340px; font-size: .9rem; }
}

/* Contact : accueil commercial premium, lisible et orienté conversion. */
.contact-hero { padding: 88px 0 104px; background: radial-gradient(circle at 80% 22%, rgba(198,40,57,.14), transparent 34%), linear-gradient(135deg, #fff7f8 0%, #fff 70%); }
.contact-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: linear-gradient(rgba(198,40,57,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(198,40,57,.045) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, #000, transparent 80%); }
.contact-hero h1 { position: relative; max-width: 760px; margin: 14px 0 18px; font-size: clamp(2.55rem, 5vw, 4.7rem); line-height: 1.04; letter-spacing: -.04em; }
.contact-hero p { position: relative; max-width: 620px; color: var(--text-secondary); font-size: 1.08rem; line-height: 1.8; }
.contact-hero-bg { opacity: .1; filter: saturate(.7) sepia(.1); }
.contact-cards { position: relative; z-index: 2; gap: 14px; margin-top: -46px; }
.contact-card { min-height: 158px; padding: 24px 16px; background: rgba(255,255,255,.94); border: 1px solid rgba(198,40,57,.13); border-radius: 14px; box-shadow: 0 12px 30px rgba(30,15,20,.08); backdrop-filter: blur(12px); }
.contact-card-link:hover { border-color: rgba(198,40,57,.4); box-shadow: 0 18px 36px rgba(80,20,30,.13); transform: translateY(-5px); }
.contact-card-icon { background: var(--red-light); color: var(--red); }
.contact-card-main { color: var(--red) !important; }
.contact-layout { align-items: start; gap: 28px; }
.contact-form-wrapper { border-color: rgba(198,40,57,.13); border-radius: 16px; padding: 34px; box-shadow: 0 14px 38px rgba(15,23,42,.06); }
.contact-form-head { margin-bottom: 30px; }
.contact-form-head h3 { font-size: 1.4rem; letter-spacing: -.02em; }
.contact-form-head p { color: var(--text-secondary); line-height: 1.6; }
.contact-form .form-group input, .contact-form .form-group select, .contact-form .form-group textarea { border-color: #dbe1e8; background: #fbfcfd; }
.contact-form .form-group input:focus, .contact-form .form-group select:focus, .contact-form .form-group textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(198,40,57,.08); }
.contact-pref-option:has(input:checked) { border-color: var(--red); background: var(--red-light); color: var(--red); }
.contact-sidebar { gap: 14px; }
.contact-office-card, .contact-info-card, .contact-hours-card, .contact-map, .contact-social-card { border-color: rgba(198,40,57,.13); box-shadow: 0 8px 24px rgba(15,23,42,.045); }
.contact-office-card img { height: 205px; filter: saturate(.78); }
.contact-info-card h4, .contact-hours-card h4 { color: var(--text); }
.contact-item .ci-icon { background: var(--red-light); color: var(--red); }
.contact-item a { color: var(--red); }
.contact-hours-card { padding: 22px 24px; }
.contact-map iframe { display: block; filter: saturate(.78); }
.contact-social-links a:hover { border-color: var(--red); color: var(--red); background: var(--red-light); box-shadow: 0 5px 14px rgba(198,40,57,.12); }
.contact-hero + .section { padding-top: 0; }
.contact-team-section { background: #fff; }
.contact-team-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.contact-team-heading .section-title { margin-top: 12px; }
.contact-team-heading p { max-width: 360px; margin: 0; color: var(--text-secondary); font-size: .9rem; line-height: 1.65; }
.contact-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.contact-team-email { display: flex; align-items: center; min-width: 0; gap: 10px; padding: 13px 14px; color: var(--text-secondary); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 9px; font-size: .76rem; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.contact-team-email i { flex: 0 0 15px; color: var(--red); }
.contact-team-email span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-team-email:hover, .contact-team-email:focus-visible { color: var(--red); background: var(--red-light); border-color: rgba(198,40,57,.28); transform: translateY(-2px); outline: none; }
.footer { position: relative; overflow: hidden; background: #171b26; }
.footer::after { content: ""; position: absolute; right: -10%; top: -25%; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; pointer-events: none; }
.footer > .container { position: relative; z-index: 1; }
.footer-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; margin-bottom: 44px; background: linear-gradient(105deg, rgba(198,40,57,.22), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.footer-topline > div { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-kicker { color: #f27b87; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.footer-topline strong { color: #fff; font-size: .94rem; }
.footer-topline-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; color: #fff !important; background: #20b858; border-radius: 8px; font-size: .78rem; font-weight: 750; text-decoration: none !important; white-space: nowrap; }
.footer-topline-cta:hover { background: #168c43; transform: translateY(-1px); }
.footer-status { display: flex; align-items: center; gap: 7px; margin-top: 13px; color: #aeb7c7; font-size: .72rem; }
.footer-status i { color: #42d477; font-size: .5rem; }
.footer .footer-grid { position: relative; }
.footer .footer-grid > div:first-child { max-width: 330px; }
.footer .footer-logo { font-size: 1.55rem; letter-spacing: .04em; }
.footer .footer-social a { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.04); }
.footer .footer-social a:hover { color: #fff; background: var(--red); border-color: var(--red); }
.footer .footer-bottom { border-top-color: rgba(255,255,255,.12); }

/* ── Footer : marque, liens légaux, retour en haut ── */
.footer-brand { max-width: 330px; }
.footer .footer-logo { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-logo-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .28);
    flex-shrink: 0;
}
.footer-logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-logo-word { font-size: 1.3rem; font-weight: 800; letter-spacing: .04em; color: #fff; }
.footer-logo .accent { color: var(--yellow); }
.footer .footer-bottom { align-items: center; gap: 16px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: #64748b; font-size: .76rem; margin: 0; }
.footer-legal a:hover { color: #fff; transform: none; }
.footer-top-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: #cbd5e1;
    font-size: .9rem;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.footer-top-btn:hover,
.footer-top-btn:focus-visible {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-2px);
    outline: none;
}
@media (max-width: 768px) {
    .contact-hero { padding: 68px 0 82px; }
    .contact-cards { margin-top: -34px; }
    .contact-form-wrapper { padding: 28px 24px; }
    .contact-team-heading { align-items: flex-start; flex-direction: column; }
    .contact-team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-topline { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
}
@media (max-width: 480px) {
    .contact-hero h1 { font-size: 2.35rem; }
    .contact-hero p { font-size: 1rem; }
    .contact-form-wrapper { padding: 24px 18px; }
    .contact-card { min-height: 145px; padding: 20px 14px; }
    .contact-team-grid { grid-template-columns: 1fr; }
    .footer-topline { padding: 18px; }
    .footer-topline > div { align-items: flex-start; flex-direction: column; gap: 7px; }
    .footer-topline-cta { width: 100%; justify-content: center; }
}

/* Accueil mobile : grille compacte de 4 expertises par ligne. */
@media (max-width: 767px) {
    .expertise-section { padding-top: 48px; padding-bottom: 48px; }
    .expertise-section .section-label { font-size: .68rem; }
    .expertise-section .section-title { max-width: 320px; margin-bottom: 12px; font-size: 1.55rem; line-height: 1.16; }
    .expertise-section .section-sub { max-width: 320px; margin-bottom: 0; font-size: .78rem; line-height: 1.5; }
    .expertise-section .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 1px; border-radius: 12px; }
    .expertise-section .service-card { display: flex; min-height: 108px; padding: 12px 5px; align-items: center; flex-direction: column; justify-content: center; text-align: center; }
    .expertise-section .service-card .service-icon { width: 30px; height: 30px; margin-bottom: 7px; border-radius: 9px; font-size: .78rem; }
    .expertise-section .service-card h3 { margin: 0; font-size: .57rem; line-height: 1.18; word-break: normal; overflow-wrap: anywhere; }
    .expertise-section .service-card p { display: none; }
    .expertise-section > .container > div:last-child { margin-top: 22px !important; }
    .expertise-section > .container > div:last-child .btn { min-height: 34px; padding: 7px 11px; font-size: .68rem; }

    .hero-slide-content { max-width: 100%; padding: 0 18px; }
    .hero-slide-content h1 { margin-bottom: 12px; font-size: 1.82rem; line-height: 1.08; }
    .hero-slide-content p { max-width: 330px; font-size: .78rem; line-height: 1.5; }
    .hero-btns { gap: 8px; margin-top: 18px; }
    .hero-btns .btn { min-height: 34px; padding: 7px 10px; border-radius: 8px; font-size: .67rem; }
    .hero-btns .btn i { font-size: .58rem !important; }
}

/* Hero mobile final : contenu respirant, compact et sans débordement. */
@media (max-width: 767px) {
    .hero-banner {
        height: clamp(500px, 78svh, 620px);
        min-height: 500px;
        max-height: 620px;
        margin-top: 64px;
        overflow: hidden;
    }
    .hero-track, .hero-slide { height: 100%; min-height: 0; }
    .hero-slide-overlay {
        align-items: flex-start;
        padding: 58px 0 72px;
        background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 62%, rgba(255,255,255,.9) 100%);
    }
    .hero-slide-overlay .container { width: 100%; }
    .hero-slide-content { width: min(100%, 360px); margin: 0 auto; padding: 0 16px; }
    .hero-slide-content > * { will-change: opacity, transform; }
    .hero-slide-content .hero-badge { max-width: 100%; margin-bottom: 16px; padding: 6px 11px; font-size: .61rem; letter-spacing: .06em; }
    .hero-slide-content h1,
    .hero-slide-content h2 {
        max-width: 320px;
        margin: 0 0 12px;
        font-size: clamp(1.55rem, 7.4vw, 2.15rem);
        line-height: 1.08;
        letter-spacing: -.025em;
        overflow-wrap: anywhere;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
    }
    .hero-slide-content p { max-width: 330px; margin-bottom: 19px; font-size: clamp(.76rem, 3.5vw, .9rem); line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
    .hero-btns { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 0; }
    .hero-btns .btn { width: auto; min-height: 34px; max-width: 100%; padding: 7px 11px; border-radius: 8px; font-size: .68rem; line-height: 1.2; white-space: normal; }
    .hero-btns .btn i { margin-left: 3px; font-size: .58rem !important; }
    .hero-logo-bg { top: 43%; height: 57%; opacity: .3 !important; transform: scale(1.3) translate(14%, 10%); transform-origin: center bottom; }
    .hero-ghost-ring { opacity: .04; }
    .hero-blobs { opacity: .6; transform: scale(.82); transform-origin: 70% 40%; }
    .hero-blob { filter: blur(36px); }
    .hero-grid-overlay { opacity: .35; }
    .hero-noise { opacity: .025; }
    .hero-streak { opacity: .5; }
    .hero-slider-arrow { top: auto; bottom: 48px; width: 30px; height: 30px; font-size: .7rem; }
    .hero-slider-prev { left: 12px; }
    .hero-slider-next { right: 12px; }
    .hero-slider-counter { top: 18px; right: 16px; }
    .hero-slider-dots { bottom: 20px; }
    .hero-slider-progress { height: 2px; }
}
@media (max-width: 360px) {
    .hero-banner { height: clamp(480px, 82svh, 560px); min-height: 480px; }
    .hero-slide-overlay { padding-top: 48px; padding-bottom: 62px; }
    .hero-slide-content { padding: 0 12px; }
    .hero-slide-content .hero-badge { max-width: 92%; font-size: .56rem; }
    .hero-slide-content h1, .hero-slide-content h2 { font-size: clamp(1.42rem, 7.7vw, 1.8rem); }
    .hero-slide-content p { max-width: 290px; font-size: .72rem; }
    .hero-btns .btn { padding: 6px 9px; font-size: .63rem; }
}

/* Navigation mobile : panneau clair, actions hiérarchisées et fermeture accessible. */
@media (max-width: 768px) {
    body.menu-is-open { overflow: hidden; }
    .menu-btn { position: relative; z-index: 10001; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border-color: rgba(198,40,57,.2); color: var(--red); background: #fff; box-shadow: 0 5px 14px rgba(20,20,30,.07); font-size: 1rem; }
    .menu-btn[aria-expanded="true"] { color: #fff; background: var(--red); border-color: var(--red); }
    .nav-links { top: 64px; padding: 18px 16px 30px; background: rgba(255,255,255,.97); border-top: 1px solid rgba(198,40,57,.12); box-shadow: 0 22px 50px rgba(15,23,42,.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
    .nav-links::before { content: "DigiCom Agency"; display: block; padding: 0 12px 14px; color: var(--red); border-bottom: 1px solid var(--border); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
    .nav-item { border-bottom: 1px solid rgba(226,232,240,.7); }
    .nav-item:last-child { border-bottom: 0; }
    .nav-link { display: flex; align-items: center; min-height: 48px; padding: 12px 13px; color: var(--text); font-size: .92rem; font-weight: 700; }
    .nav-link:hover, .nav-link.active { color: var(--red); background: var(--red-light); }
    .nav-drop-parent.open > .nav-link, .nav-mega-parent.open > .nav-link { color: var(--red); background: var(--red-light); }
    .nav-drop, .nav-mega { margin: 0 8px 8px; padding: 4px 0; background: #fffafa; border-left: 2px solid var(--red-light); border-radius: 0 10px 10px 0; }
    .nav-drop-link, .nav-mega-item { min-height: 42px; padding: 10px 12px 10px 18px; border-radius: 7px; font-size: .81rem; }
    .nav-mega-item:hover, .nav-drop-link:hover { color: var(--red); background: var(--red-light); }
    .nav-mega-grid { gap: 2px; }
    .nav-mega-icon { color: var(--red); }
    .nav-actions { gap: 9px; margin-top: 16px; padding: 17px 0 0; border-top: 1px solid rgba(198,40,57,.15); border-bottom: 0; }
    .nav-btn { min-height: 43px; border-radius: 9px; font-size: .82rem; }
    .nav-btn-primary { box-shadow: 0 7px 16px rgba(198,40,57,.2); }
    .lang-switch { width: max-content; margin: 13px auto 0; padding: 3px; border: 1px solid var(--border); }
    .lang-opt { min-width: 42px; padding: 7px 10px; text-align: center; }
}

/* Correctif global : le menu doit rester visible au-dessus de tous les headers de page. */
@media (max-width: 1024px) {
    .nav { z-index: 20000 !important; }
    .menu-btn { display: grid !important; position: relative; z-index: 20002; }
    .nav-links { z-index: 20001 !important; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links { position: fixed; top: 74px; left: 0; right: 0; bottom: 0; display: none; flex-direction: column; align-items: stretch; overflow-y: auto; padding: 18px 24px 32px; background: rgba(255,255,255,.98); }
    .nav-links.open { display: flex; }
    .nav-item { width: 100%; }
    .nav-link { width: 100%; min-height: 46px; }
    .nav-actions { flex-direction: column; align-items: stretch; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--border); }
    .nav-btn { justify-content: center; width: 100%; }
    .lang-switch { width: max-content; margin: 12px auto 0; }
}

/* ══ Footer — thème clair, pro & chaleureux ══ */
.footer {
    background: #ffffff;
    color: var(--text-secondary);
    padding: 68px 0 26px;
    border-top: 1px solid var(--border);
}
.footer::before {
    background: linear-gradient(90deg, var(--red-dark), var(--red), #e14955, var(--red));
}
.footer::after {
    border-color: rgba(198, 40, 57, .08);
}
.footer h4 { color: var(--text); }
.footer p { color: var(--text-secondary); }
.footer a { color: var(--text-secondary); }
.footer a:hover { color: var(--red); }
.footer-topline {
    background: linear-gradient(105deg, var(--red-light), var(--bg-alt));
    border: 1px solid rgba(198, 40, 57, .14);
}
.footer-kicker { color: var(--red); }
.footer-topline strong { color: var(--text); }
.footer-logo-word { color: var(--text); }
.footer-logo .accent { color: var(--red); }
.footer-logo-mark {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 3px 12px rgba(15, 23, 42, .06);
}
.footer .footer-social a {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.footer .footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}
.footer-status { color: var(--text-secondary); }
.footer .footer-bottom {
    border-top-color: var(--border);
    color: var(--text-muted);
}
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--red); }
.footer-top-btn {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.footer-top-btn:hover,
.footer-top-btn:focus-visible {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* ── Page service : photo professionnelle dans le hero + galerie ── */
.service-hero-media {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(72, 24, 34, .2), 0 2px 8px rgba(72, 24, 34, .08);
}
.service-hero-media img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    filter: none;
    animation: none;
}
.service-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(198, 40, 57, .18), rgba(23, 11, 16, .2));
    mix-blend-mode: multiply;
}
.service-showcase { padding-top: 24px; }
.service-showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-showcase-figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #7b1324, #d73549); box-shadow: var(--shadow-md); }
.service-showcase-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.service-showcase-figure:hover img { transform: scale(1.06); }
.service-showcase-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; font-size: .84rem; font-weight: 700; background: linear-gradient(to top, rgba(23, 11, 16, .85), rgba(23, 11, 16, 0)); }
@media (max-width: 800px) {
    .service-hero-media img { height: 300px; }
    .service-showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .service-hero-media img { height: 240px; }
}
