/* ==========================================================================
   Sandrine Gnerucci Robbe — « Le fil rouge »
   Lins teints cousus ensemble, fil rouge, étiquettes tissées.
   Règle absolue : aucune couleur bleue, nulle part.
   ========================================================================== */

/* ---------- Matières et couleurs ---------- */
:root {
  --lin: #D5C9B1;
  --lin-fonce: #C8BBA0;
  --lin-clair: #E6DCC8;
  --grenat: #5B1727;
  --grenat-fonce: #420F1C;
  --olive: #4B5728;
  --olive-fonce: #3A4420;
  --ocre: #BC8633;
  --garance: #A3221B;
  --garance-fonce: #861A14;
  --vif: #E2583D;
  --safran: #E0AA45;
  --encre: #2B1D16;
  --encre-douce: #503E31;
  --ecru: #F3E9D6;

  --serif: 'Alegreya', Georgia, 'Times New Roman', serif;
  --sans: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
  --sc: 'Alegreya Sans SC', 'Alegreya Sans', sans-serif;

  --conteneur: 1260px;
  --mesure: 64ch;
  --gouttiere: clamp(1rem, 4.5vw, 2.5rem);
  --rayon: 8px;
  --ombre: 0 18px 30px -18px rgba(43, 10, 12, .6), 0 3px 8px -3px rgba(43, 10, 12, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* trame du lin : fibres irrégulières dans les deux sens */
  --trame-sombre: none;
  --trame-claire: none;
  --grille: none;
  --grille-claire: none;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.125rem, 1.04rem + .3vw, 1.25rem);
  line-height: 1.6;
  color: var(--encre);
  background: var(--lin);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--garance);
  accent-color: var(--garance);
}
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.012em; }
h1 { font-size: clamp(2.45rem, 1.5rem + 3.9vw, 4.75rem); line-height: 1.02; }
h2 { font-size: clamp(1.95rem, 1.35rem + 2.2vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.7rem); line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--garance); color: var(--ecru); }
.panneau-grenat ::selection, .panneau-olive ::selection { background: var(--safran); color: var(--encre); }

a { color: var(--lien, var(--garance-fonce)); text-decoration: underline dashed; text-decoration-thickness: 2px; text-underline-offset: .24em; text-decoration-color: color-mix(in srgb, currentColor 70%, transparent); transition: text-decoration-color .2s, color .2s; }
a:hover { text-decoration-style: solid; text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus, var(--garance)); outline-offset: 3px; border-radius: 4px; }

html { scrollbar-color: var(--grenat) var(--lin-fonce); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--lin-fonce); }
::-webkit-scrollbar-thumb { background: var(--grenat); border-radius: 6px; border: 3px solid var(--lin-fonce); }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--grenat); color: var(--ecru); padding: .75rem 1.25rem; border-radius: var(--rayon); font-weight: 700; }
.evitement:focus { top: 1rem; }

.conteneur { width: 100%; max-width: var(--conteneur); margin-inline: auto; padding-inline: var(--gouttiere); }
.mesure { max-width: var(--mesure); }
.chapeau { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.4rem); line-height: 1.5; }
.italique { font-family: var(--serif); font-style: italic; }
.icone { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Panneaux de lin (chaque section est une pièce de tissu) ---------- */
.panneau {
  position: relative;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  background-color: var(--fond);
  background-image: var(--trame), var(--grille-panneau);
  color: var(--texte);
  --fond: var(--lin);
  --texte: var(--encre);
  --texte-doux: var(--encre-douce);
  --trame: var(--trame-sombre);
  --grille-panneau: var(--grille);
  --couture: var(--garance);
  --fil-appl: var(--garance);
  --lien: var(--garance-fonce);
  --focus: var(--garance);
}
.panneau-lin { }
.panneau-grenat {
  --fond: var(--grenat); --texte: var(--ecru); --texte-doux: #E6CFC4;
  --trame: var(--trame-claire); --grille-panneau: var(--grille-claire);
  --couture: #E9B9A3; --fil-appl: var(--vif); --lien: #FFD9C7; --focus: var(--safran);
}
.panneau-olive {
  --fond: var(--olive); --texte: var(--ecru); --texte-doux: #E1DEC0;
  --trame: var(--trame-claire); --grille-panneau: var(--grille-claire);
  --couture: var(--safran); --fil-appl: var(--safran); --lien: #F6E3A8; --focus: var(--safran);
}
.panneau-ocre {
  --fond: var(--ocre); --texte: var(--encre); --texte-doux: var(--encre);
  --couture: var(--grenat); --fil-appl: var(--grenat); --lien: var(--grenat-fonce); --focus: var(--grenat);
}
.panneau-fin { padding-block: 1.35rem; }
.texte-doux { color: var(--texte-doux); }

/* La couture : un point avant qui joint deux pièces, cousu au défilement */
.panneau + .panneau::before, .pied::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--couture) 0 60%, transparent 60% 100%) 0 0 / 17px 3px repeat-x;
  border-radius: 2px;
  z-index: 2;
}
.js-coud .panneau + .panneau::before { clip-path: inset(0 100% 0 0); }
.js-coud .panneau + .panneau.est-cousu::before { animation: coudre 1.6s steps(46, end) forwards; }
@keyframes coudre { to { clip-path: inset(0 0 0 0); } }

/* ---------- Boutons : des pièces cousues ---------- */
.bouton {
  --b-fond: var(--garance); --b-texte: var(--ecru); --b-point: rgba(243, 233, 214, .6);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.35rem; padding: .85rem 1.55rem;
  font: 700 1.08rem/1.15 var(--sans); letter-spacing: .01em; text-align: center;
  color: var(--b-texte); background: var(--b-fond);
  border: 0; border-radius: var(--rayon); cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 18px -12px rgba(43, 10, 12, .7);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s;
}
.bouton::after { content: ""; position: absolute; inset: 5px; border: 1.5px dashed var(--b-point); border-radius: 5px; pointer-events: none; transition: inset .35s var(--ease); }
.bouton:hover { transform: translateY(-2px); box-shadow: 0 16px 24px -14px rgba(43, 10, 12, .75); text-decoration: none; }
.bouton:hover::after { inset: 4px; }
.bouton:active { transform: translateY(0); }
.bouton .icone { width: 1.2em; height: 1.2em; }
.bouton--ecru { --b-fond: var(--ecru); --b-texte: var(--grenat); --b-point: rgba(163, 34, 27, .55); }
.bouton--ecru:hover { --b-fond: #FFF6E6; }
.bouton--garance:hover { --b-fond: var(--garance-fonce); }
.bouton--contour { --b-fond: transparent; --b-texte: currentColor; --b-point: transparent; box-shadow: inset 0 0 0 2px currentColor; color: var(--texte); }
.bouton--contour:hover { box-shadow: inset 0 0 0 2px currentColor, 0 12px 20px -16px rgba(0, 0, 0, .6); background: color-mix(in srgb, var(--texte) 8%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.actions--pile .bouton { width: 100%; }
@media (min-width: 520px) { .actions--pile .bouton { width: auto; } }

.lien-fleche { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--lien); }
.lien-fleche .icone { transition: transform .3s var(--ease); }
.lien-fleche:hover .icone { transform: translateX(4px); }

/* ---------- Étiquettes tissées ---------- */
.etiquette {
  display: inline-flex; align-items: center; gap: .4em;
  font: 700 .9rem/1 var(--sc); letter-spacing: .06em;
  padding: .5em 1.05em .55em;
  color: var(--grenat); background-color: var(--ecru);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 50%, 100% 100%, 0 100%, 7px 50%);
  white-space: nowrap;
}
.etiquette--garance { color: var(--ecru); background-color: var(--garance); }
.etiquette--olive { color: var(--ecru); background-color: var(--olive); }

/* Point de croix (puces) */
.croix { width: .95em; height: .95em; stroke: var(--fil-appl); stroke-width: 3; stroke-linecap: round; fill: none; }

/* ---------- Appliqués : les photos sont cousues sur le tissu ---------- */
.applique { position: relative; margin: 0; isolation: isolate; }
.applique img { position: relative; width: 100%; border-radius: 4px; box-shadow: var(--ombre); background: var(--lin-fonce); }
.applique::before {
  content: ""; position: absolute; inset: -11px; z-index: -1; border-radius: 10px; pointer-events: none;
  --p: var(--fil-appl);
  background:
    linear-gradient(90deg, var(--p) 0 58%, transparent 58%) 0 0 / 15px 2.5px repeat-x,
    linear-gradient(90deg, var(--p) 0 58%, transparent 58%) 0 100% / 15px 2.5px repeat-x,
    linear-gradient(180deg, var(--p) 0 58%, transparent 58%) 0 0 / 2.5px 15px repeat-y,
    linear-gradient(180deg, var(--p) 0 58%, transparent 58%) 100% 0 / 2.5px 15px repeat-y;
}
.applique--penche { transform: rotate(-1.6deg); }
.applique--penche-d { transform: rotate(1.3deg); }
.applique figcaption { margin-top: 1.1rem; font: italic 500 1.02rem/1.4 var(--serif); color: var(--texte-doux); }

/* ---------- En-tête ---------- */
.entete { --fil-appl: var(--garance); position: relative; z-index: 30; background-color: var(--lin); background-image: var(--trame-sombre), var(--grille); }
.entete::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--garance) 0 60%, transparent 60%) 0 0 / 17px 3px repeat-x; }
.entete__barre { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; padding-block: .6rem; }
.marque { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--encre); margin-right: auto; min-width: 0; }
.marque__signe { width: auto; height: 48px; flex: none; }
.marque__texte { display: flex; flex-direction: column; line-height: 1.1; }
.marque__nom { font: 700 1.28rem/1.05 var(--serif); letter-spacing: -.01em; }
.marque__role { font: 500 .88rem/1.2 var(--sc); letter-spacing: .04em; color: var(--encre-douce); margin-top: .18rem; }
.entete__tel { display: none; align-items: center; gap: .45rem; font-weight: 700; color: var(--encre); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.entete__tel:hover { color: var(--garance-fonce); }
.entete__rdv { display: none; min-height: 2.9rem; padding: .6rem 1.15rem; font-size: 1rem; white-space: nowrap; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.9rem; padding: .5rem .95rem;
  font: 700 1rem/1 var(--sans); color: var(--ecru); background: var(--grenat); border: 0; border-radius: var(--rayon); cursor: pointer;
}
.menu-toggle .icone { width: 1.3em; height: 1.3em; }

.nav { display: none; }
.nav a { text-decoration: none; }

/* Menu mobile : un grand panneau grenat */
@media (max-width: 1239.98px) {
  .nav {
    position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain;
    padding: 5.25rem var(--gouttiere) 7rem;
    background-color: var(--grenat); background-image: var(--trame-claire), var(--grille-claire); color: var(--ecru);
    --focus: var(--safran);
  }
  .nav.est-ouvert { display: block; animation: deplier .45s var(--ease); }
  @keyframes deplier { from { opacity: 0; transform: translateY(-12px); } }
  .nav__liste { list-style: none; display: grid; gap: 1.6rem; }
  .nav__liste > li > a, .nav__declencheur { font: 700 1.75rem/1.1 var(--serif); color: var(--ecru); }
  .nav__declencheur { background: none; border: 0; padding: 0; cursor: default; pointer-events: none; font: 500 1rem/1 var(--sc); letter-spacing: .08em; color: #E6CFC4; }
  .nav__declencheur .icone { display: none; }
  .sous-menu { list-style: none; display: grid; gap: .85rem; margin-top: .9rem; }
  .sous-menu a { display: block; font: 700 1.55rem/1.15 var(--serif); color: var(--ecru); }
  .sous-menu a span { display: block; font: 400 1rem/1.35 var(--sans); color: #E6CFC4; margin-top: .15rem; }
  .nav a[aria-current="page"] { position: relative; padding-left: 1.5rem; }
  .nav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: .45em; width: .9rem; height: .9rem; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2583D' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
  .nav__contact { display: grid; gap: .75rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 2px dashed rgba(233, 185, 163, .5); }
  .nav__contact .bouton { width: 100%; }
  .nav-ouverte { overflow: hidden; }
  .nav-ouverte .menu-toggle { position: fixed; top: .85rem; right: var(--gouttiere); z-index: 70; background: var(--ecru); color: var(--grenat); }
}

@media (min-width: 700px) and (max-width: 1239.98px) {
  .entete__tel { display: inline-flex; }
}
@media (min-width: 1240px) {
  .menu-toggle, .nav__contact { display: none; }
  .entete__barre { min-height: 5.25rem; gap: 1.6rem; }
  .nav { flex: 0 1 auto; min-width: 0; }
  .marque__nom { white-space: nowrap; }
  .marque { flex: none; }
  .entete__rdv { display: inline-flex; }
  .nav { display: block; }
  .nav__liste { list-style: none; display: flex; align-items: center; gap: clamp(.9rem, 1.4vw, 1.4rem); }
  .nav__liste > li { position: relative; }
  .nav__liste > li > a, .nav__declencheur {
    display: inline-flex; align-items: center; gap: .3rem; padding: .5rem 0;
    font: 500 1.04rem/1 var(--sans); color: var(--encre); background: none; border: 0; cursor: pointer; white-space: nowrap;
    text-decoration: underline dashed transparent 2px; text-underline-offset: .45em; transition: text-decoration-color .2s, color .2s;
  }
  .nav__liste > li > a:hover, .nav__declencheur:hover, .nav__groupe.est-ouvert .nav__declencheur { text-decoration-color: var(--garance); color: var(--garance-fonce); }
  .nav a[aria-current="page"], .nav__groupe.est-actif .nav__declencheur { text-decoration-color: var(--garance); font-weight: 700; }
  .nav__declencheur .icone { width: 1em; height: 1em; transition: transform .3s var(--ease); }
  .nav__groupe.est-ouvert .nav__declencheur .icone { transform: rotate(180deg); }
  .sous-menu {
    position: absolute; z-index: 5; top: calc(100% + .75rem); left: -1.25rem; width: 21rem; list-style: none;
    padding: .75rem; display: grid; gap: .15rem;
    background-color: var(--ecru); border-radius: 10px; box-shadow: 0 24px 40px -22px rgba(43, 10, 12, .6), 0 4px 10px -4px rgba(43, 10, 12, .2);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .25s;
  }
  .sous-menu::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(163, 34, 27, .35); border-radius: 7px; pointer-events: none; }
  .nav__groupe.est-ouvert .sous-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .sous-menu a { position: relative; display: block; padding: .7rem .85rem; border-radius: 6px; font: 700 1.12rem/1.2 var(--serif); color: var(--encre); }
  .sous-menu a span { display: block; font: 400 .95rem/1.3 var(--sans); color: var(--encre-douce); margin-top: .15rem; }
  .sous-menu a:hover, .sous-menu a[aria-current="page"] { background: rgba(163, 34, 27, .08); color: var(--garance-fonce); }
}

/* ---------- Barre d'action mobile (toujours sous le pouce) ---------- */
.barre-action {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem;
  padding: .6rem clamp(.6rem, 3vw, 2.5rem) calc(.6rem + env(safe-area-inset-bottom));
  background-color: var(--grenat-fonce); background-image: var(--trame-claire);
  box-shadow: 0 -10px 24px -14px rgba(20, 5, 8, .8);
}
.barre-action::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #E9B9A3 0 60%, transparent 60%) 0 0 / 17px 3px repeat-x; }
.barre-action .bouton { min-height: 3.1rem; padding: .6rem .35rem; font-size: 1rem; gap: .35em; }
.barre-action .bouton .icone { width: 1.1em; height: 1.1em; }
@media (max-width: 359.98px) { .barre-action .bouton .icone { display: none; } }
.pied { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)) !important; }
@media (min-width: 1080px) { .barre-action { display: none; } .pied { padding-bottom: 2.5rem !important; } }

/* ---------- Héros de l'accueil ---------- */
.heros { padding-block: clamp(2.25rem, 1.5rem + 4vw, 5.5rem) clamp(3.5rem, 2.5rem + 5vw, 6.5rem); overflow: hidden; }
.heros__grille { display: grid; gap: 2.5rem; align-items: center; }
.heros__photo { position: relative; order: -1; max-width: 460px; width: 84%; margin: .5rem auto 0 auto; }
.heros__photo .applique img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 18%; }
@media (min-width: 900px) { .heros__photo { order: 0; } .heros__photo .applique img { aspect-ratio: 4 / 5; object-position: 50% 22%; } }
.heros__texte h1 { margin-bottom: 1.35rem; }
.heros__texte .chapeau { color: var(--texte-doux); max-width: 36rem; margin-bottom: 2rem; }
.heros__rassure { margin-top: 1.25rem; font-size: 1.125rem; color: var(--texte-doux); max-width: 34rem; }
.heros__lieux { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin-top: 1.6rem; }

/* Mot cousu dans le titre */
.cousu { position: relative; display: inline-block; white-space: nowrap; }
.cousu__fil { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.cousu__fil path { fill: none; stroke: var(--fil-appl); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 11 8; vector-effect: non-scaling-stroke; }
.js-coud .cousu__fil { clip-path: inset(0 100% 0 0); animation: coudre 1.35s steps(18, end) .45s forwards; }

/* Écusson brodé « Vue sur M6 » */
.ecusson {
  position: absolute; left: -7%; bottom: -14%; z-index: 3;
  display: grid; justify-items: center; text-align: center; gap: .1rem;
  width: 11rem; padding: 1.2rem .9rem 1.1rem;
  color: var(--ecru); background-color: var(--grenat-fonce); background-image: var(--trame-claire);
  border-radius: 999px / 70%; transform: rotate(-7deg);
  box-shadow: 0 18px 26px -14px rgba(20, 4, 8, .85);
  text-decoration: none;
}
.ecusson::before { /* bord au point de bourdon */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 6px;
  background: var(--safran);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.ecusson::after { content: ""; position: absolute; inset: 11px; border-radius: inherit; border: 1.5px dashed rgba(233, 185, 163, .55); }
.ecusson__haut { font: 700 .82rem/1 var(--sc); letter-spacing: .14em; color: #F1C9B7; }
.ecusson__m6 { font: 800 3.1rem/1 var(--serif); letter-spacing: -.02em; color: var(--ecru); }
.ecusson__bas { font: italic 500 .86rem/1.2 var(--serif); color: #F1C9B7; max-width: 8.2rem; }

@media (min-width: 900px) {
  .heros__grille { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(3rem, 6vw, 6rem); }
  .heros__photo { width: 100%; margin: 0 0 0 auto; }
  .ecusson { width: 12.5rem; left: -18%; bottom: 6%; }
  .ecusson__m6 { font-size: 3.7rem; }
  .ecusson__haut { font-size: .9rem; }
  .ecusson__bas { font-size: .95rem; max-width: 9.5rem; }
}

/* Fil qui sort de la photo, avec son aiguille */
.fil-libre { position: absolute; pointer-events: none; overflow: visible; }
.fil-libre path { fill: none; stroke: var(--fil-appl); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 11 8; }
.fil-libre .aiguille { stroke: var(--texte-doux); stroke-width: 2.2; stroke-dasharray: none; }
.heros__fil { right: -14%; top: -8%; width: 46%; height: 34%; }

/* ---------- Ruban de confiance ---------- */
.ruban { font: 500 1.125rem/1.35 var(--sans); --fond: var(--ecru); }
.ruban ul { list-style: none; display: grid; gap: .55rem; }
.ruban li { display: flex; align-items: center; gap: .8rem; }
.ruban li::before { content: ""; width: .75em; height: .75em; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3221B' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); flex: none; }
@media (min-width: 900px) {
  .ruban ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; }
  .ruban li { gap: 1.4rem; }
  .ruban li:first-child::before { display: none; }
}
.ruban strong { font-family: var(--serif); font-size: 1.12em; }

/* ---------- Titres de section ---------- */
.tete-section { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.tete-section h2 { margin-bottom: 1rem; }
.tete-section p { color: var(--texte-doux); }
.tete-section--centre { margin-inline: auto; text-align: center; }

/* ---------- Liste « vous vous reconnaissez » ---------- */
.reconnait { list-style: none; display: grid; gap: 0; }
.reconnait li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .9rem; align-items: start; padding: 1.05rem 0; border-top: 2px dashed color-mix(in srgb, var(--couture) 45%, transparent); font-size: 1.12em; line-height: 1.45; }
.reconnait li:last-child { border-bottom: 2px dashed color-mix(in srgb, var(--couture) 45%, transparent); }
.reconnait .croix { margin-top: .3rem; width: 1.1rem; height: 1.1rem; }
@media (min-width: 900px) {
  .deux-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
  .deux-col--egal { grid-template-columns: 1fr 1fr; }
  .collant { position: sticky; top: 2rem; }
}
.note-main { margin-top: 1.8rem; font: italic 500 1.25rem/1.45 var(--serif); color: var(--texte-doux); }

/* ---------- Portes d'entrée : pour qui ---------- */
.portes { list-style: none; margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.porte {
  display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: center;
  padding: 1.4rem .25rem; color: var(--encre); text-decoration: none;
  border-top: 2px dashed rgba(163, 34, 27, .45); transition: background-color .25s;
}
.portes li:last-child .porte { border-bottom: 2px dashed rgba(163, 34, 27, .45); }
.porte__titre { font: 700 clamp(1.55rem, 1.3rem + 1vw, 2.15rem)/1.1 var(--serif); grid-column: 1; transition: transform .35s var(--ease), color .2s; }
.porte__texte { grid-column: 1 / -1; color: var(--encre-douce); }
.porte__fin { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; gap: .9rem; }
.porte__fin .icone { width: 1.5rem; height: 1.5rem; color: var(--garance); transition: transform .35s var(--ease); }
.porte:hover { background-color: rgba(163, 34, 27, .06); text-decoration: none; }
.porte:hover .porte__fin .icone { transform: translateX(5px); }
.porte:hover .porte__titre { color: var(--garance-fonce); transform: translateX(6px); }
@media (min-width: 800px) {
  .porte { grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.6fr) auto; gap: 2rem; padding: 1.6rem 1rem; }
  .porte__texte { grid-column: 2; grid-row: 1; }
  .porte__fin { grid-column: 3; }
}

/* ---------- Méthodes (lignes alternées photo / texte) ---------- */
.methodes { display: grid; gap: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.methode { display: grid; gap: 2.25rem; align-items: center; }
.methode .applique { max-width: 520px; width: 92%; margin-inline: auto; }
.methode .applique img { aspect-ratio: 4 / 3; object-fit: cover; }
.methode h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: .9rem; }
.methode p { color: var(--texte-doux); }
.methode .lien-fleche { margin-top: .6rem; }
@media (min-width: 900px) {
  .methode { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .methode .applique { width: 100%; }
  .methode:nth-child(even) .applique { order: 2; }
}

/* ---------- Citation brodée ---------- */
.citation { text-align: center; }
.citation__constellation { width: min(320px, 78%); height: auto; margin: 0 auto 2.2rem; overflow: visible; }
.citation blockquote { margin: 0 auto; max-width: 52rem; }
.citation blockquote p { font: italic 500 clamp(1.65rem, 1.2rem + 1.9vw, 2.7rem)/1.28 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.citation figcaption { margin-top: 1.6rem; font: 700 1rem/1 var(--sc); letter-spacing: .1em; color: var(--texte-doux); }

/* Constellation cousue : points de croix reliés par le fil */
.constellation .lien { fill: none; stroke: var(--fil-appl); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 9 7; }
.constellation .etoile { fill: none; stroke: var(--safran); stroke-width: 3.4; stroke-linecap: round; }
.js-coud .citation .constellation .lien { clip-path: inset(0 100% 0 0); }
.js-coud .est-cousu .constellation .lien { animation: coudre 2.2s steps(34, end) forwards; }

/* ---------- Portrait / présentation ---------- */
.presente { display: grid; gap: 2.75rem; align-items: center; }
.presente .applique { max-width: 440px; width: 88%; margin-inline: auto; }
.presente .applique img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.presente h2 { margin-bottom: 1.2rem; }
.presente p { color: var(--texte-doux); }
@media (min-width: 900px) { .presente { grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 7vw, 7rem); } .presente .applique { width: 100%; } }

/* ---------- Livre d'or ---------- */
.livre { display: grid; gap: 2.4rem; }
.mot {
  position: relative; margin: 0; padding: 2rem 1.75rem 1.6rem;
  background-color: var(--lin-clair); background-image: var(--trame-sombre), var(--grille);
  color: var(--encre); border-radius: 6px; box-shadow: var(--ombre);
}
.mot::before { content: ""; position: absolute; inset: 9px; border-radius: 4px; pointer-events: none;
  --p: var(--garance);
  background:
    linear-gradient(90deg, var(--p) 0 58%, transparent 58%) 0 0 / 14px 2px repeat-x,
    linear-gradient(90deg, var(--p) 0 58%, transparent 58%) 0 100% / 14px 2px repeat-x,
    linear-gradient(180deg, var(--p) 0 58%, transparent 58%) 0 0 / 2px 14px repeat-y,
    linear-gradient(180deg, var(--p) 0 58%, transparent 58%) 100% 0 / 2px 14px repeat-y;
  opacity: .75;
}
.mot blockquote { margin: 0; }
.mot blockquote p { font: italic 500 1.2rem/1.5 var(--serif); }
.mot figcaption { margin-top: 1.1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font: 700 .98rem/1.2 var(--sc); letter-spacing: .05em; color: var(--encre-douce); }
.etoiles { display: inline-flex; gap: 2px; color: var(--garance); }
.etoiles svg { width: 15px; height: 15px; fill: currentColor; }
.mot:nth-child(1) { transform: rotate(-1.1deg); }
.mot:nth-child(2) { transform: rotate(.9deg); }
.mot:nth-child(3) { transform: rotate(.5deg); }
.mot:nth-child(4) { transform: rotate(-.8deg); }
@media (min-width: 800px) { .livre { grid-template-columns: 1fr 1fr; gap: 2.8rem 2.4rem; align-items: start; } .mot:nth-child(even) { margin-top: 2.5rem; } }
.livre__pied { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; justify-content: center; text-align: center; }

/* ---------- Dates des journées ---------- */
.dates { list-style: none; display: grid; gap: 0; border-bottom: 2px dashed color-mix(in srgb, var(--couture) 55%, transparent); }
.date {
  display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.25rem; align-items: center;
  padding: 1.15rem 0; border-top: 2px dashed color-mix(in srgb, var(--couture) 55%, transparent);
}
.date__jour { grid-row: span 2; display: grid; justify-items: center; width: 4.6rem; padding: .55rem 0 .6rem; border-radius: 8px; background: var(--ecru); color: var(--grenat); font-variant-numeric: tabular-nums; position: relative; }
.date__jour::after { content: ""; position: absolute; inset: 4px; border: 1.5px dashed rgba(163, 34, 27, .45); border-radius: 5px; }
.date__num { font: 800 2rem/1 var(--serif); }
.date__mois { font: 700 .82rem/1 var(--sc); letter-spacing: .08em; margin-top: .2rem; }
.date__lieu { font: 700 1.3rem/1.2 var(--serif); }
.date__detail { color: var(--texte-doux); font-size: 1.125rem; }
.date[hidden] { display: none; }
.dates-vide { padding: 1.2rem 0; font-style: italic; color: var(--texte-doux); }

/* ---------- Étapes ---------- */
.etapes { list-style: none; counter-reset: etape; display: grid; gap: 2.2rem; }
.etape { position: relative; padding-left: 4.4rem; counter-increment: etape; }
.etape::before {
  content: counter(etape); position: absolute; left: 0; top: -.2rem;
  display: grid; place-items: center; width: 3.3rem; height: 3.3rem; border-radius: 50%;
  font: 800 1.6rem/1 var(--serif); color: var(--garance-fonce);
  background-color: var(--ecru);
  outline: 2px dashed var(--garance); outline-offset: -7px;
  box-shadow: 0 8px 14px -8px rgba(43, 10, 12, .6);
}
.panneau-olive .etape::before { outline-color: var(--olive); color: var(--olive-fonce); }
.etape h3 { font-size: 1.5rem; margin-bottom: .45rem; }
.etape p { color: var(--texte-doux); }
@media (min-width: 900px) { .etapes { grid-template-columns: repeat(3, 1fr); gap: 3rem; } .etape { padding-left: 0; padding-top: 4.4rem; } }

/* ---------- Rendez-vous final ---------- */
.rdv__grille { max-width: 56rem; margin-inline: auto; text-align: center; }
.rdv .chapeau { margin-inline: auto; }
.rdv .actions { justify-content: center; }
.rdv__arbre { width: auto; height: 84px; margin: 0 auto 1.4rem; display: block; }
.rdv__place { width: min(250px, 62%); margin-inline: auto; }
.rdv__place svg { width: 100%; height: auto; overflow: visible; }
.rdv h2 { margin-bottom: 1.1rem; }
.rdv .chapeau { color: var(--texte-doux); margin-bottom: 2rem; max-width: 38rem; }
.rdv__alt { margin-top: 1.4rem; color: var(--texte-doux); }
.rdv__infos { margin-top: 2.4rem; padding-top: 1.8rem; border-top: 2px dashed rgba(233, 185, 163, .45); display: grid; gap: 1.2rem; font-size: 1.125rem; }
.info { display: grid; grid-template-columns: 1.5rem 1fr; gap: .8rem; align-items: start; }
.info .icone { margin-top: .2rem; color: var(--couture); }
.info strong { display: block; }
@media (min-width: 700px) {
  .rdv__infos { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; }
}
.rdv__infos { text-align: left; }
.patron { fill: none; stroke: rgba(243, 233, 214, .72); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .1 8; }
.patron-fil { fill: none; stroke: var(--vif); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 7; }
.patron-texte { font: italic 600 17px var(--serif); fill: #F1C9B7; letter-spacing: .02em; }

/* ---------- Pied de page ---------- */
.pied { font-size: 1.125rem; padding-block: 4rem 2.5rem; }
.pied__grille { display: grid; gap: 2.5rem; }
.pied h2 { font-size: 1.05rem; font-family: var(--sc); font-weight: 700; letter-spacing: .08em; margin-bottom: 1rem; color: #F1C9B7; }
.pied ul { list-style: none; display: grid; gap: .55rem; }
.pied a { color: var(--ecru); text-decoration-color: rgba(233, 185, 163, .5); }
.pied__marque { display: flex; align-items: center; gap: .7rem; font: 700 1.5rem/1.1 var(--serif); margin-bottom: .7rem; }
.pied__marque img { width: auto; height: 52px; flex: none; }
.pied__intro { color: var(--texte-doux); max-width: 26rem; }
.reseaux { display: flex; gap: .7rem; margin-top: 1.2rem; }
.reseaux a { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: rgba(243, 233, 214, .1); box-shadow: inset 0 0 0 1.5px rgba(243, 233, 214, .35); text-decoration: none; transition: background-color .2s; }
.reseaux a:hover { background: rgba(243, 233, 214, .2); }
.pied__bas { margin-top: 3rem; padding-top: 1.8rem; border-top: 2px dashed rgba(233, 185, 163, .4); display: grid; gap: .9rem; color: var(--texte-doux); font-size: 1.125rem; }
.pied__bas p { max-width: 70ch; }
@media (min-width: 800px) { .pied__grille { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.tete-page { padding-block: clamp(2.5rem, 1.8rem + 4vw, 5.5rem); overflow: hidden; }
.tete-page__grille { display: grid; gap: 2.6rem; align-items: center; }
.tete-page h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4.2rem); margin-bottom: 1.25rem; }
.tete-page .chapeau { color: var(--texte-doux); max-width: 38rem; }
.tete-page .actions { margin-top: 2rem; }
.tete-page .applique { max-width: 440px; width: 86%; margin-inline: auto; }
.tete-page .applique img { aspect-ratio: 5 / 4; object-fit: cover; }
.tete-page .applique--portrait img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .tete-page__grille { grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 6vw, 6rem); }
  .tete-page .applique { width: 100%; margin: 0 0 0 auto; }
}
.fil-ariane { margin-bottom: 1.4rem; font: 500 .98rem/1.3 var(--sc); letter-spacing: .05em; color: var(--texte-doux); }
.fil-ariane a { color: inherit; }

.prose { max-width: var(--mesure); }
.prose h2 { margin: 0 0 1.1rem; }
.prose h3 { margin: 2.2rem 0 .7rem; }
.prose p, .prose li { color: var(--texte-doux); }
.prose > * + h2 { margin-top: 3rem; }
.prose strong { color: var(--texte); }

.liste-croix { list-style: none; display: grid; gap: .8rem; margin: 1.2rem 0 1.6rem; }
.liste-croix li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .8rem; align-items: start; }
.liste-croix .croix { margin-top: .38rem; }
@media (min-width: 700px) { .liste-croix--2 { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }

/* Encadré « En pratique » : une étiquette de soin cousue */
.pratique {
  position: relative; padding: 2rem 1.6rem 1.8rem; border-radius: 10px;
  background-color: var(--ecru); background-image: var(--trame-sombre); color: var(--encre);
  box-shadow: var(--ombre);
}
.pratique::before { content: ""; position: absolute; inset: 9px; border: 2px dashed rgba(163, 34, 27, .5); border-radius: 6px; pointer-events: none; }
.pratique h2, .pratique h3 { font-size: 1.6rem; margin-bottom: 1.1rem; }
.pratique dl { margin: 0; display: grid; gap: 0; }
.pratique dl > div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .75rem 0; border-top: 1.5px dashed rgba(80, 62, 49, .3); align-items: baseline; }
.pratique dt { color: var(--encre-douce); }
.pratique dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.pratique p { font-size: 1.125rem; color: var(--encre-douce); margin-top: 1rem; }
.pratique .bouton { width: 100%; margin-top: 1.4rem; }

.avertissement {
  position: relative; display: grid; grid-template-columns: 1.6rem 1fr; gap: .9rem;
  padding: 1.3rem 1.4rem; border-radius: 8px; margin: 2rem 0;
  background: color-mix(in srgb, var(--garance) 9%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--garance) 40%, transparent);
  font-size: 1.125rem; color: var(--texte);
}
.avertissement .icone { color: var(--garance); margin-top: .15rem; }
.panneau-grenat .avertissement, .panneau-olive .avertissement { background: rgba(243, 233, 214, .1); box-shadow: inset 0 0 0 1.5px rgba(243, 233, 214, .35); }
.panneau-grenat .avertissement .icone, .panneau-olive .avertissement .icone { color: var(--safran); }

.parcours { list-style: none; counter-reset: pas; display: grid; gap: 0; margin: 1.6rem 0; }
.parcours li { counter-increment: pas; position: relative; padding: 0 0 1.8rem 3.6rem; color: var(--texte-doux); }
.parcours li::before { content: counter(pas); position: absolute; left: 0; top: -.1rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--fil-appl); color: var(--fond); font: 800 1.15rem/1 var(--serif); }
.parcours li::after { content: ""; position: absolute; left: calc(1.2rem - 1px); top: 2.6rem; bottom: .3rem; width: 2.5px; background: linear-gradient(180deg, var(--fil-appl) 0 58%, transparent 58%) 0 0 / 2.5px 13px repeat-y; }
.parcours li:last-child { padding-bottom: 0; }
.parcours li:last-child::after { display: none; }
.parcours strong { display: block; font: 700 1.28rem/1.25 var(--serif); color: var(--texte); margin-bottom: .2rem; }

.grille-2 { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .grille-2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(3rem, 6vw, 5.5rem); } .grille-2 > aside { position: sticky; top: 2rem; } }

.duo-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.6rem; margin: 2.5rem 0 1rem; }
.duo-photos .applique img { aspect-ratio: 1; object-fit: cover; }

/* Tarifs */
.tarifs { list-style: none; display: grid; gap: 0; }
.tarif { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; align-items: baseline; padding: 1.2rem 0; border-top: 2px dashed rgba(163, 34, 27, .4); }
.tarifs li:last-child .tarif, .tarif:last-child { border-bottom: 2px dashed rgba(163, 34, 27, .4); }
.tarif__nom { font: 700 1.3rem/1.25 var(--serif); }
.tarif__prix { font: 800 1.5rem/1 var(--serif); color: var(--garance-fonce); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tarif__detail { grid-column: 1 / -1; color: var(--encre-douce); font-size: 1.125rem; }

/* FAQ en accordéon natif */
.faq { display: grid; gap: 0; max-width: 52rem; }
.faq details { border-top: 2px dashed rgba(163, 34, 27, .4); }
.faq details:last-child { border-bottom: 2px dashed rgba(163, 34, 27, .4); }
.faq summary { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.3rem .2rem; cursor: pointer; font: 700 clamp(1.2rem, 1.1rem + .4vw, 1.4rem)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icone { width: 1.5rem; height: 1.5rem; color: var(--garance); transition: transform .35s var(--ease); }
.faq details[open] summary .icone { transform: rotate(45deg); }
.faq summary:hover { color: var(--garance-fonce); }
.faq .reponse { padding: 0 .2rem 1.5rem; color: var(--encre-douce); max-width: 64ch; }

/* Lieux */
.lieux { list-style: none; display: grid; gap: 1.6rem; }
.lieu { display: grid; gap: .3rem; padding-left: 1.9rem; position: relative; }
.lieu .icone { position: absolute; left: 0; top: .25rem; color: var(--couture); }
.lieu strong { font: 700 1.25rem/1.25 var(--serif); }
.lieu span { color: var(--texte-doux); }
@media (min-width: 800px) { .lieux--4 { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; } }

/* Contact */
.contact-voies { display: grid; gap: 1.2rem; }
.voie { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.1rem; align-items: center; padding: 1.3rem 1.2rem; border-radius: 10px; background: var(--ecru); color: var(--encre); text-decoration: none; box-shadow: var(--ombre); transition: transform .35s var(--ease); position: relative; }
.voie::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(163, 34, 27, .35); border-radius: 7px; pointer-events: none; }
.voie:hover { transform: translateY(-3px); text-decoration: none; }
.voie__icone { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--garance); color: var(--ecru); }
.voie__icone .icone { width: 1.45rem; height: 1.45rem; }
.voie strong { display: block; font: 700 1.3rem/1.2 var(--serif); }
.voie span { color: var(--encre-douce); font-size: 1.125rem; }
.voie .voie__icone { color: var(--ecru); font-size: inherit; }
@media (min-width: 800px) { .contact-voies { grid-template-columns: repeat(2, 1fr); } }

.formulaire { display: grid; gap: 1.2rem; }
.champ { display: grid; gap: .45rem; }
.champ label { font-weight: 700; }
.champ .aide { font-size: 1.125rem; font-weight: 400; color: var(--encre-douce); }
.champ input, .champ textarea, .champ select {
  width: 100%; font: 400 1.1rem/1.4 var(--sans); color: var(--encre);
  padding: .85rem 1rem; border-radius: 8px; border: 2px solid rgba(80, 62, 49, .45); background: var(--lin-clair);
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 9rem; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--garance); box-shadow: 0 0 0 3px rgba(163, 34, 27, .25); }
.champ input:user-invalid, .champ textarea:user-invalid { border-color: var(--garance-fonce); }
.champ input::placeholder, .champ textarea::placeholder { color: #6B5444; }
.formulaire__note { font-size: 1.125rem; color: var(--encre-douce); }
.formulaire__erreur { color: var(--garance-fonce); font-weight: 700; }

/* Mentions */
.legal h2 { font-size: 1.7rem; margin: 2.5rem 0 .8rem; }
.legal p { color: var(--encre-douce); }

/* 404 */
.page-404 { text-align: center; }
.page-404 h1 { margin-bottom: 1rem; }
.page-404 .actions { justify-content: center; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-coud .panneau + .panneau::before, .js-coud .cousu__fil, .js-coud .constellation .lien { clip-path: none; }
}
@media print {
  .entete, .barre-action, .pied, .rdv { display: none; }
  .panneau { background: none !important; color: #000; }
}

/* ---------- Logo : l'arbre généalogique dont les branches sont des étoiles ---------- */
.arbre { overflow: visible; }
.arbre .racines { fill: none; stroke: var(--arbre-racines, var(--olive)); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 2.2 3.4; }
.arbre .tronc { fill: none; stroke: var(--arbre-tronc, var(--garance)); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.arbre .lien-etoiles { fill: none; stroke: var(--arbre-tronc, var(--garance)); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 2 3; opacity: .7; }
.arbre .etoile-pt { fill: var(--safran); }
.panneau-grenat .arbre, .panneau-olive .arbre, .pied .arbre { --arbre-tronc: var(--ecru); --arbre-racines: #E9B9A3; }
.citation__arbre { width: auto; height: clamp(120px, 18vw, 170px); margin: 0 auto 2rem; display: block; }
.citation__arbre--gauche { margin: 1.8rem 0 0; height: 150px; }

/* ---------- Rangées « portes » sur panneaux sombres + grille à trois lieux ---------- */
.panneau-olive .porte, .panneau-grenat .porte { color: var(--ecru); border-top-color: color-mix(in srgb, var(--couture) 55%, transparent); }
.panneau-olive .portes li:last-child .porte, .panneau-grenat .portes li:last-child .porte { border-bottom-color: color-mix(in srgb, var(--couture) 55%, transparent); }
.panneau-olive .porte__texte, .panneau-grenat .porte__texte { color: var(--texte-doux); }
.panneau-olive .porte__fin .icone, .panneau-grenat .porte__fin .icone { color: var(--couture); }
.panneau-olive .porte:hover, .panneau-grenat .porte:hover { background-color: rgba(243, 233, 214, .08); }
.panneau-olive .porte:hover .porte__titre, .panneau-grenat .porte:hover .porte__titre { color: #F6E3A8; }
@media (min-width: 800px) { .lieux--3 { grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; } }

/* ---------- Petits écrans : les longues adresses passent à la ligne au lieu d'élargir la page ---------- */
.voie > span:last-child { min-width: 0; }
.voie span, .pied a, .rdv__alt a, .reponse a, .legal p { overflow-wrap: anywhere; }

/* Rangées « portes » : sur petit écran, le titre peut se resserrer et l'étiquette passer dessous */
.porte { grid-template-columns: minmax(0, 1fr) auto; }
.porte__titre { overflow-wrap: anywhere; }
@media (max-width: 419.98px) {
  .porte__fin .etiquette { font-size: .82rem; padding-inline: .8em; }
}
@media (min-width: 800px) { .porte { grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.6fr) auto; } }
