/* Page C2E dans la nouvelle direction (12 novembre 2026) : mêmes contenus, mêmes couleurs des C2E (vert, bleu, bleu foncé),
   mais avec de vrais contrastes : le titre sur un panneau au bleu des C2E dès l'ouverture, et la règle « avant le devis »
   sur une bande foncée, avec l'ordre à respecter à sa droite. */
html body.page-cee :is(h1, h2) { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
html body.page-cee .ce-how h3, html body.page-cee .ce-steps b, html body.page-cee .cf-ex b, html body.page-cee .cf-ex h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; letter-spacing: -.005em; }

/* Ouverture : le logo des C2E en vedette sur le blanc, à gauche ; à droite, le titre sur un panneau bleu qui file jusqu'au bord de l'écran */
html body.page-cee .ce-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; align-items: stretch; padding-top: 0; min-height: 600px; }
html body.page-cee .ce-hero::before { display: none; }
html body.page-cee .ce-logo-hero { display: grid; align-content: center; justify-items: start; gap: 24px; order: -1; padding: 64px 72px 64px 0; }
html body.page-cee .ce-logo-hero img { width: 100%; max-width: 460px; height: auto; }
html body.page-cee .ce-logo-hero .hand { justify-self: end; margin-right: 8%; }
html body.page-cee .ce-hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; margin-right: calc(var(--edge) * -1); padding: 96px var(--edge) 96px 80px; background: linear-gradient(110deg, #00557d 0%, #006f9e 58%, #0083b3 100%); color: #fff; }
html body.page-cee .ce-hero h1 { margin-top: 0; max-width: 16ch; font-size: 58px; line-height: 1.08; color: #fff; }
html body.page-cee .ce-hero-copy > p:not(.pg-kicker) { max-width: 46ch; font-size: 19px; color: rgba(255, 255, 255, .94); }
html body.page-cee .ce-stamp { display: none; }
html body.page-cee .ce-hero .btn-dark { background: #fff; border-color: #fff; color: #00557d; }
html body.page-cee .ce-hero .btn-dark:hover { background: var(--cee-vert); border-color: var(--cee-vert); color: #12303c; }
html body.page-cee .ce-hero .btn-line { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
html body.page-cee .ce-hero .btn-line:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
html body.page-cee .ce-hero .btn:focus-visible { outline: 3px solid var(--cee-vert); outline-offset: 3px; }

/* La règle : bande au bleu foncé des C2E ; à droite, l'ordre à respecter, l'accord en vert */
html body.page-cee .ce-rule-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 88px; align-items: center; padding: 80px 72px; background: #00557d; box-shadow: none; }
html body.page-cee .ce-rule h2 { margin-top: 0; max-width: 18ch; font-size: 44px; line-height: 1.12; color: #fff; }
html body.page-cee .ce-rule-txt > p { margin-top: 28px; max-width: 52ch; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .94); }
html body.page-cee .ce-ordre { position: relative; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: ordre; }
html body.page-cee .ce-ordre li { position: relative; counter-increment: ordre; padding: 16px 20px 16px 68px; border: 1px solid rgba(255, 255, 255, .34); color: #fff; }
html body.page-cee .ce-ordre li::before { content: counter(ordre); position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 32px; font: 400 28px/1 'Playfair Display', Georgia, serif; color: rgba(255, 255, 255, .86); }
html body.page-cee .ce-ordre b { display: block; font: 500 18px/1.3 var(--sans); }
html body.page-cee .ce-ordre span { display: block; margin-top: 2px; font-size: 15.5px; line-height: 1.4; color: rgba(255, 255, 255, .88); }
html body.page-cee .ce-ordre li.is-cle { border-color: var(--cee-vert); background: var(--cee-vert); color: #12303c; }
html body.page-cee .ce-ordre li.is-cle::before, html body.page-cee .ce-ordre li.is-cle span { color: #12303c; }
html body.page-cee .ce-ordre li.is-cle b { font-weight: 600; }
@media (max-width: 900px) {
  html body.page-cee .ce-hero { grid-template-columns: 1fr; min-height: 0; }
  html body.page-cee .ce-logo-hero { padding: 40px 0 32px; }
  html body.page-cee .ce-logo-hero img { max-width: 280px; }
  html body.page-cee .ce-hero-copy { margin-inline: calc(var(--edge) * -1); padding: 48px var(--edge); }
  html body.page-cee .ce-hero h1 { font-size: 36px; }
  html body.page-cee .ce-rule-in { grid-template-columns: 1fr; row-gap: 40px; padding: 48px var(--edge); }
  html body.page-cee .ce-rule h2 { font-size: 30px; }
}
