/* Plumber Deboucheur — contraste franc (2026-09-16). Charge APRES v4-9.css.
   Plus aucun fond bleu pale : les sections claires passent en bleu nuit, avec
   des cartes blanches dessus. La page alterne blanc et bleu nuit, sans teinte
   intermediaire. La video se cale a droite de sa colonne.
   v4-18 : mot souligne au feutre orange a la place du texte orange, et la photo
   de la FAQ prend toute la hauteur de sa colonne (plus de grand vide en bas). */

/* ---------- 0. Respiration verticale des sections ---------- */
:root{--sec:clamp(72px,7vw,164px);--sec-sm:clamp(60px,5.8vw,136px)}

/* ---------- 1. Sections « claires » : bleu nuit ---------- */
.bg-cream{background:var(--navy-deep);color:#fff}
.bg-cream .a4-h2,.bg-cream h2,.bg-cream h3{color:#fff}
.bg-cream .a4-sstitre,.bg-cream .a4-texte p,.bg-cream > .wrap > p{color:var(--on-navy)}
.bg-cream .a4-texte strong,.bg-cream .a4-sstitre strong{color:#fff}
.bg-cream .a4-texte a{color:#9DC8FF}

/* ---------- 2. Cartes blanches posees dessus : texte sombre ---------- */
.bg-cream .a4-tarif,.bg-cream .a4-fixe,.bg-cream .faq details,
.bg-cream .pdb2-form,.bg-cream .nap{background:#fff;border-color:rgba(255,255,255,.14)}
.bg-cream .a4-tarif h3,.bg-cream .faq summary,.bg-cream .nap b{color:var(--navy-deep)}
.bg-cream .a4-tarif li,.bg-cream .a4-fixe p,.bg-cream .faq p,.bg-cream .nap span{color:var(--body)}
.bg-cream .a4-fixe strong{color:var(--navy-deep)}
.bg-cream .a4-fixe a,.bg-cream .faq a,.bg-cream .nap a{color:var(--navy)}
.bg-cream .a4-tarif__pied{color:var(--muted)}
.bg-cream .a4-tarif__prix{color:var(--navy-deep)}
.bg-cream .a4-tarif__prix small{color:var(--muted)}
/* Le bloc coordonnees vit dans .a4-texte : son gras ne doit PAS passer en
   blanc, sinon la raison sociale et le SIRET disparaissent sur la carte. */
.bg-cream .a4-texte .nap strong,.bg-cream .nap strong{color:var(--navy-deep)}

/* La carte mise en avant reste blanche, mais son bandeau passe en orange. */
.bg-cream .a4-tarif--vedette{background:#fff}
.bg-cream .a4-tarif--vedette .a4-tarif__tete{background:var(--orange);color:#fff}
.bg-cream .a4-tarif--vedette h3{color:var(--navy-deep)}
.bg-cream .a4-tarif--vedette li{color:var(--body)}
.bg-cream .a4-tarif--vedette .a4-tarif__prix{color:var(--orange-deep)}
.bg-cream .a4-tarif--vedette .a4-tarif__prix small,
.bg-cream .a4-tarif--vedette .a4-tarif__pied{color:var(--muted)}
.bg-cream .a4-tarif--vedette li::after{border-color:var(--orange)}
.a4-tarif__tete{background:var(--navy-deep);color:#fff}
.a4-tarif li::before{background:#EEF3F9}
.a4-tarif--vedette li::before{background:#FDEDE2}

/* ---------- 3. Bandes d'appel : bleu nuit plein, sur fond blanc ---------- */
.a4-urgence,.a4-assur{background:var(--navy-deep)}
.a4-urgence p,.a4-assur p{color:var(--on-navy)}
.a4-urgence strong,.a4-assur strong{color:#fff}

/* ---------- 4. Video : calee a droite, etiquette en clair ---------- */
.a4-video{justify-self:end}
.a4-video__live{max-width:calc(100% - 28px);font-size:11px;letter-spacing:.05em;line-height:1.3;text-align:left}

/* ---------- 5. Un bouton ne prend JAMAIS la couleur des liens du bloc ----- */
.a4-fixe a.btn,.bg-cream .a4-fixe a.btn,.a4-assur a.btn,.a4-urgence a.btn,.a4-meteo a.btn{color:#fff;text-decoration:none}
.a4-fixe a.btn:hover,.bg-cream .a4-fixe a.btn:hover,.a4-assur a.btn:hover,.a4-urgence a.btn:hover,.a4-meteo a.btn:hover{color:#fff}
/* Le bouton d'urgence mene a la page urgence : il garde l'orange de l'appel. */
.a4-urgence .a4-urgence__btn{background:var(--orange)}
.a4-urgence .a4-urgence__btn:hover{background:var(--orange-dark)}

/* ---------- 6. Bande « nos prix sont fixes » ---------- */
.a4-fixe{align-items:center;gap:clamp(18px,2vw,34px);padding:clamp(18px,1.9vw,28px) clamp(20px,2vw,30px)}
.a4-fixe__points{flex:1 1 380px;display:flex;flex-direction:column;gap:11px;min-width:0}
.a4-fixe__points span{position:relative;display:block;padding-left:31px;font-size:var(--t-17);line-height:1.5;color:var(--body)}
.a4-fixe__points span::before{content:"";position:absolute;left:0;top:.14em;width:21px;height:21px;border-radius:50%;background:#FDEDE2}
.a4-fixe__points span::after{content:"";position:absolute;left:6px;top:.48em;width:9px;height:5px;border-left:2.2px solid var(--orange-deep);border-bottom:2.2px solid var(--orange-deep);transform:rotate(-45deg)}
.a4-fixe__points b{color:var(--navy-deep)}
.a4-fixe__cta{display:flex;flex-direction:column;align-items:stretch;gap:9px;margin-left:auto;text-align:center}
.a4-fixe__cta .btn{margin:0}
.a4-fixe__cta span{font-size:14.5px;line-height:1.4;color:var(--muted)}

/* ---------- 7. Qui paie : le verdict d'abord ---------- */
.a4-payeurs li{padding:0;gap:0;overflow:hidden;border-color:var(--line-3)}
.a4-payeurs .a4-payeur__photo{position:relative;display:block;aspect-ratio:16/11;overflow:hidden;background:var(--navy-deep)}
.a4-payeurs .a4-payeur__photo img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;display:block;transition:transform .5s ease}
.a4-payeurs li:hover .a4-payeur__photo img{transform:scale(1.05)}
.a4-payeurs .a4-payeur__photo::after{content:"";position:absolute;left:0;right:0;bottom:0;height:62%;background:linear-gradient(to top,rgba(9,29,55,.9) 0%,rgba(9,29,55,.45) 45%,rgba(9,29,55,0) 100%)}
.a4-payeurs .a4-payeur__verdict{position:absolute;left:13px;right:13px;bottom:13px;z-index:2;display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border-radius:999px;background:var(--navy-deep);color:#fff;font-family:"Archivo",sans-serif;font-size:11px;font-weight:800;letter-spacing:.03em;line-height:1.2;text-align:center;text-transform:uppercase;white-space:nowrap}
.a4-payeurs .a4-payeur--vous .a4-payeur__verdict{background:var(--orange)}
.a4-payeurs .a4-payeur--bleu .a4-payeur__verdict{background:var(--navy)}
.a4-payeurs .a4-payeur__corps{flex:1;display:flex;flex-direction:column;gap:9px;padding:clamp(16px,1.6vw,24px)}
.a4-payeurs .a4-payeur__corps b{font-family:"Archivo",sans-serif;font-size:var(--t-19);line-height:1.25;color:var(--navy-deep)}
.a4-payeurs .a4-payeur__corps span{font-size:var(--t-16);line-height:1.55;color:var(--body)}
.a4-assur{gap:14px 26px}
.a4-assur p{flex:1 1 420px}
.a4-assur .btn{margin-left:auto;white-space:nowrap}

/* ---------- 8. FAQ : titre au-dessus des accordeons, photo pleine hauteur --
   La photo tient toute la colonne : sinon la section se termine sur un grand
   vide sous l'image, tres visible sur fond bleu nuit. */
.a4-faq{align-items:stretch}
.a4-faq__col{display:flex;flex-direction:column;gap:clamp(18px,1.8vw,30px);min-width:0}
.a4-faq__col .a4-h2{max-width:26ch}
.a4-faq__aside{position:static;height:100%}
.a4-faq__photo{aspect-ratio:auto;height:100%;min-height:clamp(320px,32vw,620px)}

/* ---------- 9. Devis : les deux colonnes a la meme hauteur ---------- */
.a4-devis{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,3vw,60px);align-items:stretch}
.a4-devis .a4-texte{justify-content:space-between}
.a4-devis .nap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;align-content:start}
.a4-devis .pdb2-form{display:flex;flex-direction:column;height:100%}
.a4-devis .pdb2-form__corps{flex:1;display:flex;flex-direction:column;min-height:0}
.a4-devis .pdb2-form .form{flex:1;grid-template-rows:auto auto minmax(140px,1fr)}
.a4-devis .pdb2-form .field.full{display:flex;flex-direction:column}
.a4-devis .pdb2-form .field.full textarea{flex:1;min-height:140px;max-height:260px}

/* ---------- 10. Photo panoramique : on coupe les bandes blanches du fichier -
   realisation-104 fait 1360x586 avec 92 px de blanc en haut et en bas. Le
   cadrage « cover » les laisse voir : on agrandit de 586/402 pour les sortir du
   cadre. La zone affichee reste plus large que la carte, donc aucune perte. */
.a4-cas__img--fuite img{object-position:90% 50%!important;transform:scale(1.46)}
.a4-cas__carte:hover .a4-cas__img--fuite img{transform:scale(1.53)}

/* ---------- 11. Meteo locale (Open-Meteo) sous la carte de la zone ---------- */
.a4-meteo{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr);gap:clamp(20px,2.4vw,46px);align-items:center;margin-top:clamp(26px,2.6vw,46px);padding:clamp(20px,2vw,32px);border-radius:18px;background:var(--navy);color:#fff}
.a4-meteo__txt{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.a4-meteo h3{margin:0;font-family:"Archivo",sans-serif;font-size:clamp(21px,1.75vw,30px);line-height:1.18;font-weight:800;color:#fff;text-wrap:balance}
.a4-meteo p{margin:0;font-size:var(--t-17);line-height:1.6;color:#E3EEFB}
.a4-meteo a.btn{margin-top:2px}
.a4-meteo__semaine{min-width:0}
.a4-meteo__jours{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.a4-meteo__j{display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 5px;border-radius:12px;background:rgba(255,255,255,.13);text-align:center}
.a4-meteo__j.is-averse{background:rgba(255,255,255,.22)}
.a4-meteo__j.is-pluie{background:var(--orange)}
.a4-meteo__jour{font-size:11.5px;font-weight:700;letter-spacing:.02em;line-height:1.1;color:#D7E7FA;text-transform:uppercase}
.a4-meteo__ico svg{display:block;width:26px;height:26px}
.a4-meteo__deg{font-family:"Archivo",sans-serif;font-size:17px;font-weight:800;line-height:1;color:#fff}
.a4-meteo__mm{font-size:12.5px;line-height:1.1;color:#D7E7FA;white-space:nowrap}
.a4-meteo__j.is-pluie .a4-meteo__jour,.a4-meteo__j.is-pluie .a4-meteo__mm{color:#fff}
.a4-meteo__src{margin-top:13px;font-size:13.5px;line-height:1.5;color:#C3DAF5}
.a4-meteo__src a{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* ---------- 11 bis. Titres de section plus grands ----------
   Les H2 plafonnaient a 52 px et paraissaient petits sous le cri de la
   banniere. Dans les sections a deux colonnes, ils restent un cran en dessous,
   sinon le titre part sur quatre lignes dans une colonne etroite. */
.a4-h2{font-size:clamp(32px,4.4vw,64px);letter-spacing:-.02em}
.a4-split .a4-h2,.a4-zone .a4-h2,.a4-faq__col .a4-h2,.a4-devis .a4-h2,.a4-avis__tete .a4-h2{font-size:clamp(30px,3.6vw,54px)}

/* ---------- 12. Le mot souligne au feutre, a la place du texte orange -------
   Meme principe que sur OPM Debarras : un SVG en fond, cale sous la ligne de
   base, clone sur chaque ligne quand le mot passe a la ligne. */
:root{
  --surl-orange:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10.6c46-4.4 92-6.4 147-6.1 46 .3 93 2.1 147 5.4-30-.6-60-1.1-90-1.3-45-.3-90 .1-135 1-23 .5-46 1.2-69 2.1z' fill='%23F26B1D'/%3E%3C/svg%3E");
}
.a4-surl{
  color:inherit;font-style:normal;font-weight:inherit;
  padding:0 .04em .18em;
  background-image:var(--surl-orange);
  background-size:100% .32em;
  background-position:0 100%;
  background-repeat:no-repeat;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
/* Sur la banniere, le corps est enorme : trait plus fin, sinon il ecrase. */
.a4-hero__cri > span{color:#fff}
.a4-hero__cri .a4-surl{background-size:100% .26em;padding-bottom:.1em}
/* Titres de section : trait bien visible, mais qui ne mange pas la ligne. */
.a4-h2 .a4-surl,h2 .a4-surl{background-size:100% .3em}
/* Le texte orange de la bande assurances passe en blanc souligne. */
.a4-assur__fort{color:#fff;font-weight:700;font-style:normal;padding:0 .04em .18em;background-image:var(--surl-orange);background-size:100% .32em;background-position:0 100%;background-repeat:no-repeat;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* ---------- 12 bis. Cartes d'articles : photo, sujet, titre, pied ---------
   Avant, la date, le sujet et le temps de lecture se suivaient sur une meme
   ligne qui passait a la ligne n'importe ou, et le titre entier prenait quatre
   lignes. La carte se lit maintenant de haut en bas : photo, sujet, titre
   (3 lignes maxi), resume, puis date et lien en pied. */
.art-grid{grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:clamp(14px,1.4vw,24px)}
.art-carte{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;text-decoration:none}
.art-carte__img{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--navy-deep)}
.art-carte__img img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border:0;display:block;transition:transform .5s ease}
.art-carte:hover .art-carte__img img{transform:scale(1.05)}
.art-carte__cat{position:absolute;left:12px;top:12px;z-index:2;padding:7px 13px;border-radius:999px;background:var(--orange);color:#fff;font-family:"Archivo",sans-serif;font-size:11.5px;font-weight:800;letter-spacing:.06em;line-height:1;text-transform:uppercase}
.art-carte__corps{display:flex;flex-direction:column;gap:11px;flex:1;padding:clamp(18px,1.7vw,26px)}
.art-carte h3{margin:0;font-family:"Archivo",sans-serif;font-size:clamp(19px,1.35vw,23px);line-height:1.26;color:var(--navy-deep);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.art-carte p{margin:0;font-size:var(--t-16);line-height:1.6;color:var(--body);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.art-carte__pied{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:auto;padding-top:14px;border-top:1px solid var(--line)}
.art-carte__date{font-size:14px;line-height:1.4;color:var(--muted)}
.art-carte__lire{margin-left:auto;font-family:"Archivo",sans-serif;font-size:15px;font-weight:800;color:var(--navy);white-space:nowrap}
.art-carte:hover .art-carte__lire{text-decoration:underline;text-underline-offset:3px}

/* ---------- 12 ter. Pages services : photo a la place de la video, bloc
   « qui vient chez vous » en bas de page ---------- */
.a4-video--photo img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;display:block}
.a4-cas__carte:not(a){cursor:default}
.a4-mot{display:grid;grid-template-columns:minmax(0,.34fr) minmax(0,1fr);gap:clamp(20px,2.4vw,44px);align-items:center;padding:clamp(20px,2vw,30px);border:1px solid var(--line);border-radius:18px;background:#fff}
.a4-mot__photo{position:relative;overflow:hidden;border-radius:14px;aspect-ratio:4/3}
.a4-mot__photo img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;display:block}
.a4-mot__titre{margin:0;font-family:"Archivo",sans-serif;font-size:clamp(20px,1.5vw,26px);line-height:1.2;color:var(--navy-deep)}
.a4-mot__sign{font-size:15px;color:var(--muted)}

/* ---------- 13. Surcharges responsive (toujours en dernier) ---------- */
@media (max-width:900px){
  .a4-video{justify-self:center}
  .a4-fixe__cta{margin-left:0;width:100%}
  .a4-assur .btn{margin-left:0;white-space:normal}
  .a4-devis .a4-texte{justify-content:flex-start}
  .a4-devis .pdb2-form{height:auto}
  .a4-devis .pdb2-form .form{grid-template-rows:none}
  .a4-meteo{grid-template-columns:minmax(0,1fr)}
  .a4-faq__aside{height:auto}
  .a4-faq__photo{height:auto;min-height:0;aspect-ratio:16/10}
  .a4-mot{grid-template-columns:minmax(0,1fr)}
  .a4-mot__photo{aspect-ratio:16/9}
}
@media (max-width:760px){
  .a4-meteo__jours{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:700px){
  .a4-devis .nap{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:420px){
  .a4-meteo__jours{grid-template-columns:repeat(3,minmax(0,1fr))}
}
