/* ============================================================
   ELITE KEYS — Flotte Page
   Premium dark luxury aesthetic (aligned with Corporate)
   ============================================================ */

#pg-fl {
    --f-bg: #08090a;
    --f-surface: #101214;
    --f-surface2: #181b1f;
    --f-gold: #c7a24a;
    --f-gold-light: #e0c072;
    --f-text: #f2f2f2;
    --f-muted: #8a8f96;
    --f-border: rgba(255,255,255,0.06);
    background: var(--f-bg);
    color: var(--f-text);
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}

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

/* ── Section header ── */
.fl-section-head {
    text-align: center;
    margin-bottom: 64px;
}
.fl-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--f-gold);
    margin-bottom: 18px;
}
.fl-section-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.15;
}
.fl-section-head h2 em {
    color: var(--f-gold);
    font-style: italic;
}
.fl-section-sub {
    color: var(--f-muted);
    font-size: 1.1rem;
    margin-top: 16px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Buttons ── */
.fl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    border: none;
}
.fl-btn--gold {
    background: var(--f-gold);
    color: var(--f-bg);
}
.fl-btn--gold:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(199,162,74,0.35);
}
.fl-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
}
.fl-btn--ghost:hover {
    border-color: var(--f-gold);
    color: var(--f-gold);
}
.fl-btn--lg {
    padding: 22px 56px;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.fl-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fl-hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(199,162,74,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(199,162,74,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(30,33,38,1) 0%, var(--f-bg) 100%);
    animation: flMeshShift 20s ease-in-out infinite alternate;
}
@keyframes flMeshShift {
    0%   { background-position: 0% 0%, 100% 100%, 50% 50%; }
    100% { background-position: 20% 10%, 80% 90%, 50% 50%; }
}
.fl-hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px;
    pointer-events: none;
}
.fl-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    animation: flHeroFadeIn 1s ease-out both;
}
@keyframes flHeroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fl-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(199,162,74,0.2);
    background: rgba(199,162,74,0.06);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--f-gold);
    margin-bottom: 36px;
}
.fl-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--f-gold);
    box-shadow: 0 0 10px var(--f-gold);
    animation: flPulseDot 2s ease-in-out infinite;
}
@keyframes flPulseDot {
    0%,100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.fl-hero-h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 32px;
}
.fl-hero-h1 em {
    color: var(--f-gold);
    font-style: italic;
}
.fl-hero-sub {
    font-size: 1.15rem;
    color: var(--f-muted);
    max-width: 620px;
    margin: 0 auto 48px;
    line-height: 1.8;
}
.fl-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--f-muted);
    opacity: 0.4;
    animation: flScrollBounce 2s ease-in-out infinite;
    z-index: 2;
}
@keyframes flScrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════
   STATS STRIP
   ═══════════════════════════════════════ */
.fl-stats {
    border-top: 1px solid var(--f-border);
    border-bottom: 1px solid var(--f-border);
    padding: 56px 0;
    background: rgba(255,255,255,0.01);
}
.fl-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.fl-stat {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.5s cubic-bezier(.4,0,.2,1);
}
.fl-stat.is-visible { opacity: 1; transform: translateY(0); }
.fl-stat:nth-child(2) { transition-delay: 0.1s; }
.fl-stat:nth-child(3) { transition-delay: 0.2s; }
.fl-stat:nth-child(4) { transition-delay: 0.3s; }
.fl-stat-val {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: var(--f-gold);
    line-height: 1;
    margin-bottom: 10px;
}
.fl-stat-lbl {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--f-muted);
    font-weight: 600;
}

/* ═══════════════════════════════════════
   POURQUOI MERCEDES — BENTO 2x2
   ═══════════════════════════════════════ */
.fl-why {
    padding: 120px 0;
}
.fl-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.fl-why-card {
    background: var(--f-surface);
    border: 1px solid var(--f-border);
    border-radius: 28px;
    padding: 44px 36px;
    transition: all 0.5s cubic-bezier(.4,0,.2,1);
    opacity: 0;
    transform: translateY(24px);
}
.fl-why-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.fl-why-card:nth-child(2) { transition-delay: 0.1s; }
.fl-why-card:nth-child(3) { transition-delay: 0.2s; }
.fl-why-card:nth-child(4) { transition-delay: 0.3s; }
.fl-why-card:hover {
    border-color: rgba(199,162,74,0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(199,162,74,0.04);
}
.fl-why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(199,162,74,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.fl-why-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--f-gold);
}
.fl-why-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    margin-bottom: 14px;
}
.fl-why-card p {
    color: var(--f-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

/* ═══════════════════════════════════════
   VEHICLES GRID
   ═══════════════════════════════════════ */
.fl-fleet {
    padding: 120px 0;
    background: var(--f-surface);
    border-top: 1px solid var(--f-border);
    border-bottom: 1px solid var(--f-border);
}
.fl-fleet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.fl-vehicle {
    background: var(--f-bg);
    border: 1px solid var(--f-border);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s cubic-bezier(.4,0,.2,1);
}
.fl-vehicle.is-visible { opacity: 1; transform: translateY(0); }
.fl-vehicle:nth-child(2) { transition-delay: 0.1s; }
.fl-vehicle:nth-child(3) { transition-delay: 0.2s; }
.fl-vehicle:nth-child(4) { transition-delay: 0.3s; }
.fl-vehicle:nth-child(5) { transition-delay: 0.4s; }
.fl-vehicle:hover {
    border-color: rgba(199,162,74,0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.fl-vehicle--wide {
    grid-column: span 2;
    flex-direction: row;
}
.fl-vehicle-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0b0c;
}
.fl-vehicle--wide .fl-vehicle-media {
    aspect-ratio: auto;
    flex: 1.1;
    min-height: 320px;
}
.fl-vehicle-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(.4,0,.2,1);
}
.fl-vehicle:hover .fl-vehicle-media img {
    transform: scale(1.04);
}
.fl-vehicle-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,9,10,0.6) 0%, transparent 50%);
    pointer-events: none;
}
.fl-vehicle-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 7px 14px;
    border-radius: 50px;
    background: rgba(8,9,10,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(199,162,74,0.3);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--f-gold);
    z-index: 2;
}
.fl-vehicle-body {
    padding: 32px 32px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.fl-vehicle--wide .fl-vehicle-body {
    flex: 1;
    padding: 44px 44px 36px;
    justify-content: center;
}
.fl-vehicle-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    line-height: 1.15;
    margin-bottom: 6px;
}
.fl-vehicle--wide .fl-vehicle-body h3 {
    font-size: 2rem;
}
.fl-vehicle-class {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--f-muted);
    font-weight: 600;
    margin-bottom: 18px;
}
.fl-vehicle-specs {
    display: flex;
    gap: 24px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--f-border);
}
.fl-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--f-text);
    font-size: 0.95rem;
    font-weight: 500;
}
.fl-spec svg {
    stroke: var(--f-gold);
    flex-shrink: 0;
}
.fl-vehicle-model {
    color: var(--f-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 18px;
}
.fl-vehicle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.fl-vehicle-tags span {
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(199,162,74,0.06);
    border: 1px solid rgba(199,162,74,0.15);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--f-gold-light);
    font-weight: 600;
}
.fl-vehicle-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 14px 24px;
    align-self: flex-start;
    border-radius: 50px;
    background: transparent;
    border: 1px solid rgba(199,162,74,0.3);
    color: var(--f-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}
.fl-vehicle-cta svg {
    transition: transform 0.3s;
}
.fl-vehicle-cta:hover {
    background: var(--f-gold);
    color: var(--f-bg);
    border-color: var(--f-gold);
}
.fl-vehicle-cta:hover svg {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════
   ÉQUIPEMENTS
   ═══════════════════════════════════════ */
.fl-equip {
    padding: 120px 0;
}
.fl-equip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.fl-equip-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border: 1px solid var(--f-border);
    border-radius: 16px;
    background: var(--f-surface);
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(16px);
}
.fl-equip-item.is-visible { opacity: 1; transform: translateY(0); }
.fl-equip-item:nth-child(2) { transition-delay: 0.05s; }
.fl-equip-item:nth-child(3) { transition-delay: 0.1s; }
.fl-equip-item:nth-child(4) { transition-delay: 0.15s; }
.fl-equip-item:nth-child(5) { transition-delay: 0.2s; }
.fl-equip-item:nth-child(6) { transition-delay: 0.25s; }
.fl-equip-item:hover {
    border-color: rgba(199,162,74,0.25);
    background: var(--f-surface2);
}
.fl-equip-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(199,162,74,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fl-equip-ico svg {
    width: 18px;
    height: 18px;
    stroke: var(--f-gold);
}
.fl-equip-item span {
    font-size: 0.95rem;
    color: var(--f-text);
    font-weight: 500;
}

/* ═══════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════ */
.fl-cta {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}
.fl-cta-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 50%, rgba(199,162,74,0.06) 0%, transparent 70%);
}
.fl-cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}
.fl-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
}
.fl-cta h2 em {
    color: var(--f-gold);
    font-style: italic;
}
.fl-cta p {
    color: var(--f-muted);
    font-size: 1.15rem;
    margin-bottom: 48px;
}
.fl-cta-trust {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--f-muted);
    opacity: 0.5;
    font-weight: 600;
}
.fl-cta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--f-gold);
    opacity: 0.6;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .fl-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .fl-why-grid { grid-template-columns: 1fr; }
    .fl-fleet-grid { grid-template-columns: 1fr; }
    .fl-vehicle--wide { grid-column: span 1; flex-direction: column; }
    .fl-vehicle--wide .fl-vehicle-media { min-height: 0; aspect-ratio: 16/9; }
    .fl-equip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .fl-hero-h1 { font-size: 2.4rem; }
    .fl-hero-sub { font-size: 1rem; }
    .fl-stats { padding: 40px 0; }
    .fl-stats-grid { gap: 32px 16px; }
    .fl-stat-val { font-size: 2.1rem; }
    .fl-why { padding: 80px 0; }
    .fl-why-card { padding: 32px 24px; border-radius: 22px; }
    .fl-fleet { padding: 80px 0; }
    .fl-vehicle-body { padding: 24px 22px 22px; }
    .fl-vehicle--wide .fl-vehicle-body { padding: 28px 24px 24px; }
    .fl-vehicle-body h3,
    .fl-vehicle--wide .fl-vehicle-body h3 { font-size: 1.5rem; }
    .fl-equip { padding: 80px 0; }
    .fl-equip-grid { grid-template-columns: 1fr; }
    .fl-cta { padding: 100px 0; }
    .fl-btn--lg { padding: 18px 40px; font-size: 0.85rem; }
}

/* ═══════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════ */
[data-theme="light"] #pg-fl {
    --f-bg: #faf6ec;
    --f-surface: #fdfaf2;
    --f-surface2: #f1ecdd;
    --f-gold: #b8942f;
    --f-gold-light: #9c7c28;
    --f-text: #1a1a1a;
    --f-muted: #6b6e73;
    --f-border: rgba(0,0,0,0.07);
}
[data-theme="light"] .fl-hero-mesh {
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(184,148,47,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(184,148,47,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, #f5efde 0%, var(--f-bg) 100%);
}
[data-theme="light"] .fl-stats { background: rgba(0,0,0,0.01); }
[data-theme="light"] .fl-why-card { background: #fdfaf2; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
[data-theme="light"] .fl-why-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
[data-theme="light"] .fl-fleet { background: #f5efde; }
[data-theme="light"] .fl-vehicle { background: #fdfaf2; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
[data-theme="light"] .fl-vehicle:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
[data-theme="light"] .fl-vehicle-tag { background: rgba(255,255,255,0.85); }
[data-theme="light"] .fl-equip-item { background: #fdfaf2; }
[data-theme="light"] .fl-equip-item:hover { background: #f1ecdd; }
[data-theme="light"] .fl-btn--gold { color: #fff; }
[data-theme="light"] .fl-btn--gold:hover { color: var(--f-bg); background: var(--f-text); }
[data-theme="light"] .fl-btn--ghost { border-color: rgba(0,0,0,0.12); color: var(--f-text); }
