/* ─── Matrivago Car — Formulaire de réservation ──────────── */

.mcv-resa-wrap {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* Steps indicator */
.mcv-steps {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}
.mcv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    flex: 1;
    position: relative;
}
.mcv-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    right: -40%;
    height: 2px;
    background: #e5e7eb;
    transition: background .3s;
}
.mcv-step:last-child::after { display: none; }
.mcv-step.done::after { background: #E8A020; }

.mcv-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .82rem;
    color: #6b7280;
    transition: all .3s;
    position: relative;
    z-index: 1;
}
.mcv-step.active .mcv-step-circle {
    border-color: #E8A020;
    background: #E8A020;
    color: #fff;
}
.mcv-step.done .mcv-step-circle {
    border-color: #10b981;
    background: #10b981;
    color: #fff;
}
.mcv-step-label {
    font-size: .7rem;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
}
.mcv-step.active .mcv-step-label { color: #E8A020; }
.mcv-step.done  .mcv-step-label  { color: #10b981; }

/* Form card */
.mcv-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    border: 1.5px solid #e5e7eb;
}
.mcv-form-card h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.25rem;
    margin: 0 0 .25rem;
}
.mcv-form-sub {
    color: #6b7280;
    font-size: .875rem;
    margin-bottom: 1.75rem;
}

/* Grid */
.mcv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}
.mcv-grid-full { grid-column: 1 / -1; }

.mcv-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.mcv-field label {
    font-size: .77rem;
    font-weight: 600;
    color: #2d2d2d;
}
.mcv-field .req { color: #E8A020; }
.mcv-field input,
.mcv-field select,
.mcv-field textarea {
    padding: .72rem .9rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: .875rem;
    font-family: 'Inter', sans-serif;
    color: #2d2d2d;
    background: #fff;
    transition: border-color .3s;
    width: 100%;
    box-sizing: border-box;
}
.mcv-field input:focus,
.mcv-field select:focus,
.mcv-field textarea:focus {
    outline: none;
    border-color: #E8A020;
    box-shadow: 0 0 0 3px rgba(232,160,32,.12);
}
.mcv-field input[readonly] {
    background: #f8f9fa;
    color: #6b7280;
    cursor: default;
}
.mcv-field input.price-output {
    font-weight: 700;
    color: #E8A020;
}

/* Price summary */
.mcv-price-box {
    background: linear-gradient(135deg, #0B1F3A, #132d56);
    border-radius: 12px;
    padding: 1.4rem;
    color: #fff;
    margin-top: 1.25rem;
}
.mcv-price-box-title {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: .9rem;
}
.mcv-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .45rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .875rem;
}
.mcv-price-row:last-child { border-bottom: none; }
.mcv-price-row .lbl { color: rgba(255,255,255,.65); }
.mcv-price-row .val { font-weight: 700; }
.mcv-price-row.total {
    border-top: 2px solid rgba(255,255,255,.14);
    border-bottom: none;
    margin-top: .5rem;
    padding-top: .9rem;
}
.mcv-price-row.total .lbl { font-size: .95rem; font-weight: 700; }
.mcv-price-row.total .val { font-size: 1.65rem; font-weight: 800; color: #E8A020; }

/* Options */
.mcv-options { display: flex; flex-direction: column; gap: .65rem; margin-top: .75rem; }
.mcv-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1.1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all .3s;
}
.mcv-option:hover,
.mcv-option.selected { border-color: #E8A020; background: rgba(232,160,32,.04); }
.mcv-option-left { display: flex; align-items: center; gap: .65rem; }
.mcv-option input[type="checkbox"] { width: 16px; height: 16px; accent-color: #E8A020; cursor: pointer; }
.mcv-option-label { font-weight: 600; font-size: .875rem; }
.mcv-option-price { color: #E8A020; font-weight: 700; font-size: .85rem; }

/* CGV */
.mcv-cgv {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .9rem 0;
}
.mcv-cgv input { width: 17px; height: 17px; accent-color: #E8A020; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.mcv-cgv label { font-size: .83rem; color: #6b7280; cursor: pointer; }
.mcv-cgv a { color: #E8A020; }

/* Navigation buttons */
.mcv-form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}

/* Boutons */
.mcv-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1.75rem;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
}
.mcv-btn-primary {
    background: #E8A020;
    color: #fff !important;
    border-color: #E8A020;
}
.mcv-btn-primary:hover {
    background: #d4901a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,160,32,.35);
}
.mcv-btn-outline {
    background: transparent;
    color: #0B1F3A !important;
    border-color: #0B1F3A;
}
.mcv-btn-outline:hover {
    background: #0B1F3A;
    color: #fff !important;
}

/* ══════════════════════════════════════════════════════════
   ANIMATED TESTIMONIALS
══════════════════════════════════════════════════════════ */

#mcv-at-section {
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.mcv-at-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* ── Gauche ─────────────────────────────────────────────── */
.mcv-at-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(232,160,32,.1);
    color: #E8A020;
    padding: .35rem .9rem;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 1.25rem;
}

.mcv-at-heading {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #0B1F3A;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.mcv-at-subtitle {
    font-size: .95rem;
    color: #6b7280;
    line-height: 1.75;
    max-width: 380px;
    margin-bottom: 2rem;
}

/* Dots */
.mcv-at-dots { display: flex; gap: .65rem; align-items: center; }
.mcv-at-dot {
    height: 10px;
    border-radius: 5px;
    border: none;
    background: rgba(11,31,58,.15);
    cursor: pointer;
    transition: all .35s ease;
    width: 10px;
    padding: 0;
}
.mcv-at-dot-active { width: 32px; background: #E8A020; }
.mcv-at-dot:hover  { background: rgba(232,160,32,.5); }

/* Animation entrée gauche */
.mcv-at-reveal {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity .7s ease, transform .7s ease;
}
.mcv-at-reveal.mcv-at-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Droite : carrousel ──────────────────────────────────── */
.mcv-at-right {
    position: relative;
    min-height: 400px;
}

.mcv-at-card {
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.10);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(80px) scale(.95);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
    z-index: 0;
}
.mcv-at-card.mcv-at-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 10;
}

/* Stars */
.mcv-at-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.25rem;
}

/* Corps / zone de citation */
.mcv-at-body {
    position: relative;
    flex: 1;
    margin-bottom: 1.25rem;
}
.mcv-at-quote {
    position: absolute;
    top: -6px;
    left: -4px;
    transform: rotate(180deg);
    z-index: 0;
    pointer-events: none;
}
.mcv-at-text {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    line-height: 1.75;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Séparateur */
.mcv-at-sep {
    height: 1px;
    background: #e5e7eb;
    margin-bottom: 1.25rem;
}

/* Auteur */
.mcv-at-author {
    display: flex;
    align-items: center;
    gap: .9rem;
}
.mcv-at-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
}
.mcv-at-avatar-fb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.mcv-at-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: #0B1F3A;
}
.mcv-at-role {
    font-size: .8rem;
    color: #6b7280;
    margin-top: .1rem;
}

/* Éléments décoratifs coins */
.mcv-at-deco {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: rgba(232,160,32,.07);
    z-index: 0;
}
.mcv-at-deco-bl { bottom: -24px; left: -24px; }
.mcv-at-deco-tr { top: -24px; right: -24px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .mcv-at-grid { grid-template-columns: 1fr; gap: 3rem; }
    .mcv-at-right { min-height: 360px; }
    .mcv-at-subtitle { max-width: 100%; }
}
@media (max-width: 540px) {
    .mcv-at-card { padding: 1.5rem; }
    .mcv-at-right { min-height: 460px; }
}

/* ─── CGV block ─────────────────────────────────────────── */
.mcv-cgv-block {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.mcv-cgv-notice {
    font-size: .875rem;
    color: #374151;
    margin-bottom: .6rem;
}
.mcv-cgv-link {
    background: none;
    border: none;
    color: #E8A020;
    font-weight: 600;
    font-size: .875rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-family: inherit;
}
.mcv-cgv-link:hover { color: #d4901a; }

.mcv-cgv-status {
    font-size: .82rem;
    font-weight: 600;
    padding: .4rem .75rem;
    border-radius: 6px;
    display: inline-block;
}
.mcv-cgv-pending {
    background: #fef3c7;
    color: #92400e;
}
.mcv-cgv-accepted {
    background: #d1fae5;
    color: #065f46;
}

/* ─── Modale CGV ─────────────────────────────────────────── */
.mcv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.mcv-modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 680px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: mcvModalIn .25s ease;
}
@keyframes mcvModalIn {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}
.mcv-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}
.mcv-modal-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0B1F3A;
    margin: 0;
}
.mcv-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
    padding: 0 .25rem;
}
.mcv-modal-close:hover { color: #374151; }

.mcv-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    font-size: .875rem;
    color: #374151;
    line-height: 1.75;
}
.mcv-modal-body h4 {
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    color: #0B1F3A;
    margin: 1.25rem 0 .4rem;
}
.mcv-modal-body h4:first-child { margin-top: 0; }
.mcv-modal-body p { margin: 0 0 .75rem; }

.mcv-modal-alert {
    background: rgba(232,160,32,.1);
    border-left: 4px solid #E8A020;
    border-radius: 0 8px 8px 0;
    padding: .85rem 1rem;
    margin-top: 1rem;
    font-size: .85rem;
    color: #6b4200;
}

.mcv-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .mcv-modal-footer { flex-direction: column; }
    .mcv-modal-footer .mcv-btn { width: 100%; justify-content: center; }
}

/* Confirmation */
.mcv-confirm-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    max-width: 560px;
    margin: 2rem auto;
}
.mcv-confirm-icon {
    width: 72px;
    height: 72px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}
.mcv-confirm-ref {
    display: inline-block;
    background: #f8f9fa;
    border: 2px dashed #e5e7eb;
    border-radius: 6px;
    padding: .45rem 1.5rem;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: #E8A020;
    margin: 1rem 0;
}

/* Responsive */
@media (max-width: 640px) {
    .mcv-grid { grid-template-columns: 1fr; }
    .mcv-form-card { padding: 1.5rem 1.25rem; border-radius: 14px; }
    .mcv-btn { padding: .7rem 1.25rem; font-size: .85rem; }
}
