@import url(root.css);
/* ===============================
   RESET / BASE
   =============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.55;
}

/* ===============================
   HERO (PLUS COMPACT)
   =============================== */
.hero-modern {
    display: grid;
    gap: 40px;
    padding: 70px 6% 90px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.hero-left h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-left h1 span {
    color: #c8e6ff;
}

.hero-left p {
    max-width: 480px;
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 24px;
}

.hero-stats strong {
    font-size: 1.2rem;
}

.hero-stats span {
    font-size: 0.8rem;
    opacity: 0.85;
}

.hero-right { display: none; }

/* ===============================
   SECTIONS (DENSE)
   =============================== */
.section {
    padding: 55px 6%;
}

.section h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.alt { background: var(--bg-alt); }

.glass {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
}

/* ===============================
   BUTTONS
   =============================== */
.btn-primary,
.btn-secondary,
button {
    padding: 11px 18px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: #fff;
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    border: 2px solid var(--primary);
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.section .btn-secondary {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===============================
   CALCULATOR
   =============================== */
.calculator {
    display: grid;
    gap: 12px;
    max-width: 420px;
}

select {
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 0.95rem;
}

select:focus {
    outline: none;
    border-color: var(--primary);
}

.price-result {
    margin-top: 18px;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--accent-soft);
    font-weight: 700;
    color: var(--accent);
    max-width: 420px;
}

/* ===============================
   MAP
   =============================== */
.map-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.map-container {
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-info {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===============================
   PRICING
   =============================== */
.pricing-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.pricing-card {
    background: var(--bg-card);
    padding: 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pricing-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.pricing-card .price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

/* ===============================
   CONDITIONS
   =============================== */
.conditions {
    list-style: none;
    margin-top: 18px;
}

.conditions li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.9rem;
}

.contact {
    margin-top: 18px;
    font-weight: 700;
    color: var(--accent);
}

/* ===============================
   FOOTER
   =============================== */
.footer {
    text-align: center;
    padding: 26px 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (min-width: 768px) {
    .hero-modern {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }

    .hero-right { display: block; }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ===============================
   ROUTE / MAP / CALCULATEUR
   =============================== */

.route-wrapper {
    padding: 50px 25px;
    max-width: 1200px;
    margin: auto;
}

/* STEPS */
.route-steps {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-weight: 600;
}

.step-number {
    background: var(--primary);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* CONTENT */
.route-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

/* MAP */
.route-map {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.map-actions {
    display: flex;
    gap: 10px;
}

.map-container {
    height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
}

.map-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CALCULATOR */
.route-calculator {
    padding: 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.route-calculator h2 {
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.calculator select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
}

.calculator select:focus {
    outline: none;
    border-color: var(--primary);
}

/* RESULT */
.price-result {
    margin-top: 15px;
    padding: 14px;
    background: #f3f4ff;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    color: var(--primary);
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 900px) {
    .route-content {
        grid-template-columns: 1fr;
    }

    .route-steps {
        flex-direction: column;
    }

    .map-container {
        height: 300px;
    }
}
/* ===============================
   TARIFS / PRICING
   =============================== */

.pricing-section {
    padding: 60px 25px;
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* GRID */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 1100px;
    margin: auto;
}

/* CARD */
.pricing-card {
    background: #fff;
    padding: 22px 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* DISTANCE */
.pricing-distance {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #444;
    margin-bottom: 12px;
}

.pricing-distance .arrow {
    color: var(--primary);
    font-size: 1.2rem;
}

/* PRICE */
.pricing-price {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: bold;
}

.pricing-price span {
    font-size: 0.9rem;
    margin-left: 4px;
    color: var(--text-muted);
}

/* NOTE */
.pricing-note {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (min-width: 640px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===============================
   CTA SECTION
   =============================== */

.cta-section {
    padding: 70px 25px;
    display: flex;
    justify-content: center;
}

.cta-card {
    max-width: 700px;
    width: 100%;
    padding: 45px 35px;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* BADGE */
.cta-badge {
    display: inline-block;
    background: rgba(63, 136, 255, 0.15);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-badge.success {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}

/* TEXT */
.cta-card h2 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    margin-bottom: 12px;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ACTIONS */
.cta-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.cta-actions a {
    padding: 18px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}


/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 600px) {
    .cta-card {
        padding: 35px 25px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions a {
        width: 100%;
    }
}

/* ===============================
   CTA SECTION (BOOSTED)
   =============================== */

.cta-section {
    padding: 90px 25px;
    display: flex;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(30,136,229,0.12), transparent 60%),
        var(--bg-page);
}

.cta-card {
    max-width: 760px;
    width: 100%;
    padding: 55px 45px;
    text-align: center;
    border-radius: 26px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    box-shadow:
        0 30px 60px rgba(30,136,229,0.25),
        inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}

/* Glow décoratif */
.cta-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(30,136,229,0.18), transparent 60%);
    z-index: 0;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-actions a.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 22px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(30,136,229,0.35);
}

.cta-actions a.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(30,136,229,0.45);
}

.cta-actions a.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

/* ===============================
   CTA STICKY MOBILE
   =============================== */

.cta-sticky-mobile {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 12px;
    z-index: 9999;
}

/* Boutons */
.cta-sticky {
    flex: 1;
    padding: 14px 12px;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Primary */
.cta-sticky.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

/* Secondary */
.cta-sticky.secondary {
    background: var(--bg-page);
    color: var(--primary);
    border: 2px solid var(--primary);
}

/* Interaction */
.cta-sticky:active {
    transform: scale(0.97);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Masqué sur desktop */
@media (min-width: 768px) {
    .cta-sticky-mobile {
        display: none;
    }
}

/* Safe area iOS */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .cta-sticky-mobile {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 90px;
    }
}
.cta-sticky-mobile {
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(120%);
    }
    to {
        transform: translateY(0);
    }
}


.fas{
    color: var(--primary);
}

.hero-left h1,
.hero-left p,
.hero-actions,
.hero-stats {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.hero-left p { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.4s; }
.hero-stats { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-right img {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.btn-primary,
.btn-secondary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.btn-primary {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,123,255,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(0,123,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,123,255,0); }
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}
.select2-container--default .select2-selection--single {
  transition: box-shadow 0.2s ease;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--single:hover {
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}
