:root {
  --sauge: #4e7a5b;
  --sauge-f: #2f4a37;
  --sauge-tf: #22372a;
  --sauge-c: #dfe9dd;
  --creme: #faf6ee;
  --creme-2: #f1e9da;
  --terre: #a0522d;
  --encre: #2a2723;
  --doux: #5f5a51;
  --blanc: #fffdf9;
  --r: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", system-ui, sans-serif;
  --main: "Caveat", cursive;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.7; color: var(--encre); background: var(--blanc); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: var(--sauge-f); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--sauge-f); letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); color: #fff; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.65rem; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--sauge); }
h1 em { color: #e3eedf; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.etroit { width: min(820px, 100% - 40px); }
.surtitre { font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--terre); margin-bottom: 1em; display: inline-flex; align-items: center; gap: 12px; }
.surtitre::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.surtitre.clair { color: #f0d9c6; }
.chapo { font-size: 1.15rem; color: var(--doux); }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1rem; text-decoration: none; padding: .95em 1.7em; border-radius: 999px; background: var(--sauge); color: #fff; border: 2px solid var(--sauge); transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); background: var(--sauge-f); border-color: var(--sauge-f); box-shadow: 0 10px 24px rgba(47,74,55,.25); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-clair { background: #fff; color: var(--sauge-f); border-color: #fff; }
.btn-clair:hover { background: var(--creme); border-color: var(--creme); color: var(--sauge-f); }
.btn-contour { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-contour:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-petit { padding: .55em 1.2em; font-size: .9rem; }

/* Intro */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--sauge-tf); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; animation: introPart .7s var(--ease) 1.5s forwards; }
.intro-cachet { position: relative; width: min(230px, 56vw); aspect-ratio: 1; }
.intro-cachet img { width: 100%; height: 100%; border-radius: 50%; display: block; opacity: 0; transform: scale(1.3) rotate(-10deg); animation: tampon .55s cubic-bezier(.3,1.4,.5,1) .45s forwards; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.intro-anneau { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); fill: none; stroke: #f3ead9; stroke-width: 1.2; stroke-dasharray: 610; stroke-dashoffset: 610; transform: rotate(-90deg); animation: trace .9s var(--ease) forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes tampon { to { opacity: 1; transform: none; } }
.sans-intro .intro { display: none; }
@keyframes introPart { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }

/* En-tête */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, color .35s; color: #fff; }
.entete-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.entete.plein { background: rgba(255,253,249,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(47,74,55,.1); color: var(--encre); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.logo-ico { width: 46px; height: 46px; border-radius: 50%; display: block; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.logo-txt { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; letter-spacing: .01em; }
.logo-txt em { font-weight: 500; }
.nav { display: flex; gap: 26px; }
.nav a { color: inherit; text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 1.15rem; opacity: .9; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.entete:not(.plein) .btn-petit { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }

/* Images (avec emplacements tant que la photo n'est pas là) */
.ph { background-color: var(--sauge-c); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.ph:not(.charge) { background-image: linear-gradient(135deg, #cfdfcc, #a9c2a8); }
.ph:not(.charge)::after { content: none; }

/* Accueil */
.accueil h1 { font-size: clamp(2.4rem, 4.2vw, 3.7rem); }

/* Bande du manège */
.moments { background: var(--sauge-tf); color: #fff; text-align: center; padding: 50px 0 20px; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); }
.accueil .chapo { color: rgba(255,255,255,.9); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }
.prix-bande { display: inline-flex; align-items: center; gap: 16px; margin-top: 26px; padding: 12px 22px 12px 18px; background: var(--blanc); color: var(--doux); border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.22); }
.prix-gros { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--sauge-f); white-space: nowrap; }
.prix-gros small { font-size: 1.3rem; }
.prix-txt { font-size: .86rem; line-height: 1.45; }
.prix-txt s { color: var(--terre); }

/* Manège 3D */
.manege-zone { position: relative; padding: 30px 0 40px; }
.manege { height: 270px; perspective: 1400px; display: flex; justify-content: center; align-items: center; cursor: grab; touch-action: pan-y; user-select: none; }
.manege:active { cursor: grabbing; }
.manege-anneau { position: relative; width: 170px; height: 230px; transform-style: preserve-3d; will-change: transform; }
.arche { position: absolute; inset: 0; margin: 0; border-radius: 90px 90px 14px 14px; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 20px 40px rgba(0,0,0,.25); backface-visibility: hidden; }
.arche figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 12px; background: linear-gradient(transparent, rgba(20,32,24,.75)); color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.1rem; text-align: center; z-index: 2; }
.arche:not(.charge)::after { align-items: center; padding-bottom: 30px; }
.manege-aide { text-align: center; font-family: var(--main); font-size: 1.3rem; color: rgba(255,255,255,.75); margin: 6px 0 0; }

/* Rubriques */
.rubrique { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.rubrique-creme { background: var(--creme); }
.rubrique-sauge { background: var(--sauge-f); color: #e9efe6; }
.rubrique-sauge h2, .rubrique-sauge h3 { color: #fff; }
.rubrique-sauge h2 em { color: #bcd3b8; }
.rubrique-sauge .chapo { color: rgba(233,239,230,.85); }
.titre-rub { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.titre-rub.gauche { text-align: left; margin-left: 0; }

/* Apparition 3D au défilement */
.js .t3 { opacity: 0; transform: perspective(900px) translateY(46px) rotateX(14deg); transform-origin: 50% 100%; transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .t3.vu { opacity: 1; transform: none; }

/* Piliers */
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pilier { background: var(--creme); border-radius: var(--r); padding: 40px 34px 30px; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.pilier:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(47,74,55,.12); }
.pilier-num { position: absolute; top: 14px; right: 22px; font-family: var(--serif); font-size: 4.5rem; font-weight: 700; color: rgba(78,122,91,.12); line-height: 1; }
.pilier-ico { width: 52px; height: 52px; fill: none; stroke: var(--terre); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.pilier p { color: var(--doux); margin: 0; }

/* Pour qui */
.pourqui { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.pourqui .titre-rub { text-align: left; margin: 0; }
.pourqui-liste { display: grid; gap: 18px; }
.pq { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 26px 30px; border-left: 4px solid var(--terre); }
.pq h3 { font-size: 1.5rem; margin-bottom: .2em; }
.pq p { margin: 0; color: rgba(233,239,230,.85); }

/* Séance */
.seance { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.seance-img { position: sticky; top: 110px; aspect-ratio: 4 / 5; border-radius: 200px 200px var(--r) var(--r); }
.frise { list-style: none; margin: 0; padding: 0 0 0 46px; position: relative; }
.frise::before, .frise::after { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--sauge-c); }
.frise::after { background: var(--terre); transform-origin: top; transform: scaleY(var(--p, 0)); }
.frise li { position: relative; padding-bottom: 38px; }
.frise li:last-child { padding-bottom: 0; }
.frise .pt { position: absolute; left: -46px; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--blanc); border: 2px solid var(--sauge); z-index: 1; }
.frise .pt::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--sauge); transform: scale(0); transition: transform .4s var(--ease) .2s; }
.frise li.vu .pt::after { transform: scale(1); }
.frise h3 { margin-bottom: .2em; }
.frise p { color: var(--doux); margin: 0; }

/* Fiches recettes */
.fiches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fiche { all: unset; cursor: pointer; perspective: 1000px; aspect-ratio: 4 / 3; display: block; }
.fiche:focus-visible { outline: 3px solid var(--terre); outline-offset: 4px; border-radius: var(--r); }
.fiche-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.fiche.retournee .fiche-in { transform: rotateY(180deg); }
@media (hover: hover) { .fiche:hover .fiche-in { transform: rotateY(180deg); } }
.fiche-recto, .fiche-verso { position: absolute; inset: 0; border-radius: var(--r); backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.fiche-recto { background: var(--blanc); border: 1px solid #e8dfcd; box-shadow: 0 12px 30px rgba(47,74,55,.07); align-items: flex-start;
  background-image: repeating-linear-gradient(transparent 0 33px, rgba(78,122,91,.09) 33px 34px); }
.fiche-recto small { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--terre); }
.fiche-recto b { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--sauge-f); line-height: 1.1; margin: 6px 0; }
.fiche-recto i { font-family: var(--main); font-size: 1.4rem; color: var(--doux); font-style: normal; }
.fiche-verso { background: var(--sauge-f); color: #eef3ec; transform: rotateY(180deg); font-size: 1.05rem; line-height: 1.6; }

/* Tarif */
.tarif { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.coches { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 10px; }
.coches li { padding-left: 34px; position: relative; }
.coches li::before { content: ""; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--sauge-c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232f4a37' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.calcul { background: var(--creme); border-radius: 26px; padding: clamp(30px, 5vw, 48px); text-align: center; border-top: 6px solid var(--sauge); box-shadow: 0 24px 60px rgba(47,74,55,.1); }
.calcul-titre { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--sauge-f); margin-bottom: 18px; }
.duree { display: inline-flex; background: #fff; border-radius: 999px; padding: 5px; gap: 4px; border: 1px solid #e6dcc8; flex-wrap: wrap; justify-content: center; }
.duree button { font: inherit; font-weight: 800; font-size: .95rem; border: 0; background: none; padding: .55em 1.1em; border-radius: 999px; cursor: pointer; color: var(--doux); transition: background .25s, color .25s; }
.duree button.on { background: var(--sauge); color: #fff; }
.calcul-res { display: flex; flex-direction: column; margin: 26px 0 10px; }
.calcul-avant { color: var(--doux); }
.calcul-apres { font-family: var(--serif); font-size: clamp(3.4rem, 8vw, 4.8rem); font-weight: 700; color: var(--sauge-f); line-height: 1.05; }
.calcul-apres.saute { animation: saute .45s var(--ease); }
@keyframes saute { 40% { transform: scale(1.08); } }
.calcul-leg { font-size: .9rem; color: var(--doux); }
.calcul-base { font-size: .85rem; color: var(--doux); margin: 14px 0 24px; }

/* Qui suis-je */
.moi { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.moi-photo { position: relative; }
.moi-cadre { aspect-ratio: 4 / 5; border-radius: 220px 220px var(--r) var(--r); border: 10px solid #fff; box-shadow: 0 30px 60px rgba(47,74,55,.15); }
.moi-note { position: absolute; bottom: -20px; right: -10px; background: var(--terre); color: #fff; font-family: var(--main); font-size: 1.5rem; padding: 8px 20px; border-radius: 999px; transform: rotate(-5deg); box-shadow: 0 10px 20px rgba(184,100,63,.3); }
.signature { font-family: var(--main); font-size: 2.6rem; color: var(--terre); margin: .3em 0 0; line-height: 1; }

/* Zone */
.zone { overflow: hidden; padding-top: clamp(120px, 14vw, 180px); }
.volcans { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(70px, 12vw, 160px); fill: var(--creme); }
.communes { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.communes li { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .45em 1.1em; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #fff; }
.communes li:first-child { background: #fff; color: var(--sauge-f); font-style: normal; font-weight: 700; }

/* FAQ */
.faq details { border-bottom: 1px solid #e6dcc8; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--sauge-f); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; border-right: 2px solid var(--terre); border-bottom: 2px solid var(--terre); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--doux); padding-bottom: 12px; }

/* Contact */
.contact { background: var(--sauge-tf); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact h2 em { color: #bcd3b8; }
.contact .chapo { color: rgba(255,255,255,.8); }
.contact .surtitre::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.contact-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-carte { display: flex; align-items: center; gap: 18px; text-align: left; text-decoration: none; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 24px; font-weight: 800; font-size: 1.15rem; transition: background .3s, transform .3s var(--ease); word-break: break-word; }
.contact-carte:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.contact-carte small { display: block; font-weight: 400; font-size: .82rem; opacity: .75; }
.rond { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.rond svg { width: 24px; height: 24px; fill: var(--sauge-f); }

/* Pied */
.pied { background: #1a2b20; color: rgba(233,239,230,.7); font-size: .9rem; padding: 30px 0 34px; }
.pied-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 30px; }
.pied .logo-txt { color: #fff; font-size: 1.35rem; }
.pied-marque { display: flex; align-items: center; gap: 14px; }
.pied-marque img { width: 64px; height: 64px; border-radius: 50%; }

/* Bouton d'appel collé en bas (téléphone) */
.appel-fixe { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .piliers, .fiches { grid-template-columns: 1fr 1fr; }
  .pourqui, .seance, .tarif, .moi { grid-template-columns: 1fr; }
  .seance-img { position: relative; top: 0; aspect-ratio: 16 / 10; border-radius: var(--r); }
  .moi-photo { max-width: 380px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .entete-in { height: 64px; }
  .entete .btn-petit { display: none; }
  .logo-txt { font-size: 1.35rem; }
  .prix-bande { display: flex; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .manege { height: 230px; }
  .manege-anneau { width: 130px; height: 180px; }
  .piliers, .fiches, .contact-grille { grid-template-columns: 1fr; }
  .fiche { aspect-ratio: 16 / 9; }
  .appel-fixe { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40; background: var(--terre); color: #fff; font-weight: 800; text-decoration: none; padding: 15px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.25); transform: translateY(120%); transition: transform .4s var(--ease); }
  .appel-fixe.montre { transform: none; }
  .appel-fixe svg { width: 20px; height: 20px; fill: #fff; }
  .pied { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .t3 { opacity: 1; transform: none; }
}

/* Fond photo discret (rubrique « Pour qui ») */
.avec-fond { overflow: hidden; }
.avec-fond > .wrap { position: relative; }
.fond-section { position: absolute; inset: 0; opacity: .16; filter: grayscale(.3); }
.fond-section::after { display: none !important; }

/* Accessibilité */
.evitement { position: absolute; left: 16px; top: -60px; z-index: 200; background: #fff; color: var(--sauge-f); padding: 10px 18px; border-radius: 10px; font-weight: 800; }
.evitement:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--terre); outline-offset: 3px; }
.contact :focus-visible, .accueil :focus-visible, .moments :focus-visible { outline-color: #f3d3b8; }
.manege:focus-visible { border-radius: 20px; }

/* Formulaire */
.formulaire { margin-top: 44px; text-align: left; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; padding: clamp(22px, 4vw, 38px); display: grid; gap: 16px; }
.form-titre { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin: 0; text-align: center; }
.formulaire label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.formulaire small { font-weight: 400; opacity: .75; }
.formulaire input:not([type=radio]):not([type=checkbox]), .formulaire textarea { font: inherit; font-weight: 400; color: var(--encre); background: #fff; border: 2px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%; }
.formulaire input:focus, .formulaire textarea:focus { border-color: #f3d3b8; outline: none; }
.formulaire textarea { resize: vertical; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pourqui-choix { border: 0; padding: 0; margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.pourqui-choix legend { float: left; margin-right: 6px; font-weight: 700; }
.pourqui-choix label { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.pourqui-choix input, .consent input { width: 20px; height: 20px; accent-color: var(--terre); }
.formulaire .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.consent a { color: #f3d3b8; }
.formulaire .btn { justify-self: center; cursor: pointer; font-family: inherit; }
.piege { position: absolute; left: -9999px; }

/* Pied */
.pied-liens { display: flex; gap: 20px; }
.pied-liens a { color: rgba(233,239,230,.85); }

/* Pages simples (mentions, confidentialité, merci, 404) */
.page { background: var(--creme); }
.page .entete { position: sticky; background: rgba(255,253,249,.96); color: var(--encre); box-shadow: 0 1px 0 rgba(47,74,55,.1); }
.page-corps { padding: 70px 0 100px; }
.page-corps h1 { color: var(--sauge-f); font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-corps h2 { font-size: 1.7rem; margin-top: 1.6em; }
.page-corps .a-remplir { background: #fdecc8; padding: 0 6px; border-radius: 4px; }
.page-centre { min-height: 70vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 640px) {
  .champs { grid-template-columns: 1fr; }
  .pied-liens { flex-direction: column; gap: 6px; }
}

/* Peaufinage : manège plus généreux sur grand écran, en-tête lisible sur la photo */
@media (min-width: 1001px) {
  .manege { height: 400px; perspective: 1800px; }
  .manege-anneau { width: 230px; height: 310px; }
  .arche { border-radius: 120px 120px 16px 16px; }
  .arche figcaption { font-size: 1.25rem; }
}

/* ===== La présentation : un carnet en 3D qui s'ouvre sur la vidéo ===== */
.rubrique-film { background: radial-gradient(ellipse at 50% 30%, #2f4a37 0%, var(--sauge-tf) 70%); color:#e9efe6; overflow:hidden; }
.rubrique-film h2 { color:#fff; }
.rubrique-film h2 em { color:#bcd3b8; }
.rubrique-film .chapo { color:rgba(233,239,230,.85); }
.livre { position:relative; width:min(1000px, 100%); margin:0 auto; }
.livre-page { position:relative; padding:22px; border-radius:10px 18px 18px 10px; background:#f6eddb;
  background-image:repeating-linear-gradient(180deg, transparent 0 31px, rgba(70,110,85,.12) 31px 32px);
  box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 14px 0 24px rgba(90,60,30,.18); }
.livre-dos { position:absolute; left:-14px; top:6px; bottom:6px; width:24px; border-radius:8px; background:linear-gradient(90deg, #1a2b20, #34503d); box-shadow:0 20px 40px rgba(0,0,0,.4); }
.livre-ecran { position:relative; aspect-ratio:16/9; border-radius:8px; overflow:hidden; background:#22372a; cursor:pointer; }
.livre-ecran video { display:block; width:100%; height:100%; object-fit:cover; }
.lecture { z-index:2; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); display:inline-flex; align-items:center; gap:14px;
  font:800 1.25rem var(--sans); color:var(--sauge-f); background:#fff; border:0; border-radius:999px; padding:18px 30px 18px 22px; cursor:pointer; white-space:nowrap;
  box-shadow:0 18px 40px rgba(0,0,0,.35); transition:transform .25s var(--ease); }
.lecture svg { width:34px; height:34px; fill:var(--terre); }
.lecture:hover { transform:translate(-50%,-50%) scale(1.05); }
.livre.joue .lecture { opacity:0; pointer-events:none; }
.livre-couv { position:absolute; inset:-6px -8px -6px -14px; transform-origin:0 50%; transform-style:preserve-3d;
  transform:rotateY(0deg); transition:transform 1.8s cubic-bezier(.6,.05,.25,1) .2s, opacity .7s ease 1.7s, visibility 0s linear 2.4s; z-index:3; }
.livre.ouvert .livre-couv { transform:rotateY(-172deg); opacity:0; visibility:hidden; }
.livre-couv-face, .livre-couv-dos { position:absolute; inset:0; border-radius:10px 18px 18px 10px; backface-visibility:hidden; -webkit-backface-visibility:hidden; }
.livre-couv-face { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; background-color:#2f4a37;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='c'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' seed='9'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .6  0 0 0 0 .5  0 0 0 .12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23c)'/></svg>");
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.04), inset 0 0 120px rgba(0,0,0,.35), 0 30px 60px rgba(0,0,0,.4); }
.livre-couv-face img { width:min(220px, 30vw); height:auto; border-radius:50%; box-shadow:0 14px 30px rgba(0,0,0,.35); }
.livre-couv-face span { font-family:var(--serif); font-style:italic; font-size:clamp(1.4rem, 3vw, 2.2rem); color:#f3ead9; }
.livre-couv-dos { transform:rotateY(180deg); background:#efe3cb; display:flex; align-items:center; justify-content:center;
  background-image:repeating-linear-gradient(180deg, transparent 0 31px, rgba(70,110,85,.12) 31px 32px); }
.livre-couv-dos span { font-family:var(--main); font-size:clamp(2rem, 5vw, 3.6rem); color:var(--terre); }
.film-legende { text-align:center; margin-top:34px; font-weight:700; color:rgba(233,239,230,.85); }
.film-legende a { color:#fff; white-space:nowrap; }
.btn-film svg { width:20px; height:20px; fill:currentColor; }
.calcul-base small { font-size:.8rem; }

/* ===== 3D : inclinaison au survol (souris uniquement) ===== */
[data-incline] { transform-style:preserve-3d; will-change:transform; transition:transform .5s var(--ease), box-shadow .5s var(--ease); }
[data-incline].incline { transition:transform .12s linear, box-shadow .3s; }
@media (hover:hover) and (pointer:fine) {
  [data-incline].incline { box-shadow:0 30px 60px rgba(30,20,10,.22); }
}
@media (max-width: 640px) {
  .livre-page { padding:12px; }
  .livre-couv { inset:-4px -5px -4px -10px; }
  .lecture { font-size:1.05rem; padding:14px 22px 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .livre-couv { transition:none; }
}

/* ===== Accueil compact (v4 du site) : texte à gauche, photo encadrée à droite ===== */
.accueil { position:relative; color:#fff; overflow:hidden; padding:128px 0 72px;
  background: radial-gradient(ellipse 80% 90% at 75% 40%, #3a5a44 0%, var(--sauge-tf) 65%); }
.accueil::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.08;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' seed='4'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>"); }
.accueil-in { position:relative; display:grid; grid-template-columns: 1fr 1.05fr; gap:clamp(32px, 5vw, 72px); align-items:center; }
.accueil-texte { order:-1; max-width:600px; }
.accueil-visuel { position:relative; }
.accueil-fond { position:relative; aspect-ratio: 16 / 11; border-radius:26px; background-position: 30% center !important;
  border:8px solid #f6eddb; box-shadow: 0 40px 80px rgba(0,0,0,.40); }
.accueil-fond:not(.charge) { background-image: radial-gradient(circle at 40% 40%, #6f9579, #2f4a37 70%); }
.accueil-fond::after { display:none !important; }
.accueil-cachet { position:absolute; left:-34px; bottom:-30px; width:150px; height:150px; border-radius:50%; background:#fffdf9; color:var(--sauge-f);
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; transform:rotate(-8deg);
  box-shadow:0 18px 40px rgba(0,0,0,.35); outline:3px dashed rgba(160,82,45,.45); outline-offset:-12px; }
.cachet-prix { font-family:var(--serif); font-size:2.6rem; font-weight:700; line-height:1; }
.cachet-prix small { font-size:1.1rem; }
.cachet-txt { font-size:.82rem; font-weight:700; line-height:1.15; color:var(--terre); margin-top:4px; }
.accueil h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
.accueil-prix-ligne { margin:22px 0 0; font-size:.95rem; color:rgba(255,255,255,.82); }
.accueil-prix-ligne strong { color:#f3c9a8; }
.moments { padding:34px 0 8px; }
@media (min-width: 1001px) {
  .manege { height:330px; }
  .manege-anneau { width:200px; height:270px; }
}
.manege-zone { padding:16px 0 26px; }

/* La présentation : texte à gauche, carnet à droite (plus de pleine largeur) */
.film-grille { display:grid; grid-template-columns: .8fr 1.2fr; gap:clamp(32px, 5vw, 64px); align-items:center; }
.film-grille .titre-rub { text-align:left; margin:0; }
.film-grille .film-legende { text-align:left; margin-top:18px; }
.livre { width:100%; max-width:700px; }
.rubrique-film { padding: clamp(64px, 8vw, 100px) 0; }

@media (max-width: 1000px) {
  .accueil { padding:96px 0 56px; }
  .accueil-in { grid-template-columns: 1fr; }
  .accueil-visuel { max-width:560px; }
  .accueil-cachet { left:auto; right:-10px; bottom:-26px; width:124px; height:124px; }
  .cachet-prix { font-size:2.1rem; }
  .film-grille { grid-template-columns: 1fr; }
  .film-grille .titre-rub, .film-grille .film-legende { text-align:center; }
}

/* ===== Aucun effet au défilement : tout est affiché tout de suite (demande du 26/11) ===== */
.js .t3, .js .t3.vu { opacity:1; transform:none; transition:transform .5s var(--ease), box-shadow .5s var(--ease); }
.frise::after { transform:scaleY(1); }
.frise .pt::after { transform:scale(1); }
.livre-couv { display:none; }

/* ===== Le concept, version éditoriale : pas de cartes, pas de chiffres, pas d'icônes ===== */
.concept { display:grid; grid-template-columns: .95fr 1.05fr; gap:clamp(40px, 7vw, 110px); align-items:start; }
.concept-titre h2 { font-size:clamp(2.3rem, 4vw, 3.4rem); line-height:1.08; margin-bottom:.4em; }
.concept-signe { font-family:var(--main); font-size:1.7rem; color:var(--terre); margin:0; }
.concept-liste article { padding:30px 0 28px; border-top:1px solid rgba(47,74,55,.22); }
.concept-liste article:last-child { border-bottom:1px solid rgba(47,74,55,.22); }
.concept-liste h3 { font-size:clamp(1.7rem, 2.4vw, 2.1rem); font-style:italic; font-weight:500; margin:0 0 .35em; }
.concept-liste p { margin:0; color:var(--doux); max-width:560px; }
@media (max-width: 1000px) {
  .concept { grid-template-columns:1fr; gap:28px; }
}

/* Portrait réel de Judicaëlle : cadrage buste, visage dans le haut de l'arche, fond pêche fondu dans le crème */
.moi-cadre { background-position: 50% 18% !important; background-size: cover; background-color: #EDD5C0; }

/* ===== Corrections de l'audit : lisibilité seniors, clavier, téléphone ===== */
.surtitre { font-size: .85rem; letter-spacing: .16em; }
.calcul-leg, .calcul-base, .calcul-base small, .contact-carte small, .formulaire small, .formulaire .consent, .pied, .formulaire label { font-size: 1rem; }
.duree button { min-height: 48px; padding: .7em 1.2em; }
.nav a { padding: 12px 0; }
.pied-liens a, .zone-ailleurs a, .film-legende a { display: inline-block; padding: 10px 0; }
.pourqui-choix input, .consent input { width: 24px; height: 24px; flex: none; }
.formulaire input:focus, .formulaire textarea:focus { outline: none; }
.formulaire input:focus-visible, .formulaire textarea:focus-visible, .formulaire select:focus-visible,
.zone-liste button:focus-visible, .duree button:focus-visible { outline: 3px solid #f3d3b8; outline-offset: 2px; }
.duree button:focus-visible { outline-color: var(--terre); }
.accueil-prix-ligne { font-size: 1rem; }
.accueil-prix-ligne small { display: inline-block; margin-top: 6px; font-size: .85rem; opacity: .85; }
.pied-note { display: block; width: 100%; font-size: .9rem; opacity: .8; }
.entete.plein { background: #fffdf9; }
.contact-carte { overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .appel-fixe.cache { transform: translateY(130%); }
}
@media (max-width: 640px) {
  .surtitre { letter-spacing: .12em; }
}
/* Intro plus courte (≈ 1,1 s) */
.intro { animation: introPart .45s var(--ease) .75s forwards; }
.intro-cachet img { animation-duration: .45s; animation-delay: .12s; }
.intro-anneau { animation-duration: .6s; }
