/**
 * Blocs de contenu — feuille dédiée.
 *
 * Rassemble la mise en forme des 28 blocs de `templates/1/blocs/`, extraite de
 * `style.css` où elle était mêlée à celle du cadre du site.
 *
 * Pourquoi un fichier à part : sur le parc, `public/css/1/style.css` et
 * `public/css/default.css` sont tous deux dans `SITE_WINS_ON_CONFLICT` (voir
 * `ParcUpdateService`). Un site qui a personnalisé ses couleurs garde donc SON
 * fichier au rejeu des commits du template, et les styles ajoutés là-bas ne
 * l'atteignent jamais : un bloc neuf s'afficherait sans mise en forme, sans que
 * rien ne le signale. Un fichier qui n'existe pas encore chez le site, lui, ne
 * peut pas entrer en conflit — le cherry-pick l'ajoute, et c'est vrai des
 * quatre-vingts sites.
 *
 * Ce qui est resté dans `style.css`, et pourquoi : les fondations que le cadre
 * partage avec les blocs — `.section`, `.section-title`, `.read-more`,
 * `.header` (aussi porté par la navbar, la modale légale et le module de
 * rendez-vous), les variables de thème. Les déplacer aurait emporté du style de
 * cadre dans une feuille qui annonce ne contenir que des blocs.
 *
 * Chargé APRÈS `style.css` et `default.css` (voir `cadre/header.twig`) : c'est
 * l'ordre qu'avaient les règles quand elles vivaient en fin de `style.css`, et
 * l'inverser ferait reprendre le dessus aux règles génériques de même
 * spécificité (`.section` contre `.reassurance`, par exemple). Une conséquence
 * à connaître : une surcharge restée dans `style.css` qui visait une de ces
 * règles doit suivre ici, sinon la cascade s'inverse. C'est le cas du `.hero`
 * de « Lead Form Specifics », déplacé avec sa section.
 *
 * Son horodatage entre dans le calcul de `cssVersion` (`public/config.php`) :
 * sans lui, Nginx servirait la version en cache pendant 90 jours.
 *
 * Tout s'appuie sur les variables de thème (`--accent-color`, `--heading-color`,
 * `--surface-color`…) définies par `style.css` : un bloc suit la charte du site
 * qui l'accueille, il ne la redéfinit pas.
 */


/* ==============================================================
   # Hero Section
   ============================================================== */
.hero {
    width: 100%;
    min-height: 70vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.hero .hero-bg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .container {
    position: relative;
}

.hero h1, .hero .h1  {
    margin: 0 0 20px;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: var(--surface-color);
    padding-top: 5%;
}

.hero h1 span {
    background-color: var(--accent-color);
    color: #fff;
}

.hero h2 {
    color: var(--surface-color);
    font-weight: 800;
    padding-bottom: 20px;
}

.hero ul {
    list-style: none;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
}

.hero i {
    padding-top: 5px;
    color: var(--accent-color);
}

.hero p {
    margin: 5px 0 30px;
    font-size: 14px;
    font-weight: 400;
}

.hero .btn-get-started {
    color: var(--default-color);
    background: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px 12px;
    border-radius: 50px;
    transition: 0.5s;
    box-shadow: 0 8px 28px rgb(0 0 0 / 10%);
}

.hero .btn-get-started:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

#hero .left {
    color: var(--default-color);
}

@media (max-width: 640px) {
    .hero {
        padding-top: 0;
    }

    .hero h1{
        font-size: 28px;
        line-height: 36px;
        margin-top: 0;
    }

    .hero p {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .hero .btn-get-started {
        font-size: 13px;
    }

    #hero .left {
        text-align: center;
    }

    #hero .btn-get-started {
        margin: auto;
    }

    #hero {
        margin-top: 0;
    }
}

/* Surcharge du hero sur tablette et mobile, reprise de « Lead Form Specifics »
   où elle vivait : elle suit ici la section qu'elle surcharge, faute de quoi la
   cascade s'inverserait au passage dans ce fichier. */
@media (max-width: 992px) {
    .hero {
        position: relative;
        padding-top: 0;
    }
}

/* ==============================================================
   # About Section (bloc_texte_3)
   ============================================================== */
.about h1 {
    color: var(--accent-color);
    font-weight: 800;
}

.about h2 {
    color: var(--contrast-color);
    text-align: center;
    font-weight: 800;
    padding-bottom: 30px;
}

.about .icon-box {
    background: var(--contrast-color);
    box-shadow: 0 10px 50px rgb(0 0 0 / 10%);
    transition: all 0.3s ease-out;
    color: #fff;
}

.about .icon-box h3 {
    font-size: 24px;
    font-weight: 700;
    padding: 15px;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}

.about .icon-box p {
    margin-bottom: 0;
    padding: 15px;
}

.about .icon-box ul {
    margin-bottom: 0;
    padding: 0 50px 50px;
}

.about .icon-box i {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    line-height: 0;
    transition: all 0.4s ease-out;
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    color: var(--accent-color);
}

.about .icon-box:hover i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.about .icon-boxes .col-md-6:nth-child(2) .icon-box,
.about .icon-boxes .col-md-6:nth-child(4) .icon-box {
    margin-top: -40px;
}

@media (max-width: 768px) {
    .about .icon-boxes .col-md-6:nth-child(2) .icon-box,
    .about .icon-boxes .col-md-6:nth-child(4) .icon-box {
        margin-top: 0;
    }
}

/* ==============================================================
   # Details Section (bloc_texte_action)
   ============================================================== */
.details {
    text-align: center;
}

.details h1 {
    color: var(--accent-color);
    font-weight: 800;
}

.details h2 {
    font-weight: 700;
}

.details .features-item {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.details .features-item h3 {
    font-weight: 700;
    font-size: 26px;
}

.features-item ul {
    list-style: none;
    padding: 0;
}

.features-item ul li {
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.features-item ul li:last-child {
    padding-bottom: 0;
}

.features-item ul i {
    font-size: 20px;
    padding-right: 4px;
    color: var(--accent-color);
}

/* ==============================================================
   # FAQ Section
   ============================================================== */
.faq h2 {
    color: var(--contrast-color);
    text-align: center;
    font-weight: 800;
    padding-bottom: 30px;
}

.faq .faq-container {
    margin-top: 15px;
}

.faq .faq-container .faq-item {
    background-color: var(--surface-color);
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 25px 0 rgb(0 0 0 / 10%);
    overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
    margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
    font-weight: 600;
    font-size: 17px;
    line-height: 24px;
    margin: 0 30px 0 32px;
    transition: 0.3s;
    cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
    color: var(--accent-color);
    padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
    color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
    margin-bottom: 0;
    overflow: hidden;
}

.faq .faq-container .faq-item .faq-icon {
    position: absolute;
    top: 22px;
    left: 20px;
    font-size: 22px;
    line-height: 0;
    transition: 0.3s;
    color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    line-height: 0;
    transition: 0.3s;
    cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
    color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
    color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
    color: var(--accent-color);
}

/* ==============================================================
   # Services Section (bloc_icones_textes_2)
   ============================================================== */
.services h2 {
    color: var(--contrast-color);
    text-align: center;
    font-weight: 800;
    padding-bottom: 30px;
}

.services .service-item {
    background-color: var(--surface-color);
    box-shadow: 0 5px 90px 0 rgb(0 0 0 / 10%);
    padding: 50px 30px;
    transition: all ease-in-out 0.4s;
    height: 100%;
}

.services .service-item .icon {
    margin-bottom: 10px;
}

.services .service-item .icon i {
    color: var(--accent-color);
    font-size: 36px;
    transition: 0.3s;
}

.services .service-item h3 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
}

.services .service-item h4 a {
    color: var(--contrast-color);
    transition: ease-in-out 0.3s;
}

.services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.services .service-item:hover {
    transform: translateY(-10px);
}

@media (max-width: 992px) {
    .services .service-item {
        box-shadow: none;
        padding: 50px 30px;
    }

    .services .service-item h4 {
        font-size: 14px;
    }

    .services > .container > .row > div.d-flex {
        margin-bottom: 5px;
    }
}

/* ==============================================================
   # Alt Features Section (bloc_avantages_icones_texte_1)
   ============================================================== */
.alt-features {
    padding: 30px 0;
}

.alt-features h1 {
    color: var(--default-color);
    font-weight: 800;
}

.alt-features h2 {
    text-align: center;
    color: var(--default-color);
    padding: 15px 0 30px;
    font-weight: 800;
}

.alt-features .icon-box {
    display: flex;
}

.alt-features .icon-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}
.alt-features .icon-box .icone{
    max-width: 50px;
    margin-right: 15px;
}
.alt-features .icon-box img {
    line-height: 44px;
    color: var(--default-color);
    margin-right: 15px;
}

.alt-features .icon-box p {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 0;
}

/* ==============================================================
   # Clients Section (bloc_partenaires_images)
   ============================================================== */
.clients {
    padding: 20px 0;
    background-color: #fff;
}

.clients h2 {
    color: var(--contrast-color);
    text-align: center;
    font-weight: 800;
    padding-bottom: 30px;
}

.clients .swiper {
    padding: 10px 0;
}

.clients .swiper-wrapper {
    height: auto;
}

.clients .swiper-slide img {
    transition: 0.3s;
    padding: 0 10px;
}

.clients .swiper-slide img:hover {
    transform: scale(1.1);
}

/* ==============================================================
   # Nouveau CSS pour les blocs 'Texte avec Image' et 'Avis'
   ============================================================== */
.text-image-block {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.text-image-block .text-content {
    flex: 1;
    padding: 20px;
}

.text-image-block .image-content {
    flex: 1;
    text-align: center;
}

.text-image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.reviews-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.reviews-section h2 {
    color: var(--contrast-color);
    text-align: center;
    font-weight: 800;
    padding-bottom: 30px;
}

.reviews-section .review-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.reviews-section .review-item:hover {
    transform: translateY(-5px);
}

.reviews-section .review-rating {
    color: #ffc107;
}

.rating {
    cursor: pointer;
    font-size: 24px;
}

.rating .star {
    color: #ddd;
    transition: color 0.2s;
}

.rating .star:hover,
.rating .star.selected {
    color: #ffc107;
}

/* Bloc photo avis */
.photo-reviews-section .team-member {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    width: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-reviews-section .team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.photo-reviews-section .member-img {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.photo-reviews-section .member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-reviews-section .member-info {
    padding: 1.25rem;
}

.photo-reviews-section .member-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.photo-reviews-section .member-info span {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    display: block;
}


.hero p{
    margin-bottom:0px !important;
}

/* Bloc redirection — champs de saisie avant la sortie vers le partenaire.
   Sur fond sombre (.dark-background), d'où le libellé et le message d'erreur
   forcés en clair : les couleurs héritées y seraient illisibles. */
.redirection-form {
    max-width: 520px;
    /* Centré comme le titre, le texte et le bouton du bandeau : la section
       centre son contenu, un formulaire calé à gauche y détonne. */
    margin: 20px auto 0;
}

.redirection-form__field {
    margin-bottom: 14px;
}

.redirection-form__label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--default-color);
}

.redirection-form__input {
    width: 100%;
    /* La section centre son texte, et un input en hérite : la saisie
       partirait du milieu du champ. */
    text-align: left;
    height: auto;
    padding: 12px 16px;
    font-size: 16px; /* sous 16px, iOS zoome au focus */
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, .35);
}

.redirection-form__submit {
    border: none;
    cursor: pointer;
}

.redirection-form__mention {
    margin: 4px 0 16px;
    text-align: justify;
    font-size: 13px;
    line-height: 1.45;
    /* Sur fond sombre, le gris hérité des <small> devient illisible. */
    color: rgba(255, 255, 255, .82);
}

.redirection-form__mention p:last-child {
    margin-bottom: 0;
}

.redirection-form__mention a {
    color: #fff;
    text-decoration: underline;
}

/* Hors formulaire, la mention se centre sous le bouton comme le reste du
   bandeau, et se borne pour rester lisible. */
.redirection-form__mention--seule {
    max-width: 520px;
    margin: 16px auto 0;
}

.redirection-form__error {
    margin: 6px 0 0;
    font-size: 14px;
    color: #ffd5d5;
}

@media (max-width: 575.98px) {
    /* Le bouton passe pleine largeur : la cible tactile doit rester
       confortable sur téléphone, où arrive l'essentiel du trafic payant. */
    .redirection-form__submit {
        width: 100%;
    }
}

/* Bloc bandeau action — bande compacte en deux colonnes, reprise du `.cta-band`
   du pré-lander d'origine : dégradé très clair, bordure discrète, coins
   arrondis. Les couleurs viennent du thème et non de valeurs figées, pour que
   le bloc suive la charte du site qui l'accueille. */
.bandeau-action {
    padding: 20px 0;
}

.cta-band {
    padding: 1.4rem 1.6rem;
    border-radius: 16px;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--accent-color), #fff 92%),
        color-mix(in srgb, var(--accent-color), #fff 97%));
    border: 1px solid color-mix(in srgb, var(--accent-color), #fff 82%);
}

.cta-band__texte {
    font-family: var(--heading-font);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading-color);
}

.cta-band__texte p:last-child {
    margin-bottom: 0;
}

.cta-band__action {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 991.98px) {
    /* Empilé : le bouton passe sous le texte et prend toute la largeur, la
       cible tactile ne doit pas se réduire à un coin de la bande. */
    .cta-band__action {
        justify-content: stretch;
        margin-top: 16px;
    }

    .cta-band__action .read-more {
        width: 100%;
    }
}

/* Bloc hero éditorial — repris du hero du pré-lander d'origine (étiquette,
   grand titre serré, arguments cochés), aux couleurs du thème. Le clamp() sur
   le titre évite une taille figée : sur mobile, un titre de 4 rem déborde. */
.hero-editorial {
    padding: 48px 0 40px;
}

.hero-editorial__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
    padding: .48rem .75rem;
    border-radius: .7rem;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: .86rem;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), #fff 90%);
}

.hero-editorial__titre {
    max-width: 720px;
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.03em;
    font-weight: 800;
    color: var(--heading-color);
}

.hero-editorial__texte {
    max-width: 640px;
    margin-top: 1.1rem;
    font-size: 1.1rem;
    color: var(--default-color);
}

.hero-editorial__texte p:last-child {
    margin-bottom: 0;
}

.hero-editorial__avantages {
    list-style: none;
    display: grid;
    gap: .75rem;
    margin: 1.4rem 0 0;
    padding: 0;
}

.hero-editorial__avantages li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    color: var(--default-color);
}

.hero-editorial__avantages i {
    margin-top: .2rem;
    color: var(--accent-color);
    font-size: 1.05rem;
}

.hero-editorial__action {
    margin: 1.6rem 0 0;
}

.hero-editorial__visuel {
    display: block;
    margin: 0 auto;
    border-radius: 16px;
}

/* Le HTML libre est cadré comme l'image, sans rien lui imposer d'autre : ce
   que l'éditeur y met doit rester maître de son apparence. */
.hero-editorial__visuel-html {
    max-width: 100%;
}

.hero-editorial__visuel-html img,
.hero-editorial__visuel-html svg {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    /* Le visuel passe sous le texte : il ne doit pas repousser l'accroche sous
       la ligne de flottaison. */
    .hero-editorial__visuel {
        margin-top: 28px;
        max-width: 420px;
    }

    .hero-editorial__visuel-html {
        margin-top: 28px;
    }
}

/* Bloc mention légale — encadré à filet latéral repris de la `.disclosure-box`
   du pré-lander d'origine. Le gris y était très pâle (#526175 sur #f8fafc) :
   une mention légale illisible ne remplit pas son office, d'où un contraste
   tenu tout en restant visuellement secondaire. */
.mention-legale {
    padding: 12px 0 28px;
}

.disclosure-box {
    padding: 1rem 1.15rem;
    border-left: 4px solid color-mix(in srgb, var(--accent-color), #fff 55%);
    background: color-mix(in srgb, var(--accent-color), #fff 96%);
    color: var(--default-color);
    font-size: .86rem;
    line-height: 1.55;
    text-align: justify;
}

.disclosure-box p:last-child {
    margin-bottom: 0;
}

.disclosure-box a {
    color: var(--heading-color);
    text-decoration: underline;
}

/* ==============================================================
   # Bloc étapes
   Parcours numéroté. Le numéro est une pastille en bordure de carte : posé
   dans le flux, il pousserait le titre vers le bas et les cartes d'une même
   ligne ne s'aligneraient plus.
   ============================================================== */
.etapes-liste {
    list-style: none;
    counter-reset: none;
    padding-left: 0;
    margin-bottom: 0;
    /* La pastille déborde de 20 px au-dessus de sa carte : sans cette marge,
       celle de la colonne du milieu vient chevaucher le titre H2, qui est
       centré au même endroit. */
    margin-top: 32px;
}

.etape-item {
    position: relative;
    padding: 34px 20px 20px;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
    border-radius: 12px;
    text-align: center;
}

.etape-item__numero {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.1rem;
}

.etape-item__titre {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: .5rem;
}

.etape-item__texte {
    font-size: .92rem;
    line-height: 1.55;
}

.etape-item__texte p:last-child {
    margin-bottom: 0;
}

/* ==============================================================
   # Bloc chiffres clés
   ============================================================== */
.chiffre-item {
    padding: 18px 10px;
}

.chiffre-item__valeur {
    display: block;
    font-family: var(--heading-font);
    font-weight: 700;
    /* clamp() plutôt qu'une taille figée : « 50 000 » à 3 rem déborde d'une
       colonne de mobile, et quatre chiffres par ligne y sont fréquents. */
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    line-height: 1.1;
    color: var(--accent-color);
}

.chiffre-item__libelle {
    display: block;
    margin-top: .35rem;
    font-size: .9rem;
    line-height: 1.4;
    color: var(--default-color);
}

/* ==============================================================
   # Bloc tableau comparatif
   ============================================================== */
.comparatif-scroll {
    /* Le tableau défile dans son conteneur : quatre colonnes ne tiennent pas
       sous 576 px, et laisser la page défiler casserait toute la mise en page. */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparatif-table {
    width: 100%;
    min-width: 520px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface-color);
}

.comparatif-table th,
.comparatif-table td {
    padding: .8rem 1rem;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.comparatif-table thead th {
    font-family: var(--heading-font);
    font-size: .95rem;
    font-weight: 700;
    color: var(--heading-color);
    background: color-mix(in srgb, var(--accent-color), #fff 94%);
    border-bottom-width: 2px;
}

.comparatif-table tbody th {
    text-align: left;
    font-weight: 600;
    font-size: .92rem;
    color: var(--heading-color);
}

.comparatif-table td {
    font-size: .92rem;
}

.comparatif-table .is-highlight {
    background: color-mix(in srgb, var(--accent-color), #fff 90%);
}

.comparatif-table thead th.is-highlight {
    background: var(--accent-color);
    color: #fff;
}

.comparatif-oui {
    color: #198754;
}

.comparatif-non {
    color: color-mix(in srgb, var(--default-color), transparent 45%);
}

/* ==============================================================
   # Bloc réassurance
   Bande d'une ligne, qui s'enroule sur plusieurs sous mobile.
   ============================================================== */
.reassurance {
    padding: 24px 0;
}

.reassurance-liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
    list-style: none;
    padding: 16px 20px;
    margin: 0;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent-color), #fff 95%);
    border: 1px solid color-mix(in srgb, var(--accent-color), #fff 85%);
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    line-height: 1.35;
}

.reassurance-item__icone {
    font-size: 1.3rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.reassurance-item__texte strong {
    color: var(--heading-color);
}

.reassurance-item__detail {
    display: block;
    font-size: .82rem;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/* ==============================================================
   # Bloc témoignage vedette
   ============================================================== */
.temoignage-carte {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.8rem 1.6rem;
    background: var(--surface-color);
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.temoignage-carte__guillemet {
    position: absolute;
    top: 14px;
    left: 18px;
    font-size: 1.6rem;
    color: color-mix(in srgb, var(--accent-color), transparent 65%);
}

.temoignage-carte__citation {
    margin: 0 0 1.2rem;
    padding-left: 2.2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--default-color);
}

.temoignage-carte__citation p:last-child {
    margin-bottom: 0;
}

.temoignage-carte__auteur {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 2.2rem;
}

.temoignage-carte__photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.temoignage-carte__nom {
    display: block;
    font-weight: 700;
    color: var(--heading-color);
}

.temoignage-carte__qualite {
    display: block;
    font-size: .86rem;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.temoignage-carte__note {
    display: block;
    margin-top: .2rem;
    color: #f5a623;
    font-size: .9rem;
}

@media (max-width: 575.98px) {
    .temoignage-carte__citation,
    .temoignage-carte__auteur {
        padding-left: 0;
    }
}

/* ==============================================================
   # Bloc vidéo
   La façade et le lecteur partagent le même cadre 16/9 : sans hauteur imposée,
   l'iframe qui remplace la façade ferait sauter la page au clic.
   ============================================================== */
.bloc-video__intro {
    max-width: 760px;
    margin: 0 auto 1.4rem;
    text-align: center;
}

.bloc-video__cadre {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #12161f;
}

.bloc-video__facade,
.bloc-video__lecteur {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.bloc-video__facade {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bloc-video__miniature {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bloc-video__play {
    position: relative;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-size: 1.6rem;
    transition: transform .25s;
}

/* Le décalage compense le vide optique du triangle de lecture. */
.bloc-video__play i {
    margin-left: 4px;
}

.bloc-video__facade:hover .bloc-video__play,
.bloc-video__facade:focus .bloc-video__play {
    transform: scale(1.08);
}

/* ==============================================================
   # Bloc contact téléphone
   ============================================================== */
.contact-tel-carte {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.8rem 1.5rem;
    text-align: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent-color), #fff 95%);
    border: 1px solid color-mix(in srgb, var(--accent-color), #fff 84%);
}

.contact-tel-carte__titre {
    font-size: 1.3rem;
    margin-bottom: .8rem;
    color: var(--heading-color);
}

.contact-tel-carte__numero {
    margin-bottom: .6rem;
    /* clamp() : un numéro à 2.4 rem déborde d'un écran de 320 px. */
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
}

.contact-tel-carte__numero a,
.contact-tel-carte__numero > span {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-tel-carte__numero a:hover {
    text-decoration: underline;
}

.contact-tel-carte__numero i {
    font-size: .8em;
    margin-right: .4rem;
}

.contact-tel-carte__horaires {
    margin-bottom: .5rem;
    font-size: .95rem;
    color: var(--default-color);
}

.contact-tel-carte__horaires i {
    margin-right: .35rem;
}

.contact-tel-carte__mention {
    font-size: .82rem;
    line-height: 1.5;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.contact-tel-carte__mention p:last-child {
    margin-bottom: 0;
}

/* ==============================================================
   # Bloc bandeau information
   La tonalité pose --info-color, dont tout le reste dérive : une seule valeur
   à changer pour ajouter une tonalité.
   ============================================================== */
.bandeau-information {
    padding: 18px 0;
}

.bandeau-information.is-information {
    --info-color: #0d6efd;
}

.bandeau-information.is-succes {
    --info-color: #198754;
}

.bandeau-information.is-attention {
    --info-color: #b26a00;
}

.bandeau-information.is-urgence {
    --info-color: #c0392b;
}

.bandeau-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: .9rem 1.2rem;
    border-radius: 10px;
    border-left: 4px solid var(--info-color, #0d6efd);
    background: color-mix(in srgb, var(--info-color, #0d6efd), #fff 93%);
}

.bandeau-info__icone {
    font-size: 1.3rem;
    color: var(--info-color, #0d6efd);
    flex-shrink: 0;
}

.bandeau-info__texte {
    flex: 1 1 260px;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--default-color);
}

.bandeau-info__texte p:last-child {
    margin-bottom: 0;
}

.bandeau-info__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: .92rem;
    color: var(--info-color, #0d6efd);
    white-space: nowrap;
}

.bandeau-info__action:hover {
    color: var(--info-color, #0d6efd);
    text-decoration: underline;
}

/* ==============================================================
   # Bloc offres tarifaires
   ============================================================== */
.offre-carte {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.4rem 1.4rem;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
    border-radius: 14px;
    text-align: center;
}

.offre-carte.is-highlight {
    border-color: var(--accent-color);
    border-width: 2px;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.offre-carte__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: .25rem .8rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.offre-carte__titre {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: .6rem;
}

.offre-carte__prix {
    margin-bottom: 1rem;
    line-height: 1.15;
}

.offre-carte__montant {
    font-family: var(--heading-font);
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--accent-color);
}

.offre-carte__periode {
    display: block;
    font-size: .84rem;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.offre-carte__details {
    font-size: .9rem;
    line-height: 1.55;
    text-align: left;
    margin-bottom: 1.2rem;
}

.offre-carte__details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.offre-carte__details ul li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: .4rem;
}

/* La coche est décorative et posée en CSS : dans le contenu, elle obligerait
   l'éditeur à la coller devant chaque ligne, et elle serait lue par un lecteur
   d'écran à chaque puce. */
.offre-carte__details ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: .8rem;
    color: var(--accent-color);
}

.offres-tarifaires__mention {
    margin: 1.4rem auto 0;
    max-width: 760px;
    text-align: center;
    font-size: .82rem;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* ==============================================================
   # Bloc sommaire
   ============================================================== */
.sommaire {
    padding: 26px 0;
}

.sommaire-nav {
    max-width: 820px;
    margin: 0 auto;
    padding: 1.2rem 1.4rem;
    border-radius: 12px;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.sommaire-nav__titre {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: .8rem;
}

.sommaire-liste {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.sommaire-lien {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .94rem;
    color: var(--default-color);
    text-decoration: none;
}

.sommaire-lien i {
    font-size: .7rem;
    color: var(--accent-color);
}

.sommaire-lien:hover {
    color: var(--accent-color);
    text-decoration: underline;
}
