:root {
      --encre: #37342F;
      --gris: #6B6761;
      --papier: #FFFFFF;
      --papier-gris: #F4F1EB;
      --accent: #9A6433;
      --filet: #E2DCD2;
    }

    *, *::before, *::after { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      font-size: 17px;
      line-height: 1.85;
      color: var(--gris);
      background: var(--papier);
      -webkit-text-size-adjust: 100%;
    }

    h1, h2, .marque-nom, .atout h3, .bouton-descendre {
      font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    }

    p { margin: 0 0 1.25em; }
    p:last-child { margin-bottom: 0; }

    a { color: var(--accent); }
    a:hover { color: var(--encre); }

    /* ---- Le faîtage : la photo ouvre la page, le bandeau vient dessous ---- */
    .faitage {
      position: relative;
      min-height: clamp(420px, 74vh, 660px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 5rem 1rem;
      text-align: center;
      background: #2A1D12 url("../medias/chalet.jpg") center 60% / cover no-repeat;
    }

    .faitage::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(rgba(22, 15, 9, 0.52), rgba(22, 15, 9, 0.72));
    }

    .faitage-texte {
      position: relative;
      z-index: 1;
      max-width: 820px;
      color: #FBF8F3;
    }

    .faitage h1 {
      margin: 0 0 1rem;
      font-size: clamp(1.55rem, 4.2vw, 2.65rem);
      font-weight: 700;
      line-height: 1.28;
      text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
    }

    .surtitre {
      display: block;
      margin-bottom: 1.4rem;
      font-size: 0.72rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: #E6CBA8;
    }

    .faitage p {
      font-size: 1.02rem;
      line-height: 1.7;
      color: #EFE7DC;
      text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    }

    .bouton-descendre {
      display: inline-block;
      margin-top: 2rem;
      padding: 0.85rem 2.3rem;
      border: 2px solid rgba(251, 248, 243, 0.8);
      border-radius: 40px;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      text-decoration: none;
      color: #FBF8F3;
      transition: background 0.25s, color 0.25s;
    }

    .bouton-descendre:hover {
      background: #FBF8F3;
      color: var(--encre);
    }

    /* ---- Le lambris : bandeau de marque opaque, posé sous la photo ---- */
    .lambris {
      background: var(--papier);
      border-bottom: 1px solid var(--filet);
      box-shadow: 0 2px 10px rgba(55, 52, 47, 0.06);
    }

    .lambris-rang {
      max-width: 1080px;
      margin: 0 auto;
      padding: 0.9rem 1.2rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.6rem 2rem;
    }

    .marque {
      display: flex;
      align-items: center;
      gap: 0.7rem;
    }

    .marque img { display: block; width: 38px; height: 38px; }

    .marque-nom {
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--encre);
    }

    .cheminement {
      display: flex;
      flex-wrap: wrap;
      gap: 0.2rem 1.5rem;
    }

    .cheminement a {
      padding: 0.35rem 0;
      font-size: 0.74rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-decoration: none;
      color: var(--gris);
      border-bottom: 2px solid transparent;
    }

    .cheminement a:hover,
    .cheminement a.courant {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    /* ---- Bandes pleine largeur, blanc et gris très clair en alternance ---- */
    .versant { padding: 3.6rem 1.2rem; }
    .versant.clair { background: var(--papier-gris); }

    .cadre {
      max-width: 1080px;
      margin: 0 auto;
    }

    /* Colonne de lecture : calée à gauche du cadre, jamais centrée toute seule */
    .colonne { max-width: 790px; }

    .amorce {
      font-size: 1.14rem;
      line-height: 1.85;
      color: var(--encre);
    }

    h2 {
      margin: 0 0 1.6rem;
      font-size: 1.12rem;
      font-weight: 700;
      line-height: 1.5;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--encre);
    }

    h2::after {
      content: "";
      display: block;
      width: 52px;
      height: 3px;
      margin-top: 1rem;
      background: var(--accent);
    }

    /* ---- Trois colonnes d'arguments ---- */
    .trois-atouts {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.4rem;
      margin-top: 2.4rem;
    }

    .atout {
      padding: 2rem 1.5rem;
      text-align: center;
      background: var(--papier);
      border-radius: 10px;
      box-shadow: 0 6px 22px rgba(55, 52, 47, 0.1);
    }

    .versant:not(.clair) .atout { background: var(--papier-gris); }

    .pastille {
      position: relative;
      width: 62px;
      height: 62px;
      margin: 0 auto 1.2rem;
      border-radius: 50%;
      background: var(--accent);
    }

    /* Trois pictogrammes dessinés en CSS : ondes, flamme, rameau */
    .pastille::before,
    .pastille::after {
      content: "";
      position: absolute;
      border: 2px solid #FBF8F3;
    }

    .p-ondes::before {
      top: 16px; left: 16px; width: 30px; height: 30px;
      border-radius: 50%;
      border-color: #FBF8F3 transparent #FBF8F3 transparent;
    }

    .p-ondes::after {
      top: 25px; left: 25px; width: 12px; height: 12px;
      border-radius: 50%;
      border-color: #FBF8F3;
    }

    .p-feu::before {
      top: 15px; left: 21px; width: 20px; height: 20px;
      border-radius: 50% 0 50% 50%;
      transform: rotate(45deg);
    }

    .p-feu::after {
      top: 33px; left: 26px; width: 10px; height: 10px;
      border-radius: 50%;
      background: #FBF8F3;
      border: 0;
    }

    .p-rameau::before {
      top: 14px; left: 29px; width: 0; height: 34px;
      border-width: 0 0 0 2px;
      border-radius: 0;
    }

    .p-rameau::after {
      top: 19px; left: 18px; width: 24px; height: 14px;
      border-radius: 0 0 50% 50%;
      border-width: 0 2px 2px 2px;
    }

    .atout h3 {
      margin: 0 0 0.7rem;
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.17em;
      text-transform: uppercase;
      color: var(--encre);
    }

    .atout p { font-size: 0.93rem; line-height: 1.75; }

    /* ---- Texte et photo côte à côte ---- */
    .duo {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 2.4rem;
      align-items: center;
    }

    .duo.inverse .vue { order: -1; }

    .vue img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 8px 26px rgba(55, 52, 47, 0.16);
    }

    /* ---- La lucarne : fenêtre vidéo, ratio 16/9 ---- */
    .lucarne-bloc { margin: 0 auto; }

    .lucarne {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      border-radius: 10px;
      overflow: hidden;
      background: var(--papier-gris);
      box-shadow: 0 8px 26px rgba(55, 52, 47, 0.16);
    }

    .lucarne iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }

    .lucarne-legende {
      margin-top: 1rem;
      font-size: 0.86rem;
      font-style: italic;
      text-align: center;
    }

    /* ---- Apparition en fondu ---- */
    html.js .fondu {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .fondu.vu { opacity: 1; transform: none; }

    /* ---- Pied de page ---- */
    .pied {
      padding: 2.6rem 1.2rem;
      text-align: center;
      font-size: 0.78rem;
      letter-spacing: 0.08em;
      background: var(--encre);
      color: #CFC8BE;
    }

    /* ---- Flèche de retour en haut ---- */
    html.js .regagner {
      position: fixed;
      right: 1.1rem;
      bottom: 1.1rem;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 4px 14px rgba(55, 52, 47, 0.32);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
      z-index: 20;
    }

    .regagner.vu { opacity: 0.92; visibility: visible; }

    .regagner::before {
      content: "";
      position: absolute;
      top: 18px;
      left: 15px;
      width: 13px;
      height: 13px;
      border-top: 2px solid #FBF8F3;
      border-right: 2px solid #FBF8F3;
      transform: rotate(-45deg);
    }

    @media (max-width: 860px) {
      .trois-atouts { grid-template-columns: 1fr; gap: 1.1rem; }
      .duo { grid-template-columns: 1fr; gap: 1.6rem; }
      .duo.inverse .vue { order: 0; }
    }

    @media (max-width: 620px) {
      body { font-size: 16px; }
      .faitage { min-height: clamp(380px, 68vh, 560px); padding: 4rem 1.1rem; }
      .lambris-rang { flex-direction: column; align-items: flex-start; }
      .cheminement { gap: 0.1rem 1.1rem; }
      .versant { padding: 2.6rem 1.1rem; }
      .atout { padding: 1.6rem 1.3rem; }
    }

    @media (prefers-reduced-motion: reduce) {
      .fondu { opacity: 1; transform: none; transition: none; }
    }
