/* ============================================================================
   SÉTOUCH DÉBARRAS — FEUILLE DE STYLE PRINCIPALE
   ----------------------------------------------------------------------------
   Organisation :
     1.  Variables (couleurs, typo, espacements)   ← modifiez ici la charte
     2.  Base & typographie
     3.  Mise en page (container, sections, titres)
     4.  Boutons
     5.  Header (en-tête)
     6.  Footer (pied de page)
     7.  Composants (cartes, étapes, avis, bandeaux…)
     8.  Pages spécifiques (formulaire, FAQ, carte, mentions…)
     9.  Responsive (tablette & mobile)
   ========================================================================== */

/* === 1. VARIABLES ========================================================= */
:root {
  /* Couleurs de marque */
  --red:        #A21717;   /* rouge brique du logo Sétouch */
  --red-dark:   #7E1212;
  --navy:       #16284C;
  --navy-2:     #1E3A66;
  --footer-bg:  #0F1E3A;

  /* Texte */
  --ink:    #16284C;   /* titres */
  --text:   #434B59;   /* paragraphes */
  --muted:  #6B7280;   /* texte secondaire */
  --on-dark:#FFFFFF;

  /* Surfaces */
  --white:  #FFFFFF;
  --soft:   #F4F6F9;   /* fonds de sections clairs */
  --soft-2: #EEF2F8;
  --line:   #E4E9F1;   /* bordures */
  --blue:   #2A4B8D;   /* accent icônes */

  /* Géométrie */
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 10px 30px rgba(16, 30, 58, .08);
  --shadow-sm: 0 4px 14px rgba(16, 30, 58, .06);
  --container: 1180px;

  /* Typo */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* === 2. BASE & TYPOGRAPHIE =============================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.18rem; }
p  { margin: 0 0 1rem; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { margin: 0; padding: 0; list-style: none; }

/* Accessibilité : focus visible au clavier */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #6f9bff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .8rem 1.2rem;
  z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* === 3. MISE EN PAGE ===================================================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section        { padding: 72px 0; }
.section--soft  { background: var(--soft); }
.section--tight { padding: 48px 0; }

/* Titre de section centré + petit trait sous le titre */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head h2 { margin-bottom: .4rem; }
.section-head p  { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head::after,
.title-rule::after {
  content: ""; display: block; width: 60px; height: 4px;
  background: var(--red); border-radius: 3px; margin: 14px auto 0;
}
.title-rule { text-align: center; }

.lead { font-size: 1.12rem; color: var(--text); }
.text-center { text-align: center; }

/* Grilles utilitaires */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* Icônes en ligne (sprite SVG) — style commun */
.i { display: inline-flex; }
svg.i { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7;
        stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
/* tailles selon le contexte */
.hero__list svg.i, .dept-list svg.i, .chip svg.i, .btn svg.i { width: 20px; height: 20px; }
.reassure__item svg.i { width: 30px; height: 30px; }
.feature svg.i { width: 42px; height: 42px; }
.value__ic svg.i { width: 30px; height: 30px; }
.duo__card svg.i, .note-band svg.i { width: 40px; height: 40px; }
.cta-band__icon svg.i { width: 28px; height: 28px; }
.mini__ic svg.i, .contact-side .mini__ic svg.i { width: 22px; height: 22px; }
.placeholder svg.i { width: 46px; height: 46px; }
.step__ic svg.i { width: 22px; height: 22px; }

/* === 4. BOUTONS ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .85rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; font-family: var(--font);
  cursor: pointer; border: 2px solid transparent; text-decoration: none;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  line-height: 1.1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--primary:hover { background: #1d3868; box-shadow: var(--shadow-sm); }

.btn--outline { background: transparent; color: var(--navy); border-color: #c7d0de; }
.btn--outline:hover { border-color: var(--navy); background: #f4f7fc; }

/* Variantes sur fond foncé (bandeaux) */
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: #eef2f8; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn--block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* === 5. HEADER =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 18px; }

.logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo__main { color: var(--red); font-family: Georgia, "Times New Roman", Times, serif; font-weight: 700; font-size: 1.6rem; letter-spacing: .5px; }
.logo__sub  { color: #707070; font-family: Georgia, "Times New Roman", Times, serif; font-weight: 400; font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; margin-top: 3px; }
/* Logo dans le pied de page (fond sombre) : rouge plus clair + sous-titre clair */
.logo--footer .logo__main { color: #d9534f; }
.logo--footer .logo__sub  { color: #c0ccde; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__link {
  color: var(--ink); font-weight: 500; font-size: .98rem; padding: 6px 0;
  position: relative; text-decoration: none;
}
.nav__link:hover { color: var(--blue); text-decoration: none; }
.nav__link.is-active { color: var(--navy); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 3px; background: var(--navy);
}

/* Bouton hamburger (mobile) */
.nav-toggle {
  display: none; width: 46px; height: 42px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; cursor: pointer; padding: 10px 9px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* === 6. FOOTER =========================================================== */
.site-footer { background: var(--footer-bg); color: #cdd6e6; margin-top: 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
  gap: 36px; padding: 56px 24px 40px;
}
.footer__brand .logo__sub { color: #cdd6e6; }
.footer__brand p { color: #aab6cc; margin-top: 14px; font-size: .95rem; max-width: 30ch; }
.footer__title { color: #fff; font-size: .82rem; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 18px; }
.footer__links li, .footer__contact li { margin-bottom: 12px; }
.footer__links a { color: #cdd6e6; font-size: .95rem; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__contact { font-size: .95rem; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact a { color: #cdd6e6; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .88rem; color: #9aa7bf; }

/* Petites icônes du footer (data-URI : trait clair) */
.ico { display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; background-repeat: no-repeat; background-position: center; background-size: contain; margin-top: 3px; }
.ico-phone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23cdd6e6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.ico-mail  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23cdd6e6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.ico-clock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23cdd6e6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.ico-pin   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23cdd6e6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }

/* === 7. COMPOSANTS ====================================================== */

/* --- Hero (haut de page) --- */
.hero { padding: 56px 0; }
.hero__grid { display: grid; grid-template-columns: 0.92fr 1.28fr; gap: 30px; align-items: center; }
.hero__content h1 { margin-bottom: 18px; }
.hero__content .lead { color: var(--text); margin-bottom: 14px; }
.hero__media .placeholder { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.hero__media img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius);
  /* Estompage : le bord gauche de la photo se fond doucement vers la zone de texte */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%);
          mask-image: linear-gradient(to right, transparent 0, #000 24%);
}
.hero__list { margin: 18px 0 26px; display: grid; gap: 10px; }
.hero__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.hero__list .check { color: var(--blue); flex: 0 0 22px; margin-top: 2px; }

/* --- Bandeau de réassurance (rangée d'icônes) --- */
.reassure {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 22px; margin-top: -8px;
}
.reassure__item { display: flex; align-items: center; gap: 12px; padding: 6px 14px; }
.reassure__item + .reassure__item { border-left: 1px solid var(--line); }
.reassure__item .i { color: var(--blue); flex: 0 0 30px; }
.reassure__item span { font-weight: 600; color: var(--ink); font-size: .92rem; line-height: 1.3; }

/* --- Carte service avec image (Accueil / Services) --- */
.cards { display: grid; gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.card__media { aspect-ratio: 16 / 10; background: var(--soft-2); }
.card__media img, .card__media .placeholder { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.card__body { padding: 20px 20px 24px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: .94rem; margin: 0; }

/* --- Carte "icône + texte" (sans photo) --- */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.feature .i { color: var(--blue); margin: 0 auto 14px; width: 42px; height: 42px; }
.feature h3 { font-size: 1.04rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Variante sur fond clair sans bordure forte */
.feature--plain { border: none; box-shadow: none; background: transparent; }

/* --- Étapes du déroulement (process) --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative;
         list-style: none; margin: 0; padding: 0; }
.step { text-align: center; padding: 0 8px; position: relative; }
.step__num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem;
  margin: 0 auto 14px; position: relative; z-index: 2;
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
/* trait pointillé entre les étapes (desktop) */
.steps::before {
  content: ""; position: absolute; top: 26px; left: 12%; right: 12%;
  border-top: 2px dashed #c7d2e4; z-index: 1;
}

/* --- Liste d'étapes VERTICALE (sans trait pointillé) --- */
.steplist { display: grid; gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.steplist__item { display: flex; gap: 18px; align-items: flex-start; text-align: left; }
.steplist .step__num { flex: 0 0 50px; width: 50px; height: 50px; margin: 0; }
.steplist h3 { font-size: 1.05rem; margin: 4px 0 6px; }
.steplist p { margin: 0; color: var(--muted); font-size: .95rem; }

/* --- Colonnes de valeurs (icône ronde) --- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { text-align: center; }
.value__ic {
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; color: var(--blue);
}
.value h3 { font-size: 1rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .88rem; margin: 0; }

/* --- Avis / témoignages --- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); position: relative;
}
.testimonial::before {
  content: "\201C"; position: absolute; top: 8px; left: 18px;
  font-size: 3.4rem; color: #d7deea; font-family: Georgia, serif; line-height: 1;
}
.testimonial p { font-style: italic; color: var(--text); margin: 18px 0 14px; }
.stars { color: #F2B01E; letter-spacing: 2px; margin-bottom: 8px; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--ink); font-size: .92rem; }

/* --- Avant / Après --- */
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ba { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.ba .placeholder, .ba img { width: 100%; height: 100%; object-fit: cover; }
.ba__tag {
  position: absolute; bottom: 10px; left: 10px; background: rgba(16,30,58,.82);
  color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 6px;
}
.ba__caption { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 12px; }

/* --- Bandeau d'appel à l'action (CTA) --- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff; border-radius: var(--radius);
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 34px 40px; flex-wrap: wrap;
}
.cta-band__txt { display: flex; align-items: center; gap: 20px; }
.cta-band__icon {
  width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 60px;
}
.cta-band h2 { color: #fff; margin: 0 0 4px; font-size: 1.4rem; }
.cta-band p { color: #d6def0; margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Bloc deux colonnes texte/image générique --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split--narrow { gap: 36px; }
.split__media img, .split__media .placeholder { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* --- Bloc encadré clair --- */
.panel { background: var(--soft); border-radius: var(--radius); padding: 36px; }

/* --- Liste de "puces" rondes (besoins particuliers) --- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  font-size: .92rem; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm);
}
.chip .i { color: var(--blue); width: 18px; height: 18px; }

/* === 8. PAGES SPÉCIFIQUES =============================================== */

/* --- Placeholder d'image (visuel temporaire à remplacer) --- */
.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; background:
    repeating-linear-gradient(45deg, #eef2f8, #eef2f8 14px, #e7edf6 14px, #e7edf6 28px);
  color: var(--navy); text-align: center; padding: 24px; min-height: 180px;
  border-radius: var(--radius);
}
.placeholder .i { width: 46px; height: 46px; opacity: .55; }
.placeholder small { font-size: .82rem; color: #5b6680; opacity: .85; max-width: 26ch; line-height: 1.4; }
.placeholder b { font-size: .9rem; color: var(--navy); }

/* --- Zone d'intervention : liste départements --- */
.dept-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.dept-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.dept-list .i { color: var(--blue); flex: 0 0 20px; }
.dept-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.idf-map { width: 100%; height: auto; border-radius: var(--radius); }
.note-band { display: flex; gap: 16px; align-items: center; background: var(--soft); border-radius: var(--radius); padding: 18px 22px; margin-top: 22px; }
.note-band .i { color: var(--blue); flex: 0 0 36px; }
.note-band p { margin: 0; font-size: .95rem; }

/* --- Formulaire --- */
.contact-grid { display: grid; grid-template-columns: 1.55fr .9fr; gap: 32px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-intro { color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin: 2px 0 8px; }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cdd5e1; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 1rem; color: var(--ink); background: #fff; transition: border .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field textarea { resize: vertical; min-height: 90px; }
.field [aria-invalid="true"] { border-color: var(--red); background: #fff6f7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* zone d'envoi de fichiers */
.dropzone {
  border: 2px dashed #c2cde0; border-radius: var(--radius-sm); padding: 22px; text-align: center;
  color: var(--muted); background: var(--soft); cursor: pointer; transition: border .15s, background .15s;
}
.dropzone:hover { border-color: var(--navy); background: #eef2f8; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone .i { width: 28px; height: 28px; color: var(--blue); margin: 0 auto 6px; }
#file-names { display: block; margin-top: 8px; color: var(--navy); font-size: .85rem; font-weight: 500; }
.dropzone.is-drag { border-color: var(--navy); background: #e7eef9; }

/* Galerie d'aperçu des photos sélectionnées */
.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 12px; }
.photo-item { position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--soft); }
.photo-item img { width: 100%; height: 72px; object-fit: cover; display: block; }
.photo-item .meta { display: block; font-size: .7rem; color: var(--muted); padding: 3px 6px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-item .rm { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border: none; border-radius: 50%;
  background: rgba(16,30,58,.82); color: #fff; font-size: 17px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0; }
.photo-item .rm:hover { background: #98232f; }
.photo-summary { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.photo-summary.over { color: #98232f; font-weight: 600; }

.form-statut { padding: 0; font-size: .95rem; }
.form-statut--success { background: #ecf7ee; border: 1px solid #b8e2c1; color: #1c6b33; padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 8px; }
.form-statut--error   { background: #fdecee; border: 1px solid #f3bcc3; color: #98232f; padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 8px; }

/* colonne "autres moyens de contact" */
.contact-side .mini {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.contact-side .mini__ic {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: 0 0 46px;
}
.contact-side .mini h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-side .mini p { margin: 0; font-size: .9rem; color: var(--muted); }
.contact-side .mini a { font-weight: 600; }

/* --- FAQ (accordéon) --- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__group + .faq__group { margin-top: 40px; }
.faq__group > h2 { font-size: 1.35rem; margin-bottom: 18px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: #fff; border: none; cursor: pointer;
  padding: 18px 22px; font-size: 1.02rem; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font);
}
.faq__q:hover { background: var(--soft); }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--blue); font-weight: 400; line-height: 1; transition: transform .2s; }
.faq__q[aria-expanded="true"]::after { content: "–"; }
.faq__a { padding: 0 22px 20px; color: var(--text); }
.faq__a p { margin: 0; }

/* --- Pages légales (texte long) --- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.3rem; margin-top: 38px; }
.legal h3 { margin-top: 24px; }
.legal p, .legal li { color: var(--text); }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1rem; }
.legal li { margin-bottom: 6px; }
.legal .placeholder-text { background: #fff7e6; border: 1px solid #f0d690; border-radius: 6px; padding: 2px 8px; color: #8a6500; font-weight: 600; }

/* --- Bloc "particuliers / professionnels" --- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo__card { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.duo__card .i { color: var(--blue); flex: 0 0 50px; }
.duo__card h3 { margin-bottom: 8px; }
.duo__card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Page hero (variante avec image à droite, fond doux) */
.page-hero { background: var(--soft); }

/* === 9. RESPONSIVE ====================================================== */

/* Tablette */
@media (max-width: 1024px) {
  .reassure { grid-template-columns: repeat(3, 1fr); }
  .reassure__item:nth-child(3n+1) { border-left: none; }
  .grid-5, .values { grid-template-columns: repeat(3, 1fr); }
  .cards.grid-5 { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { gap: 32px; }
}

/* Mobile : menu déroulant + tout en colonne */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  /* Le menu passe sur une 2e ligne pleine largeur, posé sur le fond blanc
     de l'en-tête (panneau en flux, pas en superposition → jamais transparent). */
  .header__inner { flex-wrap: wrap; }
  .nav {
    flex-basis: 100%; width: 100%; order: 3;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .site-header.is-open .nav { max-height: 78vh; overflow: auto; padding-bottom: 14px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 13px 10px; border-radius: 8px; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--soft); }
  .nav__cta { margin: 12px 10px 4px; }

  .hero__grid, .split, .contact-grid, .duo, .beforeafter { grid-template-columns: 1fr; }
  .hero__media { order: -1; }            /* image au-dessus du texte sur mobile */
  /* Sur mobile, la photo est pleine largeur : on retire l'estompage et on remet l'ombre */
  .hero__media img { aspect-ratio: 16/10; -webkit-mask-image: none; mask-image: none; box-shadow: var(--shadow); }
  .reassure { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .reassure__item { border-left: none !important; }
  .grid-2, .grid-3, .grid-4, .grid-5,
  .cards.grid-5, .cards.grid-3, .values, .steps { grid-template-columns: 1fr; }
  .field-row, .dept-list { grid-template-columns: 1fr; }

  /* étapes : passage en vertical, on retire le trait horizontal */
  .steps::before { display: none; }
  .step { display: flex; gap: 16px; text-align: left; align-items: flex-start; }
  .step__num { margin: 0; flex: 0 0 52px; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1; }

  .section { padding: 52px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  body { font-size: 16px; }
}

/* Petits téléphones */
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .reassure { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .form-card, .panel { padding: 22px; }
  h1 { font-size: 1.9rem; }
}

/* Confort : réduit les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
