@charset "utf-8";
/* ==========================================================================
   Tunisia Rent Car — Page d'accueil
   Système visuel aligné sur reservation.php : rouge #fa2837 / encre #111 / Lato
   Base Bootstrap 3 : 1rem = 10px
   ========================================================================== */

:root {
    --rc-red: #fa2837;
    --rc-red-dark: #d11e2a;
    --rc-red-soft: rgba(250, 40, 55, 0.10);
    --rc-ink: #111111;
    --rc-ink-soft: #1c1c1e;
    --rc-body: #555555;
    --rc-muted: #777777;
    --rc-mist: #fdfaf9;
    --rc-line: #ececec;
    --rc-radius: 18px;
    --rc-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    --rc-shadow-lg: 0 25px 55px rgba(0, 0, 0, 0.16);
}

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

.hm-home {
    background: #ffffff;
    font-size: 16px;
}

.hm-section {
    padding: 80px 0;
    position: relative;
}

.hm-section--tight { padding: 60px 0; }
.hm-section--mist { background: var(--rc-mist); }

.hm-section--dark {
    background: linear-gradient(135deg, #111111 0%, #1f1f22 100%);
    color: #d7d7d9;
}

.hm-section--dark .hm-title,
.hm-section--dark h2,
.hm-section--dark h3,
.hm-section--dark h4 { color: #ffffff; }

.hm-section--dark .hm-lead { color: #b9b9bd; }

/* Sur-titre : petite étiquette à icône rouge */
.hm-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rc-muted);
    margin-bottom: 12px;
}

.hm-eyebrow i {
    color: var(--rc-red);
    font-size: 1.6rem;
    margin-right: 10px;
}

.hm-section--dark .hm-eyebrow { color: #9a9aa0; }

/* Titre de section : 2ᵉ ligne en rouge */
.hm-title {
    font-size: 3.4rem;
    line-height: 1.15;
    font-weight: 900;
    color: var(--rc-ink);
    margin: 0 0 18px;
}

.hm-title span {
    color: var(--rc-red);
    font-weight: 900;
}

.hm-title--sm { font-size: 2.6rem; }

.hm-lead {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--rc-body);
    margin: 0 0 15px;
}

.hm-lead strong { color: var(--rc-ink); font-weight: 700; }
.hm-section--dark .hm-lead strong { color: #ffffff; }

.hm-lead a,
.hm-prose a {
    color: var(--rc-red);
    font-weight: 700;
    border-bottom: 1px solid rgba(250, 40, 55, 0.35);
}

.hm-lead a:hover,
.hm-prose a:hover { color: var(--rc-red-dark); border-bottom-color: var(--rc-red-dark); }

.hm-section--dark .hm-lead a { color: #ff8b95; border-bottom-color: rgba(255, 139, 149, 0.4); }
.hm-section--dark .hm-lead a:hover { color: #ffffff; border-bottom-color: #ffffff; }

.hm-center { text-align: center; }
.hm-center .hm-lead { margin-left: auto; margin-right: auto; max-width: 820px; }

/* Grille à colonnes de hauteur égale (Bootstrap 3 flotte par défaut) */
.hm-row-equal { display: flex; flex-wrap: wrap; }
.hm-row-equal > [class*="col-"] { display: flex; float: none; }
.hm-row-equal > [class*="col-"] > * { width: 100%; }

/* En-tête de section en 2 colonnes (titre à gauche, texte + bouton à droite) */
.hm-head-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hm-head-split__left { max-width: 52%; }

.hm-head-split__right {
    max-width: 44%;
    display: flex;
    align-items: center;
    gap: 25px;
}

.hm-head-split__right .hm-lead { margin-bottom: 0; }

/* Texte long (blocs SEO) */
.hm-prose p {
    font-size: 1.5rem;
    line-height: 1.9;
    color: var(--rc-body);
    margin-bottom: 16px;
}

.hm-prose strong { color: var(--rc-ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   2. Boutons
   -------------------------------------------------------------------------- */

.hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 32px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hm-btn--red { background: var(--rc-red); color: #ffffff; }

.hm-btn--red:hover,
.hm-btn--red:focus {
    background: var(--rc-red-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(250, 40, 55, 0.28);
}

.hm-btn--ghost { background: transparent; color: var(--rc-ink); border-color: var(--rc-ink); }
.hm-btn--ghost:hover, .hm-btn--ghost:focus { background: var(--rc-ink); color: #ffffff; }

.hm-btn--light { background: #ffffff; color: var(--rc-red); }
.hm-btn--light:hover, .hm-btn--light:focus { background: var(--rc-ink); color: #ffffff; }

.hm-btn--outline-light { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.55); }
.hm-btn--outline-light:hover, .hm-btn--outline-light:focus { background: #ffffff; color: var(--rc-ink); }

.hm-btn--block { width: 100%; }
.hm-btn--lg { padding: 19px 36px; font-size: 1.6rem; }

/* Bouton pastille à flèche circulaire (motif reservation.php) */
.hm-btn-arrow {
    display: inline-flex;
    align-items: center;
    background: var(--rc-red);
    color: #ffffff;
    padding: 11px 12px 11px 26px;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.hm-btn-arrow:hover, .hm-btn-arrow:focus { background: var(--rc-red-dark); color: #ffffff; }

.hm-btn-arrow i {
    background: #ffffff;
    color: var(--rc-red);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 14px;
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   3. Hero
   -------------------------------------------------------------------------- */

.hm-hero {
    position: relative;
    padding: 70px 0 150px;
    background: linear-gradient(135deg, #111111 0%, #232326 100%);
    color: #ffffff;
    overflow: hidden;
    clip-path: ellipse(150% 100% at 50% 0%);
}

/* Halo rouge + trame diagonale discrète */
.hm-hero::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(250, 40, 55, 0.30) 0%, rgba(250, 40, 55, 0) 65%);
    pointer-events: none;
}

.hm-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 46px);
    pointer-events: none;
}

.hm-hero__inner { position: relative; z-index: 2; text-align: center; }

.hm-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 25px;
}

.hm-hero__badge i { color: var(--rc-red); font-size: 1.5rem; }

.hm-hero__title {
    font-size: 5.2rem;
    line-height: 1.05;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0 0 22px;
}

.hm-hero__title span {
    display: block;
    color: var(--rc-red);
    font-weight: 900;
}

.hm-hero__sub {
    font-size: 1.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
    max-width: 760px;
    margin: 0 auto 30px;
}

.hm-hero__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hm-hero__points li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 9px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 700;
    color: #ffffff;
}

.hm-hero__points i { color: var(--rc-red); margin: 0; }

/* --------------------------------------------------------------------------
   4. Carte de recherche (élément signature)
   -------------------------------------------------------------------------- */

.hm-search-wrap { position: relative; margin-top: -95px; z-index: 10; }

/* Motif « bracket » rouge repris des cartes véhicules */
.hm-search-wrap::before {
    content: "";
    position: absolute;
    left: 1px;
    right: 1px;
    top: 55%;
    bottom: -16px;
    border: 2px solid var(--rc-red);
    border-top: none;
    border-radius: 0 0 26px 26px;
    z-index: 0;
}

.hm-search-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 35px 35px;
    box-shadow: var(--rc-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hm-search-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--rc-line);
}

.hm-search-card__title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--rc-ink);
    margin: 0;
}

.hm-search-card__title span { color: var(--rc-red); font-weight: 900; }

.hm-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--rc-red-soft);
    color: var(--rc-red);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hm-search-form .form-group { margin-bottom: 18px; }

.hm-search-form label {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--rc-ink);
    margin-bottom: 8px;
}

.hm-search-card .form-control {
    height: 50px;
    padding: 10px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    font-size: 1.4rem;
    color: var(--rc-ink);
    background-color: #ffffff;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hm-search-card .form-control:focus {
    border-color: var(--rc-red);
    box-shadow: 0 0 0 4px rgba(250, 40, 55, 0.12);
    outline: none;
}

.hm-search-card .select::after { top: 6px; right: 16px; }

/* Champ date : icône calendrier rouge */
.hm-search-card .form-control.calendar {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23fa2837" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) center;
    background-size: 18px;
    padding-right: 42px;
    cursor: pointer;
}

.hm-datetime { display: flex; gap: 10px; }
.hm-datetime .hm-datetime__date { flex: 1 1 auto; min-width: 0; }
.hm-datetime .hm-datetime__hour { flex: 0 0 105px; width: 105px; }

.hm-search-submit { display: flex; flex-direction: column; justify-content: flex-end; }

.hm-search-note {
    font-size: 1.15rem;
    color: var(--rc-muted);
    text-align: center;
    margin: 10px 0 0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   5. Bandeau de confiance
   -------------------------------------------------------------------------- */

.hm-trust { padding: 55px 0 20px; }

.hm-trust__grid {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    background: #ffffff;
    box-shadow: var(--rc-shadow);
    overflow: hidden;
}

.hm-trust__item {
    flex: 1 1 25%;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 26px;
    border-right: 1px solid var(--rc-line);
}

.hm-trust__item:last-child { border-right: none; }

.hm-trust__icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--rc-red-soft);
    color: var(--rc-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

.hm-trust__value {
    display: block;
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--rc-ink);
    line-height: 1.1;
}

.hm-trust__label {
    display: block;
    font-size: 1.2rem;
    color: var(--rc-muted);
    line-height: 1.4;
    margin-top: 3px;
}

/* --------------------------------------------------------------------------
   6. Cartes véhicules
   -------------------------------------------------------------------------- */

.hm-car-col { margin-bottom: 45px; }

.hm-car {
    position: relative;
    height: 100%;
    padding-bottom: 42px;
}

.hm-car__inner { position: relative; z-index: 2; }

.hm-car__media {
    border-radius: 15px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.hm-car__img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hm-car:hover .hm-car__img { transform: scale(1.05); }

.hm-car__body { text-align: center; padding: 0 12px 18px; }

.hm-car__name {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--rc-ink);
    margin: 0 0 6px;
}

.hm-car__meta { font-size: 1.3rem; color: var(--rc-muted); margin: 0 0 14px; }

.hm-car__specs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.hm-car__specs li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 6px 13px;
    background: #ffffff;
    border: 1px solid var(--rc-line);
    border-radius: 8px;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #555555;
}

.hm-car__specs i { color: var(--rc-red); margin: 0; }

/* Cadre rouge ouvert + pastilles (motif maison) */
.hm-car__bracket {
    position: absolute;
    left: 0;
    right: 0;
    top: 225px;
    bottom: 0;
    border: 2px solid var(--rc-red);
    border-top: none;
    border-radius: 0 0 25px 25px;
    z-index: 1;
}

.hm-car__bracket::before,
.hm-car__bracket::after {
    content: "";
    position: absolute;
    top: -7px;
    width: 14px;
    height: 14px;
    background: var(--rc-red);
    border-radius: 50%;
}

.hm-car__bracket::before { left: -8px; }
.hm-car__bracket::after { right: -8px; }

.hm-car__cta {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: var(--rc-mist);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid var(--rc-red);
}

.hm-car__cta button {
    border: none;
    background: var(--rc-red);
    color: #ffffff;
    border-radius: 50px;
    padding: 9px 24px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.25s ease;
}

.hm-car__cta button:hover, .hm-car__cta button:focus { background: var(--rc-ink); color: #ffffff; }

/* --------------------------------------------------------------------------
   7. Bloc image encadrée + carte flottante
   -------------------------------------------------------------------------- */

.hm-frame { position: relative; padding: 18px 18px 0 0; }

.hm-frame::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 82%;
    height: 92%;
    border: 3px solid var(--rc-red);
    border-radius: 20px;
    z-index: 1;
}

.hm-frame__img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--rc-shadow);
}

.hm-float {
    position: absolute;
    left: -18px;
    bottom: -28px;
    z-index: 3;
    background: #ffffff;
    border-radius: 15px;
    padding: 18px 24px;
    box-shadow: var(--rc-shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.hm-float__score {
    font-size: 3rem;
    font-weight: 900;
    color: var(--rc-red);
    line-height: 1;
}

.hm-float__stars { color: #ffc107; font-size: 1.4rem; margin-bottom: 3px; }

.hm-float__text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--rc-ink);
    margin: 0;
    line-height: 1.35;
}

.hm-float__text span { display: block; font-weight: 400; color: var(--rc-muted); }

/* --------------------------------------------------------------------------
   8. Cartes atouts / mini-cartes
   -------------------------------------------------------------------------- */

.hm-feature-col { margin-bottom: 25px; }

.hm-feature {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--rc-line);
    border-radius: 15px;
    padding: 26px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hm-feature:hover { transform: translateY(-5px); box-shadow: var(--rc-shadow); }

.hm-section--mist .hm-feature { border-color: #f0e9e8; }

.hm-feature__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--rc-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 16px;
}

.hm-feature h4 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--rc-ink);
    margin: 0 0 10px;
    line-height: 1.3;
}

.hm-feature p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--rc-body);
    margin: 0;
}

.hm-feature p strong { color: var(--rc-ink); font-weight: 700; }

/* Mini-carte avec visuel véhicule */
.hm-minicard {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    padding: 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hm-minicard:hover { transform: translateY(-5px); box-shadow: var(--rc-shadow); }

.hm-minicard__img {
    flex: 0 0 145px;
    width: 145px;
    border-radius: 12px;
}

.hm-minicard h3 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--rc-ink);
    margin: 0 0 8px;
    line-height: 1.25;
}

.hm-minicard p {
    font-size: 1.3rem;
    line-height: 1.65;
    color: var(--rc-body);
    margin: 0 0 14px;
}

.hm-minicard__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rc-red);
}

.hm-minicard__link:hover { color: var(--rc-red-dark); }

/* --------------------------------------------------------------------------
   9. Étapes de réservation
   -------------------------------------------------------------------------- */

.hm-steps { display: flex; flex-wrap: wrap; gap: 25px; counter-reset: step; }

.hm-step {
    flex: 1 1 260px;
    position: relative;
    background: #ffffff;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    padding: 30px 26px 26px;
}

.hm-step__num {
    position: absolute;
    top: -20px;
    left: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rc-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(250, 40, 55, 0.28);
}

.hm-step h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rc-ink);
    margin: 14px 0 10px;
}

.hm-step p { font-size: 1.3rem; line-height: 1.7; color: var(--rc-body); margin: 0; }

/* --------------------------------------------------------------------------
   10. Agences
   -------------------------------------------------------------------------- */

.hm-agency-col { margin-bottom: 30px; }

.hm-agency {
    display: block;
    position: relative;
    height: 230px;
    border-radius: var(--rc-radius);
    overflow: hidden;
    box-shadow: var(--rc-shadow);
}

.hm-agency img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hm-agency:hover img { transform: scale(1.06); }

.hm-agency__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.15) 55%, rgba(17, 17, 17, 0) 100%);
}

.hm-agency__body {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hm-agency__kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background: var(--rc-red);
    border-radius: 50px;
    padding: 4px 12px;
    margin-bottom: 9px;
}

.hm-agency__name {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
}

.hm-agency__go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.hm-agency:hover .hm-agency__go { color: #ffffff; }

/* Liste de villes */
.hm-city-list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.hm-city-list li { margin: 0; }

.hm-city-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid var(--rc-line);
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rc-ink);
    transition: all 0.25s ease;
}

.hm-city-list a i { color: var(--rc-red); }

.hm-city-list a:hover { border-color: var(--rc-red); color: var(--rc-red); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   11. Bloc sombre « service personnalisé »
   -------------------------------------------------------------------------- */

.hm-dark-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--rc-red);
    border-radius: var(--rc-radius);
    padding: 30px 28px;
}

.hm-dark-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
    line-height: 1.3;
}

.hm-dark-card p {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #b9b9bd;
    margin: 0 0 12px;
}

.hm-dark-card p:last-child { margin-bottom: 0; }
.hm-dark-card strong { color: #ffffff; font-weight: 700; }

.hm-dark-card a { color: #ff8b95; font-weight: 700; }
.hm-dark-card a:hover { color: #ffffff; }

.hm-dark-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--rc-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   12. Avis clients
   -------------------------------------------------------------------------- */

.hm-rating {
    background: #ffffff;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    box-shadow: var(--rc-shadow);
    padding: 30px 28px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hm-rating__score { font-size: 5rem; font-weight: 900; color: var(--rc-ink); line-height: 1; }
.hm-rating__score span { font-size: 2rem; color: var(--rc-muted); font-weight: 700; }
.hm-rating__stars { color: #ffc107; font-size: 1.9rem; margin: 10px 0 8px; }

.hm-rating__count { font-size: 1.3rem; color: var(--rc-muted); margin: 0 0 20px; }
.hm-rating__count strong { color: var(--rc-ink); }

.hm-review-col { margin-bottom: 25px; }

.hm-review {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hm-review:hover { transform: translateY(-5px); box-shadow: var(--rc-shadow); }

.hm-review__stars { color: #ffc107; font-size: 1.4rem; margin-bottom: 12px; }

.hm-review__text {
    font-size: 1.4rem;
    line-height: 1.75;
    color: var(--rc-body);
    font-style: italic;
    margin: 0 0 20px;
    flex: 1 1 auto;
}

.hm-review__author { display: flex; align-items: center; gap: 12px; }

.hm-review__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--rc-ink);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex: 0 0 42px;
}

.hm-review__name { font-size: 1.35rem; font-weight: 800; color: var(--rc-ink); margin: 0; line-height: 1.3; }
.hm-review__source { font-size: 1.15rem; color: var(--rc-muted); }

/* --------------------------------------------------------------------------
   13. Bandeau d'appel final
   -------------------------------------------------------------------------- */

.hm-cta {
    background: linear-gradient(120deg, var(--rc-red) 0%, #c81624 100%);
    padding: 55px 0;
    color: #ffffff;
}

.hm-cta__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.hm-cta__title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.2;
}

.hm-cta__sub { font-size: 1.5rem; color: rgba(255, 255, 255, 0.9); margin: 0; }
.hm-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
    .hm-hero__title { font-size: 4.4rem; }
    .hm-minicard__img { flex-basis: 120px; width: 120px; }
}

@media (max-width: 991px) {
    .hm-section { padding: 60px 0; }
    .hm-hero { padding: 55px 0 120px; }
    .hm-hero__title { font-size: 3.6rem; }
    .hm-hero__sub { font-size: 1.6rem; }
    .hm-title { font-size: 2.8rem; }
    .hm-head-split { flex-direction: column; align-items: flex-start; gap: 25px; margin-bottom: 40px; }
    .hm-head-split__left, .hm-head-split__right { max-width: 100%; }
    .hm-search-wrap::before { display: none; }
    .hm-trust__item { flex: 1 1 50%; border-bottom: 1px solid var(--rc-line); }
    .hm-trust__item:nth-child(2n) { border-right: none; }
    .hm-frame { margin-top: 45px; }
    .hm-float { left: 0; bottom: -20px; }
    .hm-cta__grid { flex-direction: column; text-align: center; }
    .hm-cta__actions { justify-content: center; }
}

@media (max-width: 767px) {
    .hm-section { padding: 45px 0; }
    .hm-hero { padding: 40px 0 100px; clip-path: ellipse(180% 100% at 50% 0%); }
    .hm-hero__title { font-size: 2.9rem; }
    .hm-hero__sub { font-size: 1.5rem; }
    .hm-hero__points li { font-size: 1.2rem; padding: 8px 15px; }
    .hm-search-wrap { margin-top: -70px; }
    .hm-search-card { padding: 24px 18px 26px; border-radius: 16px; }
    .hm-search-card__title { font-size: 1.9rem; }
    .hm-title { font-size: 2.4rem; }
    .hm-lead, .hm-prose p { font-size: 1.4rem; }
    .hm-trust__item { flex: 1 1 100%; border-right: none; }
    .hm-minicard { flex-direction: column; text-align: center; gap: 14px; }
    .hm-minicard__img { flex-basis: auto; width: 170px; }
    .hm-cta__title { font-size: 2.4rem; }
    .hm-btn { width: 100%; }
    .hm-cta__actions { flex-direction: column; width: 100%; }
}

@media (max-width: 480px) {
    .hm-datetime { flex-direction: column; }
    .hm-datetime .hm-datetime__hour { flex-basis: auto; width: 100%; }
    .hm-rating__score { font-size: 4rem; }
}

/* --------------------------------------------------------------------------
   15. Accessibilité
   -------------------------------------------------------------------------- */

.hm-home a:focus-visible,
.hm-home button:focus-visible,
.hm-home input:focus-visible,
.hm-home select:focus-visible,
.hm-home textarea:focus-visible {
    outline: 3px solid var(--rc-red);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .hm-home *,
    .hm-home *::before,
    .hm-home *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
