:root {
    --primary: #0a1628;
    --primary-light: #1a2a4a;
    --accent: #1d4ed8;
    --accent-hover: #1e40af;
    --accent-glow: rgba(29, 78, 216, 0.15);
    --text: #0f172a;
    --text-light: #475569;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0a1628;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(29,78,216,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== ACCESSIBILITÉ ===== */
.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 2000;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--accent);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-img {
    height: 46px;
    width: auto;
    display: block;
}

/* Sélecteur de langue */
.lang-link {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px !important;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.lang-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.legal-nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand-img {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 14px;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 12px;
}

.footer-logo-full {
    width: 150px;
    height: auto;
    display: block;
    margin-bottom: 18px;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.contact-logo {
    width: 120px;
    height: auto;
    display: block;
    margin-bottom: 22px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-accent {
    font-weight: 400;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
    background: var(--accent-glow);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 18px;
}

.nav-cta:hover {
    background: var(--accent-hover);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(29,78,216,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(29,78,216,0.05) 0%, transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(29,78,216,0.08);
    border: 1px solid rgba(29,78,216,0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.hero-pillars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.pillar-sep {
    color: var(--accent);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.hero-link:hover {
    gap: 10px;
    color: var(--accent-hover);
}

.hero-visual {
    margin: 56px auto 0;
    max-width: 960px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(10, 22, 40, 0.28), 0 0 0 1px rgba(29, 78, 216, 0.15);
    position: relative;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 22, 40, 0.35) 100%);
    pointer-events: none;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(10,22,40,0.25);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10,22,40,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.btn-light {
    background: #fff;
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.hero-scroll {
    display: none;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* ===== STATS BAND ===== */
.stats-band {
    background: var(--bg-dark);
    padding: 64px 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.stats-band .stat-num {
    background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-top: 8px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 820px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.section-dark {
    background: var(--bg-dark);
    color: #fff;
}

.section-dark .section-title,
.section-dark .section-desc {
    color: #fff;
}

.section-dark .section-desc {
    opacity: 0.7;
}

.section-alt {
    background: var(--bg-alt);
}

/* ===== SERVICES / SOLUTIONS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    position: relative;
}

.service-card.featured::before {
    content: 'Le plus demandé';
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 100px;
}

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--accent);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== FLOTTE ===== */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
}

.fleet-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.fleet-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.fleet-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.fleet-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.fleet-count {
    flex-shrink: 0;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    white-space: nowrap;
}

.fleet-vol {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.fleet-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

.fleet-models {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    font-weight: 500;
}

.fleet-ev {
    border-color: #86efac;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.fleet-ev .fleet-count {
    background: #16a34a;
}

.fleet-ev .fleet-vol {
    color: #16a34a;
}

/* Emplacements photos */
.photo-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.photo-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 140px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255,255,255,0.5);
}

.photo-slot svg {
    width: 28px;
    height: 28px;
    opacity: 0.6;
}

.photo-slot.photo-real {
    padding: 0;
    border: none;
    background: none;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    box-shadow: var(--shadow);
}

.photo-slot.photo-real img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-slot.photo-real:hover img {
    transform: scale(1.05);
}

.photo-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 28px 14px 12px;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.photo-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 14px;
    font-style: italic;
}

/* Bloc capacité */
.capacity-block {
    margin-top: 56px;
    background: var(--primary);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    color: #fff;
}

.capacity-text h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.capacity-text p {
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.capacity-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    margin-bottom: 32px;
}

.capacity-chips li {
    padding: 8px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

/* ===== SPLIT (flotte dédiée) ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-content .section-tag,
.split-content .section-title,
.split-content .section-desc {
    text-align: left;
    margin-left: 0;
}

.check-list {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Carrières — Devenir chauffeur */
.career-perks {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.career-perks li {
    position: relative;
    padding-left: 30px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.career-perks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-glow);
    box-shadow: inset 0 0 0 5px var(--accent);
}

.form-heading {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.form-sub {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-glow);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.split-note {
    margin-top: 28px;
    padding: 16px 20px;
    background: var(--bg-alt);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 500;
}

.split-visual {
    display: flex;
    justify-content: center;
}

.formula-card {
    width: 100%;
    max-width: 360px;
    background: var(--bg-dark);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.formula-item {
    padding: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
}

.formula-op,
.formula-eq {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
    padding: 6px 0;
}

.formula-result {
    padding: 16px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

/* ===== RENFORT ===== */
.reinforce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.reinforce-item {
    padding: 20px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.reinforce-item:hover {
    background: rgba(29,78,216,0.12);
    border-color: var(--accent);
}

.reinforce-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== SUPERVISION ===== */
.supervision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 24px;
}

.sup-item {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.sup-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.sup-item svg {
    width: 36px;
    height: 36px;
    color: var(--accent);
    margin-bottom: 18px;
}

.sup-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.sup-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== TRUST BAND ===== */
.trust-band {
    background: var(--bg-alt);
    padding: 72px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 40px;
}

.trust-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.trust-item svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.trust-item strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.trust-item p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== SYPHAX / S360 ===== */
.syphax-section {
    overflow: hidden;
}

.syphax-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.syphax-content .section-tag {
    background: rgba(29,78,216,0.15);
}

.syphax-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.sf-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

.syphax-note {
    margin-top: 24px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    font-style: italic;
}

.syphax-visual {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.syphax-ring {
    position: absolute;
    border: 1px solid rgba(29,78,216,0.2);
    border-radius: 50%;
    animation: ringPulse 3s infinite;
}

.syphax-ring:nth-child(1) { width: 100%; height: 100%; animation-delay: 0s; }
.syphax-ring:nth-child(2) { width: 70%; height: 70%; animation-delay: 1s; }
.syphax-ring:nth-child(3) { width: 40%; height: 40%; animation-delay: 2s; }

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.6; }
}

.syphax-center {
    position: relative;
    z-index: 1;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}

/* ===== SECTEURS ===== */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
}

.sector-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: var(--transition);
}

.sector-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.sector-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}

.sector-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.sector-item ul {
    list-style: none;
}

.sector-item li {
    padding: 4px 0 4px 18px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
}

.sector-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== ZONES ===== */
.zones-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.zones-content .section-tag,
.zones-content .section-title,
.zones-content .section-desc {
    text-align: left;
    margin-left: 0;
}

.zones-content .section-title {
    margin-bottom: 20px;
}

.zones-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zone-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.zone-pin {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.zone-pin-possible {
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.zone-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.zone-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.zones-new {
    margin-top: 36px;
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.zones-new h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.zones-new p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
}

.zones-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.zone-card {
    width: 100%;
    max-width: 280px;
    padding: 24px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.zone-label {
    font-weight: 600;
}

.zone-status {
    padding: 4px 12px;
    background: rgba(34,197,94,0.1);
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.zone-status.possible {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.zone-card-possible {
    border-style: dashed;
}

.zone-connector {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--border), var(--accent), var(--border));
}

/* ===== RÉFÉRENCES / PREUVES ===== */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.proof-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
}

.proof-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.proof-card svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}

.proof-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.proof-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

.ref-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ref-note a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.ref-note a:hover {
    text-decoration: underline;
}

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    list-style: none;
    min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

.faq-icon::before {
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 2px;
    left: 9px;
    width: 2px;
    height: 16px;
}

.faq-item[open] .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 24px 22px;
}

.faq-answer p {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CTA FINAL ===== */
.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 100px 24px;
    text-align: center;
}

.cta-final h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.cta-final p {
    max-width: 620px;
    margin: 0 auto 36px;
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-final-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-tag,
.contact-info .section-title,
.contact-info .section-desc {
    text-align: left;
    margin-left: 0;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-item:hover {
    border-color: var(--accent);
    background: var(--bg);
    box-shadow: var(--shadow);
}

.ci-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ci-icon svg {
    width: 20px;
    height: 20px;
}

.ci-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ci-value {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 2px;
    word-break: break-word;
}

/* Empêche le débordement : les enfants de grilles et les listes déroulantes
   peuvent rétrécir sous leur contenu minimal */
.contact-layout > *,
.split-layout > *,
.zones-layout > *,
.syphax-layout > *,
.form-group,
fieldset.form-step,
select {
    min-width: 0;
}

.ci-value {
    overflow-wrap: anywhere;
}

/* ===== FORMULAIRE ===== */
.contact-form-wrapper {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.fp-step {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition);
}

.fp-step.active {
    color: var(--accent);
}

.fp-bar {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.fp-fill {
    display: block;
    width: 0;
    height: 100%;
    background: var(--accent);
    transition: width 0.4s ease;
}

.form-progress.step2 .fp-fill {
    width: 100%;
}

fieldset.form-step {
    border: none;
    display: none;
    flex-direction: column;
    gap: 18px;
}

fieldset.form-step.active {
    display: flex;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-actions {
    display: flex;
    gap: 12px;
}

.form-actions .btn {
    flex: 1;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.form-note a {
    color: var(--accent);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 80px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 64px;
}

.footer-logo {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-domain {
    margin-top: 12px;
    color: var(--accent);
    font-weight: 600;
}

.footer-links h2 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a,
.footer-links span {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-cookie-btn {
    display: block;
    background: none;
    border: none;
    padding: 6px 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.footer-cookie-btn:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ===== BOUTON FLOTTANT MOBILE ===== */
.float-contact {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 900;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.float-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(29,78,216,0.45);
    min-height: 48px;
    transition: var(--transition);
}

.float-btn:active {
    transform: scale(0.96);
}

.float-menu {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow-lg);
    min-width: 230px;
}

.float-menu.open {
    display: flex;
}

.float-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 44px;
    transition: var(--transition);
}

.float-menu a:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

/* ===== COOKIES ===== */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1500;
    display: flex;
    justify-content: center;
}

.cookie-content {
    width: 100%;
    max-width: 720px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: 0 20px 60px rgba(10,22,40,0.25);
}

.cookie-content h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-customize {
    background: none;
    border: none;
    color: var(--accent);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 8px;
    min-height: 44px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background: rgba(10,22,40,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal {
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 20px 60px rgba(10,22,40,0.3);
}

.cookie-modal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.cookie-cat {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin-bottom: 14px;
}

.cookie-cat-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.cookie-cat strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cookie-cat p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

.cookie-always {
    flex-shrink: 0;
    padding: 4px 12px;
    background: var(--bg-alt);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.switch {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 28px;
    cursor: pointer;
}

.switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.switch-slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 100px;
    transition: var(--transition);
    pointer-events: none;
}

.switch-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.switch input:checked + .switch-slider {
    background: var(--accent);
}

.switch input:checked + .switch-slider::before {
    transform: translateX(20px);
}

.switch input:focus-visible + .switch-slider {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.cookie-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cookie-modal-link {
    margin-top: 16px;
    text-align: center;
    font-size: 0.82rem;
}

.cookie-modal-link a {
    color: var(--accent);
    text-decoration: none;
}

.cookie-modal-link a:hover {
    text-decoration: underline;
}

/* ===== PAGES LÉGALES ===== */
.legal-hero {
    background: var(--bg-dark);
    color: #fff;
    padding: 140px 24px 64px;
}

.legal-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.legal-hero p {
    color: rgba(255,255,255,0.6);
    margin-top: 10px;
    font-size: 0.95rem;
}

.legal-body {
    padding: 64px 24px 100px;
}

.legal-body .container {
    max-width: 760px;
}

.legal-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 40px 0 12px;
}

.legal-body p,
.legal-body li {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

.legal-body ul {
    padding-left: 22px;
    margin: 12px 0;
}

.legal-body a {
    color: var(--accent);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 48px;
}

.legal-back:hover {
    text-decoration: underline;
}

/* ===== ANIMATIONS D'APPARITION ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .zones-layout,
    .syphax-layout,
    .contact-layout,
    .split-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .zones-visual {
        order: -1;
    }

    .syphax-visual {
        order: -1;
        width: 240px;
        height: 240px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .float-contact {
        display: flex;
    }

    /* Espace pour ne pas masquer le bas du footer */
    .footer-bottom {
        padding-bottom: 80px;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
        align-items: stretch;
    }

    .nav-menu .nav-link {
        display: block;
        text-align: center;
        padding: 14px;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 130px 20px 90px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-pillars {
        gap: 10px;
        font-size: 0.72rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .capacity-block {
        padding: 32px 24px;
    }

    .section {
        padding: 64px 20px;
    }

    .cookie-actions .btn {
        width: 100%;
    }

    .cookie-customize {
        width: 100%;
        text-align: center;
    }
}

/* ===== RÉDUCTION DES ANIMATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== MODERNISATION ===== */
/* Hero : halos animés */
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
}

.hero-bg::before {
    width: 480px;
    height: 480px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(29,78,216,0.22) 0%, transparent 70%);
    animation: heroFloat 14s ease-in-out infinite;
}

.hero-bg::after {
    width: 380px;
    height: 380px;
    bottom: -100px;
    left: -60px;
    background: radial-gradient(circle, rgba(99,102,241,0.16) 0%, transparent 70%);
    animation: heroFloat 18s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 24px) scale(1.08); }
}

/* Tags de section avec point */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* Survol des cartes : ligne d'accent animée */
.service-card,
.fleet-card,
.sup-item,
.proof-card,
.sector-item {
    position: relative;
    overflow: hidden;
}

.service-card::after,
.fleet-card::after,
.sup-item::after,
.proof-card::after,
.sector-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #1e40af);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::after,
.fleet-card:hover::after,
.sup-item:hover::after,
.proof-card:hover::after,
.sector-item:hover::after {
    transform: scaleX(1);
}

/* Lien carte (vers la division déneigement) */
.card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--accent-hover);
    letter-spacing: 0.01em;
}

/* Bandeau défilant */
.marquee {
    overflow: hidden;
    padding: 18px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.marquee-track i {
    font-style: normal;
    color: var(--accent);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Bandeau chiffres : ligne d'accent */
.stats-band {
    position: relative;
}

.stats-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), #1e40af, transparent);
}

/* CTA final : halo */
.cta-final {
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(29,78,216,0.25) 0%, transparent 65%);
    pointer-events: none;
}

.cta-final .container {
    position: relative;
}

/* ===== DÉNEIGEMENT ===== */
.snow-section {
    position: relative;
    background: linear-gradient(160deg, #0a1628 0%, #0e2138 55%, #12304f 100%);
    color: #fff;
    overflow: hidden;
}

.snow-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 85% 15%, rgba(125,211,252,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(29,78,216,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.snow-section .container {
    position: relative;
}

.section-tag-snow {
    background: rgba(125,211,252,0.12);
    color: #7dd3fc;
}

.section-tag-snow::before {
    background: #7dd3fc;
}

.snow-section .section-title,
.snow-section .section-desc {
    color: #fff;
}

.snow-section .section-desc {
    opacity: 0.72;
}

.snow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 20px;
}

.snow-item {
    padding: 30px 28px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(125,211,252,0.14);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.snow-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7dd3fc, var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.snow-item:hover {
    background: rgba(125,211,252,0.08);
    border-color: rgba(125,211,252,0.4);
    transform: translateY(-4px);
}

.snow-item:hover::after {
    transform: scaleX(1);
}

.snow-item svg {
    width: 34px;
    height: 34px;
    color: #7dd3fc;
    margin-bottom: 16px;
}

.snow-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.snow-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.65;
}

.snow-highlight {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding: 32px 40px;
    background: rgba(125,211,252,0.07);
    border: 1px solid rgba(125,211,252,0.2);
    border-radius: var(--radius);
}

.snow-highlight-text {
    max-width: 560px;
}

.snow-highlight-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #bae6fd;
}

.snow-highlight-text p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
}

.snow-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .snow-highlight {
        padding: 28px 24px;
    }

    .snow-actions,
    .snow-actions .btn {
        width: 100%;
    }

    .marquee-track span {
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg::before,
    .hero-bg::after,
    .marquee-track {
        animation: none;
    }
}

/* ===== PHASE 8 : TECHNOLOGIES MODERNES ===== */

/* Barre de progression de défilement */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #60a5fa, #c8a24b, var(--accent));
    background-size: 200% 100%;
    animation: progressShine 3s linear infinite;
    z-index: 2000;
    box-shadow: 0 0 14px rgba(29, 78, 216, 0.55);
    pointer-events: none;
}
@keyframes progressShine {
    to { background-position: 200% 0; }
}

/* Navbar : effet verre renforcé au défilement */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.1);
}
.dark .navbar.scrolled,
body.theme-dark .navbar.scrolled {
    background: rgba(10, 22, 40, 0.7);
}

/* Carte contact : Syphax Benghanem */
.contact-person {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(200, 162, 75, 0.05));
    border: 1px solid rgba(29, 78, 216, 0.25);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.contact-person::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    animation: cardSheen 5s ease-in-out infinite;
}
@keyframes cardSheen {
    0%, 60% { left: -60%; }
    100% { left: 130%; }
}
.cp-avatar {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #c8a24b);
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.4);
}
.cp-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cp-info strong {
    font-size: 1.05rem;
    color: var(--text);
}
.cp-role {
    font-size: 0.85rem;
    color: var(--text-muted, #64748b);
}
.cp-phone {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}
.cp-phone:hover {
    text-decoration: underline;
}

/* Zones : ligne d'itinéraire animée (grande logistique) */
.zones-visual {
    position: relative;
    gap: 32px;
    padding: 12px 0;
}
.route-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.route-dash {
    animation: routeFlow 1.6s linear infinite;
}
@keyframes routeFlow {
    to { stroke-dashoffset: -28; }
}
.route-dot-svg {
    filter: drop-shadow(0 0 6px rgba(29, 78, 216, 0.9));
}
.zones-visual .zone-card {
    position: relative;
    z-index: 1;
}

/* Photo flotte vedette (pleine largeur) */
.photo-featured {
    display: block;
    margin: 40px auto 0;
    max-width: 960px;
}
.photo-featured .photo-slot.photo-real {
    width: 100%;
}
.photo-featured .photo-real img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

/* Bordures dégradées animées (propriété CSS enregistrée) */
@property --gbv-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes gbvSpin {
    to { --gbv-angle: 360deg; }
}
@supports (background: conic-gradient(from var(--gbv-angle), red, blue)) {
    @media (prefers-reduced-motion: no-preference) {
        .zones-visual .zone-card,
        .contact-person {
            border: 1px solid transparent;
            background:
                linear-gradient(var(--bg, #fff), var(--bg, #fff)) padding-box,
                conic-gradient(from var(--gbv-angle),
                    rgba(29, 78, 216, 0.55),
                    rgba(29, 78, 216, 0.06) 30%,
                    rgba(200, 162, 75, 0.4) 55%,
                    rgba(29, 78, 216, 0.06) 80%,
                    rgba(29, 78, 216, 0.55)) border-box;
            animation: gbvSpin 7s linear infinite;
        }
        .contact-person {
            background:
                linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(200, 162, 75, 0.05)) padding-box,
                conic-gradient(from var(--gbv-angle),
                    rgba(29, 78, 216, 0.55),
                    rgba(29, 78, 216, 0.06) 30%,
                    rgba(200, 162, 75, 0.4) 55%,
                    rgba(29, 78, 216, 0.06) 80%,
                    rgba(29, 78, 216, 0.55)) border-box;
        }
    }
}

/* Animations pilotées par le défilement (navigateurs récents) */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .zone-card,
        .stat-item {
            animation: gbvRise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 45%;
        }
        @keyframes gbvRise {
            from { opacity: 0.2; transform: translateY(24px) scale(0.98); }
            to { opacity: 1; transform: none; }
        }
    }
}

/* Accessibilité : pas de mouvement si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
    .scroll-progress { animation: none; }
    .route-dash { animation: none; }
    .route-dot-svg { display: none; }
    .contact-person::before { display: none; }
}

/* ===== PHASE 9 : ULTRA-MODERNE (août 2026) ===== */

/* --- Double contact --- */
.contact-people {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}
.contact-people .contact-person {
    margin-top: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.cp-city {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(29, 78, 216, 0.12);
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 4px;
}
.cp-city::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}
.cp-avatar-alt {
    background: linear-gradient(135deg, #0f2a5c, #1d4ed8);
}
@media (max-width: 640px) {
    .contact-people { grid-template-columns: 1fr; }
}

/* --- View Transitions (transitions de pages natives, MPA) --- */
@view-transition {
    navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.35s;
}

/* --- Typographie cinétique : équilibre et anti-orphelins --- */
h1, h2, h3, .hero-title, .section-title {
    text-wrap: balance;
}
p, li {
    text-wrap: pretty;
}

/* --- Halo qui suit le curseur (spotlight) --- */
.spotlight {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 20%),
        rgba(29, 78, 216, 0.07), transparent 65%);
    opacity: 0;
    transition: opacity 0.6s ease;
}
body.spotlight-on .spotlight { opacity: 1; }

/* --- Hero : grille futuriste animée + titre mot à mot --- */
.hero {
    position: relative;
    overflow: hidden;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(29, 78, 216, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 78, 216, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
    animation: gridDrift 24s linear infinite;
}
@keyframes gridDrift {
    to { background-position: 56px 56px, 56px 56px; }
}
.hero-title .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.6em) rotate(2deg);
    animation: wordIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--wd, 0s);
}
@keyframes wordIn {
    to { opacity: 1; transform: none; }
}

/* --- Boutons magnétiques + lueur --- */
.btn {
    position: relative;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    will-change: transform;
}
.btn-light:hover, .btn-primary:hover {
    box-shadow: 0 10px 34px rgba(29, 78, 216, 0.45), 0 0 0 1px rgba(29, 78, 216, 0.35);
}

/* --- Inclinaison 3D des cartes --- */
.tilt {
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    will-change: transform;
}
.tilt:hover {
    box-shadow: 0 24px 60px rgba(10, 22, 40, 0.18);
}
.tilt > * {
    transform: translateZ(18px);
}

/* --- Reflet lumineux au survol des cartes de service --- */
.service-card, .fleet-card, .sector-item, .proof-card {
    position: relative;
    overflow: hidden;
}
.service-card::after, .fleet-card::after, .sector-item::after, .proof-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(320px circle at var(--hx, 50%) var(--hy, 50%), rgba(29, 78, 216, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-card:hover::after, .fleet-card:hover::after,
.sector-item:hover::after, .proof-card:hover::after {
    opacity: 1;
}

/* --- Formulaire : validation native via :has() --- */
.form-group:has(input:not(:placeholder-shown):invalid) input,
.form-group:has(textarea:not(:placeholder-shown):invalid) textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.form-group:has(input:not(:placeholder-shown):valid) input,
.form-group:has(textarea:not(:placeholder-shown):valid) textarea,
.form-group:has(select:valid) select {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}
.contact-form:has(:invalid) button[type="submit"] {
    opacity: 0.85;
}

/* --- Barre de défilement personnalisée --- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a1628; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent), #c8a24b);
    border-radius: 100px;
    border: 2px solid #0a1628;
}
html { scrollbar-color: var(--accent) #0a1628; scrollbar-width: thin; }

/* --- Sélection de texte --- */
::selection {
    background: rgba(29, 78, 216, 0.85);
    color: #fff;
}

/* --- Apparition échelonnée (stagger) --- */
.stagger > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--sd, 0s);
}
.stagger.in > * {
    opacity: 1;
    transform: none;
}

/* --- Soulignement animé des liens de navigation --- */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), #c8a24b);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after, .nav-link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Accessibilité mouvement --- */
@media (prefers-reduced-motion: reduce) {
    .hero-grid-bg { animation: none; }
    .hero-title .w { opacity: 1; transform: none; animation: none; }
    .tilt { transform: none !important; }
    .stagger > * { opacity: 1; transform: none; transition: none; }
    .spotlight { display: none; }
}

/* ===== PHASE 10 : COUCHE TECHNOLOGIQUE ===== */

/* Texte en dégradé animé (flux de lumière) */
.gradient-text {
    background: linear-gradient(120deg, var(--accent), #c8a24b, #0f2a5c, var(--accent));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease-in-out infinite;
}
@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Réseau de particules dans le hero */
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.55;
}

/* Anneau conique tournant derrière le visuel du hero */
.hero-visual {
    position: relative;
}
.hero-visual::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: calc(var(--radius) + 14px);
    background: conic-gradient(from var(--gbv-angle, 0deg),
        transparent 0%, rgba(29, 78, 216, 0.5) 12%, transparent 30%,
        transparent 50%, rgba(200, 162, 75, 0.45) 62%, transparent 80%);
    animation: gbvSpin2 8s linear infinite;
    z-index: -1;
    filter: blur(1px);
}
@keyframes gbvSpin2 {
    to { --gbv-angle: 360deg; }
}
@supports not (background: conic-gradient(from var(--gbv-angle), red, blue)) {
    .hero-visual::before { display: none; }
}

/* Grain cinématique subtil sur le hero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* Badge hero : pulsation lumineuse */
.badge-dot {
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.6); }
    50% { box-shadow: 0 0 0 7px rgba(29, 78, 216, 0); }
}

/* Statistiques : lueur au survol */
.stat-item {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-item:hover {
    transform: translateY(-4px);
}
.stat-item:hover .counter {
    text-shadow: 0 0 24px rgba(29, 78, 216, 0.55);
}

@media (prefers-reduced-motion: reduce) {
    .gradient-text { animation: none; background-position: 0 50%; }
    .hero-particles { display: none; }
    .hero-visual::before { animation: none; }
    .badge-dot { animation: none; }
}

/* ===== PHASE 11 : STABILITÉ MOBILE + PALETTE CLASSE ===== */

/* Anti-débordement horizontal absolu + anti-gonflement du texte iOS */
html, body {
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
img, video, canvas, svg { max-width: 100%; }
section, .nav-container, .footer-grid, .contact-grid { min-width: 0; }
.service-card, .fleet-card, .sector-item, .proof-card, .zone-card, .contact-person { min-width: 0; }

/* Détails or champagne pour un rendu plus classe */
.badge-dot { background: #c8a24b; }
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200, 162, 75, 0.6); }
    50% { box-shadow: 0 0 0 7px rgba(200, 162, 75, 0); }
}
.section-tag, .hero-badge { border-color: rgba(200, 162, 75, 0.35); }
.hero-badge { background: rgba(200, 162, 75, 0.08); }

/* Dégradé signature : bleu nuit -> royal -> or */
.gradient-text {
    background: linear-gradient(120deg, #1d4ed8, #3b5fd9 35%, #c8a24b 70%, #1d4ed8);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 7s ease-in-out infinite;
}

/* ===================================================================
   V5 — Multi-service, S360 vidéo, carte des pôles, formulaires, pages
   =================================================================== */

/* Multi-service (déneigement condensé) */
.multi-band { padding: 40px 24px; }
.multi-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 28px 32px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    box-shadow: var(--shadow);
}
.multi-icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--bg);
    color: var(--accent);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.12);
}
.multi-icon svg { width: 28px; height: 28px; }
.multi-text .section-tag { margin-bottom: 8px; }
.multi-text h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.multi-text p { color: var(--text-light); font-size: 0.97rem; line-height: 1.65; max-width: 62ch; }
.multi-cta { white-space: nowrap; }

/* S360 — vidéo et texte */
.syphax-section .sf-item { align-items: flex-start; line-height: 1.55; }
.syphax-section .sf-item svg { margin-top: 2px; }
.syphax-section .sf-item strong { color: #fff; font-weight: 600; }
.syphax-section .syphax-note { color: rgba(255, 255, 255, 0.62); font-size: 0.92rem; }
.syphax-cta { margin-top: 28px; }
.syphax-video { margin: 0; }
.syphax-video-frame {
    position: relative;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.7), rgba(29, 78, 216, 0.15) 45%, rgba(200, 162, 75, 0.5));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(29, 78, 216, 0.25);
}
.syphax-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 17px;
    background: #050b16;
}
.syphax-video figcaption {
    margin-top: 14px;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* Zones — badges et carte */
.zone-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 9px;
    border-radius: 100px;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: 2px;
}
.zone-badge-minor { background: #f1f5f9; color: #475569; }
.zone-item-major .zone-pin { width: 14px; height: 14px; }
.zmap-card {
    margin: 0;
    padding: 20px 20px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 70%, rgba(29, 78, 216, 0.07), transparent 60%),
        linear-gradient(180deg, #ffffff, #f5f8ff);
    box-shadow: var(--shadow-lg);
}
.zmap { display: block; width: 100%; height: auto; font-family: inherit; }
.zmap-region { font-size: 13px; font-weight: 700; letter-spacing: 0.3em; fill: #cbd5e1; }
.zmap-river { fill: none; stroke: #dbeafe; stroke-width: 14; stroke-linecap: round; }
.zmap-route { fill: none; stroke: #93c5fd; stroke-width: 2.5; stroke-linecap: round; }
.zmap-route-main { stroke: url(#zmapMain); stroke-width: 4.5; }
.zmap-route-dash { stroke-dasharray: 7 7; }
.zmap-route-soft { stroke: #bfdbfe; stroke-width: 2; }
.zmap-runner { fill: #1d4ed8; filter: drop-shadow(0 0 6px rgba(29, 78, 216, 0.8)); }
.zmap-dot { fill: #1d4ed8; stroke: #fff; stroke-width: 4; }
.zmap-pulse {
    fill: rgba(29, 78, 216, 0.25);
    transform-box: fill-box;
    transform-origin: center;
    animation: zmapPulse 2.6s ease-out infinite;
}
.zmap-dot-minor { fill: #fff; stroke: #1d4ed8; stroke-width: 3.5; }
.zmap-name { font-size: 20px; font-weight: 800; fill: #0a1628; }
.zmap-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; fill: #1d4ed8; }
.zmap-name-minor { font-size: 15px; font-weight: 600; fill: #334155; }
@keyframes zmapPulse {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(2.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .zmap-pulse { animation: none; opacity: 0; }
    .zmap-runner { display: none; }
}
.zmap-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--text-light);
}
.zmap-legend span { display: inline-flex; align-items: center; gap: 8px; }
.zmap-legend i { display: inline-block; }
.lg-major { width: 12px; height: 12px; border-radius: 50%; background: #1d4ed8; box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2); }
.lg-minor { width: 10px; height: 10px; border-radius: 50%; border: 3px solid #1d4ed8; background: #fff; }
.lg-route { width: 22px; height: 0; border-top: 2.5px dashed #93c5fd; }

/* Formulaires — anti-spam et fichier */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    font: inherit;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}
.contact-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border: 0;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

/* Pages simples (merci, confidentialité) */
.page-simple { background: linear-gradient(180deg, #f8fafc, #eef4ff); min-height: 100vh; }
.simple-wrap { min-height: 100vh; display: grid; place-items: center; padding: 48px 16px; }
.simple-wrap-doc { place-items: start center; }
.simple-card {
    width: 100%;
    max-width: 560px;
    padding: 44px 36px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.simple-card h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 18px 0 12px; color: var(--text); }
.simple-card p { color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.simple-card .btn { margin-top: 12px; }
.simple-logo { width: 120px; height: auto; margin: 0 auto; }
.simple-alt { margin-top: 18px; font-size: 0.85rem; }
.simple-doc { max-width: 760px; text-align: left; }
.simple-doc h2 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 8px; color: var(--text); }
.simple-doc ul { padding-left: 20px; color: var(--text-light); line-height: 1.7; }
.simple-doc li { margin-bottom: 6px; }
.simple-meta { font-size: 0.85rem; color: var(--text-muted); }
.simple-back { font-size: 0.9rem; font-weight: 600; color: var(--accent); text-decoration: none; }

@media (max-width: 968px) {
    .zmap-card { order: -1; }
}
@media (max-width: 720px) {
    .multi-card { grid-template-columns: 1fr; text-align: left; gap: 16px; padding: 24px 20px; }
    .multi-cta { justify-self: start; }
    .zmap-card { padding: 12px 8px 12px; }
    .simple-card { padding: 32px 20px; }
}
