/* ============================================================
   CONTENU ÉDITORIAL — sections de texte longues
   Utilisé par : batiments-demontables, dalles-d-occasion, contact
   ============================================================ */

.contenu {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: #22303c;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
}

.contenu > section + section {
  margin-top: clamp(32px, 4vw, 56px);
}

.contenu h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  color: #00314c;
}

.contenu h2::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 1.1em;
  border-radius: 3px;
  background: #ff7427;
}

.contenu h3 {
  margin: clamp(22px, 3vw, 32px) 0 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(18px, 1.7vw, 22px);
  color: #00314c;
}

.contenu p {
  margin: 0 0 16px;
}

/* Tous les blocs dune section partagent les mêmes bords : texte, encarts,
   colonnes, tableaux et grilles sont alignés à gauche comme à droite.
   Pour revenir à une largeur de lecture plus courte, réactiver ici :
   :where(.contenu) :where(p, .liste) { max-width: 78ch; } */

.contenu__lead {
  font-size: clamp(17px, 1.7vw, 21px);
  color: rgba(20, 45, 65, .92);
}

/* Listes de prose : mise en forme sur demande, via la classe .liste.
   Elle n'est JAMAIS appliquée automatiquement à tous les <ul>/<ol> de .contenu,
   sinon elle écrase le max-width et le padding des grilles et composants
   (galeries, cartes, étapes...) qui vivent dans la même zone. */
.contenu .liste {
  margin: 0 0 18px;
  padding-left: 1.3em;
}

.contenu .liste > li {
  margin-bottom: 8px;
}

.contenu a {
  color: #c25a0e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contenu a:hover,
.contenu a:focus {
  color: #ff7427;
}











@media (max-width: 560px) {



}

/* ---------- Tableaux ---------- */
.tableau-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
  -webkit-overflow-scrolling: touch;
}

.tableau {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 16px;
}

.tableau caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 10px;
  font-size: 15px;
  color: #5a6b78;
  font-style: italic;
}

.tableau th,
.tableau td {
  padding: 12px 14px;
  border-bottom: 1px solid #e1e7ec;
  text-align: left;
  vertical-align: top;
}

.tableau thead th {
  background: #00314c;
  color: #fff;
  border-bottom: none;
}

.tableau tbody th {
  background: #f4f7f9;
  color: #00314c;
  font-weight: 600;
  white-space: nowrap;
}

.tableau tbody tr:nth-child(even) td {
  background: #fafbfc;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  /* min-width: 0 indispensable : sans lui, un élément de grille refuse de
     rétrécir sous la largeur de son contenu, et un tableau placé dans une
     réponse déborde au lieu de défiler. */
  min-width: 0;
  border: 1px solid #e1e7ec;
  border-radius: 8px;
  background: #fafbfc;
}

.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(16px, 1.5vw, 18px);
  color: #00314c;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  color: #ff7427;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details > div {
  min-width: 0;
  padding: 0 20px 18px;
}

.faq details > div p:last-child {
  margin-bottom: 0;
}

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band {
  /* Bleu plus clair que le pied de page (#00314c) pour que les deux blocs
     ne se confondent pas, et respiration avant le footer. */
  margin: clamp(36px, 5vw, 60px) auto clamp(52px, 6vw, 88px);
  max-width: 1100px;
  padding: clamp(28px, 3.4vw, 44px);
  background: linear-gradient(135deg, #0a6199, #08507f);
  border-radius: 12px;
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 38px rgba(0, 49, 76, .16);
}

.cta-band h2 {
  display: block;
  margin: 0 0 10px;
  color: #fff;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
}

.cta-band h2::before {
  content: none;
}

.cta-band p {
  margin: 0 auto 20px;
  max-width: 62ch;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .88);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-band a {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 17px;
  text-decoration: none;
}

.cta-band a.primaire {
  background: #ff7427;
  color: #fff;
}

.cta-band a.primaire:hover,
.cta-band a.primaire:focus {
  background: #e56413;
  color: #fff;
}

.cta-band a.secondaire {
  border: 2px solid rgba(255, 255, 255, .6);
  color: #fff;
}

.cta-band a.secondaire:hover,
.cta-band a.secondaire:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

/* ---------- Encart d'information ---------- */
.encart {
  margin: 0 0 20px;
  padding: 18px 22px;
  border-left: 5px solid #ff7427;
  background: #fff6ef;
  border-radius: 0 8px 8px 0;
}

.encart p:last-child {
  margin-bottom: 0;
}





@media (max-width: 800px) {
}

/* ============================================================
   FICHE TECHNIQUE (dalles neuves)
   ============================================================ */

.specs {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: #22303c;
}

.specs__titre {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: clamp(30px, 3.4vw, 44px) 0 14px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(21px, 2.1vw, 28px);
  color: #00314c;
}

.specs__titre::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 1em;
  border-radius: 2px;
  background: #ff7427;
}

.specs .tableau {
  min-width: 620px;
}

.specs .tableau tbody th {
  white-space: normal;
  min-width: 230px;
}

.specs__eq {
  display: block;
  font-size: 14px;
  color: #5a6b78;
}

.specs__ref {
  color: #ff7427;
  font-weight: 700;
}

.specs__note {
  margin: 14px 0 0;
  font-size: 15px;
  color: #5a6b78;
  font-style: italic;
}

/* Lecteurs d'écran uniquement */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RYTHME DES SECTIONS
   Fond blanc partout. La séparation se fait par la respiration
   verticale et par la barre orange qui ouvre chaque titre.
   ============================================================ */

.contenu > section {
  padding-block: clamp(32px, 4vw, 56px);
}

.contenu > section + section {
  margin-top: 0;
}

/* Les blocs de repères vivent hors de .contenu et portent leur propre bas */
.ac-reperes,
.bd-reperes,
.dn-reperes,
.do-reperes,
.dr-reperes,
.ps-reperes {
  padding-bottom: clamp(26px, 3.4vw, 42px);
}

/* ============================================================
   FILET DE SÉPARATION
   Un trait clair entre deux sections, ouvert par un segment
   orange aligné sur la barre des titres. Pas d'aplat de fond :
   la page reste blanche, seule la frontière est marquée.
   Le filet apparaît aussi entre un bloc de repères et la
   première section de contenu qui le suit.
   ============================================================ */

.contenu > section + section,
.ac-reperes + .contenu > section:first-child,
.bd-reperes + .contenu > section:first-child,
.dn-reperes + .contenu > section:first-child,
.do-reperes + .contenu > section:first-child,
.dr-reperes + .contenu > section:first-child,
.ps-reperes + .contenu > section:first-child,
.ct-canaux + .contenu > section:first-child {
  position: relative;
  border-top: 1px solid #dde5ea;
}

.contenu > section + section::before,
.ac-reperes + .contenu > section:first-child::before,
.bd-reperes + .contenu > section:first-child::before,
.dn-reperes + .contenu > section:first-child::before,
.do-reperes + .contenu > section:first-child::before,
.dr-reperes + .contenu > section:first-child::before,
.ps-reperes + .contenu > section:first-child::before,
.ct-canaux + .contenu > section:first-child::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 72px;
  height: 3px;
  background: #ff7427;
  border-radius: 2px;
}
