:root {
    --rdv-primary: #37000A;
    --rdv-primary-soft: #f6ecee;
    --rdv-primary-lighter: #fbf5f6;
    --rdv-card-cream: #fbf5ed;
    --rdv-line: #eadfe2;
    --rdv-text: #241f21;
    --rdv-muted: #625b5e;
    --rdv-card: #ffffff;
    --rdv-container: 1760px;
    --rdv-shadow: 0 12px 30px rgba(55, 0, 10, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--rdv-text);
    background: #fff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(calc(100% - 86px), var(--rdv-container));
    margin: 0 auto;
}

.site-main { min-height: 40vh; }

.site-header {
    background: var(--rdv-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 9px 0;
}

.brand img { width: 204px; max-width: 100%; }

.menu-toggle { display: none; }

.menu-toggle-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.92);
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    padding: 8px;
}

.menu-toggle-box span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    margin: 2px 0;
}

.menu-toggle-label {
    font-weight: 900;
    letter-spacing: 0.18em;
}

.header-nav-wrap,
.main-nav {
    display: flex;
    align-items: center;
}

.header-nav-wrap { gap: 26px; }
.main-nav { gap: 26px; }

.main-nav a {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 800;
    padding: 8px 0;
    position: relative;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 3px;
    border-radius: 999px;
    background: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 6px;
    font-weight: 800;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1;
}

.btn-pro {
    min-width: 138px;
    min-height: 45px;
    padding: 0 20px;
    background: #fff;
    color: var(--rdv-primary);
    font-size: 0.98rem;
    border-radius: 7px;
}

.btn-primary,
.btn-secondary {
    min-height: 46px;
    min-width: 232px;
    padding: 13px 22px;
    font-size: 0.94rem;
}

.btn-primary {
    background: var(--rdv-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(55, 0, 10, 0.18);
}

.btn-secondary {
    background: #fff;
    color: var(--rdv-primary);
    border-color: var(--rdv-primary);
}

.home-hero {
    min-height: 452px;
    padding: 0 0 40px;
    background: linear-gradient(90deg, #fff 0%, #fff 37%, #f6f2f2 37%, #f6f2f2 100%);
    overflow: hidden;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(500px, 38%) minmax(760px, 62%);
    align-items: stretch;
    gap: 0;
}

.home-hero-copy {
    position: relative;
    z-index: 2;
    padding: 28px 20px 12px 0;
    background: linear-gradient(90deg, #fff 0%, #fff 84%, rgba(255,255,255,0) 100%);
}

.home-hero-copy h1 {
    margin: 0 0 15px;
    font-size: clamp(2.65rem, 3.05vw, 3.85rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 900;
    max-width: 620px;
}

.home-hero-copy h1 span { color: var(--rdv-primary); }

.home-hero-copy p {
    margin: 0 0 20px;
    max-width: 628px;
    color: #4c4749;
    font-size: 0.99rem;
    line-height: 1.43;
    font-weight: 600;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.home-audience-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 650px;
    gap: 0;
}

.home-audience-mini {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-right: 24px;
}

.home-audience-mini + .home-audience-mini {
    border-left: 1px solid var(--rdv-line);
    padding-left: 28px;
    padding-right: 0;
}

.home-line-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--rdv-primary);
    font-size: 1.45rem;
}

.home-audience-mini strong {
    display: block;
    font-size: 0.91rem;
    margin-bottom: 4px;
}

.home-audience-mini small {
    display: block;
    color: var(--rdv-muted);
    font-size: 0.86rem;
    line-height: 1.25;
    font-weight: 700;
}

.home-hero-image-wrap {
    position: relative;
    min-height: 452px;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    margin-right: calc((100vw - min(calc(100vw - 86px), var(--rdv-container))) / -2);
}

.home-hero-image {
    width: 100%;
    height: 452px;
    object-fit: cover;
    object-position: center center;
}

.home-floating-card {
    position: absolute;
    left: 41%;
    bottom: 10px;
    min-width: 520px;
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 28px;
    background: #fff;
    border-radius: 19px;
    box-shadow: var(--rdv-shadow);
}

.home-floating-card span,
.home-card-icon,
.home-check-list span,
.home-feature span,
.home-final-icon,
.home-choice-label span {
    color: var(--rdv-primary);
    background: var(--rdv-primary-soft);
}

.home-floating-card span {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.95rem;
}

.home-floating-card strong {
    font-size: 1.08rem;
    line-height: 1.25;
}

.home-main { border-top: 1px solid #f1ebed; }
.home-main-grid {
    display: grid;
    grid-template-columns: 47% 53%;
    gap: 0;
}

.home-block { padding: 24px 0 22px; }
.home-for-all { padding-right: 54px; }
.home-reasons {
    border-left: 1px solid var(--rdv-line);
    padding-left: 76px;
}

.home-block h2 {
    margin: 0 0 15px;
    font-size: 1.95rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.home-block h2 span,
.home-slogan strong,
.home-final-box strong { color: var(--rdv-primary); }
.home-for-all h2 span { color: var(--rdv-primary); }
.home-intro {
    margin: -7px 0 13px;
    color: var(--rdv-muted);
    font-weight: 700;
}

.home-cards-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.home-soft-card {
    min-height: 255px;
    padding: 31px 31px 24px;
    border-radius: 15px;
}

.home-soft-card-a { background: var(--rdv-primary-lighter); }
.home-soft-card-b { background: var(--rdv-card-cream); }

.home-card-icon {
    width: 63px;
    height: 63px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 17px;
}

.home-soft-card h3 {
    margin: 0 0 22px;
    font-size: 1.35rem;
    line-height: 1.22;
    font-weight: 900;
}

.home-soft-card p {
    margin: 0 0 21px;
    color: #4c4749;
    font-size: 0.96rem;
    line-height: 1.45;
    font-weight: 600;
}

.home-soft-card a {
    color: var(--rdv-primary);
    font-weight: 900;
    font-size: 0.96rem;
}
.home-soft-card a span { margin-left: 12px; }

.home-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-check-list li {
    min-height: 34px;
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    border-bottom: 1px solid #eee7e9;
    color: #514c4e;
    font-size: 0.94rem;
    font-weight: 800;
}

.home-check-list span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.02rem;
}

.home-slogan {
    margin: 14px 0 0;
    color: #9d3440;
    font-size: 1.12rem;
    line-height: 1.25;
    font-weight: 900;
}

.home-choice {
    border-top: 1px solid #f1ebed;
    padding: 20px 0 11px;
}

.home-choice-grid {
    display: grid;
    grid-template-columns: 39% 61%;
    gap: 44px;
}

.home-choice h2,
.home-platform h2 {
    margin: 0 0 16px;
    font-size: 1.6rem;
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.home-choice-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}

.home-choice-cards article { position: relative; }
.home-choice-cards img {
    width: 100%;
    height: 132px;
    object-fit: cover;
    border-radius: 7px;
}

.home-choice-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 13px;
    margin-left: 27px;
    font-size: 1.05rem;
    font-weight: 900;
}

.home-choice-label span,
.home-final-icon {
    width: 49px;
    height: 49px;
    min-width: 49px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.45rem;
    background: var(--rdv-primary);
    color: #fff;
}

.home-platform {
    display: grid;
    grid-template-columns: 56% 44%;
    gap: 24px;
    align-items: center;
    border-left: 1px solid var(--rdv-line);
    padding-left: 48px;
}

.home-platform > img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.home-feature {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: start;
    margin-bottom: 16px;
}

.home-feature span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.35rem;
}

.home-feature strong {
    display: block;
    font-size: 1rem;
    line-height: 1.15;
    margin-bottom: 4px;
    font-weight: 900;
}

.home-feature small {
    display: block;
    color: var(--rdv-muted);
    line-height: 1.35;
    font-weight: 700;
}

.home-final-cta { padding: 0 0 13px; }
.home-final-box {
    min-height: 84px;
    display: grid;
    grid-template-columns: 78px 1fr auto;
    align-items: center;
    gap: 26px;
    background: var(--rdv-primary-lighter);
    border-radius: 13px;
    padding: 16px 33px;
}

.home-final-box p {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.42;
    font-weight: 900;
}

.home-final-actions {
    display: flex;
    gap: 22px;
    align-items: center;
}

.home-final-actions .btn { min-width: 238px; }

 .site-footer {
    background: var(--rdv-primary);
    color: #fff;
    margin-top: 26px;
}

/* RDVLIB Pack 88 - Footer public allégé.
   Objectif : afficher uniquement la barre de liens du footer,
   comme sur la maquette demandée, sans bloc légal sous les liens. */
@media (min-width: 921px) {
    body {
        padding-bottom: 54px;
    }

    .site-footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        margin-top: 0;
        box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.10);
    }
}

.footer-top {
    border-top: 0;
    padding: 17px 0 18px;
}

.footer-links {
    min-height: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 58px;
    align-items: center;
    font-weight: 800;
    font-size: 0.82rem;
}

.footer-links a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom,
.footer-legal {
    display: none !important;
}



/* RDVLIB Pack 119 - Header/footer public harmonisés sur le format FAQ. */
.site-header,
.site-footer {
    width: 100%;
}

.footer-links a {
    position: relative;
    padding: 4px 0 6px;
}

.footer-links a.active,
.footer-links a:hover {
    color: #fff;
}

.footer-links a.active::after,
.footer-links a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: #fff;
}

@media (max-width: 1500px) {
    .container { width: min(calc(100% - 72px), var(--rdv-container)); }
    .home-hero-grid { grid-template-columns: minmax(455px, 40%) minmax(620px, 60%); }
    .home-hero-copy h1 { font-size: clamp(2.35rem, 3vw, 3.45rem); }
    .home-floating-card { left: 30%; min-width: 480px; }
    .home-reasons { padding-left: 54px; }
    .home-for-all { padding-right: 42px; }
    .home-final-actions .btn { min-width: 210px; }
}

@media (max-width: 1180px) {
    .home-hero { background: #fff; }
    .home-hero-grid,
    .home-main-grid,
    .home-choice-grid,
    .home-platform {
        grid-template-columns: 1fr;
    }
    .home-hero-image-wrap {
        margin-right: 0;
        min-height: auto;
    }
    .home-hero-image { height: auto; border-radius: 14px; }
    .home-floating-card {
        position: static;
        min-width: 0;
        margin: -28px auto 20px;
        width: min(92%, 620px);
    }
    .home-reasons,
    .home-platform {
        border-left: 0;
        padding-left: 0;
    }
    .home-for-all { padding-right: 0; }
    .home-final-box { grid-template-columns: 60px 1fr; }
    .home-final-actions { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 920px) {
    .container { width: min(calc(100% - 32px), var(--rdv-container)); }

    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 14px;
        padding: 16px 0 18px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        margin-left: auto;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 1rem;
        cursor: pointer;
    }

    .header-nav-wrap {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-top: 10px;
        padding-top: 16px;
        border-top: 1px solid rgba(255,255,255,0.14);
    }

    .site-header.menu-open .header-nav-wrap {
        display: flex;
    }

    .main-nav,
    .home-hero-actions,
    .home-final-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav { gap: 16px; }

    .main-nav a {
        font-size: 1rem;
        padding: 6px 0;
    }

    .btn-pro,
    .btn-primary,
    .btn-secondary,
    .home-final-actions .btn { width: 100%; min-width: 100%; }

    .home-hero-copy { padding-right: 0; }
    .home-hero-copy h1 { font-size: 2.12rem; }
    .home-audience-strip,
    .home-cards-two,
    .home-choice-cards { grid-template-columns: 1fr; }
    .home-audience-mini,
    .home-audience-mini + .home-audience-mini {
        border-left: 0;
        padding: 0;
    }
    .home-platform > img { height: auto; }
}

@media (max-width: 640px) {
    .brand img { width: 192px; }
    .menu-toggle {
        gap: 10px;
        font-size: 0.96rem;
    }
    .menu-toggle-box {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    .home-hero-copy h1 { font-size: 1.75rem; }
    .home-floating-card { align-items: flex-start; padding: 16px; }
    .home-final-box { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 18px; }
    .footer-links { gap: 16px 24px; padding: 14px 0; }
}


/* RDVLIB V4 - Suppression définitive du doublon sous l'image hero.
   La mention est déjà intégrée directement dans hero-composite-pj2.png. */
.home-floating-card,
.home-exact-badge {
    display: none !important;
}

/* ==========================================================
   CONTACTS
   Page contact conforme à la maquette, sans modification
   du header et du footer globaux.
   ========================================================== */
.page-contacts {
    background: #ffffff;
}

.contact-page-shell {
    padding: 24px 0 38px;
    background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
}

.contact-container {
    max-width: 1660px;
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.88fr) minmax(620px, 1.2fr);
    gap: 36px;
    align-items: stretch;
    margin-bottom: 28px;
}

.contact-hero-text,
.contact-highlight-card,
.contact-card,
.contact-support-panel,
.contact-final-cta {
    background: rgba(255,255,255,0.92);
    border: 1px solid #eee3e5;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(55, 0, 10, 0.045);
}

.contact-hero-text {
    padding: 36px 28px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-kicker {
    margin: 0 0 16px;
    color: #915563;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.98rem;
    font-weight: 900;
}

.contact-hero h1,
.contact-card h2,
.contact-support-panel h2,
.contact-final-cta h2,
.contact-highlight-card h2 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #6b2030;
}

.contact-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(3rem, 4.15vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 500;
}

.contact-hero-text > p:not(.contact-kicker) {
    margin: 0 0 28px;
    max-width: 455px;
    color: #534a4d;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 700;
}

.contact-hero-actions,
.contact-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-hero-actions .btn,
.contact-final-actions .btn {
    min-width: 158px;
    min-height: 50px;
}

.contact-hero-image-card,
.contact-image-panel,
.contact-details-visual {
    overflow: hidden;
    border-radius: 18px;
    background: #f2e7e1;
    border: 1px solid #eee3e5;
}

.contact-hero-image-card img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    object-position: center;
}

.contact-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 22px;
}

.contact-highlight-card {
    min-height: 124px;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 18px;
    align-items: center;
}

.contact-icon,
.contact-big-icon,
.contact-final-icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fbf2f3;
    color: #8b4d5a;
    border: 1px solid #eadfe2;
    font-size: 1.45rem;
    font-weight: 900;
    flex: 0 0 auto;
}

.contact-highlight-card h2 {
    margin: 0 0 4px;
    font-size: 1.08rem;
    line-height: 1.18;
    font-weight: 500;
}

.contact-highlight-card p,
.contact-details-visual p,
.contact-support-panel p,
.contact-final-cta p,
.contact-privacy {
    margin: 0;
    color: #5c5558;
    line-height: 1.52;
    font-size: 0.96rem;
    font-weight: 700;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.contact-card {
    padding: 26px 26px 24px;
}

.contact-card h2,
.contact-support-panel h2,
.contact-final-cta h2 {
    margin: 0 0 18px;
    font-size: 1.75rem;
    line-height: 1.12;
    font-weight: 500;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 6px;
}

.contact-form label span {
    font-size: 0.82rem;
    font-weight: 800;
    color: #7f3142;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #eadfe2;
    border-radius: 8px;
    background: #ffffff;
    color: #241f21;
    font: inherit;
    font-weight: 700;
    padding: 14px 15px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a49ca0;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #7b1325;
    box-shadow: 0 0 0 4px rgba(123, 19, 37, 0.10);
}

.contact-form-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-submit {
    width: 100%;
    min-width: 100%;
    min-height: 48px;
    border-radius: 8px;
}

.contact-privacy {
    font-size: 0.84rem;
    color: #82787c;
}

.contact-alert {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.contact-alert ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

.contact-alert-success {
    background: #eef9f0;
    border: 1px solid #b9dfc0;
    color: #24542d;
}

.contact-alert-error {
    background: #fff1f1;
    border: 1px solid #e8bcbc;
    color: #7b1325;
}

.contact-details-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.93fr) minmax(260px, 0.9fr);
    gap: 22px;
    align-items: start;
}

.contact-details-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-details-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee3e5;
}

.contact-details-list .contact-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
}

.contact-details-list strong {
    display: block;
    margin-bottom: 4px;
    color: #7b1325;
    font-weight: 900;
}

.contact-details-list a,
.contact-details-list span {
    display: block;
    color: #4d4649;
    font-weight: 800;
    line-height: 1.25;
}

.contact-details-list small {
    color: #6e6568;
    font-weight: 800;
}

.contact-details-visual {
    background: #fbf5f1;
}

.contact-details-visual img {
    width: 100%;
    height: 236px;
    object-fit: cover;
    object-position: center;
}

.contact-details-visual p {
    padding: 16px 18px 18px;
}

.contact-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.contact-image-panel img {
    width: 100%;
    height: 304px;
    object-fit: cover;
    object-position: center;
}

.contact-support-panel {
    padding: 32px 30px;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    align-items: start;
    background: linear-gradient(135deg, #fff9fa 0%, #fff3f5 100%);
}

.contact-big-icon {
    width: 66px;
    height: 66px;
    font-size: 1.9rem;
}

.contact-support-panel p + p {
    margin-top: 16px;
}

.contact-final-cta {
    padding: 18px 24px;
    display: grid;
    grid-template-columns: 82px 1fr auto;
    gap: 18px;
    align-items: center;
    background: linear-gradient(90deg, #fff6f7 0%, #fbeff1 100%);
}

.contact-final-icon {
    width: 68px;
    height: 68px;
    background: #7b1325;
    color: #ffffff;
    font-size: 1.9rem;
    border-color: #7b1325;
}

.contact-final-cta h2 {
    margin-bottom: 5px;
}

.contact-final-actions {
    justify-content: flex-end;
}

@media (max-width: 1180px) {
    .contact-hero,
    .contact-main-grid,
    .contact-bottom-grid,
    .contact-details-card,
    .contact-final-cta {
        grid-template-columns: 1fr;
    }

    .contact-hero-image-card img {
        min-height: 0;
        height: auto;
        max-height: 520px;
    }

    .contact-highlights {
        grid-template-columns: 1fr;
    }

    .contact-final-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 920px) {
    .contact-page-shell {
        padding: 18px 0 30px;
    }

    .contact-hero-text,
    .contact-card,
    .contact-support-panel,
    .contact-final-cta,
    .contact-highlight-card {
        padding: 22px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-form-row,
    .contact-support-panel {
        grid-template-columns: 1fr;
    }

    .contact-hero-actions .btn,
    .contact-final-actions .btn {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 640px) {
    .contact-page-shell {
        padding-top: 12px;
    }

    .contact-hero,
    .contact-highlights,
    .contact-main-grid,
    .contact-bottom-grid {
        gap: 14px;
    }

    .contact-hero h1 {
        font-size: 2.1rem;
    }

    .contact-highlight-card {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-details-list li {
        grid-template-columns: 44px 1fr;
        gap: 12px;
    }

    .contact-image-panel img,
    .contact-details-visual img {
        height: auto;
    }
}


/* ==========================================================
   RDVLIB Pack 223 - Footer fixe sur téléphone pour les pages publiques
   Objectif : avoir le même confort mobile que dans la démonstration.
   Le footer reste visible en bas de l'écran et le contenu garde une marge
   suffisante pour ne pas être masqué.
   ========================================================== */
@media (max-width: 920px) {
    body {
        padding-bottom: 124px !important;
    }

    .site-footer {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 90 !important;
        margin-top: 0 !important;
        box-shadow: 0 -8px 24px rgba(55, 0, 10, 0.20) !important;
    }

    .site-footer .footer-top {
        padding: 0 !important;
    }

    .site-footer .container.footer-links,
    .site-footer .footer-links {
        width: 100% !important;
        max-width: none !important;
        min-height: 92px !important;
        padding: 12px 14px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        align-content: center !important;
        justify-content: center !important;
        gap: 10px 18px !important;
    }

    .site-footer .footer-links a {
        font-size: 0.78rem !important;
        line-height: 1.12 !important;
        white-space: nowrap !important;
    }

    .site-main {
        padding-bottom: 18px !important;
    }
}

@media (max-width: 380px) {
    body {
        padding-bottom: 148px !important;
    }

    .site-footer .container.footer-links,
    .site-footer .footer-links {
        min-height: 116px !important;
        gap: 9px 14px !important;
    }

    .site-footer .footer-links a {
        font-size: 0.74rem !important;
    }
}


/* ==========================================================
   RDVLIB Pack 224 - Renforcement responsive téléphone global
   Objectif : stabiliser les pages publiques sur petit écran sans changer
   la logique existante.
   ========================================================== */
@media (max-width: 920px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    img,
    video,
    iframe,
    canvas,
    svg {
        max-width: 100% !important;
    }

    .container {
        width: min(calc(100% - 28px), var(--rdv-container)) !important;
    }

    .site-header {
        z-index: 2147482000 !important;
    }

    .header-inner {
        min-height: 64px !important;
        padding: 10px 0 !important;
        gap: 10px !important;
    }

    .brand img {
        width: 176px !important;
    }

    .menu-toggle {
        min-height: 42px !important;
    }

    .header-nav-wrap {
        max-height: calc(100vh - 84px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .main-nav {
        gap: 12px !important;
    }

    .main-nav a,
    .footer-links a {
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .btn,
    button,
    input,
    select,
    textarea {
        max-width: 100% !important;
    }

    input,
    select,
    textarea {
        width: 100% !important;
        font-size: 16px !important;
    }

    .btn-primary,
    .btn-secondary,
    .btn-pro {
        min-height: 44px !important;
    }

    .home-hero,
    .home-section,
    .home-main-grid,
    .home-choice,
    .home-final,
    .contact-page-shell,
    .faq-page-shell,
    .about-page-shell,
    .legal-page-shell,
    .tarifs-page-shell,
    .univers-page-shell,
    .search-page-shell {
        overflow-x: hidden !important;
    }

    .home-hero-grid,
    .home-main-grid,
    .home-choice-grid,
    .home-cards-two,
    .home-platform,
    .contact-hero,
    .contact-main-grid,
    .contact-bottom-grid,
    .contact-details-card,
    .contact-final-cta,
    .univers-grid,
    .categories-grid,
    .results-grid,
    .cards-grid,
    .tarifs-grid,
    .pricing-grid,
    .faq-grid,
    .legal-grid {
        grid-template-columns: 1fr !important;
    }

    .card,
    .home-card,
    .home-panel,
    .contact-card,
    .faq-card,
    .legal-card,
    .tarif-card,
    .univers-card,
    .result-card {
        min-width: 0 !important;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 24px), var(--rdv-container)) !important;
    }

    .brand img {
        width: 158px !important;
    }

    .menu-toggle-label {
        display: none !important;
    }

    .home-hero-copy h1,
    h1 {
        overflow-wrap: anywhere;
    }

    .btn-primary,
    .btn-secondary,
    .btn-pro,
    .contact-hero-actions .btn,
    .contact-final-actions .btn,
    .home-hero-actions .btn,
    .home-final-actions .btn {
        width: 100% !important;
        min-width: 100% !important;
    }

    .site-footer .footer-links a {
        font-size: .76rem !important;
    }
}

@media (max-width: 380px) {
    .brand img { width: 144px !important; }
    .menu-toggle-box {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }
}


/* ==========================================================
   RDVLIB Pack 225 - Header fixe sur téléphone pour toutes les pages
   publiques utilisant /public/includes/header.php.
   Sécurisation ajoutée dans le CSS central en plus du petit bloc inline
   du header, afin que les pages restent cohérentes même après cache vidé.
   ========================================================== */
@media (max-width: 920px) {
    body {
        --rdvlib-mobile-header-height: 72px;
        padding-top: var(--rdvlib-mobile-header-height) !important;
    }

    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 2147483000 !important;
        margin: 0 !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .site-header .header-inner {
        min-height: var(--rdvlib-mobile-header-height) !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .site-header .brand img {
        max-height: 48px !important;
        object-fit: contain !important;
    }

    .site-header .header-nav-wrap {
        max-height: calc(100vh - var(--rdvlib-mobile-header-height) - 12px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .site-header.menu-open {
        box-shadow: 0 12px 30px rgba(0, 0, 0, .22) !important;
    }
}

@media (max-width: 640px) {
    body { --rdvlib-mobile-header-height: 66px; }

    .site-header .brand img {
        max-height: 44px !important;
    }
}


/* ==========================================================
   RDVLIB Pack 227 - Header mobile public unifié
   Demande : ne pas toucher à la page Index, et faire en sorte que les
   autres pages publiques aient le même format mobile que "Trouver un professionnel".
   Le footer mobile fixe n'est pas modifié.
   ========================================================== */
@media (max-width: 920px) {
    body.rdvlib-public-shared-header {
        --rdvlib-mobile-header-height: 66px;
        padding-top: var(--rdvlib-mobile-header-height) !important;
    }

    body.rdvlib-public-shared-header .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-height: var(--rdvlib-mobile-header-height) !important;
        background: var(--rdv-primary) !important;
        z-index: 2147483000 !important;
        box-shadow: 0 2px 14px rgba(0, 0, 0, .16) !important;
        margin: 0 !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    body.rdvlib-public-shared-header .site-header .container,
    body.rdvlib-public-shared-header .site-header .header-inner {
        width: min(calc(100% - 28px), var(--rdv-container)) !important;
        max-width: var(--rdv-container) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.rdvlib-public-shared-header .site-header .header-inner {
        min-height: var(--rdvlib-mobile-header-height) !important;
        height: var(--rdvlib-mobile-header-height) !important;
        padding: 6px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
    }

    body.rdvlib-public-shared-header .site-header .brand {
        min-width: 0 !important;
        flex: 0 1 auto !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    body.rdvlib-public-shared-header .site-header .brand img {
        width: auto !important;
        max-width: min(58vw, 188px) !important;
        max-height: 44px !important;
        object-fit: contain !important;
    }

    body.rdvlib-public-shared-header .site-header .menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        margin-left: auto !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #ffffff !important;
        cursor: pointer !important;
    }

    body.rdvlib-public-shared-header .site-header .menu-toggle-label {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    body.rdvlib-public-shared-header .site-header .menu-toggle-box {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        border-radius: 8px !important;
        border: 2px solid rgba(255,255,255,.92) !important;
        display: grid !important;
        place-items: center !important;
        background: rgba(255,255,255,.08) !important;
        padding: 8px !important;
    }

    body.rdvlib-public-shared-header .site-header .menu-toggle-box span {
        display: block !important;
        width: 18px !important;
        height: 2px !important;
        border-radius: 999px !important;
        background: #ffffff !important;
        margin: 2px 0 !important;
    }

    body.rdvlib-public-shared-header .site-header .header-nav-wrap {
        display: none !important;
        position: fixed !important;
        top: var(--rdvlib-mobile-header-height) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: calc(100vh - var(--rdvlib-mobile-header-height) - 10px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        padding: 14px !important;
        background: var(--rdv-primary) !important;
        border-top: 1px solid rgba(255,255,255,.16) !important;
        box-shadow: 0 14px 28px rgba(0,0,0,.22) !important;
    }

    body.rdvlib-public-shared-header .site-header.menu-open .header-nav-wrap {
        display: flex !important;
    }

    body.rdvlib-public-shared-header .site-header .main-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
    }

    body.rdvlib-public-shared-header .site-header .main-nav a {
        display: block !important;
        width: 100% !important;
        padding: 11px 10px !important;
        border-radius: 8px !important;
        color: #ffffff !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        line-height: 1.18 !important;
    }

    body.rdvlib-public-shared-header .site-header .main-nav a.active,
    body.rdvlib-public-shared-header .site-header .main-nav a:hover {
        background: rgba(255,255,255,.10) !important;
    }

    body.rdvlib-public-shared-header .site-header .main-nav a::after {
        display: none !important;
    }

    body.rdvlib-public-shared-header .site-header .btn-pro {
        width: 100% !important;
        min-width: 100% !important;
        min-height: 44px !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 380px) {
    body.rdvlib-public-shared-header {
        --rdvlib-mobile-header-height: 64px;
    }

    body.rdvlib-public-shared-header .site-header .brand img {
        max-width: 166px !important;
        max-height: 40px !important;
    }

    body.rdvlib-public-shared-header .site-header .menu-toggle,
    body.rdvlib-public-shared-header .site-header .menu-toggle-box {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }
}


/* ==========================================================
   RDVLIB Pack 228 - Soulignement actif dans le menu mobile
   Téléphone uniquement : le menu ouvert souligne la page active.
   La page Index conserve son affichage propre existant.
   ========================================================== */
@media (max-width: 920px) {
    body.rdvlib-public-shared-header .site-header .main-nav a.active {
        position: relative !important;
        background: rgba(255,255,255,.10) !important;
    }

    body.rdvlib-public-shared-header .site-header .main-nav a.active::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        left: 10px !important;
        right: auto !important;
        bottom: 5px !important;
        width: min(170px, calc(100% - 20px)) !important;
        height: 4px !important;
        border-radius: 999px !important;
        background: #ffffff !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
