/*
Theme Name: Dépannage Plomberie
Theme URI: https://depannage-plomberie.be
Description: Thème enfant de Hello Elementor pour Dépannage Plomberie — plombier d'urgence 24h/24 à Bruxelles et en Wallonie. Style éditorial artisan : photos, titres condensés, accent bleu. Compatible Rank Math, Complianz et tous les plugins standards.
Author: WEBIPHI
Author URI: https://webiphi.be
Version: 1.2.0
Template: hello-elementor
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: depannage-plomberie-child
*/

/* Thème ENFANT de Hello Elementor.
   La ligne « Template: hello-elementor » ci-dessus fait le lien avec le parent :
   ne pas la modifier, et ne pas renommer le dossier du thème parent.

   TROIS PRÉCAUTIONS STRUCTURANTES, à ne pas défaire :

   1. Tout le design est enfermé dans le conteneur « .dp » (ouvert dans header.php,
      fermé dans footer.php). La feuille d'origine visait « body », « * », « h1 »…
      globalement : dans un thème, ça déborde sur l'administration WordPress.

   2. L'en-tête et le pied de page s'appellent « dp-header » / « dp-footer ». Les noms
      d'origine — « header » et « footer » — sont beaucoup trop génériques : Hello
      Elementor et la plupart des plugins stylisent ces classes pour leur propre compte.

   3. Le gros bloc « COMPAT ELEMENTOR » de la fin de la feuille d'origine (une trentaine
      de règles en !important pour reprendre la main sur le thème d'accueil) a disparu :
      le conteneur « .dp » suffit désormais à passer devant le CSS du parent. Merci de
      garder cette feuille sans !important — seule exception, volontaire : la règle
      « prefers-reduced-motion » en fin de fichier, qui doit passer devant tout le reste
      pour couper les animations chez les personnes qui l'ont demandé.

   NOTE DE NOMMAGE : la variable d'accent s'appelle « --red » mais vaut #0860c8, un
   BLEU. Le nom vient de la maquette d'origine ; il est conservé pour que les classes
   « .red » du HTML restent cohérentes. Ne pas s'y fier : c'est la couleur bleue.
   ============================================================= */

/* =============================================================
   1. Variables
   ============================================================= */
.dp {
  --ink: #15181d;
  --ink-2: #3c424b;
  --muted: #6b7280;
  --paper: #f5f3ec;
  --paper-2: #ece8df;
  --red: #0860c8;        /* accent — bleu, malgré le nom */
  --red-dark: #064a9c;
  --line: #ded9cd;
  --line-dark: #2a2e35;
  --white: #ffffff;
  --gold: #c8962b;
  --r: 6px;
  --maxw: 1220px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 22px 50px rgba(21,24,29,.18);
  --shadow-sm: 0 6px 20px rgba(21,24,29,.1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: #f5f3ec; }

.dp *, .dp *::before, .dp *::after { box-sizing: border-box; }
.dp * { margin: 0; padding: 0; }
.dp {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink-2); background: var(--paper); line-height: 1.7; font-size: 17px; overflow-x: hidden;
}
.dp img { max-width: 100%; display: block; }
.dp a { color: inherit; text-decoration: none; }
.dp ul { list-style: none; }
.dp h1, .dp h2, .dp h3, .dp h4 { font-family: 'Oswald', sans-serif; color: var(--ink); font-weight: 600; line-height: 1.08; text-transform: uppercase; letter-spacing: .01em; }

/* Lien d'évitement (accessibilité) */
.skip-link.screen-reader-text { position: absolute; left: -9999px; top: 0; z-index: 200; }
.skip-link.screen-reader-text:focus {
  left: 12px; top: 12px; background: #fff; color: #15181d;
  padding: 12px 18px; border-radius: 6px; font-weight: 700;
  border: 1px solid #ded9cd; box-shadow: 0 22px 50px rgba(21,24,29,.18);
}

.dp .container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.dp .section { padding: 96px 0; }
.dp .section--paper2 { background: var(--paper-2); }
.dp .section--ink { background: var(--ink); color: #c7ccd3; }
.dp .section--ink h2, .dp .section--ink h3 { color: #fff; }
.dp .center { text-align: center; }

/* Kicker label */
.dp .kick { display: inline-flex; align-items: center; gap: 12px; font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--red); margin-bottom: 20px; }
.dp .kick::before { content: ''; width: 34px; height: 3px; background: var(--red); flex: none; }
.dp .kick--center { justify-content: center; }
.dp .section--ink .kick { color: #6ea8ff; }
.dp .section--ink .kick::before { background: #6ea8ff; }

.dp .h-xl { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.dp .h-lg { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.dp .lead { font-size: 1.13rem; color: var(--muted); max-width: 640px; }
.dp .center .lead { margin-inline: auto; }
.dp .sec-head { max-width: 720px; margin-bottom: 54px; }
.dp .sec-head.center { margin-inline: auto; }
.dp .sec-head--tight { margin-bottom: 44px; }

/* =============================================================
   2. Boutons
   ============================================================= */
.dp .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .98rem; padding: 15px 30px; border-radius: var(--r); cursor: pointer; border: 2px solid transparent; transition: transform .18s var(--ease), background .18s, color .18s, border-color .18s; white-space: nowrap; }
.dp .btn svg { width: 20px; height: 20px; flex: none; }
.dp .btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.dp .btn--red { background: var(--red); color: #fff; }
.dp .btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.dp .btn--ink { background: var(--ink); color: #fff; }
.dp .btn--ink:hover { transform: translateY(-2px); }
.dp .btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.dp .btn--outline:hover { background: var(--ink); color: #fff; }
.dp .btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.dp .btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.dp .btn--white { background: #fff; color: var(--ink); }
.dp .btn--white:hover { transform: translateY(-2px); }
.dp .btn--lg { padding: 17px 36px; font-size: 1.05rem; }
.dp .btn--block { width: 100%; }

/* =============================================================
   3. Bandeau haut + en-tête
   ============================================================= */
.dp .topstrip { background: var(--ink); color: #b9c0c9; font-size: .84rem; }
.dp .topstrip .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 24px; flex-wrap: wrap; }
.dp .topstrip__l { display: flex; gap: 22px; flex-wrap: wrap; }
.dp .topstrip__l span, .dp .topstrip__l a { display: inline-flex; align-items: center; gap: 7px; }
.dp .topstrip__l a:hover { color: #fff; }
.dp .topstrip__l svg { width: 15px; height: 15px; color: var(--red); flex: none; }
.dp .topstrip__r { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.dp .topstrip__r .dot { width: 8px; height: 8px; border-radius: 50%; background: #37d67a; box-shadow: 0 0 0 4px rgba(55,214,122,.22); flex: none; }

.dp .dp-header { position: sticky; top: 0; z-index: 60; background: rgba(245,243,236,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .dp .dp-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .dp .dp-header { top: 46px; } }
.dp .dp-header.scrolled { box-shadow: var(--shadow-sm); }
.dp .nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; }
.dp .brand { display: flex; align-items: center; gap: 13px; flex: none; }
.dp .brand__mark { width: auto; height: 50px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.dp .brand__mark img { height: 100%; width: auto; object-fit: contain; display: block; }
.dp .dp-footer .brand__mark { background: #fff; border-radius: var(--r); padding: 5px 7px; height: 52px; }
.dp .brand__txt b { font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); font-size: 1.2rem; line-height: 1; display: block; white-space: nowrap; }
.dp .brand__txt small { font-family: 'Inter', sans-serif; font-size: .72rem; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.dp .nav__links { display: flex; align-items: center; gap: 8px; }
.dp .nav__links li { list-style: none; }
.dp .nav__links a { display: block; font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; color: var(--ink); padding: 10px 14px; position: relative; white-space: nowrap; }
.dp .nav__links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.dp .nav__links a:hover::after,
.dp .nav__links li.current-menu-item > a::after,
.dp .nav__links li.current_page_item > a::after { transform: scaleX(1); }
.dp .nav__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.dp .nav__phone { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; padding: 12px 20px; border-radius: var(--r); font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; transition: background .18s, transform .18s; white-space: nowrap; }
.dp .nav__phone:hover { background: var(--red-dark); transform: translateY(-2px); }
.dp .nav__phone svg { width: 19px; height: 19px; flex: none; }
.dp .nav__toggle { display: none; background: var(--ink); border: none; cursor: pointer; padding: 12px; border-radius: var(--r); color: #fff; }
.dp .nav__toggle svg { width: 22px; height: 22px; }

/* =============================================================
   4. Hero
   ============================================================= */
.dp .hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: #fff; }
.dp .hero__bg { position: absolute; inset: 0; overflow: hidden; }
.dp .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.dp .hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,24,29,.92) 0%, rgba(21,24,29,.72) 42%, rgba(21,24,29,.25) 100%), linear-gradient(0deg, rgba(21,24,29,.85), transparent 55%); }
.dp .hero__inner { position: relative; padding: 80px 0 130px; max-width: 680px; margin: 0; }
.dp .hero .kick { color: #fff; }
.dp .hero .kick::before { background: var(--red); }
.dp .hero h1 { color: #fff; font-size: clamp(2.7rem, 6.4vw, 5rem); font-weight: 700; }
.dp .hero h1 .red { color: var(--red); }
.dp .hero p { color: #d6dade; font-size: 1.2rem; margin-top: 22px; max-width: 560px; }
.dp .hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* Barre de chiffres en chevauchement */
.dp .hero-stats { position: relative; margin-top: -66px; z-index: 5; }
.dp .hero-stats__grid { background: var(--ink); border-radius: var(--r); display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: var(--shadow); overflow: hidden; }
.dp .hero-stats__cell { padding: 28px 26px; border-right: 1px solid var(--line-dark); }
.dp .hero-stats__cell:last-child { border-right: none; }
.dp .hero-stats__cell b { font-family: 'Oswald', sans-serif; font-weight: 600; color: #fff; font-size: 2.1rem; display: block; line-height: 1; }
.dp .hero-stats__cell b .red { color: var(--red); }
.dp .hero-stats__cell span { color: #99a0a9; font-size: .9rem; }

/* =============================================================
   5. Cartes services
   ============================================================= */
.dp .svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dp .svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease); display: flex; flex-direction: column; }
.dp .svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dp .svc__media { position: relative; height: 230px; overflow: hidden; }
.dp .svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dp .svc:hover .svc__media img { transform: scale(1.07); }
.dp .svc__num { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: .82rem; letter-spacing: .1em; padding: 6px 12px; border-radius: 4px; }
.dp .svc__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.dp .svc__body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.dp .svc__body p { color: var(--muted); font-size: .98rem; }
.dp .svc__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .84rem; color: var(--red); }
.dp .svc__link svg { width: 16px; height: 16px; transition: transform .2s; flex: none; }
.dp .svc:hover .svc__link svg { transform: translateX(5px); }

/* =============================================================
   6. Bloc photo + texte
   ============================================================= */
.dp .split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dp .split__media { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.dp .split__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.dp .split__badge { position: absolute; left: 22px; bottom: 22px; background: var(--red); color: #fff; padding: 16px 22px; border-radius: var(--r); max-width: 220px; }
.dp .split__badge b { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 2rem; display: block; line-height: 1; }
.dp .split__badge span { font-size: .84rem; }
.dp .ticklist { display: grid; gap: 18px; margin-top: 26px; }
.dp .ticklist li { display: flex; gap: 14px; align-items: flex-start; }
.dp .ticklist .tk { width: 28px; height: 28px; border-radius: 5px; background: var(--red); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.dp .ticklist .tk svg { width: 17px; height: 17px; color: #fff; }
.dp .ticklist strong { display: block; font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); font-size: 1.02rem; }
.dp .ticklist span { color: var(--muted); font-size: .96rem; }
.dp .split .btn { margin-top: 28px; }

/* =============================================================
   7. Étapes
   ============================================================= */
.dp .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.dp .step { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); position: relative; }
.dp .step:last-child { border-right: none; padding-right: 0; }
.dp .step b { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 2.4rem; color: var(--red); display: block; line-height: 1; margin-bottom: 12px; }
.dp .step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.dp .step p { color: var(--muted); font-size: .94rem; }

/* =============================================================
   8. Bandeau chiffré sur photo
   ============================================================= */
.dp .band { position: relative; overflow: hidden; }
.dp .band__bg { position: absolute; inset: 0; }
.dp .band__bg img { width: 100%; height: 100%; object-fit: cover; }
.dp .band__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,24,29,.95), rgba(21,24,29,.78)); }
.dp .band .container { position: relative; }
.dp .band h2 { color: #fff; }
.dp .band__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.dp .band__stat { text-align: left; }
.dp .band__stat b { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.4rem); color: #fff; display: block; line-height: 1; }
.dp .band__stat b .red { color: var(--red); }
.dp .band__stat span { color: #aab0b8; font-size: .95rem; }

/* =============================================================
   9. Avis
   ============================================================= */
.dp .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dp .quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; border-top: 4px solid var(--red); }
.dp .quote:hover { box-shadow: var(--shadow); }
.dp .quote .stars { color: var(--red); letter-spacing: 2px; font-size: 1rem; margin-bottom: 12px; }
.dp .quote p { color: var(--ink-2); }
.dp .quote .who { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.dp .quote .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: 'Oswald', sans-serif; font-weight: 600; flex: none; }
.dp .quote .who b { font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); font-size: .98rem; display: block; line-height: 1.2; }
.dp .quote .who span { color: var(--muted); font-size: .85rem; }

/* =============================================================
   10. Zones
   ============================================================= */
.dp .zones { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.dp .zones__media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.dp .zones__media img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.dp .zonecols { columns: 2; column-gap: 26px; margin-top: 10px; }
.dp .zonecols--4 { columns: 4; }
.dp .zonecols li { break-inside: avoid; display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-family: 'Oswald', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: .98rem; color: var(--ink); }
.dp .zonecols li svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }

/* =============================================================
   11. FAQ
   ============================================================= */
.dp .faq { max-width: 860px; margin-inline: auto; }
.dp .faq__item { border-bottom: 1px solid var(--line); }
.dp .faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; font-size: 1.12rem; color: var(--ink); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dp .faq__q .plus { width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 5px; display: grid; place-items: center; flex-shrink: 0; transition: background .2s, border-color .2s; }
.dp .faq__q .plus svg { width: 16px; height: 16px; color: var(--ink); transition: transform .25s var(--ease), color .2s; }
.dp .faq__item.open .faq__q .plus { background: var(--red); border-color: var(--red); }
.dp .faq__item.open .faq__q .plus svg { color: #fff; transform: rotate(45deg); }
.dp .faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.dp .faq__a p { padding: 0 0 24px; color: var(--muted); }

/* =============================================================
   12. Bandeau d'appel final
   ============================================================= */
.dp .cta { position: relative; overflow: hidden; border-radius: var(--r); }
.dp .cta__bg { position: absolute; inset: 0; }
.dp .cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.dp .cta__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,96,200,.95), rgba(6,74,156,.86)); }
.dp .cta__inner { position: relative; padding: 58px; text-align: center; color: #fff; }
.dp .cta__inner h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.dp .cta__inner p { color: rgba(255,255,255,.92); margin: 12px auto 28px; max-width: 560px; }
.dp .cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   13. Bannière des sous-pages
   ============================================================= */
.dp .pbanner { position: relative; color: #fff; overflow: hidden; }
.dp .pbanner__bg { position: absolute; inset: 0; }
.dp .pbanner__bg img { width: 100%; height: 100%; object-fit: cover; }
.dp .pbanner__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,24,29,.9), rgba(21,24,29,.6)); }
.dp .pbanner .container { position: relative; padding: 74px 24px; }
.dp .pbanner h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.dp .pbanner p { color: #d0d4d9; margin-top: 14px; max-width: 620px; }
.dp .crumbs { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: #a7adb5; margin-bottom: 16px; }
.dp .crumbs a:hover { color: #fff; }
.dp .crumbs .separator { margin: 0 4px; }

/* =============================================================
   14. Contact & formulaire
   ============================================================= */
.dp .contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.dp .info-card { background: var(--ink); color: #c7ccd3; border-radius: var(--r); padding: 40px; }
.dp .info-card h3 { color: #fff; margin-bottom: 8px; }
.dp .info-list { display: grid; gap: 20px; margin-top: 26px; }
.dp .info-list li { display: flex; gap: 15px; align-items: flex-start; }
.dp .info-list .ic { width: 46px; height: 46px; border-radius: 6px; background: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.dp .info-list .ic svg { width: 21px; height: 21px; color: #fff; }
.dp .info-list strong { display: block; color: #fff; font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; font-size: .95rem; }
.dp .info-list span, .dp .info-list a { color: #a7adb5; font-size: .95rem; }
.dp .info-list a:hover { color: #fff; }
.dp .info-card .btn { margin-top: 30px; }
.dp .form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 40px; }
.dp .form-wrap .sec-head { margin-bottom: 24px; }
.dp .form-wrap .sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.dp .form-wrap .sec-head p { color: var(--muted); }
.dp form .field { margin-bottom: 18px; }
.dp form label { display: block; font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: .84rem; color: var(--ink); margin-bottom: 7px; }
.dp form input, .dp form select, .dp form textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); transition: border-color .2s, background .2s; }
.dp form input:focus, .dp form select:focus, .dp form textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.dp form textarea { resize: vertical; min-height: 130px; }
.dp .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dp .form-note { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.dp .form-note a { color: var(--red); text-decoration: underline; }
.dp .form-hp { position: absolute; left: -9999px; }
.dp .form-flash { padding: 16px 18px; border-radius: var(--r); margin-bottom: 18px; font-size: .96rem; }
.dp .form-flash.ok { background: #eaf7ef; border: 1px solid #37d67a; color: #1c7a44; }
.dp .form-flash.ko { background: #fdecec; border: 1px solid #e4a0a0; color: #a12626; }

/* =============================================================
   15. Contenu éditorial (pages légales, contenu WordPress)
   ============================================================= */
.dp .prose { max-width: 840px; margin-inline: auto; }
.dp .prose h2 { font-size: 1.6rem; margin: 36px 0 12px; }
.dp .prose h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.dp .prose p { color: var(--ink-2); margin-bottom: 14px; }
.dp .prose ul, .dp .prose ol { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.dp .prose ol { list-style: decimal; }
.dp .prose li { margin-bottom: 8px; color: var(--ink-2); list-style: inherit; }
.dp .prose a { color: var(--red); text-decoration: underline; }
.dp .prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.dp .prose img { border-radius: var(--r); margin: 20px 0; }
.dp .prose blockquote { border-left: 3px solid var(--red); padding-left: 18px; margin: 20px 0; color: var(--muted); }
.dp .prose table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.dp .prose th, .dp .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

/* Listes d'articles (archives, recherche) et pagination */
.dp .postlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dp .postlist article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; border-top: 4px solid var(--red); }
.dp .postlist h2 { font-size: 1.3rem; margin-bottom: 10px; }
.dp .postlist p { color: var(--muted); font-size: .96rem; }
.dp .postlist time { color: var(--muted); font-size: .86rem; }
.dp .navigation .nav-links, .dp .page-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.dp .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-family: 'Oswald', sans-serif; font-weight: 500; color: var(--ink); }
.dp .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }

/* =============================================================
   16. Pied de page
   ============================================================= */
.dp .dp-footer { background: var(--ink); color: #99a0a9; padding: 66px 0 26px; }
.dp .dp-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.dp .dp-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .05em; }
.dp .dp-footer .brand { margin-bottom: 16px; }
.dp .dp-footer .brand__txt b { color: #fff; }
.dp .dp-footer .brand__txt small { color: #7d858f; }
.dp .dp-footer p { font-size: .94rem; margin-bottom: 16px; }
.dp .dp-footer ul { display: grid; gap: 11px; }
.dp .dp-footer li { list-style: none; }
.dp .dp-footer ul a { font-size: .94rem; transition: color .2s; }
.dp .dp-footer ul a:hover { color: #fff; }
.dp .dp-footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; margin-bottom: 12px; }
.dp .dp-footer__contact svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.dp .dp-footer__contact a:hover { color: #fff; }
.dp .dp-footer__bottom { border-top: 1px solid var(--line-dark); margin-top: 46px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.dp .dp-footer__bottom a:hover { color: #fff; }
/* Liens légaux : liste en ligne, séparés par une barre verticale. */
.dp .dp-footer__legal { display: flex; flex-wrap: wrap; gap: 0; align-items: center; }
.dp .dp-footer__legal li { display: inline-flex; align-items: center; }
.dp .dp-footer__legal li + li::before { content: '·'; margin: 0 10px; color: #4a5058; }

/* =============================================================
   17. Bouton d'appel flottant
   ============================================================= */
.dp .callfab { position: fixed; bottom: 18px; right: 18px; z-index: 70; display: none; align-items: center; gap: 10px; background: var(--red); color: #fff; font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 15px 24px; border-radius: var(--r); box-shadow: 0 14px 30px rgba(8,96,200,.5); }
.dp .callfab svg { width: 22px; height: 22px; }

/* =============================================================
   18. Apparition au scroll

   L'état invisible de départ est conditionné à « .dp.reveal-on », une classe que le
   JavaScript pose lui-même au démarrage. Si le script ne se charge pas — erreur,
   blocage, JavaScript désactivé — la classe n'est jamais posée et TOUT reste visible.

   Sans cette précaution, une panne de JavaScript rendrait des pans entiers de page
   définitivement invisibles alors qu'ils occuperaient toujours leur hauteur : le
   visiteur ne verrait qu'une grande bande vide.
   ============================================================= */
.dp.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.dp.reveal-on .reveal.in { opacity: 1; transform: none; }

/* =============================================================
   19. Panneau mobile
   ============================================================= */
.dp .mobile-panel { position: fixed; inset: 0; z-index: 80; background: rgba(21,24,29,.55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.dp .mobile-panel.open { opacity: 1; pointer-events: auto; }
.dp .mobile-panel__inner { position: absolute; top: 0; right: 0; height: 100%; width: min(330px, 86vw); background: var(--paper); padding: 26px; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.dp .mobile-panel.open .mobile-panel__inner { transform: none; }
.dp .mobile-panel__inner .close { align-self: flex-end; background: var(--ink); border: none; cursor: pointer; color: #fff; padding: 10px; border-radius: var(--r); }
.dp .mobile-panel__inner .close svg { width: 22px; height: 22px; }
.dp .mobile-panel__inner li { list-style: none; }
.dp .mobile-panel__inner a { font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; color: var(--ink); padding: 15px 4px; border-bottom: 1px solid var(--line); display: block; }
.dp .mobile-panel__inner .btn { margin-top: 18px; border-bottom: none; }

/* =============================================================
   20. Responsive
   ============================================================= */
@media (max-width: 1000px) {
  .dp .svcs, .dp .quotes, .dp .band__stats, .dp .hero-stats__grid, .dp .postlist { grid-template-columns: repeat(2, 1fr); }
  .dp .steps { grid-template-columns: repeat(2, 1fr); border-top: none; }
  .dp .step { border-top: 2px solid var(--ink); padding: 26px 20px 26px 0; }
  .dp .split, .dp .zones { grid-template-columns: 1fr; gap: 34px; }
  .dp .split__media img, .dp .zones__media img { min-height: 320px; }
  .dp .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .dp .dp-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .dp .nav__links, .dp .nav__phone { display: none; }
  .dp .nav__toggle { display: block; }
  .dp .callfab { display: inline-flex; }
  .dp .hero-stats__cell { padding: 22px 18px; }
  .dp .zonecols--4 { columns: 2; }
}
@media (max-width: 640px) {
  .dp { font-size: 16px; }
  .dp .section { padding: 66px 0; }
  .dp .svcs, .dp .quotes, .dp .band__stats, .dp .steps, .dp .hero-stats__grid, .dp .postlist { grid-template-columns: 1fr; }
  .dp .form-row { grid-template-columns: 1fr; }
  .dp .zonecols, .dp .zonecols--4 { columns: 1; }
  .dp .cta__inner, .dp .info-card, .dp .form-wrap { padding: 32px 24px; }
  .dp .dp-footer__grid { grid-template-columns: 1fr; }
  .dp .topstrip__l { display: none; }
  .dp .topstrip .container { justify-content: center; }
  .dp .hero__inner { padding: 60px 0 90px; }
  .dp .hero-stats { margin-top: 0; }
  .dp .hero-stats__cell { border-right: none; border-bottom: 1px solid var(--line-dark); }
  .dp .hero__cta .btn { flex: 1; }
}

/* Préférence de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .dp *, .dp *::before, .dp *::after { animation: none !important; transition: none !important; }
  .dp .reveal { opacity: 1; transform: none; }
}
