
  :root {
    --ground:   #FFFFFF;
    --ground-2: #F5F3F0;
    --ink:      #1A1A1A;
    --ink-soft: #5E5A55;
    --rule:     #E4E0DA;
    --accent:   #B0503C;

    --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
    --sans:  "Archivo", "Segoe UI", system-ui, sans-serif;

    --gut: clamp(10px, 1.4vw, 20px);
    --ease: cubic-bezier(.22,.7,.25,1);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  img { max-width: 100%; }

  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 56px); }

  .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;
  }

  /* hidden doit l'emporter sur les display: des blocs */
  [hidden] { display: none !important; }

  /* ---------- en-tete : le meme sur toutes les pages ---------- */

  .hdr {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule);
  }

  .hdr-in {
    max-width: 1240px; margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 56px);
    min-height: 68px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
  }

  .brand {
    display: flex; align-items: center; gap: 10px;
    font-family: "Fira Sans Compressed Logo", var(--sans); font-size: 24px; font-weight: 400;
    letter-spacing: .12em;
    color: var(--ink); text-decoration: none; white-space: nowrap;
  }
  .brand img { width: 34px; height: 34px; display: block; }

  .nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); }

  .nav > a, .dd > summary {
    font-size: 15px; font-weight: 500;
    color: var(--ink); text-decoration: none; cursor: pointer;
    padding: 6px 0; border-bottom: 2px solid transparent;
    transition: color .18s ease, border-color .18s ease;
  }
  .nav > a:hover, .dd > summary:hover, .nav > a:focus-visible { color: var(--accent); }

  .nav > a.nav-cta {
    padding: 9px 18px; border: 0; border-radius: 999px;
    background: var(--ink); color: #fff;
  }
  .nav > a.nav-cta:hover, .nav > a.nav-cta:focus-visible { background: var(--accent); color: #fff; }

  .dd { position: relative; }
  .dd > summary { list-style: none; display: flex; align-items: center; gap: 6px; }
  .dd > summary::-webkit-details-marker { display: none; }
  .dd > summary::after {
    content: ""; width: 7px; height: 7px; margin-top: -4px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); transition: transform .2s ease;
  }
  .dd[open] > summary::after { transform: rotate(225deg); margin-top: 3px; }

  .dd-list {
    position: absolute; top: calc(100% + 14px); left: -18px; min-width: 250px;
    background: #fff; border: 1px solid var(--rule); border-radius: 10px;
    box-shadow: 0 14px 40px rgba(0,0,0,.10);
    padding: 8px; display: grid;
  }
  .dd-list a {
    padding: 10px 12px; border-radius: 6px;
    font-size: 15px; color: var(--ink); text-decoration: none;
  }
  .dd-list a:hover, .dd-list a:focus-visible { background: var(--ground-2); color: var(--accent); }
  .dd-grp {
    padding: 10px 12px 4px; font-size: 11px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  }
  .dd-grp ~ .dd-grp { margin-top: 6px; border-top: 1px solid var(--rule); padding-top: 14px; }

  .langsel {
    appearance: none; -webkit-appearance: none;
    background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%235E5A55' stroke-width='1.4'/></svg>") no-repeat right 8px center;
    background-size: 9px 6px;
    border: 1px solid var(--rule); border-radius: 999px;
    padding: 7px 26px 7px 12px;
    font-family: var(--sans); font-size: 13px; color: var(--ink-soft); cursor: pointer;
  }
  .langsel:hover, .langsel:focus-visible { color: var(--ink); border-color: var(--ink-soft); }

  /* mobile : le menu se replie derriere un bouton */
  .navbtn { display: none; }
  @media (max-width: 900px) {
    .navbtn {
      display: flex; flex-direction: column; justify-content: center; gap: 6px;
      width: 44px; height: 44px; cursor: pointer; margin-right: -10px; padding: 10px;
    }
    .navbtn span, .navbtn::before, .navbtn::after {
      content: ""; display: block; height: 2px; background: var(--ink); border-radius: 2px;
    }
    .nav {
      display: none;
      position: absolute; top: 100%; left: 0; right: 0;
      background: #fff; border-bottom: 1px solid var(--rule);
      box-shadow: 0 14px 30px rgba(0,0,0,.08);
      flex-direction: column; align-items: stretch; gap: 0;
      padding: 8px clamp(18px, 4vw, 56px) 20px;
      max-height: calc(100dvh - 68px); overflow-y: auto;
    }
    .navt:checked ~ .nav { display: flex; }
    .nav > a, .dd > summary { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
    .nav > a.nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
    .dd-list { position: static; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
    .langsel { align-self: flex-start; margin-top: 16px; }
  }

  /* ---------- accueil ---------- */

  .hero {
    position: relative; overflow: hidden;
    height: min(86vh, 820px); min-height: 460px;
    background: #111; color: #fff;
  }

  .hero-slide { position: absolute; inset: 0; opacity: 0; animation: fondu 18s infinite; }
  .hero-slide:nth-child(1) { animation-delay: 0s; }
  .hero-slide:nth-child(2) { animation-delay: 6s; }
  .hero-slide:nth-child(3) { animation-delay: 12s; }
  .hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

  @keyframes fondu {
    0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 39% { opacity: 0; } 100% { opacity: 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-slide { animation: none !important; }
    .hero-slide:first-child { opacity: 1; }
  }

  .hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,0) 100%);
  }

  .hero-txt {
    position: relative; z-index: 1; height: 100%;
    max-width: 1240px; margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 56px) clamp(40px, 8vh, 80px);
    display: flex; flex-direction: column; justify-content: flex-end;
  }

  .hero h1 {
    margin: 0; max-width: 14ch;
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.02em;
    text-wrap: balance;
  }
  .hero p { margin: 18px 0 0; max-width: 42ch; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; }
  .hero .byline-h { margin-top: 10px; font-size: 14px; opacity: .8; }

  .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.5vh, 34px); }
  .btn {
    display: inline-block; padding: 14px 26px; border-radius: 999px;
    font-size: 15px; font-weight: 600; text-decoration: none;
    background: #fff; color: var(--ink); transition: background .2s ease, color .2s ease;
  }
  .btn:hover, .btn:focus-visible { background: var(--accent); color: #fff; }
  .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }
  .btn-dark { background: var(--ink); color: #fff; }

  .sec { padding: clamp(56px, 8vw, 110px) 0; }
  .sec-alt { background: var(--ground-2); }
  .sec-t {
    margin: 0 0 clamp(26px, 3.5vw, 44px);
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.015em;
  }
  .sec-sub { margin: -24px 0 clamp(28px, 4vw, 46px); color: var(--ink-soft); max-width: 60ch; }

  .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
  @media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }

  .card { display: block; color: inherit; text-decoration: none; }
  .card-img {
    aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: var(--rule);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .card-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s var(--ease);
  }
  .card:hover .card-img img, .card:focus-visible .card-img img { transform: scale(1.04); }
  .card-k {
    display: block; margin: 16px 0 4px;
    font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  }
  .card-t { display: block; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.15; }
  .card:hover .card-t { color: var(--accent); }

  .about { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
  @media (min-width: 860px) { .about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
  .about p { margin: 0 0 16px; font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 58ch; }
  .about-img { border-radius: 10px; overflow: hidden; box-shadow: 0 12px 34px rgba(0,0,0,.12); }
  .about-img img { width: 100%; height: auto; display: block; }
  .lien {
    display: inline-block; margin-top: 8px;
    font-weight: 600; color: var(--ink); text-decoration: none;
    border-bottom: 2px solid var(--accent); padding-bottom: 2px;
  }
  .lien:hover { color: var(--accent); }

  /* la selection : une mosaique, chaque photo s'ouvre dans la visionneuse */
  .grid.mosaic { display: block; columns: 3 280px; column-gap: var(--gut); }
  .mosaic figure { break-inside: avoid; margin: 0 0 var(--gut); display: block; }
  .mosaic figure img { width: 100%; max-height: none; border-radius: 4px; }

  .cta { text-align: center; }
  .cta .sec-t { margin-bottom: 12px; }
  .cta p { margin: 0 auto; max-width: 52ch; color: var(--ink-soft); }
  .cta .btns { justify-content: center; }

  /* pages interieures : le titre respire sous l'en-tete */
  .page { scroll-margin-top: 80px; }

  .theme-head {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px;
    padding: clamp(38px, 6vw, 78px) 0 clamp(20px, 3vw, 32px);
  }

  @media (min-width: 900px) {
    .theme-head {
      grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
      gap: clamp(24px, 3vw, 48px); align-items: baseline;
    }
  }

  .kicker {
    margin: 0 0 8px;
    font-size: 9.5px; font-weight: 600; letter-spacing: .22em;
    text-transform: uppercase; color: var(--accent);
  }

  h2 {
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(34px, 5.6vw, 66px);
    line-height: 1; letter-spacing: -.02em; margin: 0;
    text-wrap: balance;
  }

  .theme-note { font-size: 15px; color: var(--ink-soft); max-width: 50ch; margin: 0; }

  /* liens vers le commanditaire : discret, sous le titre de la rubrique */
  .partenaire {
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--ink-soft);
    margin: -14px 0 clamp(22px, 3vw, 34px);
  }
  .partenaire a { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
  .partenaire a:hover { color: var(--accent); }

  /* la note du groupe : ce qui vaut pour toutes les series "sur commande"
     ou pour tout le travail personnel, plutot que repete section par section */
  .intro {
    max-width: 62ch;
    margin: 0 0 clamp(26px, 3.5vw, 42px);
    padding: 2px 0 2px clamp(16px, 2vw, 24px);
    border-left: 2px solid var(--accent);
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.5;
    color: var(--ink);
  }

  .subnav {
    display: flex; flex-wrap: wrap; gap: 8px 10px;
    padding-bottom: clamp(24px, 3.5vw, 44px);
    border-bottom: 1px solid var(--rule);
  }

  /* ---------- page Apprendre ---------- */

  .offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: clamp(22px, 3vw, 42px);
    padding-top: clamp(10px, 2vw, 20px);
  }

  .offer {
    border-top: 1px solid var(--rule);
    padding-top: clamp(18px, 2.4vw, 26px);
  }

  .offer-price {
    margin: 0 0 10px;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--accent);
  }

  .offer h3 {
    margin: 0 0 6px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.15;
    color: var(--ink);
  }

  .offer-meta {
    margin: 0 0 14px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .offer-desc {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-soft);
  }

  /* le pack : la seule offre qui detaille son contenu */
  .offer-pack { border-top-color: var(--accent); }

  .offer-liste {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: jour;
  }

  .offer-liste li {
    counter-increment: jour;
    position: relative;
    padding: 7px 0 7px 30px;
    border-bottom: 1px solid var(--rule);
    font-family: var(--serif);
    font-weight: 300;
    font-size: 15.5px;
    line-height: 1.3;
    color: var(--ink);
  }

  .offer-liste li::before {
    content: counter(jour, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 10px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
  }

  /* les cours thematiques : une liste numerotee, pas des cartes */
  .courses { padding-top: clamp(6px, 1.5vw, 14px); }

  .course {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 0 clamp(14px, 2vw, 26px);
    align-items: baseline;
    padding: clamp(18px, 2.4vw, 28px) 0;
    border-bottom: 1px solid var(--rule);
  }

  .course:first-child { border-top: 1px solid var(--rule); }

  .course-num {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
  }

  .course h3 {
    margin: 0 0 5px;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.1;
    letter-spacing: -.01em;
    color: var(--ink);
  }

  .course-desc {
    margin: 0;
    max-width: 56ch;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-soft);
  }

  .course-price {
    margin: 0;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(20px, 2.2vw, 26px);
    color: var(--ink-soft);
    white-space: nowrap;
  }

  @media (max-width: 620px) {
    .course { grid-template-columns: 34px minmax(0, 1fr); }
    .course-price { grid-column: 2; margin-top: 10px; }
  }

  .place {
    display: flex; align-items: baseline; gap: 14px;
    padding: clamp(34px, 5vw, 64px) 0 clamp(14px, 2vw, 22px);
    scroll-margin-top: 72px;
  }

  .place h3 {
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(21px, 2.4vw, 30px); line-height: 1.1; margin: 0;
  }

  .place .count {
    font-size: 10.5px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--ink-soft);
    flex: 0 0 auto; order: 3;
  }

  .place::after {
    content: ""; flex: 1; height: 1px; background: var(--rule);
    transform: translateY(-7px); order: 2;
  }

  .grid {
    display: grid; grid-template-columns: repeat(12, 1fr);
    gap: var(--gut); align-items: start;
  }

  /* Une photo ne doit jamais depasser la hauteur de l'ecran : les portraits
     sont brides en hauteur et se centrent dans leur colonne. */
  figure { margin: 0; display: flex; justify-content: center; }

  figure img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 68vh;
    background: var(--ground-2);
  }

  @media (max-width: 700px) {
    figure img { max-height: 74vh; }
  }

  /* Vignette video : meme place qu'une photo, le clic ouvre YouTube. */
  figure.video a { display: block; width: 100%; color: inherit; text-decoration: none; text-align: center; }
  .video-img { display: block; position: relative; }
  .video-img img { margin: 0 auto; }
  .video-play {
    position: absolute; top: 50%; left: 50%; width: 76px; height: 76px;
    transform: translate(-50%, -50%); border-radius: 50%;
    background: rgba(0, 0, 0, .65); border: 2px solid #fff; transition: background .2s;
  }
  .video-play::after {
    content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
    border-style: solid; border-width: 14px 0 14px 23px; border-color: transparent transparent transparent #fff;
  }
  figure.video a:hover .video-play { background: rgba(0, 0, 0, .9); }
  .video-lien { display: block; margin-top: 10px; font-size: .9rem; }
  figure.video a:hover .video-lien { text-decoration: underline; }

  .c12 { grid-column: span 12; }
  .c8  { grid-column: 3 / span 8; }   /* la grande respiration, centree */
  .c7  { grid-column: span 7; }
  .c6  { grid-column: span 6; }
  .c5  { grid-column: span 5; }
  .c4  { grid-column: span 4; }

  @media (max-width: 900px) {
    .c8 { grid-column: span 12; }
  }

  @media (max-width: 700px) {
    .c12, .c7, .c6, .c5 { grid-column: span 12; }
    .c4 { grid-column: span 6; }
    .grid { gap: clamp(8px, 2.5vw, 14px); }
  }

  /* la page Sur devis : pas de galerie, juste le propos et le contact */
  .devis-page { max-width: 60ch; padding-top: clamp(6px, 1.5vw, 14px); }

  .devis-lead {
    margin: 0;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(19px, 2.3vw, 26px);
    line-height: 1.45;
    color: var(--ink);
  }

  .devis-contact-grand {
    margin-top: clamp(28px, 4vw, 46px);
    padding-top: clamp(20px, 2.6vw, 28px);
    border-top: 1px solid var(--rule);
    gap: 14px;
  }

  .devis-contact-grand a { font-size: clamp(19px, 2.4vw, 27px); }

  .devis-legal {
    margin: clamp(30px, 4vw, 48px) 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--ink-soft);
  }

  .devis-legal strong { color: var(--ink); font-weight: 600; }

  /* appel a devis, en bas des pages "Sur commande" */
  .devis {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(20px, 3vw, 34px);
    margin-top: clamp(44px, 6vw, 82px);
    padding-top: clamp(24px, 3vw, 36px);
    border-top: 2px solid var(--accent);
  }

  @media (min-width: 860px) {
    .devis { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
  }

  .devis-kicker {
    margin: 0 0 8px;
    font-size: 10px; font-weight: 600; letter-spacing: .22em;
    text-transform: uppercase; color: var(--accent);
  }

  .devis h3 {
    margin: 0 0 10px;
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(24px, 3.2vw, 36px);
    line-height: 1.08; letter-spacing: -.015em;
    color: var(--ink); text-wrap: balance;
  }

  .devis-desc {
    margin: 0; max-width: 54ch;
    font-size: 14.5px; line-height: 1.6; color: var(--ink-soft);
  }

  .devis-contact {
    display: flex; flex-direction: column; gap: 10px;
    align-items: flex-start;
  }

  .devis-contact a {
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--rule); padding-bottom: 3px;
    transition: color .2s ease, border-color .2s ease;
  }

  .devis-contact a:hover,
  .devis-contact a:focus-visible { color: var(--accent); border-color: var(--accent); }

  /* ---------- page Qui je suis ---------- */

  .apropos { max-width: 62ch; padding-top: clamp(6px, 1.5vw, 14px); }

  .ap-amorce {
    margin: 0 0 clamp(18px, 2.4vw, 26px);
    font-size: 10.5px; font-weight: 600; letter-spacing: .2em;
    text-transform: uppercase; color: var(--accent);
  }

  .apropos-p {
    margin: 0 0 clamp(16px, 2vw, 22px);
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(18px, 2.1vw, 23px);
    line-height: 1.55; color: var(--ink);
  }

  .ap-volet {
    padding: clamp(20px, 2.6vw, 28px) 0;
    border-bottom: 1px solid var(--rule);
  }

  .ap-volet:first-of-type {
    margin-top: clamp(18px, 2.4vw, 26px);
    border-top: 1px solid var(--rule);
  }

  .ap-volet h3 {
    margin: 0 0 8px;
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(20px, 2.3vw, 26px);
    line-height: 1.15; color: var(--ink);
  }

  .ap-volet p {
    margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft);
  }

  .ap-volet strong { color: var(--ink); font-weight: 600; }

  .ap-photo {
    flex-direction: column; align-items: flex-start; gap: 10px;
    margin: 0 0 clamp(24px, 3.2vw, 36px);
  }

  /* les deux photos se chevauchent : l'autoportrait a gauche, le paddock
     decale plus bas a droite et pose dessus, detoure par un liseré du fond */
  .ap-duo {
    display: grid; grid-template-columns: repeat(12, 1fr);
    width: min(100%, 620px);
  }

  .ap-duo img {
    grid-row: 1; width: 100%; height: auto; max-height: none;
    background: var(--ground-2);
  }

  .ap-duo-a { grid-column: 1 / span 7; }

  .ap-solo { grid-column: 1 / -1; }

  .ap-duo-b {
    grid-column: 6 / span 7; align-self: start;
    margin-top: 34%;
    outline: clamp(5px, 1vw, 9px) solid var(--ground);
    position: relative; z-index: 1;
  }

  .ap-photo figcaption {
    font-size: 11px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--ink-soft);
  }

  .ap-photo figcaption a { color: inherit; }

  /* ---------- page Conditions ---------- */

  .conditions { max-width: 68ch; padding-top: clamp(6px, 1.5vw, 14px); }

  .conditions section {
    padding: clamp(20px, 2.6vw, 28px) 0;
    border-bottom: 1px solid var(--rule);
  }

  .conditions section:first-child { border-top: 1px solid var(--rule); }

  .conditions h3 {
    margin: 0 0 10px;
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(20px, 2.3vw, 26px);
    line-height: 1.15; color: var(--ink);
  }

  .conditions p {
    margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft);
  }

  .conditions strong { color: var(--ink); font-weight: 600; }

  .cd-todo {
    color: var(--accent) !important;
    font-size: 12px !important;
    font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  }

  .back {
    display: inline-block; margin: clamp(34px, 5vw, 64px) 0 0;
    font-size: 11.5px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ink-soft);
    text-decoration: none; border-bottom: 1px solid var(--rule);
    padding-bottom: 3px; transition: color .2s ease, border-color .2s ease;
  }

  .back:hover, .back:focus-visible { color: var(--accent); border-color: var(--accent); }

  footer {
    border-top: 1px solid var(--rule);
    margin-top: clamp(56px, 8vw, 110px);
    padding: clamp(38px, 5vw, 66px) 0 clamp(48px, 7vw, 84px);
  }

  .foot-logo {
    display: block; height: auto;
    width: clamp(260px, 32vw, 400px);
    margin: 0 auto clamp(34px, 5vw, 60px);
  }

  .contact {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: clamp(24px, 4vw, 48px);
  }

  .contact h4 {
    font-size: 10.5px; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--ink-soft); margin: 0 0 11px;
  }

  .contact p {
    margin: 0; font-family: var(--serif);
    font-size: clamp(17px, 2vw, 22px); font-weight: 300; line-height: 1.4;
  }

  .contact a {
    color: inherit; text-decoration: none;
    border-bottom: 1px solid var(--rule); padding-bottom: 2px;
    transition: border-color .18s ease, color .18s ease;
  }

  .contact a:hover, .contact a:focus-visible { color: var(--accent); border-color: var(--accent); }

  .todo { color: var(--accent); font-family: var(--sans); font-size: 13.5px; font-weight: 500; }

  .legal {
    max-width: 68ch;
    margin: clamp(30px, 4vw, 52px) 0 0;
    padding-top: clamp(18px, 2.4vw, 26px);
    border-top: 1px solid var(--rule);
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--ink-soft);
  }

  .legal strong { color: var(--ink); font-weight: 600; }

  .lien-cond {
    display: inline-block;
    margin-right: 14px;
    padding: 5px 11px;
    border: 1px solid var(--rule);
    border-radius: 2px;
    font-family: var(--sans);
    font-size: 10.5px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink); text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
    vertical-align: 2px;
  }

  .lien-cond:hover, .lien-cond:focus-visible { color: var(--accent); border-color: var(--accent); }

  a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  }


  /* visionneuse : chaque photo d'une serie s'ouvre en plein ecran */
  .grid figure img { cursor: zoom-in; }
  .grid figure img:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .pswp { --pswp-bg: #07080a; }

  /* images responsives : <picture> ne doit pas changer la mise en page */
  figure picture { display: contents; }

  /* ---------- formulaire de contact ---------- */

  .devis-form {
    max-width: 760px;
    margin-top: clamp(44px, 6vw, 82px);
    padding-top: clamp(24px, 3vw, 36px);
    border-top: 2px solid var(--accent);
  }
  .devis-form h3 {
    margin: 0 0 10px;
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(24px, 3.2vw, 36px); line-height: 1.08; letter-spacing: -.015em;
    color: var(--ink); text-wrap: balance;
  }
  .form { display: grid; gap: 16px; margin-top: clamp(20px, 2.6vw, 28px); }
  .f-row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 640px) { .f-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
  .form label { display: grid; gap: 6px; }
  .form label > span {
    font-size: 10.5px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--ink-soft);
  }
  .form input, .form select, .form textarea {
    width: 100%; box-sizing: border-box;
    font: inherit; font-size: 16px; color: var(--ink);
    background: var(--ground-2); border: 1px solid var(--rule); border-radius: 0;
    padding: 11px 12px; color-scheme: light;
  }
  .form textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
  .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
  .form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .f-send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
  .form button {
    font: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ground); background: var(--ink); border: 0; padding: 14px 26px; cursor: pointer;
    transition: background .2s ease;
  }
  .form button:hover, .form button:focus-visible { background: var(--accent); }
  .form button:disabled { opacity: .5; cursor: wait; }
  .f-status { margin: 0; font-size: 14px; color: var(--ink-soft); }
  .f-status.is-ok { color: var(--ink); }
  .f-status.is-err { color: var(--accent); }

  .cta + footer { margin-top: 0; }

  .subnav a {
    font-size: 14px; font-weight: 500;
    color: var(--ink); text-decoration: none;
    padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
  }
  .subnav a:hover, .subnav a:focus-visible { color: #fff; background: var(--ink); border-color: var(--ink); }
