/* =========================================================
   THE CLEANER ARDENNES - STYLES SECONDAIRES
   Pages internes (ex : prestations.html)
   ========================================================= */

/* ---------------------------------------------------------
   0. FOND GLOBAL POUR LES PAGES INTERNES
   --------------------------------------------------------- */

/* On éclaircit le fond global uniquement sur les pages
   qui chargent ce fichier. L'index reste sur le bleu foncé. */
body.site-body {
    background-color: #f3f4fb;
    color: #111827;
}

/* On garde la même largeur de container que le style principal,
   déjà gérée dans style.css. */

/* ---------------------------------------------------------
   1. HÉRO PRESTATIONS
   --------------------------------------------------------- */

.prestations-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding-block: 4.5rem;
}

.prestations-hero__background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.prestations-hero__image {
    width: 100%;
    height: 115%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.05);
}

.prestations-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(24, 30, 64, 0.92),
            rgba(1, 139, 210, 0.5));
    z-index: 1;
}

.prestations-hero__inner {
    position: relative;
    z-index: 2;
}

.prestations-hero__content {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.prestations-hero .section__title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.prestations-hero .section__subtitle {
    color: #f4f5fb;
    font-size: 0.98rem;
    margin-bottom: 1.7rem;
}

/* ---------------------------------------------------------
   2. ICONES SPÉCIFIQUES
   --------------------------------------------------------- */

.icon--service {
    width: 26px;
    height: 26px;
}


/* ---------------------------------------------------------
   2.5. INTER - SECTION : Section de séparation
   --------------------------------------------------------- */

.prestations-parallax-intro {
    position: relative;
    color: #ffffff;
    background-image: url("./assets/banniere-separation.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.prestations-parallax-intro__bg {
    position: absolute;
    inset: 0;
    background: url("./assets/banniere-separation.jpg") center/cover no-repeat;
    background-attachment: fixed;
    filter: blur(6px);
    transform: scale(1.1);
    /* obligatoire pour éviter les bords visibles */
    z-index: 0;
}

.prestations-parallax-intro__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
}

.prestations-parallax-intro__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.prestations-parallax-intro__actions {
    margin-top: 1.8rem;
    display: flex;
    justify-content: center;
}

/* ---------------------------------------------------------
   3. SECTION ENGAGEMENTS (5 CARTES)
   --------------------------------------------------------- */

.prestations-engagements {
    background: #f7f8fc;
}

.prestations-engagements .section__title {
    color: #111827;
}

.prestations-engagements .section__subtitle {
    color: #6b7280;
}

/* === Mise en page section 2 : 3 cartes en haut, 2 cartes centrées === */

.engagements-grid {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.engagements-row {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
}

.engagements-row--top .engagement-card {
    flex: 1 1 0;
}

.engagements-row--bottom .engagement-card {
    flex: 0 0 calc((100% - 2 * 1.6rem) / 3);
}

.engagement-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.9rem 1.7rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7f5;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    text-align: left;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease;
}

.engagement-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    border: 2px solid rgba(211, 182, 142, 0.7);
    background: #fdf7ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #d3b68e;
}

.engagement-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
    color: #111827;
}

.engagement-card__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.engagement-card__list li {
    position: relative;
    padding-left: 1rem;
}

.engagement-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-blue-light);
}

.engagement-card:hover {
    transform: translateY(-4px);
    border-color: rgba(211, 182, 142, 0.95);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.engagements-cta {
    margin-top: 2.5rem;
    text-align: center;
}

@media (max-width: 991px) {

    .prestations-hero {
        padding-block: 3.8rem;
    }

    /* SECTION 2 : cartes en colonne sur mobile/tablette */
    .engagements-row {
        flex-direction: column;
        align-items: stretch;
    }

    .engagements-row--top .engagement-card,
    .engagements-row--bottom .engagement-card {
        flex: 1 1 100%;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .realisations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------------------------------------------------------
   4. BLOC PRESTATIONS (TEXTILES, BUREAUX, VITRES, ETC.)
   --------------------------------------------------------- */

/* Fond neutre pour toutes les sections de prestations
   -> plus de bleu foncé sous les cartes. */
.prestations-section {
    background: #f5f7fb;
    color: #111827;
}

/* on alterne très légèrement pour casser la monotonie */
.prestations-section:nth-of-type(even) {
    background: #ffffff;
}

.prestations-section .section__title {
    color: #111827;
}

.prestations-section .section__subtitle {
    color: #6b7280;
}

/* Grille de 3 cartes par section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
    align-items: stretch;
}

/* Carte générique de service */
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.7rem 1.6rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7f5;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

/* icône dans un cercle clair */
.service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #ecf5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    color: var(--color-blue-light);
}

/* titre */
.service-card__title {
    font-size: 1.08rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #111827;
}

/* texte court */
.service-card__text {
    font-size: 0.9rem;
    margin: 0 0 0.7rem;
    color: #6b7280;
}

/* liste mise en avant */
.service-card__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.service-card__list li {
    position: relative;
    padding-left: 1rem;
}

.service-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--color-blue-light);
}

/* hover */
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(211, 182, 142, 0.9);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* CTA sous chaque bloc de services */
.services-cta {
    margin-top: 2.3rem;
    text-align: center;
}

/* ---------------------------------------------------------
   5. RÉALISATIONS (GALERIES PHOTO)
   --------------------------------------------------------- */

.realisations {
    margin-top: 3rem;
}

.realisations__title {
    font-size: 1.1rem;
    margin-bottom: 1.4rem;
    color: #111827;
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.realisations-item {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

.realisations-item__image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.realisations-item:hover .realisations-item__image {
    transform: scale(1.05);
}

/* ---------------------------------------------------------
   6. CTA FINAL
   --------------------------------------------------------- */

.prestations-cta-final {
    background: linear-gradient(135deg,
            #181e40,
            #018bd2);
    color: #ffffff;
    text-align: center;
}

.prestations-cta-final .section__title {
    color: #ffffff;
}

.prestations-cta-final .section__subtitle {
    color: #e5e7ff;
    max-width: 720px;
    margin-inline: auto;
}

.prestations-cta-final__actions {
    margin-top: 1.8rem;
    display: flex;
    justify-content: center;
}

/* ---------------------------------------------------------
   7. RESPONSIVE
   --------------------------------------------------------- */

/* Tablettes & petits laptops */
@media (max-width: 991px) {

    .prestations-hero {
        padding-block: 3.8rem;
    }

    .engagements-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .realisations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobiles */
@media (max-width: 767px) {

    .prestations-hero {
        padding-block: 3.2rem;
    }

    .prestations-hero__content {
        text-align: left;
    }

    .engagements-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .realisations-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .realisations__title {
        text-align: left;
    }
}










/*|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*/
/*|||||||||||||||||||||||||||||||||||||||||    ----------------------     |||||||||||||||||||||||||||||||||||||||||*/
/*|||||||||||||||||||||||||||||||||||||||||     PAGE "NOTRE HISTOIRE"     |||||||||||||||||||||||||||||||||||||||||*/
/*|||||||||||||||||||||||||||||||||||||||||    ----------------------     |||||||||||||||||||||||||||||||||||||||||*/
/*|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*/

/* ---------------------------------------------------------
   0. FOND GLOBAL PAGE & CONTENU
   --------------------------------------------------------- */

body.site-body {
    background-color: #f3f4fb;
    color: #111827;
}

/* Optionnel : léger espacement autour des sections génériques */
.section {
    padding-block: 4rem;
}

/* Contrainte de largeur pour un texte confortable */
.histoire-section__inner {
    max-width: 1080px;
    margin-inline: auto;
}

/* ---------------------------------------------------------
   1. HÉRO / BANNIÈRE (SECTION 1)
   --------------------------------------------------------- */

.prestations-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding-block: 4.5rem;
}

.prestations-hero__background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.prestations-hero__image {
    width: 100%;
    height: 115%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.05);
}

.prestations-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(24, 30, 64, 0.92),
            rgba(1, 139, 210, 0.55));
    z-index: 1;
}

.prestations-hero__inner {
    position: relative;
    z-index: 2;
}

.prestations-hero__content {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.hero-section__eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.section__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.section__subtitle {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
    color: #e5e7eb;
}

.hero-section__actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

/* ---------------------------------------------------------
   2. SECTION TEXTE - "UNE HISTOIRE LOCALE..." (SECTION 2)
   --------------------------------------------------------- */

.histoire-section {
    padding-block: 4rem;
}

/* Fond blanc + texte foncé pour la lisibilité */
.histoire-section--story {
    background: #ffffff;
    color: #111827;
}

.histoire-section--story .section__header {
    margin-bottom: 1.8rem;
}

.histoire-section--story .section__title {
    color: #111827;
    font-size: 1.8rem;
}

.histoire-section--story .section__subtitle {
    color: #374151;
    font-size: 1rem;
}

.histoire-section--story .histoire-section__intro {
    max-width: 780px;
}

.histoire-story-block {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #111827;
}

.histoire-story-block p {
    margin: 0;
}

.histoire-story-block strong {
    color: #0f172a;
    font-weight: 600;
}

/* ---------------------------------------------------------
   3. SECTION CARTES VALEURS (SECTION 3)
   --------------------------------------------------------- */

.histoire-section--values {
    background: #f5f7fb;
}

.histoire-section--values .section__header {
    text-align: center;
}

.histoire-section--values .section__title {
    color: #111827;
    font-size: 1.8rem;
}

.histoire-section--values .section__subtitle {
    color: #6b7280;
    max-width: 720px;
    margin-inline: auto;
    font-size: 0.98rem;
}

/* Conteneur global des cartes */
.histoire-values {
    margin-top: 2.5rem;
}

/* Grille de cartes */
.histoire-values__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem;
    align-items: stretch;
}

/* Carte individuelle */
.histoire-values__card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.7rem 1.6rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7f5;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

/* Icône en haut de carte */
.icon--service {
    width: 26px;
    height: 26px;
}

.histoire-values__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #ecf5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    color: #0284c7;
}

/* Titre de carte */
.histoire-values__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.55rem;
    color: #111827;
}

/* Liste à puces dans la carte */
.histoire-values__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.histoire-values__list li {
    position: relative;
    padding-left: 1rem;
}

.histoire-values__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #0284c7;
}

/* Hover cartes */
.histoire-values__card:hover {
    transform: translateY(-4px);
    border-color: rgba(211, 182, 142, 0.95);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

/* ---------------------------------------------------------
   4. SECTION CTA RÉSEAUX SOCIAUX (SECTION 4)
   --------------------------------------------------------- */

.histoire-section--social {
    background: linear-gradient(135deg, #181e40, #018bd2);
    color: #ffffff;
    text-align: center;
}

.histoire-section--social .section__title {
    color: #ffffff;
    font-size: 1.8rem;
}

.histoire-section--social .section__subtitle {
    color: #e5e7ff;
    max-width: 720px;
    margin-inline: auto;
    font-size: 0.98rem;
}

/* Boutons réseaux : zone d’action */
.histoire-social-actions {
    margin-top: 2.1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Boutons stylés type "cartes" horizontales */
.histoire-social-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    padding-inline: 1.6rem;
    padding-block: 0.9rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    gap: 0.4rem;
}

.histoire-social-actions__btn svg {
    width: 20px;
    height: 20px;
}

/* Variante outline claire */
.histoire-social-actions__btn--secondary {
    border-color: #ffffff;
    color: #ffffff;
}

/* Si les .btn globales existent, ceci les adapte à ce contexte
   (optionnel selon ton style.css) */
.histoire-section--social .btn {
    border-radius: 999px;
    border-width: 1px;
}

/* ---------------------------------------------------------
   5. RESPONSIVE
   --------------------------------------------------------- */

/* Tablettes & petits laptops */
@media (max-width: 991px) {

    .section,
    .histoire-section {
        padding-block: 3.2rem;
    }

    .prestations-hero {
        padding-block: 3.8rem;
    }

    .prestations-hero__content {
        padding-inline: 1rem;
    }

    .histoire-values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobiles */
@media (max-width: 767px) {

    .section,
    .histoire-section {
        padding-block: 2.8rem;
    }

    .prestations-hero {
        padding-block: 3.2rem;
    }

    .prestations-hero__content {
        text-align: left;
    }

    .hero-section__actions {
        justify-content: flex-start;
    }

    .histoire-section__inner {
        padding-inline: 0.75rem;
    }

    .histoire-section__header {
        text-align: left;
    }

    .histoire-section--values .section__header {
        text-align: left;
    }

    /* Valeurs : 1 carte par ligne */
    .histoire-values__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .histoire-social-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .histoire-social-actions__btn {
        width: 100%;
    }
}


/*PATCH texte anthracite */
/* Forcer le texte foncé dans la section "Une histoire locale..." */
#section-histoire-texte .histoire-story-block p {
    color: #3f4758 !important;
}



/* ==========================================================================
   SECTION FAQ — Page Notre Histoire
   Mise en forme générale + styles des cartes + interaction JS
   ========================================================================== */

/* =========================================================
   SECTION FAQ - PAGE HISTOIRE
   ========================================================= */

#section-histoire-faq {
    background: #ffffff;
}

#section-histoire-faq .section__header {
    text-align: center;
    margin-bottom: 2.2rem;
}

#section-histoire-faq .section__title {
    color: #111827;
    font-size: 1.8rem;
}

#section-histoire-faq .section__subtitle {
    color: #6b7280;
    max-width: 720px;
    margin-inline: auto;
    font-size: 0.98rem;
}

/* Conteneur de la liste de questions */
.faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Carte FAQ (question + réponse) */
.faq-item {
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7f5;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.faq-item:hover {
    background: #ffffff;
    border-color: rgba(211, 182, 142, 0.9);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

/* Bouton de question (header cliquable) */
.faq-item__header.faq-item__question {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;

    position: relative;
    padding-right: 1.8rem;
    font-family: inherit;
}

/* Focus clavier un peu visible mais discret */
.faq-item__header.faq-item__question:focus-visible {
    outline: 2px solid rgba(1, 139, 210, 0.6);
    outline-offset: 3px;
    border-radius: 999px;
}

/* Chevron généré automatiquement à droite de la question */
.faq-item__header.faq-item__question::after {
    content: "";
    position: absolute;
    right: 0.2rem;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #4b5563;
    border-bottom: 2px solid #4b5563;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.2s ease;
}

/* Chevron tourné quand la question est ouverte (classe ajoutée en JS) */
.faq-item.faq-item--open .faq-item__header.faq-item__question::after {
    transform: translateY(-40%) rotate(-135deg);
}

/* Panneau de réponse (conteneur) :
   le JS ajoute/enlève l’attribut hidden sur .faq-item__panel */
.faq-item__panel[hidden] {
    display: none;
}

/* Texte de réponse */
.faq-item__answer {
    margin: 0.4rem 0 0;
    font-size: 0.94rem;
    line-height: 1.7;
    color: #4b5563;
}

/* =========================================================
   RESPONSIVE FAQ
   ========================================================= */

@media (max-width: 767px) {

    #section-histoire-faq .section__header {
        text-align: left;
    }

    #section-histoire-faq .section__subtitle {
        margin-inline: 0;
    }

    .faq-item {
        padding: 1rem 0.9rem;
    }

    .faq-item__header.faq-item__question {
        font-size: 0.98rem;
    }

    .faq-item__answer {
        font-size: 0.9rem;
    }
}









/*|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*/
/*|||||||||||||||||||||||||||||||||||||||||    ----------------------     |||||||||||||||||||||||||||||||||||||||||*/
/*|||||||||||||||||||||||||||||||||||||||||     PAGE "NOUS CONTACTER"     |||||||||||||||||||||||||||||||||||||||||*/
/*|||||||||||||||||||||||||||||||||||||||||    ----------------------     |||||||||||||||||||||||||||||||||||||||||*/
/*|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*/

/* ==========================================================================
   PAGE CONTACT - VARIABLES LOCALES
   ========================================================================== */

.contact-page {
    /* Palette locale pour la page contact */
    --contact-bg: #f3f4fb;
    --contact-hero-gradient: linear-gradient(135deg, #181e40, #018bd2);
    --contact-card-bg: #ffffff;
    --contact-border: #e5e7f5;
    --contact-muted: #6b7280;
    --contact-strong: #111827;
    --contact-accent: #018bd2;
    --contact-accent-soft: #ecf5ff;
    --contact-error: #e11d48;
    --contact-error-soft: #fef2f2;
}

/* Appliquer la classe sur le body de contact.html :
   <body class="site-body contact-page"> */


/* ==========================================================================
   SECTION 1 - BANNIÈRE CONTACT
   ========================================================================== */

.contact-hero {
    position: relative;
    color: #ffffff;
    padding-block: 4.2rem;
    overflow: hidden;
}

.contact-hero__background {
    position: absolute;
    inset: 0;
    background: var(--contact-hero-gradient, linear-gradient(135deg, #181e40, #018bd2));
    opacity: 0.95;
    z-index: 0;
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
}

.contact-hero__content {
    max-width: 720px;
}

.contact-hero__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    background: rgba(15, 23, 42, 0.35);
    margin-bottom: 0.9rem;
}

.contact-hero__title {
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
}

.contact-hero__subtitle {
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 620px;
    color: #e5e7eb;
    margin: 0;
}


/* ==========================================================================
   SECTION 2 - FORMULAIRE DEVIS
   ========================================================================== */

.contact-form-section {
    background: var(--contact-bg, #f3f4fb);
}

.contact-form__inner {
    max-width: 980px;
    margin-inline: auto;
}

.contact-form__header {
    margin-bottom: 1.8rem;
}

.contact-form__title {
    font-size: 1.8rem;
    margin: 0 0 0.6rem;
    color: var(--contact-strong, #111827);
}

.contact-form__subtitle {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--contact-muted, #6b7280);
}

/* Carte formulaire globale (formulaire de devis) */
.devis-form {
    margin-top: 1.7rem;
    padding: 1.8rem 1.7rem 1.9rem;
    border-radius: 18px;
    background: var(--contact-card-bg, #ffffff);
    border: 1px solid var(--contact-border, #e5e7f5);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

/* Grilles de champs */
.contact-form__grid {
    display: grid;
    gap: 1.2rem 1.4rem;
    margin-bottom: 1.2rem;
}

.contact-form__grid--2cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form__grid--3cols {
    grid-template-columns: 120px minmax(0, 1fr) 140px;
}

.contact-form__grid--3cols .contact-form__field--wide {
    grid-column: 2 / span 1;
}

/* Champ individuel */
.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Label de champs */
.contact-form__label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--contact-strong, #111827);
}

/* Inputs, selects, textarea de base */
.contact-form__input,
.contact-form__select,
.contact-form__textarea,
.contact-form__file-input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--contact-border, #e5e7f5);
    padding: 0.6rem 0.75rem;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--contact-strong, #111827);
    background: #ffffff;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 140px;
}

/* Focus */
.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus,
.contact-form__file-input:focus {
    outline: none;
    border-color: var(--contact-accent, #018bd2);
    box-shadow: 0 0 0 1px rgba(1, 139, 210, 0.25);
}

/* File input : on laisse simple pour l’instant */
.contact-form__file-input {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Prestations (groupes checkboxes) */
.contact-form__field--prestations {
    margin-top: 0.8rem;
    padding-top: 0.6rem;
}

.contact-form__prestations-group {
    display: none;
    /* affiché dynamiquement selon le type de service */
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
    padding: 0.65rem 0.7rem;
    border-radius: 12px;
    background: var(--contact-accent-soft, #ecf5ff);
}

.contact-form__checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 0.8rem;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    color: var(--contact-strong, #111827);
}

.contact-form__checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Type client (binaire) */
.contact-form__field--inline {
    margin-top: 1rem;
}

.contact-form__toggle-group {
    display: inline-flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.contact-form__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* le padding passe sur le span */
    border-radius: 999px;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    cursor: pointer;
}

.contact-form__toggle input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


.contact-form__toggle input[type="radio"]:checked + span,
.contact-form__toggle input[type="radio"]:checked ~ span {
    background: rgba(1, 139, 210, 0.15);   /* bleu léger et propre */
    border-color: rgba(1, 139, 210, 0.35);
    color: #018bd2;                       /* texte bleu, net */
    box-shadow: none;                     /* retire l’effet moche */
}


.contact-form__toggle span {
    position: relative;
    z-index: 1;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.05);
    /* bouton gris clair par défaut */
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #6b7280;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

/* Message d’erreur sous champ */
.field-error {
    min-height: 0.95rem;
    font-size: 0.78rem;
    color: var(--contact-error, #e11d48);
}

/* État erreur : entourer en rouge */
.contact-form__field.has-error .contact-form__input,
.contact-form__field.has-error .contact-form__select,
.contact-form__field.has-error .contact-form__textarea,
.contact-form__field.has-error .contact-form__file-input,
.contact-form__field.has-error .contact-form__prestations-group {
    border-color: var(--contact-error, #e11d48);
    box-shadow: 0 0 0 1px rgba(225, 29, 72, 0.15);
    background-color: var(--contact-error-soft, #fef2f2);
}

/* Erreur sur les toggles type client */
.contact-form__field.has-error .contact-form__toggle {
    border-color: var(--contact-error, #e11d48);
}

/* Message d’erreur global sous le bouton */
.contact-form__actions {
    margin-top: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.contact-form__global-error {
    margin: 0;
    font-size: 0.86rem;
    color: var(--contact-error, #e11d48);
}

/* ==========================================================================
   SECTION 3 - CARTE
   ========================================================================== */

.contact-map-section {
    background: #ffffff;
}

.contact-map__inner {
    max-width: 980px;
    margin-inline: auto;
}

.contact-map__header {
    margin-bottom: 1.6rem;
}

.contact-map__title {
    font-size: 1.6rem;
    margin: 0 0 0.4rem;
    color: var(--contact-strong, #111827);
}

.contact-map__subtitle {
    margin: 0;
    font-size: 0.94rem;
    color: var(--contact-muted, #6b7280);
}

.contact-map__frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--contact-border, #e5e7f5);
    background: #000;
}

.contact-map__frame iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}


/* ==========================================================================
   RESPONSIVE - PAGE CONTACT
   ========================================================================== */

@media (max-width: 991px) {

    .contact-form__grid--2cols,
    .contact-form__grid--3cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form__grid--3cols .contact-form__field--wide {
        grid-column: auto;
    }

    .contact-form {
        padding: 1.4rem 1.25rem 1.6rem;
    }

    .contact-hero {
        padding-block: 3.6rem;
    }
}

@media (max-width: 767px) {
    .contact-hero__title {
        font-size: 2rem;
    }

    .contact-form__inner,
    .contact-map__inner {
        padding-inline: 0.5rem;
    }

    .contact-form__header {
        text-align: left;
    }

    .contact-map__header {
        text-align: left;
    }
}



/*PATCH ENLEVER OMBRE PORTÉE DU BTN "ENVOYER" */
#contact-devis-form .btn--primary {
    box-shadow: none !important;
}