/* ===================================================================
   Page /rendez-vous — Conversion maximale
   Variables CSS proviennent de style.css (:root)
   =================================================================== */

/* Header : réutilise .landing-header de landing.css */

/* ── Hero ── */

.rdv-hero {
    padding: 56px 0 40px;
    text-align: center;
}

.rdv-hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-blue);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: var(--weight-bold);
    margin-bottom: 20px;
}

.rdv-hero h1 {
    font-size: clamp(26px, 5vw, 42px);
    font-weight: var(--weight-extra);
    color: var(--primary-dark);
    line-height: 1.15;
    margin: 0 0 16px;
    text-wrap: balance;
}

.rdv-hero-subtitle {
    font-size: clamp(16px, 2.5vw, 19px);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.rdv-hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.rdv-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 20px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    min-width: 160px;
}

.rdv-stat-icon {
    font-size: 24px;
}

.rdv-stat-value {
    font-size: 15px;
    font-weight: var(--weight-bold);
    color: var(--primary-dark);
}

.rdv-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ── Widget wrapper (shared by both widget positions) ── */

.rdv-widget-section {
    padding: 48px 0;
    text-align: center;
}

.rdv-widget-section.rdv-widget-top {
    padding-top: 0;
}

.rdv-widget-label {
    text-align: center;
    font-size: 16px;
    font-weight: var(--weight-bold);
    color: var(--primary-dark);
    margin-bottom: 24px;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    display: inline-block;
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.rdv-widget-label strong {
    color: var(--primary-dark);
}

.rdv-widget-section .si-booking-widget {
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(12, 113, 195, 0.22), 0 0 0 1px var(--border);
    border-radius: var(--radius-xl);
}

@media (min-width: 769px) {
    .rdv-widget-section .si-booking-widget {
        max-width: 640px;
    }
    .rdv-widget-section .si-bw-step {
        padding: 32px;
    }
    .rdv-widget-section .si-bw-header {
        padding: 24px 32px;
    }
    .rdv-widget-section .si-bw-cal-day {
        font-size: 16px;
    }
    .rdv-widget-section .si-bw-slot-btn {
        padding: 18px 12px;
        font-size: 17px;
    }
    .rdv-widget-section .si-bw-submit {
        padding: 20px;
        font-size: 18px;
    }
}

/* ── Steps (Comment ça marche) ── */

.rdv-steps {
    padding: 56px 0;
}

.rdv-steps h2 {
    text-align: center;
    margin-bottom: 40px;
}

.rdv-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.rdv-step-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-xs);
}

.rdv-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: var(--weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rdv-step-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.rdv-step-card h3 {
    font-size: 16px;
    font-weight: var(--weight-bold);
    color: var(--primary-dark);
    margin: 0 0 8px;
}

.rdv-step-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Pricing ── */

.rdv-pricing {
    padding: 56px 0;
}

.rdv-pricing h2 {
    text-align: center;
    margin-bottom: 32px;
}

.rdv-pricing-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.rdv-pricing-header {
    background: var(--primary-dark);
    padding: 28px 32px;
    text-align: center;
    color: #fff;
}

.rdv-price-gross {
    font-size: 22px;
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: var(--weight-normal);
}

.rdv-price-net {
    display: block;
    font-size: clamp(36px, 6vw, 48px);
    font-weight: var(--weight-black);
    margin: 4px 0;
}

.rdv-price-note {
    font-size: 14px;
    opacity: 0.7;
}

.rdv-pricing-body {
    padding: 28px 32px;
}

.rdv-pricing-body ol {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    counter-reset: pricing-step;
}

.rdv-pricing-body ol li {
    counter-increment: pricing-step;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid var(--border-soft);
}

.rdv-pricing-body ol li:last-child {
    border-bottom: none;
}

.rdv-pricing-body ol li::before {
    content: counter(pricing-step);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: var(--primary-blue);
    border-radius: 50%;
    font-size: 13px;
    font-weight: var(--weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rdv-pricing-sap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--primary-dark);
    font-weight: var(--weight-medium);
    margin-bottom: 16px;
}

.rdv-pricing-sap span {
    font-size: 18px;
}

.rdv-pricing-badge {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.rdv-pricing-link {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: var(--weight-medium);
}

/* ── Included ── */

.rdv-included {
    padding: 56px 0;
}

.rdv-included h2 {
    text-align: center;
    margin-bottom: 32px;
}

.rdv-checklist {
    max-width: 480px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.rdv-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--surface);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: var(--weight-medium);
    color: var(--text-dark);
    box-shadow: var(--shadow-xs);
}

.rdv-checklist li::before {
    content: "✓";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--success-green);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: var(--weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Zone ── */

.rdv-zone {
    padding: 56px 0;
}

.rdv-zone h2 {
    text-align: center;
    margin-bottom: 8px;
}

.rdv-zone-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

.rdv-zone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto 24px;
}

.rdv-zone-group h3 {
    font-size: 14px;
    font-weight: var(--weight-bold);
    color: var(--primary-blue);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rdv-zone-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rdv-zone-group ul li {
    font-size: 14px;
    color: var(--text-dark);
    padding: 3px 0;
}

.rdv-zone-cta {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ── FAQ ── */

.rdv-faq {
    padding: 56px 0;
}

.rdv-faq h2 {
    text-align: center;
    margin-bottom: 32px;
}

.rdv-faq-list {
    max-width: 640px;
    margin: 0 auto;
}

.rdv-faq-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    box-shadow: var(--shadow-xs);
}

.rdv-faq-item summary {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: var(--weight-bold);
    color: var(--primary-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rdv-faq-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: var(--weight-bold);
    color: var(--primary-blue);
    transition: transform 0.2s;
}

.rdv-faq-item[open] summary::after {
    content: "−";
}

.rdv-faq-item summary::-webkit-details-marker {
    display: none;
}

.rdv-faq-item p {
    padding: 0 20px 16px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ── Reviews ── */

.rdv-reviews {
    padding: 40px 0;
}

/* Version inline (collée sous le widget) */
.rdv-reviews.rdv-reviews-inline {
    padding: 0 0 40px;
    text-align: center;
}

.rdv-reviews h2 {
    text-align: center;
    margin-bottom: 8px;
}

.rdv-reviews-score {
    text-align: center;
    margin-bottom: 32px;
}

.rdv-reviews-stars {
    font-size: 28px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 4px;
}

.rdv-reviews-count {
    font-size: 15px;
    color: var(--text-muted);
}

.rdv-reviews-count a {
    color: var(--primary-blue);
    font-weight: var(--weight-medium);
}

/* Trustindex widget gère ses propres styles */


/* ── Footer ── */

.rdv-footer {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.rdv-footer a {
    color: var(--primary-blue);
    text-decoration: none;
}

.rdv-footer-sep {
    margin: 0 8px;
    opacity: 0.4;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .rdv-steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .rdv-hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .rdv-stat {
        width: 100%;
        max-width: 280px;
    }

    .rdv-zone-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rdv-pricing-header {
        padding: 24px 20px;
    }

    .rdv-pricing-body {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .rdv-zone-grid {
        grid-template-columns: 1fr;
    }
}
