
/* =========================================================
   THE CLEANER ARDENNES - STYLE PRINCIPAL
   Auteur : ChatGPT (structure adaptable)
   Fichier : style.css
   Description : Styles principaux du site vitrine
   ========================================================= */

/* ---------------------------------------------------------
   1. RESET DE BASE & PARAMÈTRES GLOBAUX
   --------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #222b5c;
    /* Couleur principale demandée */
    color: #f5f5f7;
}

/* Empêche le contenu de passer sous le header fixe */
body.site-body {
    padding-top: 140px;
    /* ajusté avec la hauteur moyenne du header, affiné en responsive plus bas */
}

/* Typographie & liens globaux */
h1,
h2,
h3,
h4 {
    font-family: "Poppins", system-ui, sans-serif;
    margin-top: 0;
    color: #ffffff;
    font-weight: 600;
}

p {
    margin-top: 0;
    color: #e3e6f0;
    line-height: 1.6;
}

/* Liens par défaut */
a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: none;
}

/* Images responsives */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Conteneur centralisé */
.container {
    width: min(1120px, 100% - 3rem);
    margin-inline: auto;
}

/* ---------------------------------------------------------
   2. VARIABLES CSS (THEME)
   --------------------------------------------------------- */

:root {
    --color-primary: #222b5c;
    --color-primary-dark: #181e40;
    --color-gold: #d3b68e;
    --color-blue: #018bd2;
    --color-blue-light: #37b1e8;
    --color-gold-hover: #bda380;
    --color-white: #ffffff;
    --color-text: #e3e6f0;
    --color-muted: #a9b3d9;

    --radius-soft: 12px;
    --radius-card: 18px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.35);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    --header-height-desktop: 140px;
}

/* ---------------------------------------------------------
   3. ICONES SVG GLOBAL
   --------------------------------------------------------- */

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-block;
}

.icon--small {
    width: 18px;
    height: 18px;
}

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

.icon--social {
    width: 20px;
    height: 20px;
}

.icon--menu {
    width: 28px;
    height: 28px;
}

/* ---------------------------------------------------------
   4. BOUTONS GÉNÉRIQUES
   --------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
}

/* CTA principal (or) */
.btn--primary {
    background: linear-gradient(135deg, var(--color-gold), #e2c7a1);
    color: #1e243f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Variation secondaire (bordure or, fond transparent ou légèrement bleuté) */
.btn--secondary {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid rgba(211, 182, 142, 0.7);
}

/* Bouton fantôme sur fond clair */
.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}


.btn:hover,
.btn:focus-visible {
    /* transform: translateY(-1px); */
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
    background: rgba(211, 182, 142, 0.08);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

/* ---------------------------------------------------------
   5. HEADER & NAVIGATION FIXE
   --------------------------------------------------------- */

.site-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 1000;
    background: var(--color-primary);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

/* ---------- Barre supérieure ---------- */

.topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* gauche | centre | droite */
    align-items: center;
    padding: 0.7rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Logo */
.topbar__logo {
    justify-self: start;
    margin-left: 22rem; /*Modifier positionnement marge du logo*/
}

.logo-image {
    max-height: 58px;
    width: auto;
}

/* Bloc infos centrales (horaires, email, téléphone) */
.topbar__info {
    display: flex;
    align-items: center;
    justify-content: center;
    /* centre les 3 items dans la colonne centrale */
    gap: 1.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--color-text);
    font-size: 0.82rem;
}

.info-item__icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-light);
}

.info-item__content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.info-item__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
}

.info-item__text {
    font-size: 0.8rem;
    font-weight: 500;
}

.info-item__link {
    color: #ffffff;
}

.info-item__link:hover {
    color: var(--color-gold);
}

/* Bloc réseaux sociaux + CTA */
.topbar__social-cta {
    display: flex;
    align-items: center;
    justify-self: end;
    margin-right: 6rem; /*Modifier positionnement marge du CTA + Réseaux sociaux*/
    gap: 1.2rem;
    flex: 0 0 auto;
}

.social-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.social-block__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-muted);
}

.social-block__icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background-color var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

.social-link:hover,
.social-link:focus-visible {
    background: rgba(211, 182, 142, 0.2);
    color: var(--color-gold);
    transform: translateY(-1px);
}

.topbar__cta .btn {
    font-size: 0.8rem;
}

/* Bouton menu burger (mobile uniquement, caché par défaut desktop) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
}

/* ---------- Barre de navigation principale ---------- */

.main-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--color-primary-dark);
}

.main-nav__list {
    margin: 0;
    padding: 0.3rem 1.5rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
}

.main-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
    transition: color var(--transition-fast);
}

/* Trait doré sous l’item actif / au survol */
.main-nav__link::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    height: 2px;
    border-radius: 999px;
    transform-origin: center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--color-gold), var(--color-blue-light));
    transition: transform var(--transition-normal);
}

.main-nav__item--active .main-nav__link {
    color: var(--color-gold);
}

.main-nav__item--active .main-nav__link::after,
.main-nav__link:hover::after,
.main-nav__link:focus-visible::after {
    transform: scaleX(1);
}

.main-nav__link:hover,
.main-nav__link:focus-visible {
    color: #ffffff;
}

/* ---------------------------------------------------------
   6. SECTION HÉRO / BANNIÈRE PRINCIPALE
   --------------------------------------------------------- */

.hero-section {
    position: relative;
    overflow: hidden;
    /* On simplifie : on laisse un fond de base sombre mais on ne cache plus l'image derrière */
    background: var(--color-primary);
    color: #ffffff;
}

/* Fond image + overlay sombre bleuté */
.hero-section__background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    /* l'image est bien au fond, mais AU-DESSUS du fond de la section */
}

.hero-section__image {
    width: 100%;
    height: 115%;
    object-fit: cover;
    transform: scale(1.06);
    filter: saturate(1.1);
}

/* Overlay avec la couleur principale en légère opacité */
.hero-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 43, 92, 0.75);
    /* opacité légère, tu peux ajuster si besoin */
    z-index: 1;
    /* overlay au-dessus de l'image, mais en dessous du texte */
}

.hero-section__inner {
    padding-block: 4.5rem 4rem;
    position: relative;
    z-index: 2;
    /* le texte passe au-dessus de l'image + overlay */
}

/* Contenu de la bannière */
.hero-section__inner {
    padding-block: 4.5rem 4rem;
}

.hero-section__content {
    max-width: 720px;
    margin: 0 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;
}

.hero-section__title {
    font-size: clamp(3.4rem, 3.1vw, 2.8rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-section__text {
    font-size: 0.98rem;
    margin-bottom: 1.8rem;
    color: #f4f5fb;
}

.hero-section__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; /*centre les boutons*/
    gap: 0.9rem;
    margin-bottom: 1.7rem;
}

.hero-section__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /*centre les badges*/
    gap: 0.8rem 1.4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    font-size: 0.8rem;
    color: #f5f7ff;
}

/* ---------------------------------------------------------
   7. SECTIONS GÉNÉRIQUES
   --------------------------------------------------------- */

.section {
    padding-block: 6.5rem;
    position: relative;
}

.section--light {
    background: #f4f6fb;
    color: #13131a;
}

.section--dark {
    background: #191f47;
    color: #ffffff;
}

/* En-têtes de section */
.section__header {
    margin-bottom: 2rem;
}

.section__header--center {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
}

.section__title {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.section--light .section__title {
    color: #111321;
}

.section__subtitle {
    font-size: 0.98rem;
    color: #9aa3c6;
}

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

/* ---------------------------------------------------------
   8. SECTION AVIS GOOGLE
   --------------------------------------------------------- */
/* ---------------------------------------------------------
   8. SECTION AVIS GOOGLE (titre, texte, bouton centrés + padding bas réduit)
   --------------------------------------------------------- */

#avis {
    padding-bottom: 3.5rem;
    padding-top: 3.5rem;
}

#avis .section__header {
    text-align: center;
    /* centre le titre et le texte d’intro */
}

#avis .container {
    text-align: center;
    /* permet de centrer le bouton sous le widget */
}

#avis .btn {
    display: inline-flex;
    /* bouton centré dans le container */
    margin-top: 2rem;
    /* espace au-dessus du bouton */
}


/* Cache uniquement la zone du badge Elfsight, côté droit */
#avis .google-reviews-placeholder {
    position: relative;
}

#avis .google-reviews-placeholder::after {
    content: "";
    position: absolute;
    right: 0;
    /* collé à droite */
    bottom: 0;
    width: 260px;
    /* largeur du cache — ajustable */
    height: 65px;
    /* hauteur du cache */
    background: #f4f6fb;
    /* même couleur que la section claire */
    pointer-events: none;
    z-index: 5;
    /* passe VRAIMENT au-dessus */
}

/* ---------------------------------------------------------
   9. CARTES PRESTATIONS
   --------------------------------------------------------- */

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

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(1, 139, 210, 0.05));
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card__image-wrapper {
    overflow: hidden;
    position: relative;
}

.service-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card__body {
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    text-align: center;
    align-items: center;
    flex: 0 0 auto;
}

.service-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.service-card__text {
    font-size: 0.9rem;
    color: #c0c6e0;
    flex: 1;
}

.service-card__cta {
    margin-top: 0.6rem;
}

/* Effets survol carte */
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.6);
    border-color: rgba(211, 182, 142, 0.6);
}

.service-card:hover .service-card__image {
    transform: scale(1.06);
}

/* ---------------------------------------------------------
   10. BANNIÈRE PARALLAX
   --------------------------------------------------------- */

/* SECTION PARALLAX 100% CSS */
.parallax-banner {
    position: relative;
    padding-block: 10rem;
    color: #ffffff;
    /* LE PARALLAX EST ICI */
    background-image: url("./assets/banniere-parallax.jpg");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    /* effet parallax */
    overflow: hidden;
}

/* Overlay par-dessus l'image */
.parallax-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(34, 43, 92, 0.75),
            rgba(0, 28, 43, 0.45));
    z-index: 0;
}

/* Contenu au-dessus de l’overlay */
.parallax-banner__content {
    position: relative;
    z-index: 1;
}

/* On désactive complètement l'ancien fond interne */
.parallax-banner__background {
    display: none;
}

.parallax-banner__title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.parallax-banner__text {
    font-size: 0.98rem;
    color: #f5f7ff;
}

/* ---------------------------------------------------------
   11. 4 RAISONS DE NOUS FAIRE CONFIANCE
   --------------------------------------------------------- */

.reasons-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2.4rem;
    align-items: center;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

.reason-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.reason-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(55, 177, 232, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-light);
}

.reason-item__title {
    font-size: 1.02rem;
    margin-bottom: 0.25rem;
    color: #111321;
}

.section--light .reason-item__text {
    color: #4b5563;
}

.reasons-grid__image {
    position: relative;
}

.reasons-image {
    border-radius: var(--radius-card);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
    object-fit: cover;
    height: 580px;
    width: 100%;
}

/* ---------------------------------------------------------
   12. SECTION QUALITÉ
   --------------------------------------------------------- */

quality-section {
    /* classe dans le HTML, mais on garde les contrôles via .quality-section plus bas */
}

.quality-section {
    position: relative;
}

.quality-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
    gap: 2.4rem;
    align-items: center;
}

.quality-grid__image {
    position: relative;
}

.quality-image {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    height: 580px;
    width: 100%;
}

.quality-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

.quality-list__item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.quality-list__icon {
    margin-top: 0.1rem;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(1, 139, 210, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-light);
}

.quality-list__text {
    font-size: 0.94rem;
    color: #d5dbff;
}

/* ---------------------------------------------------------
   13. SECTION CLIENTS + CRÉDIT D’IMPÔT
   --------------------------------------------------------- */

.clients-section {
    position: relative;
}

.clients-carousel {
    display: flex;
    align-items: center;
    gap: 2.8rem;
    margin-bottom: 2rem;
}

.clients-carousel__control {
    background: #e5e7f3;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: #374151;
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.clients-carousel__control:hover,
.clients-carousel__control:focus-visible {
    background: #d3b68e;
    color: #111827;
    /* transform: translateY(-1px); */
    /* box-shadow: 0 10px 20px rgba(156, 163, 175, 0.6); */
}

.clients-carousel__track-wrapper {
    overflow: hidden;
    flex: 1;
}

.clients-carousel__track {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    transition: transform 0.4s ease;
}

.client-logo {
    flex: 0 0 auto;
    padding: 1rem 1.6rem;
    border-radius: 24px;
    background: #ffffff;
    border: 2px solid var(--color-white);
    /*box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);*/
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.client-logo__image {
    height: 82px;
    border-radius: 8px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.client-logo:hover {
    transform: none;
    border: 2px solid #d3b68e;
}

/* Bloc explicatif crédit d’impôt */
.tax-credit-block {
    border-radius: var(--radius-card);
    padding: 2.8rem 2.7rem;
    margin-top: 5rem;
    background: linear-gradient(140deg, rgba(34, 43, 92, 0.96), rgba(1, 139, 210, 0.7));
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
    text-align: center;
}

.tax-credit-block__title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.tax-credit-block__text {
    font-size: 1.0rem;
    margin-bottom: 1.2rem;
}

/* ---------------------------------------------------------
   14. SECTION ZONE D’INTERVENTION
   --------------------------------------------------------- */

.area-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
    gap: 2.2rem;
    align-items: center;
}

/*IMAGE CARTE ANIMATION*/
.area-image {
    position: relative;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    width: 100%;
    height: 400px;
    /* ajuste la hauteur si besoin */
    overflow: hidden;
}

/* DEBUT : IMAGE PAR DÉFAUT */
.area-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("./assets/carte-ardennes.png") center/contain no-repeat;
    opacity: 1;
    transition: opacity 3s ease;
    /* fondu 3 secondes */
}

/* IMAGE AU SURVOL */
.area-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("./assets/carte-ardennes1.png") center/contain no-repeat;
    opacity: 0;
    transition: opacity 3s ease;
    /* fondu 3 secondes */
}

/* SURVOL : on croise les opacités */
.area-image:hover::before {
    opacity: 0;
}

.area-image:hover::after {
    opacity: 1;
}
/* FIN : IMAGE PAR DÉFAUT */


.area-grid__intro {
    font-size: 0.95rem;
    color: #d3dcff;
    margin-bottom: 1rem;
}

.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.0rem;
}

.area-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.area-list__icon {
    margin-top: 0.1rem;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(1, 139, 210, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-light);
}

.area-list__text {
    font-size: 0.92rem;
    color: #d9e2ff;
}

/* ---------------------------------------------------------
   15. SECTION CONTACT + FORMULAIRE
   --------------------------------------------------------- */

.contact-section {
    position: relative;
    padding-block: 4rem;
    color: #ffffff;
}

/* Image de fond + overlay */
.contact-section__background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.contact-section__image {
    width: 100%;
    height: 130%;
    object-fit: cover;
    transform: scale(1.04);
}

/* Filtre + flou sur la bannière contact */
.contact-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 50, 90, 0.30);
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* Contenu au-dessus de l’overlay */
.contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: flex-start;
    align-items: stretch;
}

/* Carte formulaire */
.contact-card {
    background: rgba(9, 12, 30, 0.95);
    border-radius: var(--radius-card);
    padding: 1.8rem 1.7rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    overflow: hidden;
    /* évite que les champs dépassent des bords arrondis */
}

.contact-card__title {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.contact-card__text {
    font-size: 0.92rem;
    color: #cfd5ff;
    margin-bottom: 1.3rem;
}

/* Formulaire */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* 2 colonnes propres pour Prénom/Nom et Email/Téléphone */
.contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-form__field--full {
    grid-column: 1 / -1;
}

.contact-form label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--color-muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.65rem 0.75rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
    font-family: inherit;
    resize: vertical;
}

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

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 1px rgba(211, 182, 142, 0.5);
    background: rgba(15, 23, 42, 0.98);
}

.contact-form__actions {
    margin-top: 0.5rem;
    width: 100%;
    display: flex;
}

.contact-form__actions>* {
    width: 100%;
    display: block;
}

/* Infos de contact à droite */
.contact-info {
    background: rgba(12, 17, 43, 0.9);
    border-radius: var(--radius-card);
    padding: 1.6rem 1.6rem 1.4rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.contact-info__title {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.contact-info__intro {
    font-size: 0.9rem;
    margin-bottom: 4.6rem;
    color: #d3dcff;
}

.contact-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.9rem;
}

.contact-info__item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.contact-info__icon {
    margin-top: 0.15rem;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(55, 177, 232, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-light);
}

.contact-info__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.contact-info__text {
    font-size: 0.9rem;
}

.contact-info__link {
    color: #ffffff;
}

.contact-info__link:hover {
    color: var(--color-gold);
}



/* Astérisque rouge sur les champs requis */
.contact-label.required::after {
    content: " *";
    color: #e53e3e;
    /* rouge */
    font-weight: 600;
}

/* État erreur sur un champ */
.contact-form__field.has-error input,
.contact-form__field.has-error textarea {
    border-color: #e53e3e;
    box-shadow: 0 0 0 1px rgba(229, 62, 62, 0.4);
}

/* Message d'erreur sous le champ */
.field-error {
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
    color: #e53e3e;
    min-height: 0.9rem;
    /* pour éviter que tout bouge trop */
}

/* Message d'erreur global sous le bouton */
.contact-form__global-error {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: #e53e3e;
    text-align: left;
}





/* ---------------------------------------------------------
   16. SECTION FAQ / ACCORDÉON
   --------------------------------------------------------- */

.faq-section {
    position: relative;
}

.faq-accordion {
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Carte FAQ */
.faq-item {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #ffffff;
    overflow: hidden;
}

/* En-tête cliquable */
.faq-item__header {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
}

.faq-item__icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(34, 43, 92, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.faq-item__question {
    flex: 1;
    text-align: left;
    font-size: 0.96rem;
    font-weight: 500;
    color: #111827;
}

.faq-item__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
    color: #4b5563;
}

/* Panneau réponse */
.faq-item__panel {
    padding: 1rem 1.1rem 0.9rem 1.1rem;
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.faq-item__answer {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Classe d’état ouverte (gérée par main.js) */
.faq-item--open .faq-item__chevron {
    transform: rotate(180deg);
}

/* ---------------------------------------------------------
   17. PIED DE PAGE
   --------------------------------------------------------- */

.site-footer {
    background: #0f142e;
    color: #cbd5f5;
    padding-top: 2.6rem;
    padding-bottom: 1.4rem;
    border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr) minmax(0, 1.5fr);
    gap: 2.4rem;
    margin-bottom: 1.8rem;
}

.footer-block--brand .footer-text {
    font-size: 0.88rem;
    color: #9ca3c7;
}

.footer-logo {
    max-height: 54px;
    margin-bottom: 0.7rem;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #e5e7ff;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-list__item {
    font-size: 0.86rem;
}

.footer-list__label {
    font-weight: 600;
    margin-right: 0.2rem;
    color: #e5e7ff;
}

.footer-list__text {
    color: #cbd5f5;
}

.footer-link {
    color: #d3b68e;
}

.footer-link:hover {
    color: #f2d9b4;
}

/* Réseaux sociaux footer */
.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: #e5e7ff;
    padding: 0.3rem 0;
}

.footer-social-link .icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
}

.footer-social-link:hover {
    color: var(--color-gold);
}

/* Bas du footer */
.footer-bottom {
    border-top: 1px solid rgba(55, 65, 81, 0.8);
    padding-top: 0.7rem;
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.76rem;
    color: #9ca3c7;
}

.footer-bottom__links {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-bottom__link {
    color: #6b7280;
}

.footer-bottom__link:hover {
    color: #9ca3c7;
}

.footer-bottom__separator {
    opacity: 0.5;
}

/* ---------------------------------------------------------
   18. UTILITAIRES / ÉTATS
   --------------------------------------------------------- */

/* Classe ajoutée sur la nav en mobile pour ouverture du menu (gérée dans main.js) */
/* .main-nav--open {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
} */

/* ---------------------------------------------------------
   19. RESPONSIVE DESIGN
   --------------------------------------------------------- */

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

    /* Header un peu plus compact */
    body.site-body {
        padding-top: 135px;
    }

    /* On quitte la grille et on repasse en flex sur la topbar */
    .topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding-inline: 1rem;
        gap: 0.8rem;
    }

    /* On annule les grosses marges gauche/droite du desktop */
    .topbar__logo {
        order: 1;
        margin-left: 0;
    }

    .topbar__social-cta {
        order: 2;
        margin-right: 0;
    }

    /* Le bloc central passe sur une ligne entière en dessous,
       centré, avec retour à la ligne si besoin */
    .topbar__info {
        order: 3;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.1rem;
    }

    .main-nav__list {
        padding-inline: 1rem;
        gap: 1rem;
    }

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

    .reasons-grid,
    .quality-grid,
    .area-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .reasons-grid__image,
    .quality-grid__image,
    .area-grid__image {
        order: 2;
    }
}

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

    /* Header encore plus compact */
    body.site-body {
        padding-top: 120px;
    }

    .topbar {
        display: flex;
        /* on reste bien en flex */
        padding-block: 0.6rem;
        gap: 0.9rem;
    }

    .topbar__logo {
        flex: 1;
        order: 1;
    }

    .logo-image {
        max-height: 50px;
    }

    /* Bloc central : une ligne entière, centré, avec retour à la ligne */
    .topbar__info {
        order: 3;
        width: 100%;
        justify-content: center;
        /* centre les 3 blocs */
        gap: 0.6rem;
        flex-wrap: wrap;
    }

    /* On peut masquer l’email au milieu si tu veux alléger le mobile */
    .info-item:nth-child(2) {
        display: none;
    }

    .info-item__text {
        font-size: 0.78rem;
    }

    .topbar__social-cta {
        order: 2;
        align-items: center;
        gap: 0.7rem;
    }

    .topbar__cta .btn {
        padding-inline: 1.2rem;
    }

    /* Bouton burger visible en mobile */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 0.5rem;
    }

    /* Nav déroulante en mobile */
    .main-nav {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s ease,
            opacity 0.35s ease,
            visibility 0.35s ease;
    }

    .main-nav.main-nav--open {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
    }

    .main-nav__list {
        flex-direction: column;
        align-items: flex-start;
        padding-block: 0.4rem 0.8rem;
    }

    .main-nav__link {
        padding-block: 0.55rem;
    }

    /* Sections */
    .hero-section__inner {
        padding-block: 3.5rem 3rem;
    }

    .hero-section__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-section__meta {
        flex-direction: column;
    }

    .section {
        padding-block: 3rem;
    }

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

    .reasons-grid,
    .quality-grid,
    .area-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .reasons-grid__image,
    .quality-grid__image,
    .area-grid__image {
        order: 2;
    }

    .clients-carousel {
        flex-direction: column;
        align-items: stretch;
    }

    .clients-carousel__control {
        display: none;
    }

    .clients-carousel__track {
        gap: 1.2rem;
    }

/* DEBUT : Permet le scroll du caroussel entreprise sur mobile */
    .clients-carousel__track-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .clients-carousel__track-wrapper::-webkit-scrollbar {
        display: none;
    }
/* FIN : Permet le scroll du caroussel entreprise sur mobile */

    .client-logo {
        padding-inline: 1rem;
    }

    .tax-credit-block {
        padding: 1.4rem 1.3rem;
    }

    .contact-card,
    .contact-info {
        padding: 1.4rem 1.3rem;
    }

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

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

    .footer-bottom__inner {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}