﻿/* =======================================================
   VARIABLES GLOBALES OPENSPLACE
   ======================================================= */

:root {
    --fs-primary-700: #346E68;
    --fs-primary: #069398;
    --fs-accent: #e5a020;
    --bg-soft: #f6f7fb;
    --white: #ffffff;
    --text-dark: #134e4a;
    --text-soft: rgba(19, 78, 74, 0.7);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-soft: 0 3px 10px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.10);
    --shadow-strong: 0 10px 28px rgba(0, 0, 0, 0.16);
    --transition: 0.25s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-soft);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* =======================================================
   HERO — SLIDESHOW IMMERSIF
   ======================================================= */

.op-hero {
    position: relative;
    height: 480px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Slides */
.op-hero-slides {
    position: absolute;
    inset: 0;
}

.op-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.4s ease, transform 6s ease;
}

.op-hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Overlay sombre dégradé */
.op-hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.55) 60%,
        rgba(0,0,0,0.75) 100%
    );
    z-index: 1;
}

/* Particules */
.op-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.op-particle {
    position: absolute;
    font-size: 18px;
    opacity: 0;
    animation: particleFly linear infinite;
}

@keyframes particleFly {
    0%   { transform: translateX(-60px) translateY(0) rotate(0deg); opacity: 0; }
    5%   { opacity: 0.7; }
    90%  { opacity: 0.6; }
    100% { transform: translateX(110vw) translateY(-60px) rotate(8deg); opacity: 0; }
}

/* Contenu hero */
.op-hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    gap: 14px;
}

.op-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: fadeSlideDown 0.6s ease-out both;
}

.op-hero h1 {
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 900;
    color: white;
    margin: 0;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: fadeSlideDown 0.7s 0.1s ease-out both;
    line-height: 1.1;
}

.op-hero h2 {
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    animation: fadeSlideDown 0.7s 0.2s ease-out both;
}

/* Pills destinations */
.op-hero-destinations {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 6px;
    animation: fadeSlideDown 0.7s 0.35s ease-out both;
}

.op-dest-pill {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    transition: all 0.4s ease;
    cursor: default;
}

.op-dest-pill.active {
    color: white;
    background: rgba(229,160,32,0.5);
    border-color: rgba(229,160,32,0.8);
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(229,160,32,0.35);
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =======================================================
   CONTAINER PRINCIPAL
   ======================================================= */

.op-container {
    max-width: 1200px;
    margin: 0 auto 5rem auto;
    padding: 2.5rem 1.5rem;
}

/* =======================================================
   HEADER ÉTAPES
   ======================================================= */

.op-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.op-step-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
}

.op-step-indicator {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-soft);
}



/* =======================================================
   CONTENU DES ÉTAPES
   ======================================================= */

.op-step {
    display: none;
}

.op-step.active {
    display: block;
    animation: stepSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.op-step.exit {
    animation: stepSlideOut 0.3s ease-in forwards;
}

@keyframes stepSlideIn {
    from { opacity: 0; transform: translateX(40px) scale(0.98); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes stepSlideOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-30px); }
}

.op-intro {
    font-size: 1.05rem;
    color: var(--text-soft);
    margin-bottom: 1.2rem;
}



/* =======================================================
   CARDS DE CHOIX (Couple / Famille / Solo / Amis)
   ======================================================= */

.op-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.3rem;
}

.op-card-choice {
    background: var(--white);
    border: 2px solid rgba(19, 78, 74, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.op-card-choice:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-medium);
}

.op-card-choice.selected {
    border-color: var(--accent);
    background: #ecfffd;
}

.op-card-icon {
    background: #d7f2f0;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--fs-primary);
    font-size: 1.5rem;
}

.op-card-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.card-caption {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =======================================================
   FORMULAIRES (inputs, wrappers, layout)
   ======================================================= */

.op-form-section {
    margin: 2.5rem 0;
}

.op-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.op-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.op-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 2px solid rgba(19, 78, 74, 0.2);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    transition: var(--transition);
}

    .op-input-wrapper:focus-within {
        border-color: var(--fs-primary);
    }

    .op-input-wrapper i {
        color: var(--fs-primary);
    }

.op-input {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    flex: 1;
}



/* =======================================================
   GRID FORM (2 colonnes / 3 colonnes)
   ======================================================= */

.op-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.op-form-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}



/* =======================================================
   CHIPS 2 PAR 2
   ======================================================= */

.op-chips-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem 1rem;
}

.op-chip {
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 2px solid rgba(19, 78, 74, 0.25);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.op-chip:hover {
    background: #e6faf8;
    border-color: var(--fs-primary);
}

.op-chip.active {
    background: var(--fs-primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-medium);
}

/* =======================================================
   TRAVELERS (counters)
   ======================================================= */
/* =============================================== */
/*      PREMIUM TRAVELERS – GLASSY AIRLINE STYLE   */
/* =============================================== */

.op-travelers-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 0.5rem;
}

/* ----- Card glassy ----- */
.op-traveler-card-x {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    padding: 1.1rem 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
    transition: 0.25s ease;
    cursor: pointer;
}

    .op-traveler-card-x:hover {
        background: rgba(255, 255, 255, 0.65);
        transform: translateY(-3px);
        box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
    }

/* left section (avatar + texte) */
.op-traveler-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.op-traveler-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

/* text */
.op-t-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--fs-primary-700);
}

.op-traveler-left small {
    display: block;
    font-size: 12px;
    opacity: 0.6;
}

/* counter */
.op-counter button {
    background: var(--fs-primary);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.25s ease;
}

    .op-counter button:hover {
        background: var(--fs-primary-700);
    }

.op-counter span {
    min-width: 28px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--fs-primary-700);
}

/* -------- Responsive -------- */
@media (max-width: 900px) {
    .op-travelers-premium {
        grid-template-columns: 1fr;
    }

    .op-traveler-avatar {
        width: 46px;
        height: 46px;
    }
}

/* ============================== */
/*       TOGGLE TRANSPORT         */
/* ============================== */

.op-toggle-group {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.op-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.op-toggle-input {
    display: none;
}

.op-toggle-track {
    width: 54px;
    height: 28px;
    background: #d0e7e6;
    border-radius: 30px;
    position: relative;
    transition: background var(--transition);
}

.op-toggle-thumb {
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
}

.op-toggle-input:checked + .op-toggle-track {
    background: var(--fs-primary);
}

    .op-toggle-input:checked + .op-toggle-track .op-toggle-thumb {
        transform: translateX(26px);
    }

.op-toggle-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* =======================================================
   RANGE BOX (sliders)
   ======================================================= */

.op-range-box {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 2px solid rgba(19, 78, 74, 0.2);
    padding: 1rem;
}

.op-range-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

    .op-range-value i {
        color: var(--fs-primary);
    }

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 6px;
    background: #d7f2f0;
    cursor: pointer;
    accent-color: var(--fs-primary);
}

/* =======================================================
   CHECKBOXES
   ======================================================= */

.op-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--white);
    border: 2px solid rgba(19, 78, 74, 0.2);
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.op-check input {
    width: 20px;
    height: 20px;
    accent-color: var(--fs-primary);
}

/* =======================================================
   RÉCAP ÉTAPE 4 – SUMMARY
   ======================================================= */

.op-recap-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Ticket principal */
.op-recap-ticket {
    position: relative;
    background: radial-gradient(circle at top left, #ffffff 0%, #f4faf9 40%, #e9f3ff 100%);
    border-radius: 24px;
    padding: 1.8rem 2rem 1.6rem;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(6, 147, 152, 0.14);
    overflow: hidden;
    transform-origin: center;
    opacity: 0;
    transform: translateY(18px) scale(0.97);
}

/* Perforations ticket */
.op-recap-ticket::before,
.op-recap-ticket::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-soft);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
    transform: translateY(-50%);
}

.op-recap-ticket::before {
    left: -9px;
}

.op-recap-ticket::after {
    right: -9px;
}

/* Animation d’entrée quand la classe est ajoutée */
.op-recap-ticket.op-recap-animate {
    animation: recapTicketIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes recapTicketIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */
.op-recap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    gap: 1rem;
}

.op-recap-chip {
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(6, 147, 152, 0.08);
    color: var(--fs-primary-700);
}

/* Main : route + confort */
.op-recap-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.8rem;
    padding: 1.1rem 0 1.2rem;
    border-top: 1px dashed rgba(13, 97, 90, 0.2);
    border-bottom: 1px dashed rgba(13, 97, 90, 0.2);
}

.op-recap-route {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.op-recap-airports {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.op-recap-code {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--fs-primary-700);
}

.op-recap-arrow {
    font-size: 1.3rem;
    color: var(--fs-accent);
}

.op-recap-dates {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dark);
}

.op-recap-flex {
    font-size: 0.82rem;
    color: var(--text-soft);
}

/* ================= BUDGET RÉCAP (premium) ================= */

/* ================= LOADER STEP 3 ================= */

.op-step-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

    .op-step-loader.is-visible {
        opacity: 1;
        pointer-events: all;
    }

.op-step-loader-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 320px;
    width: 90%;
}

.op-step-spinner {
    width: 46px;
    height: 46px;
    border: 4px solid #e6f4f3;
    border-top-color: var(--fs-accent);
    border-radius: 50%;
    animation: op-spin 0.9s linear infinite;
    margin: 0 auto 18px;
}

@keyframes op-spin {
    to {
        transform: rotate(360deg);
    }
}

.op-step-loader-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--fs-accent);
    margin-bottom: 6px;
}

.op-step-loader-text {
    font-size: 0.9rem;
    color: #667;
}

.op-recap-budget {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.60);
    border: 1px solid rgba(6,147,152,0.20);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.06);
    width: fit-content;
}

.op-recap-budget-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--fs-primary-700), var(--fs-primary));
    box-shadow: 0 10px 18px rgba(6,147,152,0.22);
    flex: 0 0 auto;
}

.op-recap-budget-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;
}

.op-recap-budget-label {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(19,78,74,0.65);
}

.op-recap-budget-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 900;
    color: #134e4a;
}

.op-recap-budget-value #recapBudget {
    font-size: 1.25rem;
}

.op-recap-budget-suffix {
    font-size: .78rem;
    font-weight: 800;
    color: rgba(19,78,74,0.55);
}

/* Mobile : budget plein largeur + propre */
@media (max-width:768px) {
    .op-recap-budget {
        width: 100%;
        justify-content: center;
    }
}

/* ================= PASSAGERS RÉCAP ================= */

.op-recap-pax-row {
    margin-top: 12px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.op-pax-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(6,147,152,0.18);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    min-width: 90px;
}

/* Nombre */
.op-pax-count {
    font-size: 1.1rem;
    font-weight: 800;
    color: #134e4a;
    line-height: 1;
}

/* Libellé */
.op-pax-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(19,78,74,0.65);
}

/* Mobile : centré */
@media (max-width:768px) {
    .op-recap-pax-row {
        justify-content: center;
    }
}

/* Bloc meta confort */
.op-recap-meta {
    flex: 0 0 260px;
    min-width: max-content;
}

.op-recap-meta-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.op-recap-meta-icon {
    font-size: 1rem;
    color: var(--fs-primary);
}

/* Barre de confort */
.op-comfort-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f3f4f6, #e5f4f2);
    position: relative;
    overflow: hidden;
    margin-bottom: 0.55rem;
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.06);
}

.op-comfort-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: inherit;
    background-color: #94a3b8;
    width: 0%;
    box-shadow: 0 0 6px rgba(15, 118, 110, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.7);
    transition: width 0.35s ease, background-color 0.25s ease, transform 0.2s ease;
}

.op-comfort-legend {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 0.15rem;
}

.op-comfort-score {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--fs-primary-700);
}
.op-comfort-subtitle {
    font-size: 0.8rem;
    color: rgba(17, 51, 59, 0.75);
    line-height: 1.4;
}

.op-comfort-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.6rem;
}

.op-comfort-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--fs-primary-700);
}

.op-comfort-hint {
    font-size: 0.8rem;
    color: var(--text-soft);
    text-align: left;
}

/* Détails de la demande */
.op-recap-details {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.op-recap-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
}

.op-recap-item span:first-child {
    color: var(--text-soft);
}

.op-recap-item span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

/* ====== HOTEL CATEGORY – RECAP ====== */

.summary-item-hotel {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.op-hotel-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
}

.op-hotel-stars {
    display: inline-flex;
    gap: 3px;
    color: var(--fs-accent);
    font-size: 0.95rem;
}

.op-hotel-stars .fa-crown {
    color: var(--fs-accent);
    font-size: 1rem;
}

.op-hotel-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Footer ticket */
.op-recap-footer {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.06);
}

.op-recap-hint {
    margin-top: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #556;
}

.op-recap-hint-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--fs-accent);
    margin-bottom: 6px;
}

.op-recap-hint-title i {
    font-size: 1rem;
    color: var(--fs-accent);
}

.op-recap-hint-text {
    color: #556;
}


/* Responsive récap */
@media (max-width: 768px) {
    .op-recap-ticket {
        padding: 1.4rem 1.3rem 1.2rem;
    }

    .op-recap-main {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 0.6rem;
    }

    .op-recap-meta {
        width: 100%;
        flex: 0 0 220px;
        min-width: min-content;
    }

    .op-recap-details {
        margin-top: 0.5rem;
    }
}

/* =======================================================
   STICKY BOARDING PASS
   ======================================================= */

.op-boarding-pass {
    position: sticky;
    bottom: 0;
    background: linear-gradient(135deg, var(--fs-primary-700), var(--fs-primary));
    padding: 1.5rem 2rem;
    border-top: 3px solid var(--fs-accent);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.15);
    z-index: 998;
}

.op-boarding-inner {
    max-width: 1200px;
    margin: 0 auto;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.op-bcodes {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.op-bcode .code {
    font-size: 2rem;
    font-weight: 900;
}

.op-arrow {
    font-size: 1.6rem;
    color: var(--fs-accent);
}

.op-bdates {
    font-weight: 600;
    opacity: 0.95;
}

.op-bactions {
    display: flex;
    gap: 1rem;
}

.btn-prev,
.btn-prev-white,
.btn-next {
    font-family: inherit;
    padding: 0.7rem 1.7rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-prev-white {
    background: white;
    border: 1px solid var(--fs-primary-700);
    color: var(--fs-primary-700);
    box-shadow: var(--shadow-strong);
}
.btn-prev-white:hover {
    background: white;
    border: 1px solid var(--fs-accent);
    color: var(--fs-accent);
}

.btn-prev {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.btn-prev:hover {
    background: rgba(255,255,255,0.25);
}

.btn-next {
    background: var(--fs-accent);
    color: white;
    border: none;
    box-shadow: var(--shadow-strong);
}

.btn-next:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

/*==============================*/
/*       TIMELINE OPENSPLACE    */
/*==============================*/

.op-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px auto 40px;
    width: 80%;
    max-width: 900px;
    position: relative;
}

.op-t-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    text-align: center;
}

.op-t-dot {
    width: 18px;
    height: 18px;
    background: white;
    border: 3px solid var(--fs-primary-700);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.op-t-step.passed .op-t-dot {
    background: var(--fs-primary-700);
}

.op-t-step.active .op-t-dot {
    background: var(--fs-primary-700);
    transform: scale(1.2);
}

.op-t-label {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #134e4a;
}

.op-t-line {
    flex: 1;
    height: 3px;
    background: #cfeeee;
    border-radius: 2px;
}

.op-t-step.active + .op-t-line {
    background: var(--fs-accent);
}

.op-t-line.active {
    background: var(--fs-primary-700);
}

/* Responsive */
@media (max-width: 720px) {
    .op-timeline {
        width: 95%;
        gap: 6px;
    }

    .op-t-step {
        width: 60px;
    }

    .op-t-label {
        font-size: 10px;
    }
}


/*==============================*/
/*       AVION ANIMÉ            */
/*==============================*/

.op-plane-wrapper {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    margin-top: -85px;
}

.op-plane {
    position: absolute;
    left: -120px;
    top: 10px;
    width: 60px;
    opacity: 0.9;
    animation: flightAnim 10s linear infinite;
}

@keyframes flightAnim {
    0% {
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        transform: translateX(calc(100vw + 200px)) rotate(3deg);
        opacity: 0;
    }
}

/* =======================================================
   DROPDOWN LIST
   ======================================================= */

.fs-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

    .fs-field label {
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--fs-primary-700);
        transition: color 0.2s ease;
    }

        /* Hover label => orange */
        .fs-field label:hover {
            color: var(--fs-accent);
        }

/* Controls */

.fs-control {
    height: 46px;
    border-radius: 12px;
    border: 2px solid var(--fs-primary);
    padding: 0 12px;
    font-weight: 500;
    color: var(--fs-primary-700);
    outline: none;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

    .fs-control::placeholder {
        color: #7fb4b0;
    }

    /* Hover / focus => orange + halo */
    .fs-control:hover,
    .fs-control:focus {
        border-color: var(--fs-accent);
        box-shadow: 0 0 0 2px rgba(255,159,46,0.16);
        color: var(--fs-text);
    }

.fs-autocomplete-list {
    position: absolute;
    top: calc(100% + 6px); /* juste sous l'input */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.70); /* glassy */
    backdrop-filter: blur(10px) saturate(1.8);
    -webkit-backdrop-filter: blur(10px) saturate(1.8);
    border-radius: 14px;
    padding: 6px;
    border: 1px solid rgba(0, 115, 130, 0.25); /* bleu-vert discret */
    box-shadow: 0 6px 18px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    max-height: 260px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
    animation: fsAutocompleteFadeIn .15s ease-out;
}


/* Items */
.fs-autocomplete-item {
    padding: 10px 12px;
    font-size: 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    color: #023c40; /* bleu-vert foncé */
    transition: background 0.15s, transform 0.15s;
}

    /* survol */
    .fs-autocomplete-item:hover {
        background: rgba(0, 131, 143, 0.12); /* ton OpensPlace */
        transform: translateX(2px);
    }

    /* sélection clavier */
    .fs-autocomplete-item.active {
        background: rgba(0, 131, 143, 0.20);
        color: #004f53;
    }

/* Petite animation d'apparition */
@keyframes fsAutocompleteFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =======================================================
   BUDGET
   ======================================================= */
#budgetRange {
    width: 100%;
    height: 6px;
    border-radius: 10px;
    appearance: none;
    /*background: linear-gradient(to right, red, orange, yellow, green, blue);*/
    background: var(--fs-primary);    
    outline: none;
}

/* Curseur */
#budgetRange::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--fs-primary);
    border-radius: 50%;
    cursor: pointer;
}

#budgetRange::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--fs-primary);
    border-radius: 50%;
    cursor: pointer;
}

.op-budget-display {
    position: relative;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.op-budget-tooltip {
    position: absolute;
    top: 110%;
    left: 0;
    padding: .75rem 1rem;
    background: white;
    color: var(--fs-primary-800);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    font-size: .85rem;
    line-height: 1.3;
    width: max-content;
    max-width: 260px;
    opacity: 0;
    transform: translateY(5px);
    pointer-events: none;
    transition: .25s ease;
    z-index: 20;
}

.op-budget-display:hover #budgetTooltip {
    opacity: 1;
    transform: translateY(0);
}

/* =======================================================
   LOADER
   ======================================================= */
/* BADGE DYNAMIQUE */
#budgetBadge {
    position: relative;
    cursor: default;
    display: inline-flex;
    align-items: center;
}

/* Icône "i" */
#budgetBadge .badge-icon {
    font-weight: 900;
    font-size: 0.78rem;
    opacity: 0.9;
}

/* INFO-BULLE */
#budgetBadge .badge-tooltip {
    position: absolute;
    bottom: -70px;
    left: 0;
    background: white;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: var(--text-dark);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    width: max-content;
    max-width: 260px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: .25s ease;
    z-index: 20;
}

/* Affichage au survol de l’icône */
#budgetBadge:hover .badge-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.op-form-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.op-badge {
    background: rgba(6, 147, 152, 0.08);
    color: #069398;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.op-range-box.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.op-inline-error {
    display: none;
    margin: 16px auto 0;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(230, 57, 70, 0.7);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    max-width: 520px;
    text-align: center;
    border: 1px solid rgba(230, 57, 70, 0.25);
    animation: opFadeSlide .35s ease;
}

.op-inline-error.show {
    display: block;
}

@keyframes opFadeSlide {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Champ en erreur */
.op-field-error {
    outline: 2px solid #e63946 !important;
    border-radius: 10px;
    animation: shake .3s ease;
}

.btn-error {
    animation: pulseError .4s ease;
}

@keyframes pulseError {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.96);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(2px);
    }

    75% {
        transform: translateX(-2px);
    }

    100% {
        transform: translateX(0);
    }
}


/* =======================================================
   TOAST ENCOURAGEMENT
   ======================================================= */

#op-encourage-toast {
    position: fixed;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #134e4a, #069398);
    color: white;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 12px 36px rgba(6,147,152,0.45);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}

.op-enc-emoji {
    font-size: 20px;
    animation: toastBounce 0.5s ease;
}

.op-enc-msg {
    letter-spacing: 0.01em;
}

@keyframes toastBounce {
    0%   { transform: scale(0.6); }
    60%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 600px) {
    #op-encourage-toast {
        font-size: 13px;
        padding: 12px 18px;
        bottom: 130px;
        white-space: normal;
        text-align: center;
        max-width: 90vw;
    }
}

/* =======================================================
   RESPONSIVE
   ======================================================= */

@media (max-width: 768px) {
    .op-hero {
        height: 220px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .op-hero-overlay {
        bottom: 14px;
        left: 14px;
        padding: 10px 16px;
    }

    .op-hero h1 {
        margin-top: 4rem;
    }

    .op-container {
        padding: 1.5rem;
    }

    .op-step-title {
        font-size: 1.6rem;
    }

    .op-boarding-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .op-bactions {
        width: 100%;
        justify-content: center;
    }

    .btn-prev, .btn-next {
        flex: 1;
    }
}
