:root {
    --bg-main: #050608;
    --bg-secondary: #101217;
    --bg-card: #141820;
    --accent: #1ad1ff;
    --accent-soft: rgba(26, 209, 255, 0.15);
    --text-main: #f5f5f5;
    --text-muted: #a7b0c0;
    --danger: #ffffff;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
}

/* Reset simple */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background:
            radial-gradient(circle at 0 0, #222 0, transparent 45%),
            radial-gradient(circle at 100% 100%, #222 0, transparent 45%),
            repeating-linear-gradient(
                    45deg,
                    #080a0f 0,
                    #080a0f 3px,
                    #0c0f15 3px,
                    #0c0f15 6px
            );
    background-color: var(--bg-main);

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* pousse le footer au bas de page */
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 4vw;
    backdrop-filter: blur(16px);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(3, 9, 18, 0.9));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.7));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand-slogan {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* NAV */
.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: var(--text-main);
    font-size: 1.1rem;
    padding: 0.25rem 0.7rem;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.25rem;
}

.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-decoration: none;
    padding-bottom: 0.3rem;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(to right, #1ad1ff, #00ff88);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

/* Sections */
main {
    padding: 2rem 4vw 4rem;
}

.section {
    display: none;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    background:
            radial-gradient(circle at 0 0, rgba(26, 209, 255, 0.04), transparent 60%),
            radial-gradient(circle at 100% 100%, rgba(0, 255, 136, 0.04), transparent 60%),
            linear-gradient(135deg, rgba(13, 17, 26, 0.95), rgba(4, 5, 9, 0.98));
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 2rem;
}

.section.active {
    display: block;
}

.section-header {
    margin-bottom: 1.75rem;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

/* Lien vers PDF */
.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.8;
}

.download-link::before {
    content: "📄";
    font-size: 0.9rem;
}

.download-link:hover {
    color: var(--accent);
    opacity: 1;
}

/* HERO (Accueil) */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.hero-media {
    position: relative;
}

.hero-video {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    background-color: #000;
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 26px;
    background: conic-gradient(from 180deg at 50% 50%, #1ad1ff, #00ff88, #1ad1ff);
    opacity: 0.16;
    filter: blur(14px);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-quote {
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Boutons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    border: none;
    background: linear-gradient(135deg, #1ad1ff, #00ff88);
    color: #020205;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.9);
}

/* CARTES FORMULES */
.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    position: relative;
    padding: 1.6rem 1.4rem;
    border-radius: var(--radius-lg);
    background:
            radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.02), transparent 50%),
            linear-gradient(145deg, #11141a, #050609);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0, transparent 35%),
            repeating-linear-gradient(
                    -45deg,
                    rgba(255, 255, 255, 0.04) 0,
                    rgba(255, 255, 255, 0.04) 2px,
                    transparent 2px,
                    transparent 4px
            );
    opacity: 0;
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
}

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

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}

.card-tagline {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.card-list {
    list-style: none;
    margin-bottom: 1rem;
}

.card-list li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

.card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
}

/* Sous-liste (détails) */
.card-list-sub {
    list-style: none;
    margin-top: 0.3rem;
    margin-bottom: 0.4rem;
    padding-left: 0.9rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-list-sub li {
    position: relative;
    margin-bottom: 0.2rem;
}

.card-list-sub li::before {
    content: "–";
    position: absolute;
    left: -0.8rem;
    top: 0;
    color: var(--accent);
}

/* Bloc prix + détails par type de véhicule */
.card-price {
    font-size: 0.95rem;
    color: var(--accent);
    margin-top: 0.5rem;
}

.card-price p {
    margin-bottom: 0.3rem;
}

.card-price-details {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-price-details li {
    margin-bottom: 0.2rem;
}

/* Variation entre cartes */
.card-rapide {
    border-top: 2px solid rgba(26, 209, 255, 0.7);
}
.card-normal {
    border-top: 2px solid rgba(0, 255, 136, 0.7);
}
.card-luxe {
    border-top: 2px solid rgba(255, 215, 0, 0.8);
}
.card-premium {
    border-top: 2px solid rgba(186, 85, 211, 0.9);
}

/* RÉCAPITULATIF DES TARIFS */
.pricing-summary {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.pricing-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 700px;
}

/* TABLE TARIFS */
.pricing-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 0.5rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 600px;
    background: linear-gradient(145deg, #10131b, #05070c);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-table thead {
    background:
            radial-gradient(circle at 0 0, rgba(26, 209, 255, 0.18), transparent 55%),
            radial-gradient(circle at 100% 0, rgba(0, 255, 136, 0.18), transparent 55%);
}

.pricing-table th,
.pricing-table td {
    padding: 0.7rem 0.8rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
}

.pricing-table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-table th span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: normal;
    margin-top: 0.15rem;
}

.pricing-table tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.01);
}

.pricing-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.25);
}

.pricing-table tbody tr:hover {
    background-color: rgba(26, 209, 255, 0.06);
}

/* === Blocs frais de déplacement + moyens de paiement === */

.double-infos {
    display: flex;
    flex-direction: row;        /* cartes côte à côte */
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: nowrap;          /* empêche le retour à la ligne */
    overflow-x: auto;           /* scroll horizontal si écran trop petit */
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.fancy-infos .info-card {
    position: relative;
    flex: 0 0 320px;            /* largeur type "carte" */
    max-width: 380px;
    padding: 24px 22px 22px 22px;
    border-radius: 16px;
    background: radial-gradient(circle at top left, rgba(26, 209, 255, 0.15), rgba(5, 6, 8, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #f5f5f5;
    font-size: 0.98rem;
    line-height: 1.6;
    overflow: hidden;
    backdrop-filter: blur(4px);
    animation: cardFadeIn 0.6s ease-out both;
    transform-origin: top center;
    scroll-snap-align: start;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #1ad1ff 0%, rgba(26, 209, 255, 0.25) 55%, rgba(26, 209, 255, 0.05) 100%);
    box-shadow: 0 0 18px rgba(26, 209, 255, 0.65);
    flex-shrink: 0;
}

.icon-emoji {
    font-size: 1.4rem;
}

.info-content h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1ad1ff;
}

.info-content p {
    margin: 0;
}

.fancy-infos .info-card::after {
    content: "";
    position: absolute;
    left: -20%;
    bottom: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1ad1ff, transparent);
    opacity: 0.7;
    filter: blur(1px);
    animation: lightSweep 3s linear infinite;
}

.fancy-infos .info-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.75);
    border-color: rgba(26, 209, 255, 0.6);
}

/* Animations */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes lightSweep {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(260%);
    }
}

/* INFOS */
.infos-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
}

.info-block {
    padding: 1.4rem 1.3rem;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, #11141a, #080a10);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.info-block h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.info-block p,
.info-block li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.info-block ul {
    list-style: none;
}

.info-block li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.3rem;
}

.info-block li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.5rem;
}

.contact-details ul {
    list-style: none;
    font-size: 0.95rem;
}

.contact-details li {
    margin-bottom: 0.7rem;
}

.contact-label {
    display: inline-block;
    width: 90px;
    font-weight: 600;
}

.contact-details a {
    color: var(--accent);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-note p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FOOTER */
.site-footer {
    padding: 2.5rem 4vw 1.5rem;
    background:
            radial-gradient(circle at top, rgba(26, 209, 255, 0.12), transparent 55%),
            linear-gradient(to bottom, #050609, #000000);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-band {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 1rem;
    background:
            repeating-linear-gradient(
                    135deg,
                    #090b11 0,
                    #090b11 3px,
                    #0f1118 3px,
                    #0f1118 6px
            );
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.9);
}

.footer-logo img {
    height: 34px;
    width: auto;
}

.footer-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-brand {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
}

.footer-slogan {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-pattern {
    margin-left: auto;
    display: flex;
    gap: 0.3rem;
}

.footer-pattern .stripe {
    width: 10px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(to bottom, #1ad1ff, #00ff88);
    opacity: 0.7;
}

.footer-legal {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 1000px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Layouts généraux */
@media (max-width: 900px) {
    .hero,
    .infos-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Navigation mobile */
@media (max-width: 750px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 4vw;
        flex-direction: column;
        background: rgba(3, 6, 12, 0.98);
        padding: 0.75rem 1rem;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
        transform-origin: top right;
        transform: scale(0.9);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1);
    }
}

/* 1 colonne de cartes sur mobile + ajustements */
@media (max-width: 600px) {
    .site-header {
        padding-inline: 4vw;
    }

    .brand-name {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 1.1rem;
    }

    .footer-band {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 18px;
    }

    .footer-pattern {
        margin-left: 0;
    }

    .pricing-table {
        font-size: 0.8rem;
        min-width: 100%;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.55rem 0.6rem;
    }

    .cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .double-infos {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .fancy-infos .info-card {
        flex: 1 1 auto;
        max-width: 100%;
    }
}