/*
Theme Name: Daphné
Description: Site de Daphné, réflexologie plantaire à Soindres. Conçu d'abord pour le téléphone.
Version: 0.1.0
Text Domain: daphne
*/

/* ---------- Jetons ---------- */
:root {
  --peche: #F0A27C; --peche-clair: #F7D3C0; --peche-pale: #FBE9DE;
  --corail: #BF4038; --corail-fonce: #A5352E; --brun-rouge: #7E2A22;
  --foret: #2F6B50; --foret-fonce: #25573F; --sauge: #A9CF8E; --sauge-pale: #E3EFD8;
  --bleu: #B2D0DC; --creme: #F3EEE7; --fond: #FBF7F2; --blanc: #fff;
  --texte: #3B2A22; --texte-doux: #5E4A40; --trait: #EADFD3;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  --main: Allura, "Snell Roundhand", cursive;
  --marge: clamp(20px, 5vw, 72px);
  --bloc: clamp(56px, 9vw, 120px);
  --rayon: 32px;
  --ombre: 0 18px 40px -22px rgba(94, 50, 30, .35);
  --ombre-douce: 0 10px 30px -18px rgba(94, 50, 30, .3);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--texte); background: var(--fond); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: #9E332C; text-underline-offset: 3px; }
a:hover { color: var(--foret); }
:focus-visible { outline: 3px solid var(--foret); outline-offset: 3px; border-radius: 6px; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.06; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(36px, 6.4vw, 66px); }
h2 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: clamp(20px, 3vw, 36px); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
p + p { margin-top: 14px; }
.nobr { white-space: nowrap; }
.icone { flex: none; }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--texte); color: #fff; padding: 12px 18px; border-radius: 999px; }
.evitement:focus { left: 12px; }

.conteneur { width: min(1120px, 100% - 2 * var(--marge)); margin-inline: auto; }
.conteneur--etroit { width: min(760px, 100% - 2 * var(--marge)); }
.conteneur--lecture { width: min(720px, 100% - 2 * var(--marge)); }

.manuscrit { font-family: var(--main); font-size: clamp(34px, 4vw, 42px); line-height: 1; color: var(--corail); margin-bottom: 8px; font-weight: 400; }
.manuscrit--clair { color: var(--peche-clair); }
.manuscrit--brun { color: var(--brun-rouge); }
.manuscrit--grand { font-size: clamp(42px, 5vw, 52px); }
.surtitre { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #5A2B1F; margin-bottom: 16px; }
.chapo { max-width: 34em; font-size: 18px; }
h2 + .chapo { margin-top: calc(-1 * clamp(8px, 1.6vw, 18px)); margin-bottom: clamp(24px, 3.4vw, 40px); }
.note { margin-top: 24px; font-size: 15.500px; color: var(--texte-doux); }
.note--trait { border-top: 1px solid var(--trait); padding-top: 20px; }
.suite { margin-top: 28px; }
.a-confirmer { display: inline-block; border: 1.500px dashed var(--corail); color: #9E332C; border-radius: 999px; padding: 2px 12px; font-size: 14.500px; font-weight: 600; white-space: nowrap; }
.a-confirmer--bloc { white-space: normal; border-radius: 20px; padding: 8px 16px; margin-top: 20px; }

/* ---------- Boutons et liens ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px/1.2 var(--sans); text-decoration: none; border: 1.500px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.bouton .icone { width: 20px; height: 20px; }
.bouton--plein { background: var(--corail); color: #fff; box-shadow: 0 10px 22px -12px rgba(191, 64, 56, .8); }
.bouton--plein:hover { background: var(--corail-fonce); color: #fff; transform: translateY(-2px); }
.bouton--contour { border-color: var(--texte); color: var(--texte); background: transparent; }
.bouton--contour:hover { background: rgba(255, 255, 255, .55); color: var(--texte); transform: translateY(-2px); }
.bouton--grand { min-height: 56px; padding: 0 30px; font-size: 17px; }
.bouton--large { width: 100%; min-height: 54px; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.boutons--centre { justify-content: center; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: #9E332C; text-decoration: none; }
.lien-fleche .icone { width: 20px; height: 20px; transition: transform .2s ease; }
.lien-fleche:hover .icone { transform: translateX(4px); }
.lien-fleche--clair { color: var(--creme); }
.lien-fleche--clair:hover { color: var(--peche-clair); }
.lien-fleche--retour .icone { transform: rotate(180deg); }
.lien-fleche--retour:hover .icone { transform: rotate(180deg) translateX(4px); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 242, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.entete--pose { border-bottom-color: var(--trait); box-shadow: 0 8px 24px -20px rgba(59, 42, 34, .5); }
.entete__barre { width: min(1120px, 100% - 2 * var(--marge)); margin-inline: auto; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--texte); }
.marque img { width: 48px; height: 48px; border-radius: 50%; }
.marque__texte { display: flex; flex-direction: column; line-height: 1; }
.marque__nom { font-family: var(--main); font-size: 32px; color: var(--corail); }
.marque__metier { font-size: 11.500px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); }
.nav { display: none; align-items: center; gap: 28px; }
.nav a:not(.bouton) { color: var(--texte); text-decoration: none; font-weight: 500; padding: 12px 0; position: relative; }
.nav a:not(.bouton)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.500px; background: var(--corail); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.bouton):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.burger { width: 48px; height: 48px; border-radius: 50%; border: 1.500px solid var(--texte); background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
.burger span { width: 18px; height: 1.500px; background: var(--texte); transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.500px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.500px) rotate(-45deg); }
.menu-mobile { padding: 4px var(--marge) 24px; display: flex; flex-direction: column; max-height: calc(100dvh - 68px); overflow: auto; }
.menu-mobile[hidden] { display: none; }
.menu-mobile > a:not(.bouton):not(.menu-mobile__insta) { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-top: 1px solid var(--trait); font-family: var(--serif); font-size: 26px; color: var(--texte); text-decoration: none; }
.menu-mobile > a .icone { width: 20px; height: 20px; color: var(--corail); }
.menu-mobile .bouton { margin-top: 18px; }
.menu-mobile__insta { display: inline-flex; align-items: center; gap: 8px; justify-content: center; min-height: 48px; margin-top: 8px; color: var(--texte-doux); text-decoration: none; font-weight: 500; }
@media (min-width: 900px) { .nav { display: flex; } .burger, .menu-mobile { display: none !important; } .entete__barre { min-height: 76px; } }

/* ---------- Ouverture ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--peche-clair) 0%, var(--peche) 100%); }
.hero__decor { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(42vw 42vw at 88% 8%, rgba(255, 255, 255, .5), transparent 62%),
  radial-gradient(60vw 50vw at -10% 100%, rgba(191, 64, 56, .16), transparent 60%); }
.hero__grille { position: relative; display: grid; gap: 22px; padding-block: 24px 44px; }
.hero__portrait { position: relative; width: min(62vw, 250px); margin-inline: auto; order: -1; }
.arche { padding: 10px 10px 0; border: 1.500px solid rgba(255, 255, 255, .9); border-bottom: 0; border-radius: 999px 999px 0 0; }
.arche { border-bottom: 1.500px solid rgba(255, 255, 255, .9); border-radius: 999px; padding-bottom: 10px; }
.arche img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 4%; border-radius: 999px; background: var(--peche); }
.hero__sceau { position: absolute; left: -14px; bottom: 18px; width: 84px; height: 84px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .92); box-shadow: var(--ombre-douce); animation: flotte 7s ease-in-out infinite; }
.hero__signature { position: absolute; right: -22px; bottom: 14px; color: #fff; font-size: 54px; text-shadow: 0 2px 14px rgba(126, 42, 34, .45); transform: rotate(-6deg); margin: 0; }
.hero h1 { color: var(--texte); }
.hero__accroche { margin: 14px 0 0; color: var(--brun-rouge); font-size: clamp(32px, 4.200vw, 46px); line-height: 1.1; }
.hero__chapo { margin: 14px 0 24px; max-width: 30em; font-size: 18px; }
.hero__reperes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero__reperes li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 500; }
.hero__reperes .icone { width: 18px; height: 18px; color: var(--brun-rouge); }
@keyframes flotte { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@media (max-width: 899px) { .hero .boutons .bouton { flex: 1 1 100%; } }
@media (min-width: 900px) {
  .hero { background: linear-gradient(120deg, var(--peche-clair) 0%, var(--peche) 100%); }
  .hero__grille { grid-template-columns: 1.350fr 1fr; align-items: end; gap: clamp(32px, 6vw, 88px); padding-block: clamp(44px, 6vw, 80px) 0; }
  .hero__texte { padding-bottom: clamp(48px, 7vw, 96px); }
  .hero__portrait { order: 2; width: min(100%, 420px); }
  .arche { border-bottom: 0; border-radius: 999px 999px 0 0; padding-bottom: 0; }
  .arche img { aspect-ratio: 4 / 5.200; border-radius: 999px 999px 0 0; }
  .hero__sceau { width: 108px; height: 108px; left: -36px; bottom: 56px; }
  .hero__signature { font-size: 72px; right: -18px; bottom: 26px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--bloc); }
.section--creme { background: var(--creme); }
.section--peche { background: var(--peche-pale); }
.section--foret { background: var(--foret); color: var(--creme); position: relative; overflow: hidden; }
.section--foret::before { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 1.500px solid rgba(243, 238, 231, .16); box-shadow: 0 0 0 46px rgba(243, 238, 231, .05), 0 0 0 110px rgba(243, 238, 231, .035); pointer-events: none; }
.section--foret h2 { color: var(--creme); }
.section--foret .carte { color: var(--texte); }
.grille { display: grid; gap: 16px; }
@media (min-width: 720px) { .grille--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.carte { border-radius: 36px; padding: 28px; transition: transform .3s ease; }
.carte:hover { transform: translateY(-4px); }
.carte--sauge { background: var(--sauge); } .carte--creme { background: var(--creme); } .carte--bleu { background: var(--bleu); }
.carte__num { font-family: var(--serif); font-size: 52px; line-height: 1; margin-bottom: 14px; font-style: italic; }

.pastilles { display: grid; gap: 12px; }
.pastille { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 22px 12px 14px; border-radius: 999px; font-size: 17.500px; font-weight: 500; line-height: 1.3; }
.pastille__icone { flex: none; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .7); display: grid; place-items: center; color: var(--foret-fonce); }
.pastille--sauge { background: var(--sauge); } .pastille--bleu { background: var(--bleu); } .pastille--creme { background: var(--creme); }
@media (min-width: 640px) { .pastilles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pastilles { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

.etapes { display: grid; gap: 14px; counter-reset: etape; }
.etape { background: var(--fond); border-radius: var(--rayon); padding: 24px; position: relative; }
.etape__num { width: 48px; height: 48px; border-radius: 50%; border: 1.500px solid var(--foret); color: var(--foret); display: grid; place-items: center; font-family: var(--serif); font-size: 26px; margin-bottom: 16px; background: var(--fond); position: relative; z-index: 1; }
@media (min-width: 640px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .etapes { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .etape:not(:last-child)::after { content: ""; position: absolute; top: 48px; left: 72px; right: -42px; border-top: 1.500px dashed rgba(47, 107, 80, .45); }
}
.reperes { display: grid; gap: 12px; margin-top: 20px; }
.reperes > div { background: #fff; border-radius: 999px; min-height: 60px; padding: 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reperes dt { font-weight: 600; }
@media (min-width: 640px) { .reperes { grid-template-columns: repeat(2, 1fr); } }

.histoire__tete { display: grid; gap: 24px; align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.histoire__tete h2 { margin-bottom: 16px; }
.histoire__tete .chapo { margin: 0; }
.histoire__tete .chapo + .chapo { margin-top: 14px; }
.medaillon { width: min(70vw, 280px); margin-inline: auto; padding: 10px; border: 1.500px solid var(--peche); border-radius: 999px; }
.medaillon img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 2%; border-radius: 999px; }
@media (min-width: 800px) { .histoire__tete:has(.medaillon) { grid-template-columns: 300px 1fr; gap: 64px; } }
.frise { display: grid; gap: 14px; position: relative; }
.frise__temps { background: var(--fond); border-radius: var(--rayon); padding: 24px 24px 24px 28px; position: relative; }
.frise__quand { font-size: 13.500px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9E332C; margin-bottom: 10px; }
.frise__temps h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
@media (min-width: 640px) { .frise { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .frise { grid-template-columns: repeat(4, 1fr); gap: 18px; } .frise__temps:nth-child(even) { transform: translateY(22px); } }

/* ---------- Où me trouver : la carte ---------- */
.ou { display: grid; gap: 32px; align-items: center; }
.ou__texte h2 { margin-bottom: 16px; }
.ou__texte .chapo { margin: 0 0 18px; }
.communes { display: flex; flex-wrap: wrap; gap: 8px; }
.commune { font: 500 15.500px var(--sans); color: var(--texte); background: var(--creme); border: 1.500px solid transparent; border-radius: 999px; padding: 9px 16px; min-height: 42px; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.commune:hover, .commune.est-active { background: var(--sauge); border-color: var(--foret); transform: translateY(-1px); }
.ou__aide { margin-top: 12px; font-size: 14.500px; color: var(--texte-doux); }
.ou__carte { width: min(100%, 520px); margin-inline: auto; }
.carte-cadre { border-radius: 50%; padding: 10px; border: 1.500px dashed rgba(47, 107, 80, .4); filter: drop-shadow(0 26px 34px rgba(47, 107, 80, .2)); }
.carte-svg { width: 100%; height: auto; border-radius: 50%; }
.carte-commune { fill: #EDF4E3; stroke: #fff; stroke-width: 1.400; stroke-linejoin: round; transition: fill .2s ease; outline: none; }
.carte-commune.c-autre { fill: #E7F0DC; stroke: rgba(255, 255, 255, .85); stroke-width: 1; }
.carte-commune.c-servie { fill: #BBDBA3; cursor: pointer; }
.carte-commune.c-centre { fill: var(--peche); cursor: pointer; }
.carte-commune.c-servie:hover, .carte-commune.c-servie.est-active, .carte-commune.c-servie:focus-visible { fill: var(--foret); }
.carte-commune.c-centre:hover, .carte-commune.c-centre.est-active { fill: #E88C63; }
.carte-anneau { fill: none; stroke: var(--foret); stroke-opacity: .5; stroke-width: 1.800; stroke-dasharray: 7 8; pointer-events: none; }
.carte-km { font: 600 19px var(--sans); fill: var(--foret-fonce); pointer-events: none; }
.carte-pouls { fill: var(--corail); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pouls 2.400s ease-out infinite; }
@keyframes pouls { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.400); opacity: 0; } }
.carte-etiquette { pointer-events: none; }
.carte-etiquette rect { fill: rgba(255, 255, 255, .94); filter: drop-shadow(0 2px 3px rgba(59, 42, 34, .18)); }
.carte-etiquette text { font: 600 20px var(--sans); fill: var(--texte); }
.carte-etiquette.c-centre rect { fill: var(--corail); }
.carte-etiquette.c-centre text { fill: #fff; font-size: 21px; }
.carte-info { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; min-height: 48px; padding: 8px 18px; background: var(--creme); border-radius: 999px; font-weight: 500; text-align: center; }
.carte-info .icone { color: var(--corail); width: 20px; height: 20px; }
@media (min-width: 900px) { .ou { grid-template-columns: 1fr 1.050fr; gap: clamp(40px, 6vw, 80px); } }

/* ---------- Questions ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--fond); border-radius: 28px; padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--ombre-douce); }
.faq summary { list-style: none; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 600; font-size: 17.500px; line-height: 1.3; padding: 10px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq__signe { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.500px solid var(--foret); position: relative; transition: transform .3s ease, background-color .2s ease; }
.faq__signe::before, .faq__signe::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.500px; background: var(--foret); transform: translate(-50%, -50%); transition: background-color .2s ease; }
.faq__signe::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__signe { transform: rotate(45deg); background: var(--foret); }
.faq details[open] .faq__signe::before, .faq details[open] .faq__signe::after { background: #fff; }
.faq details p { padding: 0 0 22px; max-width: 38em; }

/* ---------- Appel final ---------- */
.appel { background: linear-gradient(180deg, var(--peche) 0%, var(--peche-clair) 100%); padding-block: clamp(56px, 9vw, 110px); text-align: center; position: relative; overflow: hidden; }
.appel::before, .appel::after { content: ""; position: absolute; border-radius: 50%; border: 1.500px solid rgba(255, 255, 255, .55); pointer-events: none; }
.appel::before { width: 360px; height: 360px; left: -150px; bottom: -160px; }
.appel::after { width: 240px; height: 240px; right: -90px; top: -90px; }
.appel .conteneur { position: relative; display: flex; flex-direction: column; align-items: center; }
.appel__logo { width: 84px; height: 84px; border-radius: 50%; border: 1.500px solid rgba(255, 255, 255, .9); margin-bottom: 20px; }
.appel h2 { margin-bottom: 14px; font-size: clamp(36px, 5vw, 58px); }
.appel p:not(.manuscrit) { margin-bottom: 26px; }
@media (max-width: 599px) { .appel .bouton { flex: 1 1 100%; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--foret); color: var(--creme); padding: clamp(48px, 7vw, 80px) 0 32px; }
.pied a { color: var(--creme); text-decoration: none; }
.pied a:hover { text-decoration: underline; color: #fff; }
.pied__grille { display: grid; gap: 36px; }
.pied__marque { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pied__marque img { width: 56px; height: 56px; border-radius: 50%; }
.pied__marque span { font-family: var(--main); font-size: 40px; line-height: 1; }
.pied__titre { font-size: 26px; margin-bottom: 6px; }
.pied__liens li > * { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.pied__liens .icone { width: 20px; height: 20px; }
.pied__mention { margin-top: 36px; padding: 18px 22px; border: 1px solid rgba(243, 238, 231, .4); border-radius: 24px; font-size: 15.500px; }
.pied__bas { margin-top: 20px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.pied__bas a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; }
@media (min-width: 800px) { .pied__grille { grid-template-columns: 1.400fr 1fr 1.200fr; gap: 56px; } }
@media (max-width: 899px) { .pied { padding-bottom: 104px; } }

/* ---------- Boutons flottants : Instagram et rendez-vous ---------- */
.flottants { position: fixed; z-index: 60; right: 16px; left: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; align-items: center; justify-content: flex-end; pointer-events: none; opacity: 0; transform: translateY(18px); transition: opacity .3s ease, transform .3s ease; }
.flottants--visibles { opacity: 1; transform: none; }
.flottants--visibles .flottant { pointer-events: auto; }
.menu-ouvert .flottants { opacity: 0; pointer-events: none; }
.flottant { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px; text-decoration: none; font: 600 16px/1 var(--sans); color: #fff; box-shadow: 0 14px 30px -12px rgba(59, 42, 34, .55); transition: transform .2s ease, box-shadow .2s ease; }
.flottant:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 34px -12px rgba(59, 42, 34, .6); }
.flottant .icone { width: 24px; height: 24px; }
.flottant--insta { width: 56px; flex: none; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border: 2px solid #fff; }
.flottant--insta .flottant__texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.flottant--rdv { flex: 1; padding: 0 22px; background: var(--corail); border: 2px solid #fff; }
.flottant--rdv:hover { background: var(--corail-fonce); }
@media (min-width: 900px) {
  .flottants { left: auto; right: 24px; bottom: 24px; flex-direction: column; align-items: flex-end; gap: 12px; }
  .flottant--rdv { flex: none; }
  .flottant--insta { width: auto; min-width: 56px; padding: 0 16px; overflow: hidden; }
  .flottant--insta .flottant__texte { position: static; width: auto; height: auto; clip-path: none; max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .3s ease, opacity .2s ease; margin-left: -10px; }
  .flottant--insta:hover .flottant__texte, .flottant--insta:focus-visible .flottant__texte { max-width: 120px; opacity: 1; margin-left: 0; }
}

/* ---------- Pages intérieures ---------- */
.titre-page { background: linear-gradient(180deg, var(--peche-pale), var(--creme)); padding-block: clamp(44px, 7vw, 96px); position: relative; overflow: hidden; }
.titre-page::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1.500px solid rgba(191, 64, 56, .22); box-shadow: 0 0 0 44px rgba(240, 162, 124, .14); pointer-events: none; }
.titre-page .conteneur { position: relative; }
.titre-page h1 { max-width: 16em; font-size: clamp(36px, 5.600vw, 64px); }
.titre-page .chapo { margin-top: 20px; font-size: 19px; }
.duo { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .duo { grid-template-columns: 1.200fr 1fr; gap: clamp(40px, 6vw, 80px); } .duo--egal { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 20px; } }
.illustration { aspect-ratio: 4 / 3; border-radius: 40px; background: radial-gradient(circle at 30% 30%, var(--peche-clair), var(--peche)); display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.illustration::before { content: ""; position: absolute; inset: 14%; border: 1.500px solid rgba(255, 255, 255, .7); border-radius: 50%; }
.illustration .icone { width: 30%; height: auto; stroke-width: 1; }
.presta { background: #fff; border: 1px solid var(--trait); border-radius: 36px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s ease, box-shadow .3s ease; }
.presta:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.presta__trait { width: 44px; height: 8px; border-radius: 999px; }
.presta__trait--sauge { background: var(--sauge); } .presta__trait--peche { background: var(--peche); } .presta__trait--bleu { background: var(--bleu); }
.presta h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0; }
.presta > p { flex: 1; }
.presta dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--trait); }
.encart { border-radius: 44px; padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.encart h2 { font-size: clamp(30px, 3.800vw, 44px); margin-bottom: 8px; }
.encart .bouton { margin-top: 18px; }
.encart--bleu { background: var(--bleu); } .encart--creme { background: var(--creme); }
.fiche { display: grid; gap: 12px; }
.fiche > div { background: var(--creme); border-radius: 28px; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fiche dt { font-weight: 600; }
.citation { text-align: center; }
.citation p { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4.400vw, 46px); line-height: 1.2; }
.citation .manuscrit { display: block; margin-top: 16px; font-size: 46px; }

.contacts { display: grid; gap: 12px; }
.contact { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 12px 26px; border-radius: 999px; text-decoration: none; line-height: 1.3; transition: transform .2s ease; }
a.contact:hover { transform: translateY(-2px); }
.contact .icone { width: 26px; height: 26px; }
.contact span { display: flex; flex-direction: column; }
.contact small { font-size: 15px; font-weight: 400; opacity: .9; }
.contact--corail { background: var(--corail); color: #fff; } .contact--corail:hover { color: #fff; background: var(--corail-fonce); }
.contact--foret { background: var(--foret); color: #fff; } .contact--foret:hover { color: #fff; background: var(--foret-fonce); }
.contact--contour { border: 1.500px solid var(--texte); color: var(--texte); } .contact--contour:hover { background: var(--creme); color: var(--texte); }
.contact--attente { border: 1.500px dashed var(--corail); color: #9E332C; }
.horaires { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.formulaire { background: var(--creme); border-radius: 40px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.formulaire h2 { font-size: clamp(28px, 3.400vw, 36px); margin: 0; }
.formulaire label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.formulaire input, .formulaire textarea { border-radius: 16px; border: 1.500px solid #CFC2B4; background: #fff; padding: 14px 16px; font: 17px/1.5 var(--sans); color: var(--texte); width: 100%; }
.formulaire input { height: 54px; padding-block: 0; }
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--foret); box-shadow: 0 0 0 4px rgba(47, 107, 80, .16); }
.formulaire textarea { resize: vertical; }
.formulaire .note { margin: 0; }
.piege { position: absolute; left: -9999px; }
.retour { border-radius: 20px; padding: 12px 18px; font-weight: 600; }
.retour--ok { background: var(--sauge-pale); color: var(--foret-fonce); } .retour--ko { background: var(--peche-pale); color: #9E332C; }

/* ---------- Schéma du pied ---------- */
.zones { display: grid; gap: 32px; align-items: center; }
.zones__legende { display: grid; gap: 10px; margin-top: 8px; }
.zones__legende li { display: flex; align-items: center; gap: 14px; background: var(--fond); border-radius: 20px; padding: 12px 16px; cursor: default; transition: transform .2s ease, box-shadow .2s ease; }
.zones__legende li:hover { transform: translateX(4px); box-shadow: var(--ombre-douce); }
.zones__legende span:not(.puce) { display: flex; flex-direction: column; line-height: 1.35; }
.zones__legende strong { font-weight: 600; }
.zones__legende small { font-size: 15.500px; color: var(--texte-doux); }
.puce { flex: none; width: 14px; height: 14px; border-radius: 50%; align-self: center; }
.puce--peche { background: var(--peche); } .puce--bleu { background: var(--bleu); } .puce--sauge { background: var(--sauge); } .puce--corail { background: var(--corail); } .puce--foret { background: var(--foret); }
.zones__dessin { width: min(72vw, 300px); margin-inline: auto; }
.zones__dessin svg { width: 100%; filter: drop-shadow(0 22px 26px rgba(94, 50, 30, .18)); }
.orteils ellipse { fill: var(--peche); stroke: #fff; stroke-width: 3; }
.z { stroke: #fff; stroke-width: 3; transition: opacity .2s ease; }
.z2 { fill: var(--bleu); } .z3 { fill: var(--sauge); } .z4 { fill: var(--corail); } .z5 { fill: var(--foret); opacity: .92; }
.pied-contour { fill: none; stroke: #fff; stroke-width: 4; }
.zones__dessin[data-actif] .z, .zones__dessin[data-actif] .orteils { opacity: .28; }
.zones__dessin[data-actif="1"] .orteils, .zones__dessin[data-actif="2"] .z2, .zones__dessin[data-actif="3"] .z3, .zones__dessin[data-actif="4"] .z4, .zones__dessin[data-actif="5"] .z5 { opacity: 1; }
@media (min-width: 860px) { .zones { grid-template-columns: 1.300fr 1fr; gap: 64px; } .zones__dessin { width: 300px; } }

/* ---------- Journal et article ---------- */
.article-carte { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--texte); }
.article-carte:hover { color: var(--texte); }
.article-carte__image { aspect-ratio: 4 / 3; border-radius: var(--rayon); overflow: hidden; display: grid; place-items: center; color: #fff; }
.article-carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-carte:hover .article-carte__image img { transform: scale(1.04); }
.article-carte__image .icone { width: 72px; height: 72px; stroke-width: 1; }
.article-carte__image--sauge { background: linear-gradient(135deg, var(--sauge), var(--foret)); }
.article-carte__image--bleu { background: linear-gradient(135deg, var(--bleu), #6F9DB0); }
.article-carte__image--peche { background: linear-gradient(135deg, var(--peche-clair), var(--peche)); }
.article-carte h2 { font-size: 30px; line-height: 1.12; margin: 0; }
.etiquette { align-self: flex-start; border-radius: 999px; padding: 4px 14px; font-size: 15px; font-weight: 500; }
.etiquette--sauge { background: var(--sauge); } .etiquette--bleu { background: var(--bleu); } .etiquette--peche { background: var(--peche-clair); }
.nav-links { display: flex; gap: 12px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: 999px; background: var(--creme); text-decoration: none; }
.page-numbers.current { background: var(--corail); color: #fff; }
.article { padding-block: clamp(36px, 6vw, 72px) var(--bloc); }
.article__meta { margin: 16px 0 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 15.500px; color: var(--texte-doux); }
.article h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 20px; }
.article__chapo { font-size: 20px; margin-bottom: 28px; }
.article__image { margin-bottom: 32px; }
.article__image img { width: 100%; border-radius: 36px; aspect-ratio: 16 / 10; object-fit: cover; }
.article__signature { margin-top: 32px; }
.article__signature .manuscrit { font-size: 46px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(28px, 3.600vw, 36px); margin: 40px 0 0; }
.prose h3 { font-size: 21px; margin: 28px 0 0; }
.prose ul, .prose ol { padding-left: 1.200em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { padding-left: 28px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .620em; width: 10px; height: 10px; border-radius: 50%; background: var(--sauge); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose blockquote { margin: 32px 0; padding: 24px 28px; background: var(--peche-pale); border-radius: var(--rayon); font-family: var(--serif); font-size: 26px; line-height: 1.25; font-style: italic; }
.prose blockquote p { margin: 0; }

/* ---------- Apparition ---------- */
.apparition--prete > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.apparition--vue > * { opacity: 1; transform: none; }
.apparition--vue > *:nth-child(2) { transition-delay: .08s; } .apparition--vue > *:nth-child(3) { transition-delay: .16s; }
.apparition--vue > *:nth-child(4) { transition-delay: .24s; } .apparition--vue > *:nth-child(5) { transition-delay: .32s; } .apparition--vue > *:nth-child(6) { transition-delay: .4s; }
@media (min-width: 1000px) { .frise.apparition--vue .frise__temps:nth-child(even) { transform: translateY(22px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
