/* Page Drainage : pilier du silo « étanchéité » (page d'origine : specialiste-etancheite-assechement-drainage-murs-enterres-liege-bw.html, article « Drainage »).
   Même philosophie que les pages Humidité ascensionnelle et Murs enterrés : en-tête blanc, schéma 3D à deux états et menu de la page en haut sur fond #EBF9FA, titres en Newsreader,
   sections blanches séparées par la goutte, bande brune, bande #EBF9FA, devis bleu. Le schéma et ses flèches sont produits par schema-3d/publier-drainage.py (bloc « schema »). */
body { background: #fff; }
.pied { background: #fff; }
h2.titre { font: 500 clamp(28px, 2.6vw, 34px)/1.16 var(--f-titre); letter-spacing: -.012em; }
.chapo { font: 400 19px/1.55 var(--f-texte); color: var(--encre-douce); max-width: 46ch; }
.marque { display: block; }
.marque__logo { display: block; width: auto; height: 50px; }
@media (max-width: 720px) { .marque__logo { height: 46px; } }

/* Séparateur : un filet et la goutte du logo, entre deux sections blanches. */
.separateur { height: 22px; background: linear-gradient(var(--trait), var(--trait)) center / 100% 1px no-repeat; display: grid; place-items: center; }
.separateur svg { display: block; box-sizing: content-box; width: 16px; height: 22px; padding: 0 14px; background: #fff; fill: var(--bleu-fonce); }

/* 1. Haut de page : le schéma à gauche, le titre et le menu de la page à droite. Sur téléphone : titre, schéma, menu. */
.haut { background: var(--bleu-pale); padding: 24px 0 48px; }
.haut__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-areas: "schema titre" "schema menu"; grid-template-rows: auto 1fr; gap: 0 56px; align-items: start; }
.haut__titre { grid-area: titre; padding-top: 20px; }
.haut__schema { grid-area: schema; display: flex; justify-content: center; }
.haut__menu { grid-area: menu; }
h1.haut__h1 { font: 500 clamp(30px, 3vw, 42px)/1.14 var(--f-titre); letter-spacing: -.012em; }

/* Menu de la page : sept rubriques numérotées. Au survol, la ligne devient un bloc blanc et la flèche se remplit. */
.menu-page { margin-top: 22px; }
.menu-page a { display: grid; grid-template-columns: 46px minmax(0, 1fr) 36px; column-gap: 8px; align-items: center; min-height: 60px; padding: 6px 14px 6px 0; border-top: 1px solid rgba(12, 48, 56, .16); text-decoration: none; border-radius: 0; transition: background-color .25s ease, padding .25s ease; }
.menu-page li:last-child a { border-bottom: 1px solid rgba(12, 48, 56, .16); }
.menu-page .n { font: 300 32px/1 var(--f-titre); color: var(--encre-douce); transition: color .25s ease, background-color .25s ease; }
/* Sur ordinateur, le numéro dans un carré encre, comme le menu et les rubriques des autres pages du guide (Mande, 2026-11-04). */
@media (min-width: 1041px) {
  .menu-page .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--encre); font: 600 15px/1 var(--f-texte); color: #fff; }
  .menu-page a:hover .n, .menu-page a:focus-visible .n { background: var(--bleu); color: var(--encre); }
}
.menu-page .l { font: 600 16px/1.3 var(--f-texte); text-wrap: balance; }
.menu-page .f { width: 32px; height: 32px; border-radius: 6px; display: grid; place-items: center; background: rgba(12, 48, 56, .07); transition: background-color .25s ease, translate .25s ease; }
.menu-page .f svg { width: 14px; height: 14px; fill: none; stroke: var(--encre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s ease; }
.menu-page a:hover, .menu-page a:focus-visible { background: #fff; padding-left: 12px; }
.menu-page a:hover .n, .menu-page a:focus-visible .n { color: var(--encre); }
.menu-page a:hover .f, .menu-page a:focus-visible .f { background: var(--encre); translate: 0 2px; }
.menu-page a:hover .f svg, .menu-page a:focus-visible .f svg { stroke: #fff; }
@media (prefers-reduced-motion: reduce) { .menu-page a, .menu-page .n, .menu-page .f, .menu-page .f svg { transition: none; } }

/* Le schéma : deux états, sans traitement et traité. Même cadrage : un fondu suffit. */
.coupe { width: min(100%, max(320px, calc((100dvh - var(--entete) - 130px) * 1.066))); }
.coupe__scene { position: relative; display: grid; }
.coupe__img { transition: opacity .9s ease; opacity: 0; }
.coupe[data-etat="avant"] .coupe__img--avant, .coupe[data-etat="traite"] .coupe__img--traite { opacity: 1; }
.coupe [data-pour] { opacity: 0; transition: opacity .6s ease; }
.coupe[data-etat="avant"] [data-pour~="avant"], .coupe[data-etat="traite"] [data-pour~="traite"] { opacity: 1; }
/* Le bas de l'image est un fondu transparent : les boutons remontent dessus. */
.coupe__bas { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: -6%; position: relative; }
.bascule { display: inline-flex; padding: 3px; background: #fff; border: 1px solid var(--trait); border-radius: var(--r); }
.bascule button { min-height: 44px; padding: 0 clamp(12px, 3vw, 18px); font: 600 15px/1 var(--f-texte); color: var(--encre); background: none; border: 0; border-radius: 2px; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.bascule button[aria-pressed="true"] { background: var(--encre); color: #fff; }
.coupe figcaption { flex: 1 1 200px; }
@media (prefers-reduced-motion: reduce) { .coupe__img, .coupe [data-pour] { transition: none; } }
@media (max-width: 900px) {
  .haut { padding: 20px 0 40px; }
  .haut__in { grid-template-columns: 1fr; grid-template-areas: "titre" "schema" "menu"; }
  .haut__titre { padding-top: 8px; margin-bottom: 20px; }
  .haut__menu { margin-top: 24px; }
  .coupe { width: 100%; }
}
@media (max-width: 480px) { .menu-page a { grid-template-columns: 40px minmax(0, 1fr) 32px; } .menu-page .n { font-size: 30px; } }

/* Préambule : la photo avant / après et l'amorce de la page */
.preambule { padding: 72px 0 64px; }
.preambule__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 72px; align-items: center; }
.preambule__phrase { font: 500 clamp(20px, 1.8vw, 25px)/1.35 var(--f-titre); letter-spacing: -.012em; text-wrap: balance; }
.preambule .chapo { margin-top: 22px; font-size: 18px; max-width: 44ch; }
.preambule__actes { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 16px; }
@media (max-width: 900px) { .preambule { padding: 52px 0 44px; } .preambule__in { grid-template-columns: 1fr; } }

/* 1. Pourquoi le drainage est essentiel : bande brune. Brun du bas du dégradé de l'accueil (la terre du schéma), 11:1 avec le blanc. */
.pression { background: #47372A; color: #fff; }
.pression__in { padding: 80px 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 80px; align-items: center; }
.pression h2 { font: 500 clamp(26px, 2.6vw, 34px)/1.15 var(--f-titre); letter-spacing: -.012em; }
.pression p { font: 500 clamp(21px, 2vw, 27px)/1.45 var(--f-titre); letter-spacing: -.005em; max-width: 36ch; }
.pression p b { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--bleu-fonce); }
.pression__effets { grid-column: 1 / -1; margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; counter-reset: effet; }
.pression__effets li { counter-increment: effet; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .3); }
.pression__effets li::before { content: counter(effet); display: block; margin-bottom: 14px; font: 300 44px/1 var(--f-titre); color: rgba(255, 255, 255, .85); }
.pression__effets h3 { font: 500 22px/1.25 var(--f-titre); }
.pression__effets p { margin-top: 10px; max-width: none; font: 400 16.5px/1.6 var(--f-texte); letter-spacing: 0; color: rgba(255, 255, 255, .92); }
@media (max-width: 900px) { .pression__in { padding: 56px 0; grid-template-columns: 1fr; } .pression__effets { grid-template-columns: 1fr; gap: 28px; margin-top: 4px; } }

/* 4. Comparatif : un tableau simple, zébré en CSS */
.comparatif { padding: 72px 0 64px; }
.comparatif .chapo { margin-top: 18px; }
.table-wrap { margin-top: 32px; }
.comparatif table { width: 100%; border-collapse: collapse; font-size: 17.5px; line-height: 1.5; }
.comparatif th { text-align: left; padding: 16px 24px; font: 600 15.5px/1.2 var(--f-texte); border-bottom: 2px solid var(--encre); }
.comparatif td { padding: 22px 24px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.comparatif tbody tr:nth-child(even) { background: rgba(12, 48, 56, .035); }
.comparatif tbody th { padding: 22px 24px; font: 500 22px/1.25 var(--f-titre); letter-spacing: -.005em; border-bottom: 1px solid var(--trait); vertical-align: top; width: 26%; }
@media (max-width: 900px) { .comparatif { padding: 52px 0 44px; } .comparatif th, .comparatif td, .comparatif tbody th { padding-left: 14px; padding-right: 14px; } }
/* Téléphone : chaque critère devient un bloc, le nom de la colonne se lit devant chaque réponse. */
@media (max-width: 700px) {
  .comparatif table, .comparatif tbody, .comparatif tr, .comparatif tbody th, .comparatif td { display: block; width: 100%; }
  .comparatif thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .comparatif tbody tr { padding: 14px 0 10px; border-bottom: 1px solid var(--trait); }
  .comparatif tbody th, .comparatif td { padding: 4px 0; border: 0; width: auto; }
  .comparatif tbody th { font-size: 24px; }
  .comparatif td { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 14px; font-size: 17px; }
  .comparatif td::before { content: attr(data-label); font: 600 14.5px/1.5 var(--f-texte); color: var(--encre-douce); }
}

/* 2. Drainage extérieur : les quatre étapes */
.exterieur { padding: 64px 0 72px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 80px; align-items: start; }
.exterieur .chapo { margin-top: 20px; font-size: 18px; }
.etapes { counter-reset: etape; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; align-items: start; padding: 20px 0 22px; border-top: 1px solid var(--trait); font-size: 18px; line-height: 1.55; }
.etapes li:last-child { border-bottom: 1px solid var(--trait); }
.etapes li::before { content: counter(etape); font: 300 46px/1 var(--f-titre); color: var(--encre-douce); }
.exterieur { padding-bottom: 40px; }
@media (max-width: 900px) { .exterieur { padding: 48px 0 52px; grid-template-columns: 1fr; } }

/* Dimensions types d'une tranchée de façade et deux règles d'or */
.dimensions { padding: 0 0 80px; }
.dimensions h3 { font: 500 clamp(22px, 2.2vw, 28px)/1.2 var(--f-titre); letter-spacing: -.01em; }
.dimensions__chiffres { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.dimensions__chiffres div { padding-top: 18px; border-top: 2px solid var(--encre); }
.dimensions__chiffres dt { font: 600 15.5px/1.2 var(--f-texte); color: var(--encre-douce); }
.dimensions__chiffres dd { margin: 0; }
.dimensions__chiffres b { display: block; margin-top: 10px; font: 400 clamp(40px, 4.4vw, 58px)/1 var(--f-titre); letter-spacing: -.02em; }
.dimensions__chiffres span { display: block; margin-top: 12px; font-size: 16.5px; line-height: 1.5; color: var(--encre-douce); max-width: 30ch; }
.regles { margin-top: 56px; padding: 40px 44px; background: var(--bleu-pale); border-radius: var(--r); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px 64px; align-items: start; }
.regles h3 { font-size: clamp(22px, 2.2vw, 28px); }
.regles ol { display: grid; gap: 0; counter-reset: regle; }
.regles li { counter-increment: regle; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 14px; padding: 18px 0; border-top: 1px solid rgba(12, 48, 56, .18); font-size: 18px; line-height: 1.55; }
.regles li:first-child { padding-top: 4px; border-top: 0; }
.regles li::before { content: counter(regle); font: 300 40px/1 var(--f-titre); color: var(--encre-douce); }
.regles strong { font-weight: 600; }
.accessoires { margin-top: 56px; }
.accessoires__liste { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.accessoires__liste li { padding-top: 18px; border-top: 1px solid var(--trait); }
.accessoires__liste h4 { font: 500 22px/1.25 var(--f-titre); }
.accessoires__liste p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--encre-douce); }
@media (max-width: 900px) {
  .dimensions { padding-bottom: 52px; }
  .dimensions__chiffres { grid-template-columns: 1fr; gap: 28px; }
  .regles { margin-top: 40px; padding: 28px 22px; grid-template-columns: 1fr; }
  .accessoires { margin-top: 44px; }
  .accessoires__liste { grid-template-columns: 1fr; gap: 24px; }
}

/* 3. Drainage intérieur : bande #EBF9FA, photo et texte */
.interieur { background: var(--bleu-pale); }
.interieur__in { padding: 80px 0; display: grid; gap: 80px; }
.duo-bloc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px 80px; align-items: center; }
.duo-bloc--inverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.duo-bloc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.duo-bloc .chapo { margin-top: 20px; font-size: 18px; }
.duo-bloc__texte p { margin-top: 16px; font-size: 18px; line-height: 1.6; max-width: 54ch; }
.coches { margin-top: 22px; display: grid; gap: 0; }
.coches li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 12px; padding: 13px 0; border-top: 1px solid rgba(12, 48, 56, .16); font-size: 17.5px; line-height: 1.45; }
.coches li:last-child { border-bottom: 1px solid rgba(12, 48, 56, .16); }
.coches li::before { content: ""; width: 9px; height: 9px; margin-top: 8px; background: var(--bleu-fonce); border-radius: 50%; justify-self: center; }
.coches strong { font-weight: 600; }
@media (max-width: 900px) { .interieur__in { padding: 56px 0; gap: 52px; } .duo-bloc, .duo-bloc--inverse { grid-template-columns: 1fr; } .duo-bloc figure { order: -1; } }

/* Appel à l'action */
.appel { padding: 56px 0 72px; text-align: center; }
.appel .btn { min-height: 58px; padding: 0 36px; font-size: 17px; }
.appel p { margin: 16px auto 0; color: var(--encre-douce); }
@media (max-width: 900px) { .appel { padding: 44px 0 56px; } }

/* 6. Expertise et garantie */
.garantie { padding: 72px 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 80px; align-items: center; }
.garantie__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.garantie__duree { margin-top: 28px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; }
.garantie__duree b { font: 500 clamp(64px, 7vw, 92px)/1 var(--f-titre); letter-spacing: -.02em; }
.garantie__duree span { font: 500 22px/1.3 var(--f-titre); max-width: 18ch; }
.garantie .chapo { margin-top: 24px; font-size: 18px; }
.garantie .coches { margin-top: 22px; }
.garantie .coches li { border-top-color: var(--trait); }
.garantie .coches li:last-child { border-bottom-color: var(--trait); }
.garantie .coches strong { font-weight: 600; }
@media (max-width: 900px) { .garantie { padding: 52px 0; grid-template-columns: 1fr; } }

/* Questions fréquentes, puis « Pour aller plus loin » : les 15 autres pages du silo, en deux colonnes (maquette de Mande, Screenshot_130) */
.faq-zone { padding: 72px 0 88px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px 64px; }
@media (max-width: 900px) { .faq-zone { padding: 52px 0; grid-template-columns: 1fr; } }

/* Devis */

/* Barre de contact sur téléphone : appeler ou demander un devis à tout moment, retirée quand le formulaire est à l'écran */
.contact-fixe { display: none; }
@media (max-width: 720px) {
  .entete .btn { display: none; }
  .contact-fixe {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--trait);
    transition: translate .25s ease;
  }
  .contact-fixe .btn { padding: 0 8px; }
  .contact-fixe[data-cache] { translate: 0 100%; }
  body { padding-bottom: 66px; }
}
.pied address { font-style: normal; color: var(--encre-douce); margin-top: 10px; max-width: 34ch; }

