/* Art, Nature & Santé — feuille de style
   Esprit : sobre, élégant, naturel et chaleureux. Les couleurs viennent du logo
   (terre du cheval, sarcelle et vert du profil), utilisées avec retenue sur un fond « papier ».
   Texte confortable par défaut (18 à 20 px), pensé d'abord pour le téléphone. */

/* ---------- Polices (hébergées sur le site, aucun appel à Google) ---------- */
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/nunito-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/nunito-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/cormorant-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/cormorant-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/cormorant-italique-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/cormorant-italique-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Jetons ---------- */
:root {
  --papier: #f7f2ea;
  --papier-2: #efe6d8;
  --lin: #fcf9f4;
  --ligne: #e3d7c5;
  --encre: #22332e;
  --encre-2: #4f5f59;
  --terre: #a8461a;
  --terre-fonce: #8a3612;
  --terre-pale: #f3e1d3;
  --sarcelle: #0b6f6a;
  --sarcelle-fonce: #0a4f4b;
  --sarcelle-pale: #e2efeb;
  --mousse: #5f8b5c;
  --feuille: #8cc63f;
  --rayon: 20px;
  --ombre: 0 18px 40px -24px rgba(34, 51, 46, .35);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --enveloppe: 1180px;
  --gouttiere: clamp(20px, 5vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(18px, 17px + .3vw, 20px); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.7; color: var(--encre); background: var(--papier); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sarcelle); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--terre); }
p { margin: 0 0 1.1em; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .45em; color: var(--encre); }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
h3 { font-family: var(--sans); font-size: 1.12rem; font-weight: 800; line-height: 1.35; margin: 0 0 .4em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--sarcelle); }
:focus-visible { outline: 3px solid var(--sarcelle); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 10px; }
.evitement:focus { top: 12px; }
.enveloppe { width: min(var(--enveloppe), 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.etroit { width: min(760px, 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-claire { background: var(--lin); }
.section-sable { background: var(--papier-2); }
.surtitre { display: block; font-size: max(.8rem, 15px); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--terre); margin-bottom: 1rem; }
.chapo { font-size: 1.18rem; line-height: 1.6; color: var(--encre-2); max-width: 40em; }
.centre { text-align: center; }
.centre .chapo { margin-inline: auto; }
.entete-section { margin-bottom: clamp(32px, 5vw, 56px); }
.pot { position: absolute; left: -9999px; }

/* Petit séparateur feuille, unique ornement */
.feuille { display: block; width: 44px; height: 14px; margin: 0 0 1.2rem; background: radial-gradient(ellipse at center, var(--mousse) 0 45%, transparent 47%) left/14px 14px no-repeat, linear-gradient(var(--ligne), var(--ligne)) right center/26px 1px no-repeat; }
.centre .feuille { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: .7em 1.5em; border-radius: 999px; border: 0; font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .2s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-terre { background: var(--terre); color: #fff; }
.btn-terre:hover { background: var(--terre-fonce); color: #fff; }
.btn-sarcelle { background: var(--sarcelle); color: #fff; }
.btn-sarcelle:hover { background: var(--sarcelle-fonce); color: #fff; }
.btn-contour { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre-2); }
.btn-contour:hover { color: var(--sarcelle); box-shadow: inset 0 0 0 1.5px var(--sarcelle); }
.btn-clair { background: var(--lin); color: var(--encre); }
.btn-clair:hover { background: #fff; color: var(--encre); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.lien-fleche { font-weight: 800; text-decoration: none; color: var(--terre); }
.lien-fleche::after { content: " →"; transition: margin .2s; }
.lien-fleche:hover::after { margin-left: .25em; }

/* ---------- En-tête et menu ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(247, 242, 234, .94); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--ligne); }
.entete .enveloppe { width: min(1440px, 100% - 2 * var(--gouttiere)); }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); flex: none; }
.marque img { width: 52px; height: 52px; mix-blend-mode: multiply; }
.marque b { display: block; font: 600 1.45rem/1.05 var(--serif); }
.marque small { display: block; font-size: .78rem; color: var(--encre-2); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 14px; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 9px; border-radius: 10px; text-decoration: none; color: var(--encre); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.nav ul a:hover { color: var(--terre); }
.nav ul a[aria-current="page"] { color: var(--terre); box-shadow: inset 0 -2px 0 var(--terre); border-radius: 0; }
.nav-rdv { min-height: 48px; font-size: .92rem; white-space: nowrap; }
.burger { display: none; width: 52px; height: 52px; border-radius: 14px; border: 1.5px solid var(--ligne); background: var(--lin); cursor: pointer; position: relative; }
.burger span:first-child, .burger span:first-child::before, .burger span:first-child::after { position: absolute; left: 14px; width: 22px; height: 2px; background: var(--encre); border-radius: 2px; content: ""; transition: transform .25s, opacity .25s; }
.burger span:first-child { top: 25px; }
.burger span:first-child::before { left: 0; top: -7px; }
.burger span:first-child::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span:first-child { background: transparent; }
.burger[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Photos (et emplacements en attente des photos d'Oriane) ---------- */
.photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--rayon); aspect-ratio: 4 / 3; background: var(--papier-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.arche { border-radius: 999px 999px var(--rayon) var(--rayon); aspect-ratio: 4 / 5; }
.photo.portrait { aspect-ratio: 4 / 5; }
.photo.large { aspect-ratio: 16 / 9; }
.photo-attente {
  background:
    radial-gradient(120% 90% at 15% 110%, rgba(95, 139, 92, .55), transparent 60%),
    radial-gradient(90% 70% at 90% 0%, rgba(168, 70, 26, .22), transparent 60%),
    radial-gradient(80% 80% at 70% 70%, rgba(11, 111, 106, .25), transparent 65%),
    linear-gradient(160deg, #efe4d2, #e6dcc8);
}
.photo-attente::after { content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .35 0 0 0 0 .3 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.photo-attente figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; font: italic 500 1.05rem var(--serif); color: rgba(34, 51, 46, .75); background: rgba(252, 249, 244, .7); padding: 3px 12px; border-radius: 999px; }

/* ---------- Accueil : héros ---------- */
.heros { padding-block: clamp(32px, 6vw, 80px) clamp(56px, 8vw, 110px); }
.heros-grille { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.heros h1 { margin-bottom: .35em; }
.heros .chapo { font-size: 1.22rem; }
.heros-lieux { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 1.6rem; font-size: .95rem; color: var(--encre-2); padding: 0; list-style: none; }
.heros-lieux li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mousse); margin-right: 8px; vertical-align: 2px; }
.heros-visuel { position: relative; }
.heros-visuel .logo-sceau { position: absolute; left: -28px; bottom: 28px; width: 112px; height: 112px; border-radius: 50%; background: var(--lin); box-shadow: var(--ombre); padding: 10px; }
.heros-visuel .logo-sceau img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; mix-blend-mode: multiply; }

/* ---------- Deux portes : consulter / participer ---------- */
.portes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.porte { display: flex; flex-direction: column; background: var(--lin); border-radius: calc(var(--rayon) + 6px); overflow: hidden; text-decoration: none; color: var(--encre); box-shadow: var(--ombre); transition: transform .3s; }
.porte:hover { transform: translateY(-4px); color: var(--encre); }
.porte .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.porte-texte { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.porte-texte h2 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); }
.porte-texte p { color: var(--encre-2); flex: 1; }
.porte-texte .qui { font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sarcelle); margin-bottom: .6rem; }

/* ---------- Cartes (approches, articles) ---------- */
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.carte { display: flex; flex-direction: column; text-decoration: none; color: var(--encre); }
.carte .photo { margin-bottom: 1.1rem; transition: transform .4s; }
.carte:hover .photo { transform: scale(1.015); }
.carte h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; line-height: 1.15; margin-bottom: .35em; }
.carte p { color: var(--encre-2); margin-bottom: .8em; }
.carte:hover h3 { color: var(--terre); }
.carte .lien-fleche { margin-top: auto; }

/* Les 5 approches : 2 grandes cartes puis 3 */
.cartes-approches { grid-template-columns: repeat(6, 1fr); }
.cartes-approches > :nth-child(-n+2) { grid-column: span 3; }
.cartes-approches > :nth-child(n+3) { grid-column: span 2; }
.cartes-approches > :nth-child(-n+2) .photo { aspect-ratio: 16 / 10; }
@media (max-width: 900px) {
  .cartes-approches { grid-template-columns: repeat(2, 1fr); }
  .cartes-approches > :nth-child(n) { grid-column: span 1; }
  .cartes-approches > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cartes-approches { grid-template-columns: 1fr; }
}

/* ---------- Deux colonnes texte + image ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.duo.inverse > :first-child { order: 2; }

/* ---------- Ateliers ---------- */
.liste-ateliers { display: grid; gap: 20px; }
.atelier-ligne { display: grid; grid-template-columns: 112px 1fr auto; gap: clamp(16px, 3vw, 32px); align-items: center; background: var(--lin); border-radius: var(--rayon); padding: clamp(18px, 3vw, 28px); text-decoration: none; color: var(--encre); border: 1px solid var(--ligne); transition: border-color .2s, box-shadow .2s; }
.atelier-ligne:hover { border-color: var(--sarcelle); box-shadow: var(--ombre); color: var(--encre); }
.date-bloc { text-align: center; padding: 12px 8px; border-radius: 16px; background: var(--papier); border: 1px solid var(--ligne); }
.date-bloc b { display: block; font: 600 2.4rem/1 var(--serif); color: var(--terre); }
.date-bloc span { display: block; font-size: max(.8rem, 15px); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--encre-2); }
.atelier-ligne h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: .2em; }
.atelier-ligne p { margin: 0; color: var(--encre-2); }
.atelier-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--encre-2); margin-top: .5em; }
.etiquette { display: inline-block; font-size: max(.78rem, 15px); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--sarcelle-pale); color: var(--sarcelle-fonce); }
.etiquette.complet { background: var(--terre-pale); color: var(--terre-fonce); }
.vide { padding: 32px; border-radius: var(--rayon); border: 1.5px dashed var(--ligne); text-align: center; color: var(--encre-2); }

.fiche-atelier { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.fiche-infos { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 10px; }
.fiche-infos li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ligne); }
.fiche-infos b { color: var(--encre-2); font-weight: 700; }
.boite-inscription { position: sticky; top: 104px; background: var(--lin); border-radius: calc(var(--rayon) + 4px); padding: clamp(22px, 3vw, 32px); box-shadow: var(--ombre); border: 1px solid var(--ligne); }
.boite-inscription h2 { font-size: 2rem; }
.jauge { height: 8px; border-radius: 8px; background: var(--papier-2); overflow: hidden; margin: .4rem 0 .3rem; }
.jauge i { display: block; height: 100%; background: linear-gradient(90deg, var(--mousse), var(--sarcelle)); border-radius: 8px; }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 18px; }
.formulaire .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: grid; gap: 6px; }
.champ > span, .champ legend { font-weight: 700; font-size: .95rem; }
.champ small { color: var(--encre-2); font-size: .88rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], input[type=url], select, textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--encre);
  background: #fff; border: 1.5px solid var(--ligne); border-radius: 14px; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--encre-2) 50%), linear-gradient(135deg, var(--encre-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sarcelle); box-shadow: 0 0 0 4px rgba(11, 111, 106, .15); }
fieldset { border: 0; padding: 0; margin: 0; }
.choix { display: grid; gap: 8px; margin-top: 6px; }
.choix label, .case { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--ligne); background: #fff; cursor: pointer; font-weight: 400; }
.choix label:has(input:checked), .case:has(input:checked) { border-color: var(--sarcelle); background: var(--sarcelle-pale); }
.choix input, .case input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--sarcelle); flex: none; }
.mention { font-size: .88rem; color: var(--encre-2); }
.alerte { padding: 16px 20px; border-radius: 16px; margin-bottom: 1.2rem; font-weight: 600; }
.alerte-ok { background: var(--sarcelle-pale); color: var(--sarcelle-fonce); }
.alerte-erreur { background: var(--terre-pale); color: var(--terre-fonce); }
.note-ok { color: var(--feuille); font-weight: 700; }

/* ---------- Textes longs (approches, articles) ---------- */
.fil { font-size: .9rem; color: var(--encre-2); margin-bottom: 1.4rem; }
.fil a { color: var(--encre-2); }
.prose { max-width: 40em; }
.prose h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); margin-top: 1.6em; }
.prose p, .prose li { color: #33443f; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.page-entete { padding-block: clamp(36px, 6vw, 80px) clamp(28px, 4vw, 48px); }
.page-entete .duo { align-items: end; }

/* ---------- Tarifs ---------- */
.tarifs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tarifs th { text-align: left; font-size: max(.78rem, 15px); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--encre-2); padding: 0 12px 10px 0; }
.tarifs td { padding: 16px 12px 16px 0; border-top: 1px solid var(--ligne); vertical-align: top; }
.tarifs td:last-child { text-align: right; font-weight: 800; white-space: nowrap; padding-right: 0; }
.tarifs td:first-child { font-weight: 700; }

/* ---------- Cabinets ---------- */
.cabinets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.cabinet { background: var(--lin); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px 26px; }
.cabinet h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: .2em; }
.cabinet address { font-style: normal; color: var(--encre-2); margin-bottom: .8em; }

/* ---------- Encart rendez-vous ---------- */
.encart-rdv { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 48px; align-items: center; background: var(--sarcelle-fonce); color: #e8f2ef; border-radius: calc(var(--rayon) + 8px); padding: clamp(28px, 5vw, 56px); margin-block: clamp(48px, 7vw, 88px); }
.encart-rdv h2 { color: #fff; }
.encart-rdv p { margin: 0; color: #cfe3dd; }
.encart-actions { display: grid; gap: 12px; }
.encart-rdv .btn-contour { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.encart-rdv .btn-contour:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- Citation ---------- */
.citation { text-align: center; padding-block: clamp(64px, 9vw, 112px); }
.citation blockquote { margin: 0 auto; max-width: 22em; font: italic 500 clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem)/1.3 var(--serif); color: var(--encre); }
.citation cite { display: block; margin-top: 1rem; font-style: normal; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-2); }

/* ---------- Vidéo (chargée seulement au clic) ---------- */
.video-attente { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--rayon); background: var(--encre); color: #dfe9e5; text-align: center; padding: 24px; }
.video-attente span { display: block; width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; background: rgba(255, 255, 255, .12); position: relative; }
.video-attente span::after { content: ""; position: absolute; left: 29px; top: 22px; border: 14px solid transparent; border-left: 20px solid #fff; border-right: 0; }

/* ---------- Urgence ---------- */
.urgence { padding: 20px 24px; border-radius: 16px; background: var(--terre-pale); color: #5a2a12; font-size: .95rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: #cdd8d4; padding-block: clamp(56px, 7vw, 88px) 28px; font-size: .95rem; }
.pied a { color: #e8efec; }
.pied a:hover { color: #fff; }
.pied-grille { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 40px; }
.pied-marque img { width: 64px; height: 64px; border-radius: 50%; background: var(--lin); padding: 6px; margin-bottom: 14px; }
.pied-marque b { font: 600 1.4rem var(--serif); color: #fff; }
.pied-cabinets { display: grid; gap: 2px; color: #a9bab4; }
.pied-titre { font: 600 1.4rem var(--serif); color: #fff; margin-bottom: .7em; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lettre { display: flex; gap: 8px; flex-wrap: wrap; }
.lettre input { flex: 1 1 200px; background: rgba(255, 255, 255, .95); }
.pied-reseaux { display: flex; gap: 18px; margin-top: 1rem; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #93a7a1; }

/* ---------- Barre d'accès rapide (téléphone) ---------- */
.barre-mobile { display: none; }

/* ---------- Apparition douce ---------- */
.apparait { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apparait { opacity: 1; transform: none; transition: none; }
  .btn, .porte, .carte .photo { transition: none; }
}

/* =================== Écrans moyens =================== */
/* Ordinateurs portables : menu compact */
@media (min-width: 1241px) and (max-width: 1439px) {
  .marque small { display: none; }
  .marque b { font-size: 1.3rem; }
  .nav { gap: 10px; }
  .nav ul a { font-size: .84rem; padding: 10px 7px; }
  .nav-rdv { font-size: .84rem; padding: .55em 1.1em; min-height: 46px; }
}

@media (max-width: 1240px) {
  .burger { display: block; }
  .nav { display: none; position: fixed; inset: 81px 0 0 0; z-index: 60; background: var(--papier); flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gouttiere) 120px; overflow-y: auto; }
  .nav.ouvert { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { font: 600 1.7rem/1.2 var(--serif); padding: 16px 4px; border-bottom: 1px solid var(--ligne); border-radius: 0; }
  .nav ul a[aria-current="page"] { box-shadow: none; }
  .nav-rdv { margin-top: 24px; min-height: 58px; font-size: 1.05rem; }
  body.menu-ouvert { overflow: hidden; }
  /* Le flou de l'en-tête « enferme » le menu fixe : on le retire quand le menu est ouvert */
  body.menu-ouvert .entete { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--papier); }
}

/* =================== Tablettes =================== */
@media (max-width: 900px) {
  .heros-grille, .duo, .fiche-atelier, .encart-rdv { grid-template-columns: 1fr; }
  .duo.inverse > :first-child { order: 0; }
  .heros-visuel { order: -1; max-width: 520px; width: 100%; margin-inline: auto; }
  .heros-visuel .photo.arche { aspect-ratio: 5 / 4; border-radius: 240px 240px var(--rayon) var(--rayon); }
  .heros-visuel .logo-sceau { width: 84px; height: 84px; left: auto; right: 12px; bottom: -20px; }
  .boite-inscription { position: static; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-grille > :first-child { grid-column: 1 / -1; }
}

/* =================== Téléphones =================== */
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .entete-ligne { min-height: 72px; }
  .nav { inset: 73px 0 0 0; }
  .marque img { width: 44px; height: 44px; }
  .marque b { font-size: 1.3rem; }
  .marque small { font-size: .74rem; }
  .portes { grid-template-columns: 1fr; }
  .chapo, .heros .chapo { font-size: 1.1rem; }
  .actions .btn { flex: 1 1 100%; }
  .atelier-ligne { grid-template-columns: 1fr; gap: 12px; }
  .atelier-ligne .date-bloc { display: flex; gap: 10px; align-items: baseline; justify-content: flex-start; padding: 8px 14px; width: max-content; }
  .atelier-ligne .date-bloc b { font-size: 1.8rem; }
  .formulaire .deux { grid-template-columns: 1fr; }
  .fiche-infos li { grid-template-columns: 1fr; gap: 0; }
  .tarifs thead { display: none; }
  .tarifs tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--ligne); }
  .tarifs td { border: 0; padding: 0; }
  .tarifs td:nth-child(2) { grid-row: 2; color: var(--encre-2); font-size: .92rem; }
  .tarifs td:last-child { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
  .pied-grille { grid-template-columns: 1fr; }
  .pied-bas { flex-direction: column; }
  .barre-mobile { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(252, 249, 244, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--ligne); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .barre-mobile a { display: grid; place-items: center; min-height: 52px; border-radius: 14px; text-decoration: none; font-weight: 800; font-size: .95rem; color: var(--encre); background: var(--papier-2); }
  .barre-mobile a:first-child { background: var(--terre); color: #fff; }
}

@media (max-width: 380px) {
  .marque small { display: none; }
}

@media print {
  .entete, .barre-mobile, .pied, .burger, .boite-inscription form { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* =================================================================
   Session 3 (15 octobre 2026) : consultations, institutions, association,
   biographie, ressources, thèmes
   ================================================================= */

/* Sommaire de page (ancres) */
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: clamp(24px, 4vw, 40px); }
.sommaire a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--lin); color: var(--encre); font-weight: 700; font-size: .92rem; text-decoration: none; }
.sommaire a:hover { border-color: var(--sarcelle); color: var(--sarcelle); }

/* Grilles de cartes complémentaires */
.cartes-deux { grid-template-columns: repeat(2, 1fr); }
.cartes-deux .photo { aspect-ratio: 16 / 10; }
.cartes-compactes { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cartes-compactes .carte h3 { font-size: 1.45rem; }
.cartes-compactes .surtitre { margin-bottom: .4rem; font-size: max(.72rem, 13px); }
.carte-formats { font-size: .88rem; font-weight: 700; color: var(--sarcelle) !important; }
.sous-titre-groupe { font: 600 1.5rem/1.2 var(--serif); color: var(--terre); margin: 2.4rem 0 1.2rem; padding-bottom: .5rem; border-bottom: 1px solid var(--ligne); }
.sous-titre-groupe:first-of-type { margin-top: 0; }
.cabinet-accent { background: var(--sarcelle-pale); border-color: transparent; }

/* Étiquettes (mots-clés) */
.etiquettes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 1rem 0 0; }
.etiquettes a { display: inline-flex; align-items: center; min-height: 36px; padding: 2px 14px; border-radius: 999px; background: var(--papier-2); color: var(--encre); font-size: .88rem; font-weight: 700; text-decoration: none; }
.etiquettes a:hover { background: var(--sarcelle-pale); color: var(--sarcelle-fonce); }
.etiquettes-petites a { min-height: 32px; font-size: .8rem; padding: 2px 11px; }
.etiquettes-grandes a { min-height: 48px; font-size: 1rem; padding: 4px 20px; background: var(--lin); border: 1px solid var(--ligne); }
.groupes-themes { display: grid; gap: clamp(32px, 5vw, 56px); }
.groupes-themes h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }

/* Listes */
.liste-puces { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 10px; }
.liste-puces li { position: relative; padding-left: 22px; color: #33443f; }
.liste-puces li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--mousse); }
.etapes { list-style: none; counter-reset: etape; padding: 0; margin: 1.2rem 0; display: grid; gap: 16px; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; }
.etapes li::before { content: counter(etape); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--terre); color: #fff; font: 600 1.3rem var(--serif); }
.etapes b { font-weight: 800; }
.etapes span { color: var(--encre-2); }

/* Parcours (dates) */
.parcours { list-style: none; padding: 0; margin: 1.2rem 0 2rem; }
.parcours li { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--ligne); }
.parcours-date { font-weight: 800; color: var(--terre); font-size: .95rem; padding-top: 2px; }
.parcours b { display: block; font-weight: 800; }
.parcours p { margin: .2em 0 0; color: var(--encre-2); }

/* Bandeau institutions (accueil) */
.bandeau-institutions { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--rayon) + 8px); background: var(--sarcelle-pale); }
.bandeau-institutions p { margin: 0; color: var(--encre-2); max-width: 44em; }

/* Association : pôles */
.poles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.pole { background: var(--papier); border-radius: calc(var(--rayon) + 6px); overflow: hidden; border: 1px solid var(--ligne); display: flex; flex-direction: column; }
.pole .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.pole-texte { padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; flex: 1; }
.pole-texte h3 { font: 600 1.9rem/1.1 var(--serif); }
.pole-court { font-weight: 700; color: var(--sarcelle-fonce); }
.pole-texte p { color: var(--encre-2); }
.pole-liens { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Association : filtres et propositions */
.filtres { display: grid; gap: 14px; margin-bottom: 2rem; padding: clamp(18px, 3vw, 26px); border-radius: var(--rayon); background: var(--lin); border: 1px solid var(--ligne); }
.filtres fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filtres legend { float: left; width: 6em; font-weight: 800; font-size: .92rem; color: var(--encre-2); }
.puce { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ligne); background: #fff; cursor: pointer; font-weight: 700; font-size: .92rem; }
.puce input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.puce:has(input:checked) { background: var(--sarcelle); border-color: var(--sarcelle); color: #fff; }
.puce:has(input:focus-visible) { outline: 3px solid var(--sarcelle); outline-offset: 2px; }
.filtres-compte { margin: 0; font-size: .9rem; color: var(--encre-2); }
.propositions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.proposition { display: flex; flex-direction: column; background: var(--lin); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px 26px; }
.proposition[hidden] { display: none; }
.proposition h3 { font: 600 1.6rem/1.15 var(--serif); margin-top: .8rem; }
.proposition p { color: var(--encre-2); }
.proposition .lien-fleche { margin-top: auto; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.badge { display: inline-block; font-size: max(.72rem, 13px); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--papier-2); color: var(--encre-2); }
.badge-sante { background: var(--sarcelle-pale); color: var(--sarcelle-fonce); }
.badge-artistique { background: var(--terre-pale); color: var(--terre-fonce); }
.badge-agricole { background: #e6eedd; color: #3f5f3d; }
.badge-chevaux-oui { background: #f1e7d6; color: #6b4a1f; }

/* Vidéo */
.video-cadre { max-width: 980px; }
.video { margin: 0; }
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--rayon); background: var(--encre); box-shadow: var(--ombre); }
.video figcaption { margin-top: .8rem; font-size: .88rem; color: var(--encre-2); }
.transcription { margin-top: 1rem; border-top: 1px solid var(--ligne); padding-top: .8rem; }
.transcription summary { cursor: pointer; font-weight: 800; color: var(--sarcelle); min-height: 44px; display: flex; align-items: center; }
.transcription p { color: var(--encre-2); max-width: 44em; }

/* Biographie */
.accroche { margin: 1.4rem 0 0; padding-left: 18px; border-left: 3px solid var(--feuille); font: italic 500 1.5rem/1.35 var(--serif); color: var(--encre); }
.bio-cote { position: sticky; top: 104px; }
.piliers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pilier { background: var(--lin); border-radius: var(--rayon); padding: 26px 24px; border: 1px solid var(--ligne); }
.pilier-num { display: block; font: italic 600 2.6rem/1 var(--serif); color: var(--terre); margin-bottom: .4rem; }
.pilier h3 { font: 600 1.55rem/1.15 var(--serif); }
.pilier p { color: var(--encre-2); margin: 0; }

/* Ressources : sélection et logos */
.selection { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.selection-item { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--ligne); }
.selection-item .badge { justify-self: start; align-self: start; margin-top: 4px; }
.selection-item h3 { font: 600 1.45rem/1.2 var(--serif); margin: 0; }
.selection-item h3 cite { font-style: italic; }
.selection-item p { margin: .3em 0 0; color: var(--encre-2); }
.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.logo-carte { background: var(--lin); border-radius: var(--rayon); padding: 20px 22px; border: 1px solid var(--ligne); }
.logo-image { display: grid; place-items: center; height: 120px; margin-bottom: 1rem; border-radius: 14px; background: #fff; padding: 14px; }
.logo-image img { max-height: 92px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(.35); transition: filter .2s; }
a.logo-image:hover img { filter: none; }
.logo-nom { font: 600 1.4rem var(--serif); }
.logo-carte h3 { font-size: 1rem; margin-bottom: .2em; }
.logo-carte p { font-size: .92rem; color: var(--encre-2); margin: 0; }

/* Pages thèmes */
.theme-rubrique { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-top: 2rem; }
.theme-liste { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 10px; }
.theme-liste a { display: grid; gap: 2px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--ligne); background: #fff; text-decoration: none; color: var(--encre); }
.theme-liste a:hover { border-color: var(--sarcelle); }
.theme-liste b { font-weight: 800; }
.theme-liste span { color: var(--encre-2); font-size: .95rem; }

/* Menu : 7 entrées, on resserre sur les portables */
@media (min-width: 1241px) and (max-width: 1439px) {
  .entete-ligne { gap: 12px; }
  .marque { gap: 8px; }
  .marque img { width: 44px; height: 44px; }
  .marque b { font-size: 1.15rem; }
  .nav { gap: 8px; }
  .nav ul a { font-size: .78rem; padding: 10px 5px; }
  .nav-rdv { padding: .5em .95em; }
}

@media (max-width: 1100px) {
  .piliers { grid-template-columns: repeat(2, 1fr); }
  .poles { grid-template-columns: 1fr; }
  .pole { display: grid; grid-template-columns: .9fr 1.1fr; }
  .pole .photo { aspect-ratio: auto; height: 100%; min-height: 260px; }
}
@media (max-width: 900px) {
  .bandeau-institutions { grid-template-columns: 1fr; }
  .bio-cote { position: static; }
}
@media (max-width: 760px) {
  .cartes-deux { grid-template-columns: 1fr; }
  .pole { display: flex; }
  .pole .photo { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
  .piliers { grid-template-columns: 1fr; }
  .parcours li { grid-template-columns: 1fr; gap: 2px; }
  .selection-item { grid-template-columns: 1fr; gap: 8px; }
  .filtres legend { float: none; width: 100%; }
  .filtres fieldset { gap: 6px; }
  .puce { min-height: 40px; padding: 0 12px; font-size: .85rem; }
  .accroche { font-size: 1.3rem; }
}
