/* ==========================================================================
   Etudier-enFrance - habillage (bannieres, cartes, animations)
   Charge apres style.css et avant mobile.css.
   Ce fichier concerne TOUS les ecrans, contrairement a mobile.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Bannieres de page : degrade colore par-dessus une photo
   L'image se declare sur l'element : style="--banniere-img: url(...)"
   -------------------------------------------------------------------------- */
.page-banner {
    position: relative;
    background-color: #0a3c8c;
    background-image:
        linear-gradient(115deg, rgba(8, 42, 100, 0.94) 0%, rgba(0, 110, 230, 0.78) 48%, rgba(0, 176, 190, 0.62) 100%),
        var(--banniere-img, none);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Voile sombre en bas : garantit la lisibilite du fil d'Ariane
   quelle que soit la photo. */
.page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-banner > * {
    position: relative;
    z-index: 2;
}

.page-banner h3 {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.page-banner .breadcrumb-list li,
.page-banner .breadcrumb-list li a {
    color: rgba(255, 255, 255, 0.92);
}

.page-banner .breadcrumb-list li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Declinaisons de couleur, reprises des teintes deja utilisees sur le site */
.page-banner--teal {
    background-color: #0b5c66;
    background-image:
        linear-gradient(115deg, rgba(8, 62, 70, 0.94) 0%, rgba(17, 138, 155, 0.76) 50%, rgba(30, 190, 180, 0.58) 100%),
        var(--banniere-img, none);
}

.page-banner--vert {
    background-color: #14603f;
    background-image:
        linear-gradient(115deg, rgba(12, 74, 50, 0.94) 0%, rgba(24, 140, 92, 0.76) 50%, rgba(60, 190, 130, 0.58) 100%),
        var(--banniere-img, none);
}

.page-banner--rouge {
    background-color: #7a1230;
    background-image:
        linear-gradient(115deg, rgba(104, 18, 44, 0.94) 0%, rgba(196, 44, 78, 0.76) 50%, rgba(240, 110, 90, 0.58) 100%),
        var(--banniere-img, none);
}

/* --------------------------------------------------------------------------
   2. Cartes de meme hauteur
   Les cartes d'une rangee n'avaient pas la meme hauteur : la grille se
   decalait des qu'une carte avait une ligne de texte ou un bouton en plus.
   -------------------------------------------------------------------------- */
.most-popular-courses-area .row,
.popular-courses-area .row,
.our-blog-area .row,
.courses-area .row {
    align-items: stretch;
}

.single-item_two,
.single-popular-courses,
.our-blog-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(20, 35, 60, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.single-item_two:hover,
.single-popular-courses:hover,
.our-blog-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(20, 35, 60, 0.16);
}

.single-item_two .single-item-image,
.single-popular-courses .popular-courses-image,
.our-blog-wrap .our-blog-thumb {
    overflow: hidden;
}

/* On ne vise QUE la grande image de la carte : ">" evite d'attraper la
   petite vignette ronde du survol, qui se retrouvait etiree en 230px. */
.single-item_two .single-item-image > a > img,
.single-popular-courses .popular-courses-image > a > img,
.our-blog-wrap .our-blog-thumb > a > img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.single-item_two:hover .single-item-image > a > img,
.single-popular-courses:hover .popular-courses-image > a > img,
.our-blog-wrap:hover .our-blog-thumb > a > img {
    transform: scale(1.06);
}

/* Vignette du survol : pastille ronde de 46px, jamais deformee. */
.courses-hover-thumb {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    margin-right: 14px;
}

.courses-hover-thumb img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.courses-hover-action {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
}

/* Le contenu occupe la place restante : les pieds de carte s'alignent. */
.single-item_two .single-item-text,
.single-popular-courses .popular-courses-contnet,
.our-blog-wrap .our-blog-contnet {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.single-item_two .single-item-content,
.single-popular-courses .button-block,
.our-blog-contnet .button-block {
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   3. Blocs texte + media alignes
   Sur la page d'accueil, la colonne image n'etait pas alignee avec le texte.
   -------------------------------------------------------------------------- */
.about-us-area .row.align-items-center {
    align-items: center;
}

.about-us-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-us-image a {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20, 35, 60, 0.14);
}

.about-us-image a > img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-us-image a:hover > img {
    transform: scale(1.04);
}

/* Le picto "lecture" reste centre sur la vignette. */
.about-us-image a > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.about-us-image a > span img {
    width: 74px;
    height: 74px;
}

@media only screen and (max-width: 991px) {
    .about-us-image a > img {
        height: 260px;
    }

    .single-item_two .single-item-image > a > img,
    .single-popular-courses .popular-courses-image > a > img,
    .our-blog-wrap .our-blog-thumb > a > img {
        height: 200px;
    }
}

/* --------------------------------------------------------------------------
   4. Animations a l'apparition (WOW.js + animate.css, deja dans le theme)
   Filet de securite : si le JavaScript ne s'execute pas, le contenu doit
   rester visible.
   -------------------------------------------------------------------------- */
.wow {
    visibility: visible;
}

.no-js .wow,
.no-js .animated {
    visibility: visible !important;
    animation: none !important;
}

/* Animations plus sobres que celles d'animate.css par defaut. */
.animated {
    animation-duration: 0.7s;
}

/* Respecte le reglage systeme "reduire les animations". */
@media (prefers-reduced-motion: reduce) {

    .wow,
    .animated {
        visibility: visible !important;
        animation: none !important;
        transition: none !important;
    }

    .single-item_two:hover,
    .single-popular-courses:hover,
    .our-blog-wrap:hover {
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   5. Images du theme absentes du projet
   style.css reference trois fichiers qui n'ont jamais ete livres :
   images/bg/bg-01.jpg, icon/title-01.png et icon/title-02.png.
   Resultat : trois 404 sur chaque page et un fond noir sous la section
   "Les documents a fournir".
   -------------------------------------------------------------------------- */

/* Un trait degrade remplace les petites images decoratives sous les titres. */
.section-title::after,
.section-title-two::after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #007bff, #00b4be);
}

.section-title-two::after {
    background: linear-gradient(90deg, #00b4be, #007bff);
}

/* Vraie photo de fond pour la section "Les documents a fournir". */
.should-bg {
    background-image: url("../images/Etudiant/AdobeStock_620630494-1-1296x700.jpeg");
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
}

/* --------------------------------------------------------------------------
   6. Galerie : vignettes de meme format
   -------------------------------------------------------------------------- */
.single-gallery-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(20, 35, 60, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.single-gallery-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(20, 35, 60, 0.18);
}

.single-gallery-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.single-gallery-img:hover img {
    transform: scale(1.06);
}

@media only screen and (max-width: 991px) {
    .single-gallery-img img {
        height: 200px;
    }
}

/* ==========================================================================
   7. Documents telechargeables (page Documentation)
   ========================================================================== */
/* Les titres de section du theme sont centres : l'intro suit. */
.doc-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
    color: #4a5568;
}

.doc-rubrique {
    margin-bottom: 46px;
}

.doc-rubrique__titre {
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 6px;
    padding-left: 14px;
    border-left: 5px solid #007bff;
}

.doc-rubrique--agence .doc-rubrique__titre { border-left-color: #007bff; }
.doc-rubrique--procedure .doc-rubrique__titre { border-left-color: #17a2b8; }
.doc-rubrique--formations .doc-rubrique__titre { border-left-color: #1e9e5a; }
.doc-rubrique--langue .doc-rubrique__titre { border-left-color: #f0a500; }

.doc-rubrique__intro {
    margin: 0 0 22px;
    padding-left: 19px;
    color: #5a6472;
    font-size: 15px;
}

.doc-carte {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: calc(100% - 20px);
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #e3e7ee;
    border-radius: 14px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.doc-carte:hover,
.doc-carte:focus {
    color: inherit;
    text-decoration: none;
    transform: translateY(-4px);
    border-color: #bcd8ff;
    box-shadow: 0 12px 28px rgba(20, 35, 60, 0.13);
}

.doc-carte--phare {
    border-color: #bcd8ff;
    background: linear-gradient(120deg, #f2f8ff 0%, #ffffff 60%);
}

.doc-carte__icone {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #eaf3ff;
    color: #007bff;
    font-size: 21px;
}

.doc-rubrique--procedure .doc-carte__icone { background: #e6f7fa; color: #12909f; }
.doc-rubrique--formations .doc-carte__icone { background: #e8f6ed; color: #1a8a52; }
.doc-rubrique--langue .doc-carte__icone { background: #fff5e0; color: #c78600; }

.doc-carte__corps {
    flex: 1 1 auto;
    min-width: 0;
}

.doc-carte__titre {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 5px;
    color: #1f2933;
}

.doc-carte__texte {
    display: block;
    font-size: 14px;
    line-height: 1.55;
    color: #5a6472;
    margin-bottom: 8px;
}

.doc-carte__meta {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #8a94a3;
}

.doc-carte__action {
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f2f5f9;
    color: #4a5568;
    transition: background 0.3s ease, color 0.3s ease;
}

.doc-carte:hover .doc-carte__action {
    background: #007bff;
    color: #ffffff;
}

/* ==========================================================================
   8. Temoignages
   ========================================================================== */
.temoignage {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
    margin: 0 0 30px;
    padding: 26px 24px 22px;
    border: 1px solid #e3e7ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(20, 35, 60, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.temoignage:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(20, 35, 60, 0.14);
}

.temoignage__guillemet {
    font-size: 26px;
    color: #cfe2ff;
    margin-bottom: 12px;
}

.temoignage__texte {
    flex: 1 1 auto;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #3c4653;
    font-style: italic;
}

.temoignage__note {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.temoignage__auteur {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #eef1f6;
}

.temoignage__photo,
.temoignage__initiales {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.temoignage__initiales {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #00b4be);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.temoignage__identite {
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #5a6472;
}

.temoignage__identite strong {
    color: #1f2933;
}

.temoignage__meta {
    font-size: 12.5px;
    color: #8a94a3;
}

.temoignage-vide {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 26px;
    border: 1px dashed #c8d4e4;
    border-radius: 16px;
    background: #f7fafd;
    color: #4a5568;
}

.temoignage-vide i {
    font-size: 24px;
    color: #a9c4e6;
}

.temoignage-vide p {
    margin: 0;
    line-height: 1.7;
}

/* ==========================================================================
   9. Videos
   ========================================================================== */
.video-carte {
    display: block;
    height: calc(100% - 30px);
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e3e7ee;
    color: inherit;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.video-carte:hover,
.video-carte:focus {
    color: inherit;
    text-decoration: none;
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(20, 35, 60, 0.18);
}

.video-carte__visuel {
    position: relative;
    display: block;
    height: 260px;
    background: linear-gradient(135deg, #0a3c8c, #00b4be);
    background-size: cover;
    background-position: center;
}

.video-carte__visuel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    transition: background 0.35s ease;
}

.video-carte:hover .video-carte__visuel::after {
    background: rgba(0, 0, 0, 0.14);
}

.video-carte__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #007bff;
    font-size: 22px;
    padding-left: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s ease;
}

.video-carte:hover .video-carte__play {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-carte__corps {
    display: block;
    padding: 20px 22px 24px;
}

.video-carte__titre {
    display: block;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 6px;
    color: #1f2933;
}

.video-carte__texte {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    color: #5a6472;
}

@media only screen and (max-width: 991px) {
    .doc-carte {
        padding: 16px;
        gap: 13px;
    }

    .doc-carte__icone {
        width: 46px;
        height: 46px;
        font-size: 19px;
    }

    .doc-rubrique__titre {
        font-size: 21px;
    }

    .video-carte__visuel {
        height: 200px;
    }
}

/* ==========================================================================
   10. Cartes d'etape (page d'accueil)
   Meme habillage que les blocs "service-item" de la page Frais des etudes :
   fond clair, filet de 5px a gauche, coins arrondis, ombre legere.
   Chaque etape est une carte distincte, au lieu d'un seul long paragraphe.
   ========================================================================== */
.procedure-chapeau {
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.75;
    color: #4a5568;
}

.etape-carte {
    margin-bottom: 22px;
    padding: 20px 22px;
    background-color: #f9f9f9;
    border-left: 5px solid #007bff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.etape-carte:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.13);
}

.etape-carte h4 {
    margin-bottom: 12px;
    color: #007bff;
    font-size: 20px;
    line-height: 1.35;
}

.etape-carte h4 i {
    margin-right: 10px;
    color: #007bff;
}

.etape-carte p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

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

/* Seconde serie d'etapes : turquoise, une teinte deja presente sur le site. */
.etape-carte--suite {
    border-left-color: #17a2b8;
}

.etape-carte--suite h4,
.etape-carte--suite h4 i {
    color: #12909f;
}

@media only screen and (max-width: 991px) {
    .etape-carte {
        padding: 17px 18px;
        margin-bottom: 18px;
    }

    .etape-carte h4 {
        font-size: 18px;
    }

    .etape-carte p {
        font-size: 15px;
    }
}

/* ==========================================================================
   11. Largeur du contenu sur grand ecran
   Le conteneur restait bloque a 1200px : sur un ecran de 1920px, cela
   laissait 360px de vide de chaque cote. On l'elargit progressivement.
   ATTENTION : uniquement dans des @media min-width, jamais globalement,
   sinon le centrage saute sur toutes les tailles d'ecran.
   ========================================================================== */
@media only screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media only screen and (min-width: 1700px) {
    .container {
        max-width: 1460px;
    }
}

/* Variante compacte de la carte document : sert de lien vers une page,
   sans mention de format ni de poids. */
.doc-carte--filiere .doc-carte__texte {
    margin-bottom: 0;
}

.doc-carte--filiere .doc-carte__action {
    font-size: 18px;
}

/* ==========================================================================
   12. Page Partenariats (ecoles privees)
   ========================================================================== */
.partenariat-encart {
    margin-bottom: 30px;
    padding: 26px 24px;
    border-radius: 14px;
    background: #f4f8f6;
    border: 1px solid #d9e7e0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.partenariat-encart--clair {
    background: #f9f9f9;
    border-color: #e3e7ee;
}

.partenariat-encart h4 {
    margin-bottom: 8px;
    font-size: 20px;
    color: #14603f;
}

.partenariat-encart--clair h4 {
    color: #007bff;
}

.partenariat-encart h4 i {
    margin-right: 9px;
}

.partenariat-encart__intro {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.65;
    color: #4a5568;
}

.partenariat-encart .contact-inner {
    width: 100%;
    float: none;
    margin: 0 0 12px;
}

.partenariat-encart input,
.partenariat-encart textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfd9e4;
    border-radius: 10px;
    background: #ffffff;
    font-size: 15px;
}

.partenariat-encart textarea {
    min-height: 130px;
    resize: vertical;
}

.partenariat-encart input:focus,
.partenariat-encart textarea:focus {
    outline: none;
    border-color: #1e9e5a;
    box-shadow: 0 0 0 3px rgba(30, 158, 90, 0.15);
}

.partenariat-encart .submit-btn {
    width: 100%;
    margin-top: 4px;
    padding: 13px 20px;
    border: 0;
    border-radius: 10px;
    background: #14603f;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.partenariat-encart .submit-btn:hover {
    background: #0d4d33;
}

.partenariat-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.partenariat-liste li {
    padding: 9px 0;
    border-bottom: 1px solid #eef1f6;
    font-size: 15px;
    line-height: 1.5;
    color: #4a5568;
}

.partenariat-liste li:last-child {
    border-bottom: 0;
}

.partenariat-liste li i {
    width: 22px;
    color: #007bff;
}

/* Appel aux ecoles, sur la page d'accueil */
.appel-ecoles {
    background: linear-gradient(115deg, #0c4a32 0%, #17805a 55%, #1eb37a 100%);
    color: #ffffff;
}

.appel-ecoles h3 {
    color: #ffffff;
    margin-bottom: 14px;
}

.appel-ecoles p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 10px;
}

.appel-ecoles .all-course {
    margin-top: 22px;
    background: #ffffff;
    color: #0c4a32;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
}

.appel-ecoles .all-course:hover {
    background: #eafaf2;
    color: #0c4a32;
}

@media only screen and (max-width: 991px) {
    .partenariat-encart {
        padding: 20px 18px;
    }
}

/* ==========================================================================
   13. Champs de formulaire : survol et focus
   Les champs n'avaient aucune reaction au survol ni au clic : rien
   n'indiquait a l'internaute ou il se trouvait dans le formulaire.
   ========================================================================== */
.contact-inner input,
.contact-inner textarea,
.newsletter-input-box input {
    border-radius: 8px;
    background-color: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.contact-inner input:hover,
.contact-inner textarea:hover {
    border-color: #9dc3ff;
    background-color: #fbfdff;
}

.contact-inner input:focus,
.contact-inner textarea:focus {
    outline: none;
    border-color: #007bff;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.16);
}

/* Champ de la newsletter, sur fond sombre */
.newsletter-input-box input:hover {
    border-color: #7fb2ff;
}

.newsletter-input-box input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Bouton d'envoi du formulaire de contact */
.contact-submit-btn .submit-btn {
    border-radius: 8px;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-submit-btn .submit-btn:hover,
.contact-submit-btn .submit-btn:focus {
    background-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 123, 255, 0.3);
}

/* Formulaire de la page Partenariats */
.partenariat-encart input:hover,
.partenariat-encart textarea:hover {
    border-color: #8fd0ae;
    background-color: #fbfefc;
}

.partenariat-encart .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(20, 96, 63, 0.3);
}

/* ==========================================================================
   14. Pied de page : moins de vide en haut et en bas
   .footer-top cumulait 60px de padding-top + 60px de marge sur les colonnes
   (120px de noir avant le premier contenu) et 120px de padding-bottom.
   ========================================================================== */
.footer-area .footer-top {
    padding-top: 10px;
    padding-bottom: 45px;
}

.footer-area .footer-top .mt--60 {
    margin-top: 40px !important;
}

@media only screen and (max-width: 991px) {
    .footer-area .footer-top {
        padding-top: 6px;
        padding-bottom: 28px;
    }

    .footer-area .footer-top .mt--60 {
        margin-top: 30px !important;
    }
}

/* ==========================================================================
   15. Prise de rendez-vous
   ========================================================================== */

/* Bandeau : parler tout de suite */
.rdv-immediat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
    padding: 24px 28px;
    border-radius: 16px;
    background: linear-gradient(115deg, #0f7a45 0%, #1eb968 100%);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 122, 69, 0.25);
}

.rdv-immediat__texte {
    flex: 1 1 320px;
}

.rdv-immediat h4 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 20px;
}

.rdv-immediat p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.6;
}

.rdv-immediat__bouton {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 10px;
    background: #ffffff;
    color: #0f7a45;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rdv-immediat__bouton:hover,
.rdv-immediat__bouton:focus {
    color: #0f7a45;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

/* Sessions collectives */
.session-carte {
    display: flex;
    gap: 18px;
    height: calc(100% - 30px);
    margin-bottom: 30px;
    padding: 22px;
    border: 1px solid #e3e7ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(20, 35, 60, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.session-carte:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(20, 35, 60, 0.15);
}

.session-carte__date {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: linear-gradient(135deg, #007bff, #00b4be);
    color: #ffffff;
}

.session-carte__jour {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.session-carte__mois {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.session-carte__corps {
    flex: 1 1 auto;
    min-width: 0;
}

.session-carte__corps h4 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.35;
    color: #1f2933;
}

.session-carte__corps > p {
    margin-bottom: 12px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #5a6472;
}

.session-carte__infos {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    font-size: 14px;
    color: #4a5568;
}

.session-carte__infos li {
    padding: 3px 0;
}

.session-carte__infos i {
    width: 20px;
    color: #007bff;
}

.session-carte__bouton {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    background: #007bff;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.25s ease;
}

.session-carte__bouton:hover,
.session-carte__bouton:focus {
    background: #0b5ed7;
    color: #ffffff;
    text-decoration: none;
}

.session-vide {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px;
    border: 1px dashed #c8d4e4;
    border-radius: 16px;
    background: #f7fafd;
}

.session-vide i {
    font-size: 26px;
    color: #a9c4e6;
}

.session-vide h4 {
    margin-bottom: 6px;
    font-size: 18px;
    color: #1f2933;
}

.session-vide p {
    margin: 0;
    line-height: 1.7;
    color: #4a5568;
}

/* Formulaire et encarts */
.rdv-encart {
    margin-bottom: 30px;
    padding: 26px 24px;
    border-radius: 16px;
    background: #f9f9f9;
    border: 1px solid #e3e7ee;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.rdv-encart h4 {
    margin-bottom: 8px;
    font-size: 20px;
    color: #007bff;
}

.rdv-encart h4 i {
    margin-right: 9px;
}

.rdv-encart__intro {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.65;
    color: #4a5568;
}

.rdv-encart--parents {
    background: #f2f8ff;
    border-color: #cfe2ff;
}

.rdv-encart--parents h4 {
    color: #0a4fa8;
}

.rdv-encart--clair h4 {
    color: #12909f;
}

.rdv-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #3c4653;
}

.rdv-encart .contact-inner {
    width: 100%;
    float: none;
    margin: 0 0 16px;
}

.rdv-encart input,
.rdv-encart select,
.rdv-encart textarea {
    width: 100%;
    padding: 12px 14px;
    height: auto;
    border: 1px solid #cfd9e4;
    border-radius: 8px;
    background: #ffffff;
    font-size: 15px;
    color: #222222;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.rdv-encart textarea {
    min-height: 120px;
    resize: vertical;
}

.rdv-encart input:hover,
.rdv-encart select:hover,
.rdv-encart textarea:hover {
    border-color: #9dc3ff;
    background-color: #fbfdff;
}

.rdv-encart input:focus,
.rdv-encart select:focus,
.rdv-encart textarea:focus {
    outline: none;
    border-color: #007bff;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.16);
}

.rdv-encart .submit-btn {
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-radius: 10px;
    background: #007bff;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.rdv-encart .submit-btn:hover,
.rdv-encart .submit-btn:focus {
    background: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 123, 255, 0.3);
}

.rdv-encart__mention {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: #8a94a3;
    text-align: center;
}

.rdv-encart__note {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-left: 4px solid #f0a500;
    border-radius: 8px;
    background: #fff8e5;
    font-size: 13.5px;
    line-height: 1.6;
    color: #6b4d00;
}

.rdv-liste {
    list-style: none;
    margin: 0 0 4px;
    padding: 0;
}

.rdv-liste li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #3c4653;
}

.rdv-liste li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: #1e9e5a;
}

.rdv-liste--etapes li {
    padding-left: 40px;
}

.rdv-liste--etapes li span {
    position: absolute;
    left: 0;
    top: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #12909f;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

/* Appel au rendez-vous, dans les pages de contenu */
.rdv-appel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 34px 0 0;
    padding: 24px 26px;
    border-radius: 16px;
    background: #f2f8ff;
    border: 1px solid #cfe2ff;
}

.rdv-appel__texte {
    flex: 1 1 300px;
}

.rdv-appel h4 {
    margin: 0 0 6px;
    font-size: 19px;
    line-height: 1.35;
    color: #0a4fa8;
}

.rdv-appel p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
}

.rdv-appel__bouton {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 10px;
    background: #007bff;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.rdv-appel__bouton:hover,
.rdv-appel__bouton:focus {
    background: #0b5ed7;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 123, 255, 0.28);
}

/* Bandeau de rendez-vous sur la page d'accueil */
.rdv-bandeau {
    background: linear-gradient(115deg, #08306b 0%, #0a58ca 55%, #12909f 100%);
    color: #ffffff;
}

.rdv-bandeau h3 {
    color: #ffffff;
    margin-bottom: 14px;
}

.rdv-bandeau p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 10px;
}

.rdv-bandeau .all-course {
    margin-top: 22px;
    background: #ffffff;
    color: #08306b;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
}

.rdv-bandeau .all-course:hover {
    background: #eaf3ff;
    color: #08306b;
}

/* Bouton dans la barre du haut */
.top-rdv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 14px;
    padding: 6px 16px;
    border-radius: 20px;
    background: #ffffff;
    color: #0b5ed7;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.top-rdv:hover,
.top-rdv:focus {
    background: #eaf3ff;
    color: #0b5ed7;
    text-decoration: none;
}

@media only screen and (max-width: 991px) {

    .rdv-immediat,
    .rdv-appel {
        padding: 20px 18px;
    }

    .rdv-immediat__bouton,
    .rdv-appel__bouton {
        width: 100%;
        justify-content: center;
    }

    .session-carte {
        flex-direction: column;
        padding: 18px;
    }

    .rdv-encart {
        padding: 20px 18px;
    }

    .top-rdv {
        margin: 6px 0 0;
    }
}

/* Mention secondaire dans les listes de contact */
.contact-note {
    color: #8a94a3;
    font-size: 13.5px;
    font-style: italic;
}

/* ==========================================================================
   16. Animation au survol de TOUS les boutons
   Le theme changeait bien la couleur au survol, mais sans transition :
   le basculement etait brutal. On ajoute la transition partout, puis un
   leger soulevement et une ombre portee.
   ========================================================================== */

/* --- Transition commune ------------------------------------------------- */
.all-course,
.botton-border,
.submit-btn,
.newsletter-button,
.btn,
.quick-contact__btn,
.top-rdv,
.rdv-appel__bouton,
.rdv-immediat__bouton,
.session-carte__bouton,
.doc-carte__action,
#scrollUp,
.footer-social-link a,
.top-social a,
.mobile-menu .mean-bar .meanmenu-reveal,
.hero-slider-active .owl-prev,
.hero-slider-active .owl-next {
    transition: background-color 0.28s ease, color 0.28s ease,
                transform 0.28s ease, box-shadow 0.28s ease,
                filter 0.28s ease, opacity 0.28s ease;
    will-change: transform;
}

/* --- Boutons principaux -------------------------------------------------- */
.all-course:hover,
.all-course:focus,
.btn:hover,
.btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(20, 35, 60, 0.22);
}

.all-course:active,
.btn:active,
.botton-border:active,
.submit-btn:active {
    transform: translateY(-1px);
}

/* Boutons dont la couleur est posee en style="..." dans le HTML : une regle
   CSS ne peut pas surcharger un style en ligne. On eclaircit donc le fond
   avec un filtre, qui s'applique quelle que soit la couleur d'origine. */
a.all-course[style]:hover,
a.all-course[style]:focus {
    filter: brightness(1.12);
}

/* --- Boutons secondaires "Détail" / "Voir Détail" ------------------------ */
.botton-border:hover,
.botton-border:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 123, 255, 0.25);
}

/* --- Boutons de formulaire ---------------------------------------------- */
.submit-btn:hover,
.submit-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 123, 255, 0.28);
}

.newsletter-button:hover,
.newsletter-button:focus {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

/* --- Icones sociales : en-tete et pied de page --------------------------- */
.footer-social-link a:hover,
.footer-social-link a:focus,
.top-social a:hover,
.top-social a:focus {
    transform: translateY(-3px) scale(1.08);
}

.footer-social-link a:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* --- Bouton retour en haut de page --------------------------------------- */
#scrollUp:hover,
#scrollUp:focus {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 18px rgba(0, 123, 255, 0.4);
}

/* --- Barre de contact rapide (mobile) ------------------------------------ */
.quick-contact__btn:hover,
.quick-contact__btn:focus {
    filter: brightness(1.08);
    opacity: 1;
}

/* --- Bouton "Prendre rendez-vous" de la barre du haut --------------------- */
.top-rdv:hover,
.top-rdv:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

/* --- Fleches du carrousel et menu mobile --------------------------------- */
.hero-slider-active .owl-prev:hover,
.hero-slider-active .owl-next:hover {
    transform: translateY(-60%) scale(1.1);
}

.mobile-menu .mean-bar .meanmenu-reveal:hover {
    opacity: 0.75;
}

/* --- Cartes de document et de session ------------------------------------ */
.session-carte__bouton:hover,
.session-carte__bouton:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.28);
}

.doc-carte:hover .doc-carte__action {
    transform: scale(1.08);
}

/* --- Reglage systeme "reduire les animations" ----------------------------- */
@media (prefers-reduced-motion: reduce) {

    .all-course,
    .botton-border,
    .submit-btn,
    .newsletter-button,
    .btn,
    .quick-contact__btn,
    .top-rdv,
    .rdv-appel__bouton,
    .rdv-immediat__bouton,
    .session-carte__bouton,
    #scrollUp,
    .footer-social-link a,
    .top-social a {
        transition: none !important;
    }

    .all-course:hover,
    .botton-border:hover,
    .submit-btn:hover,
    .newsletter-button:hover,
    .btn:hover,
    .top-rdv:hover,
    .session-carte__bouton:hover,
    #scrollUp:hover,
    .footer-social-link a:hover,
    .top-social a:hover,
    .hero-slider-active .owl-prev:hover,
    .hero-slider-active .owl-next:hover {
        transform: none !important;
    }
}

/* ==========================================================================
   Encart "Accord d'accompagnement"
   Present sur frais des etudes, contact et prise de rendez-vous.
   Le document s'ouvre dans le navigateur et se remplit a l'ecran, le bouton
   annonce donc une ouverture, pas un telechargement force.
   ========================================================================== */
.accord-encart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin: 40px 0 0;
    padding: 26px 28px;
    border: 1px solid #d9e4f2;
    border-left: 5px solid #0a4fa8;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(10, 79, 168, 0.07);
}

.accord-encart__icone {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eef5ff;
    color: #0a4fa8;
    font-size: 24px;
}

.accord-encart__corps {
    flex: 1 1 320px;
}

.accord-encart__titre {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.35;
    color: #0a4fa8;
}

.accord-encart__texte {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.65;
    color: #4a5568;
}

.accord-encart__note {
    margin: 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f2f8ff;
    font-size: 14px;
    line-height: 1.6;
    color: #2c4a70;
}

.accord-encart__note i {
    margin-right: 6px;
    color: #0a4fa8;
}

.accord-encart__bouton {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 10px;
    background: #0a4fa8;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.accord-encart__bouton:hover,
.accord-encart__bouton:focus {
    background: #073d84;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(10, 79, 168, 0.3);
}

@media only screen and (max-width: 991px) {

    .accord-encart {
        gap: 16px;
        margin-top: 30px;
        padding: 20px 18px;
    }

    .accord-encart__icone {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .accord-encart__bouton {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================================
   Slider d'accueil : cadrage des images
   Le script pose l'image de fond de chaque diapositive. Ces regles servent
   de filet : meme si le script tarde, l'image couvre la diapositive au lieu
   de se repeter a sa taille d'origine.
   ========================================================================== */
.hero-slider .singleSlide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Les textes n'ont pas tous la meme longueur : sans cela, la hauteur du
   carrousel sautait de 90 px d'une diapositive a l'autre. Toutes les
   diapositives adoptent desormais la hauteur de la plus grande. */
.hero-slider-active .owl-stage {
    display: flex;
    align-items: stretch;
}

.hero-slider-active .owl-item {
    display: flex;
}

.hero-slider-active .owl-item > .singleSlide {
    width: 100%;
    display: flex;
    align-items: center;
}

.hero-slider-active .owl-item > .singleSlide > .container {
    width: 100%;
}

/* Voile de lecture : le voile noir uniforme laissait le sous-titre se
   perdre dans les zones claires de la photo. Un degrade appuye a gauche,
   la ou se trouve le texte, garde la photo lisible a droite. */
.hero-slider .singleSlide[data-black-overlay]:before {
    background-color: transparent;
    background-image: linear-gradient(96deg,
        rgba(4, 18, 40, 0.78) 0%,
        rgba(4, 18, 40, 0.62) 32%,
        rgba(4, 18, 40, 0.34) 58%,
        rgba(4, 18, 40, 0.14) 80%,
        rgba(4, 18, 40, 0.08) 100%);
    opacity: 1;
}

.hero-slider .slider-text-info p {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.65;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero-slider .slider-text-info h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

@media only screen and (max-width: 991px) {

    /* En colonne etroite le texte occupe toute la largeur : le degrade
       lateral ne suffit plus, on assombrit uniformement. */
    .hero-slider .singleSlide[data-black-overlay]:before {
        background-image: linear-gradient(180deg,
            rgba(4, 18, 40, 0.62) 0%,
            rgba(4, 18, 40, 0.58) 100%);
    }

    .hero-slider .slider-text-info p {
        font-size: 15px;
    }
}

/* ==========================================================================
   Demande de consentement a la mesure d'audience
   Discrete, posee en bas d'ecran, elle ne recouvre jamais le contenu au
   point d'empecher la lecture.
   ========================================================================== */
.consentement {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9998;
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid #d9e4f2;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(4, 18, 40, 0.18);
    animation: consentement-entree 0.4s ease both;
}

@keyframes consentement-entree {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.consentement__texte {
    flex: 1 1 300px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

.consentement__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

.consentement__btn {
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.consentement__btn--accord {
    background: #0a4fa8;
    color: #ffffff;
}

.consentement__btn--accord:hover,
.consentement__btn--accord:focus {
    background: #073d84;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(10, 79, 168, 0.28);
}

.consentement__btn--refus {
    background: #f2f5f9;
    border-color: #d9e4f2;
    color: #4a5568;
}

.consentement__btn--refus:hover,
.consentement__btn--refus:focus {
    background: #e6ebf2;
    transform: translateY(-2px);
}

@media only screen and (max-width: 991px) {

    .consentement {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px 18px;
        gap: 12px;
    }

    /* Le pied de page mobile porte deja deux boutons fixes : on remonte la
       demande pour ne pas les recouvrir. */
    .consentement {
        bottom: 74px;
    }

    .consentement__actions {
        width: 100%;
    }

    .consentement__btn {
        flex: 1 1 0;
    }
}

/* ==========================================================================
   Suggestion de correction d'adresse e-mail
   Un avis, pas une erreur : le ton reste neutre, l'internaute garde la main.
   ========================================================================== */
.email-suggestion {
    margin: 6px 0 0;
    padding: 8px 12px;
    border-left: 3px solid #f0ad4e;
    border-radius: 6px;
    background: #fff8ec;
    font-size: 14px;
    line-height: 1.5;
    color: #7a5a1e;
}

.email-suggestion__lien {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    color: #0a4fa8;
    text-decoration: underline;
    cursor: pointer;
}

.email-suggestion__lien:hover,
.email-suggestion__lien:focus {
    color: #073d84;
}

/* Dans le pied de page, tout le texte est force en blanc par le theme :
   sur notre fond creme, l'avis devenait invisible. On reimpose la couleur
   sombre, y compris sur les elements enfants. */
.footer-area .email-suggestion,
.newsletter-area .email-suggestion,
footer .email-suggestion {
    border-left-color: #d99a2b;
    background: #fff8ec;
}

.footer-area .email-suggestion,
.footer-area .email-suggestion *,
.newsletter-area .email-suggestion,
.newsletter-area .email-suggestion *,
footer .email-suggestion,
footer .email-suggestion * {
    color: #7a5a1e;
}

.footer-area .email-suggestion__lien,
.newsletter-area .email-suggestion__lien,
footer .email-suggestion__lien {
    color: #0a4fa8;
}

/* ==========================================================================
   Choix d'un creneau : une date et une heure cote a cote
   Le champ texte libre precedent recevait "la semaine prochaine" ou
   "apres 18h", impossibles a exploiter.
   ========================================================================== */
.rdv-creneau {
    display: flex;
    gap: 10px;
}

.rdv-creneau input[type="date"] {
    flex: 1 1 60%;
    min-width: 0;
}

.rdv-creneau select {
    flex: 0 1 40%;
    min-width: 96px;
}

/* Sur iOS, un champ de moins de 16px declenche un zoom automatique a la
   saisie, et la page ne revient jamais a sa taille initiale. */
.rdv-creneau input[type="date"],
.rdv-creneau select {
    font-size: 16px;
}

.rdv-aide {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #67788c;
}

@media only screen and (max-width: 479px) {

    .rdv-creneau {
        flex-direction: column;
        gap: 8px;
    }

    .rdv-creneau input[type="date"],
    .rdv-creneau select {
        flex: 1 1 auto;
        width: 100%;
    }
}

/* ==========================================================================
   Champ a corriger
   Signale precisement ou se trouve l'erreur : un message d'alerte sans
   indication oblige a relire tout le formulaire.
   ========================================================================== */
.champ-fautif,
.rdv-creneau--fautif input[type="date"] {
    border-color: #d64541 !important;
    background-color: #fff8f8 !important;
    box-shadow: 0 0 0 3px rgba(214, 69, 65, 0.13) !important;
}

.champ-fautif:focus,
.rdv-creneau--fautif input[type="date"]:focus {
    border-color: #b3413d !important;
    box-shadow: 0 0 0 3px rgba(214, 69, 65, 0.22) !important;
}

/* ==========================================================================
   Saisie du telephone : indicatif choisi dans une liste
   Le champ libre laissait passer des numeros sans indicatif, inutilisables
   pour appeler comme pour ouvrir une conversation WhatsApp.
   ========================================================================== */
.tel-champ {
    display: flex;
    gap: 10px;
}

.tel-champ__indicatif {
    flex: 0 1 46%;
    min-width: 0;
}

.tel-champ__numero {
    flex: 1 1 54%;
    min-width: 0;
}

/* Sous 16px, iOS zoome tout seul a la saisie et ne revient jamais. */
.tel-champ__indicatif,
.tel-champ__numero {
    font-size: 16px;
}

.tel-aide {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #67788c;
}

.tel-champ--fautif .tel-champ__numero {
    border-color: #d64541;
    background-color: #fff8f8;
}

@media only screen and (max-width: 479px) {

    .tel-champ {
        flex-direction: column;
        gap: 8px;
    }

    .tel-champ__indicatif,
    .tel-champ__numero {
        flex: 1 1 auto;
        width: 100%;
    }
}
