/* ==========================================================
   Clinique des Cheveux · styles complémentaires à Tailwind
   ========================================================== */

:root {
  --lin: #F4EFE6;
  --papier: #FBF8F2;
  --sauge: #8E9C80;
  --sauge-clair: #D3D9C8;
  --sauge-fonce: #5E6B53;
  --mousse: #3B4636;
  --terre: #7A5536;
  --argile: #C7A07A;
  --or: #A8854A;
  --encre: #2B2A24;
  --ecorce: #3A2A20;
  --or-clair: #C9A56A;
  --argile-clair: #EBDDCB;
  --terre-clair: #E9D4C5;
  --or-fonce: #80632F;      /* or lisible sur fond clair (contraste AA) */
}

/* Fraunces plus douce et plus chaleureuse sur tous les titres */
.font-display, .titre-section, .titre-ouverture, .soin-titre, .etape-titre, .etape-num,
.herbier-nom, .faq summary, .en-bref dt, .etiquette, .fiche-ligne dd {
  font-variation-settings: "SOFT" 80, "WONK" 0;
}
em, .titre-ouverture em, .herbier-latin { font-variation-settings: "SOFT" 100, "WONK" 1; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
::selection { background: var(--sauge-clair); color: var(--encre); }

/* Grain papier, très léger */
.grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 60;
  background: var(--mousse); color: var(--lin); padding: .6rem 1rem; border-radius: 2px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }

/* ---------- En-tête ---------- */
.site-header {
  background: rgb(244 239 230 / .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: rgb(43 42 36 / .1); }

.nav-link { position: relative; padding-block: .25rem; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.burger { display: grid; gap: 6px; width: 24px; }
.burger span { display: block; height: 1.5px; background: var(--encre); transition: transform .3s; }
[aria-expanded="true"] .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
[aria-expanded="true"] .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu-mobile { border-top: 1px solid rgb(43 42 36 / .1); background: var(--lin); }
.menu-mobile a:not(.btn) { display: block; padding: .6rem 0; border-bottom: 1px solid rgb(43 42 36 / .08); }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  transition: background-color .25s, color .25s, transform .25s;
}
.btn:active { transform: translateY(1px); }
.btn-mousse { background: var(--mousse); color: var(--lin); }
.btn-mousse:hover { background: var(--encre); }
.btn-ligne { border: 1px solid rgb(43 42 36 / .35); }
.btn-ligne:hover { border-color: var(--encre); background: rgb(43 42 36 / .04); }
.btn-or { background: var(--or-clair); color: var(--encre); }
.btn-or:hover { background: var(--lin); }
.btn-ligne-clair { border: 1px solid rgb(244 239 230 / .4); color: var(--lin); }
.btn-ligne-clair:hover { border-color: var(--lin); background: rgb(244 239 230 / .08); }

/* ---------- Ouverture ---------- */
.titre-ouverture {
  font-family: Fraunces, Georgia, serif; font-weight: 300;
  font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: .98; letter-spacing: -.02em;
}
.titre-ouverture em { color: var(--or-clair); font-weight: 300; }
.ouverture-branche {
  position: absolute; right: -6rem; top: -4rem; height: 125%; width: auto;
  fill: none; stroke: var(--or-clair); stroke-width: 1.3; opacity: .16; pointer-events: none;
}
@media (min-width: 1024px) { .ouverture-branche { right: 34%; opacity: .2; } }
.ouverture-bord { position: absolute; left: 0; bottom: -1px; width: 100%; height: 56px; fill: var(--lin); }
.ouverture .fiche { color: var(--encre); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45), 18px 22px 0 -6px rgb(201 165 106 / .35); }

.lien {
  text-decoration: underline; text-decoration-color: var(--or);
  text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.lien:hover { text-decoration-thickness: 2px; }
.lien--clair { color: var(--lin); }

/* ---------- Typo ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .75rem; text-transform: uppercase; letter-spacing: .22em; color: var(--sauge-fonce);
}
.kicker::before { content: ""; width: 1.75rem; height: 1px; background: var(--or); }
.kicker--clair { color: var(--sauge-clair); }

.titre-section {
  font-family: Fraunces, Georgia, serif; font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -.015em;
}

/* ---------- Fiche de soin (ouverture) ---------- */
.fiche {
  position: relative; background: var(--papier);
  padding: 1.75rem 1.5rem 1.5rem; border: 1px solid rgb(43 42 36 / .12);
  box-shadow: 0 1px 0 rgb(43 42 36 / .04), 18px 22px 0 -6px var(--sauge-clair);
  transform: rotate(1.2deg);
}
.fiche::before { /* trou de classeur */
  content: ""; position: absolute; top: 1rem; right: 1rem;
  width: .6rem; height: .6rem; border-radius: 50%;
  background: var(--lin); box-shadow: inset 0 1px 2px rgb(0 0 0 / .15);
}
.fiche-brin {
  position: absolute; width: 5.5rem; left: -2.6rem; bottom: -1.5rem;
  transform: rotate(-14deg); pointer-events: none;
}
.fiche-ligne { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; align-items: baseline; }
.fiche-ligne dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: rgb(43 42 36 / .72); }
.fiche-ligne dd {
  font-family: Fraunces, Georgia, serif; font-style: italic; color: var(--mousse);
  border-bottom: 1px dotted rgb(43 42 36 / .25); padding-bottom: .3rem;
}
@media (max-width: 420px) {
  .fiche-ligne { grid-template-columns: 1fr; gap: .15rem; }
  .fiche-brin { display: none; }
}

/* ---------- En bref ---------- */
.en-bref { display: grid; gap: 1px; background: rgb(43 42 36 / .12); border: 1px solid rgb(43 42 36 / .12); }
@media (min-width: 640px) { .en-bref { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .en-bref { grid-template-columns: repeat(4, 1fr); } }
.en-bref > div { background: var(--lin); padding: 1.25rem 1.25rem 1.4rem; }
.en-bref { counter-reset: bref; }
.en-bref > div { counter-increment: bref; }
.en-bref dt { font-family: Fraunces, serif; font-size: 1.15rem; color: var(--terre); }
.en-bref dt::before {
  content: counter(bref, decimal-leading-zero); display: block; margin-bottom: .5rem;
  font-style: italic; font-size: 2rem; line-height: 1; color: var(--or); font-weight: 300;
}
.en-bref dd { margin-top: .4rem; font-size: .92rem; line-height: 1.6; color: rgb(43 42 36 / .78); }

/* ---------- Étapes ---------- */
.etape { border-top: 1px solid rgb(43 42 36 / .2); padding-top: 1.5rem; }
.etape p { color: rgb(43 42 36 / .72); line-height: 1.65; margin-top: .6rem; font-size: .97rem; }
.etape-num { display: block; font-family: Fraunces, serif; font-style: italic; font-weight: 300; color: #96773F; font-size: 3.4rem; line-height: 1; }
.etape-titre { font-family: Fraunces, serif; font-size: 1.6rem; margin-top: .9rem; }

/* ---------- Soins ---------- */
.soin {
  display: grid; overflow: hidden; border-radius: 3px;
  background: var(--papier); border: 1px solid rgb(43 42 36 / .1);
  box-shadow: 0 20px 40px -30px rgb(43 42 36 / .35);
  --panneau: var(--argile-clair);
}
.soin--argile { --panneau: var(--argile-clair); }
.soin--sauge { --panneau: var(--sauge-clair); }
.soin--terre { --panneau: var(--terre-clair); }
.soin-entete { position: relative; background: var(--panneau); padding: 2rem 1.25rem; display: flex; flex-direction: column; align-items: flex-start; }
.soin-corps { padding: 2rem 1.25rem 2.25rem; }
.soin-illu {
  position: absolute; right: 1.25rem; top: 1.5rem; width: 3.5rem; height: 3.5rem;
  fill: none; stroke: var(--terre); stroke-width: 1.6; stroke-linecap: round; opacity: .55;
}
@media (min-width: 640px) {
  .soin-entete { padding: 2.75rem 2.5rem; }
  .soin-corps { padding: 2.75rem 2.5rem; }
}
@media (min-width: 1024px) {
  .soin { grid-template-columns: 4fr 8fr; }
  .soin-entete { padding: 3.5rem 3rem; }
  .soin-corps { padding: 3.5rem; }
  .soin-illu { position: static; margin-top: auto; padding-top: 3rem; width: 7rem; height: auto; opacity: .6; stroke-width: 1.2; }
}

.etiquette { /* étiquette d'apothicaire */
  display: inline-block; font-family: Fraunces, serif; font-style: italic;
  font-size: .9rem; color: var(--terre);
  border: 1px solid var(--argile); outline: 1px solid var(--argile); outline-offset: 3px;
  padding: .2rem .8rem; border-radius: 2px;
}
.soin-titre {
  font-family: Fraunces, serif; font-weight: 350;
  font-size: clamp(2.1rem, 3.8vw, 2.9rem); line-height: 1.02; margin-top: 1.25rem; letter-spacing: -.01em;
}
.soin-sous { margin-top: .6rem; color: rgb(43 42 36 / .75); line-height: 1.5; }
.soin-corps { display: grid; gap: 2rem; line-height: 1.7; color: rgb(43 42 36 / .85); }
@media (min-width: 768px) { .soin-corps { grid-template-columns: 1fr 15rem; gap: 2.5rem; } }
.soin-h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--sauge-fonce); margin-bottom: .4rem; }

.bienfaits { display: grid; gap: .5rem; }
.bienfaits li { display: flex; gap: .75rem; align-items: baseline; }
.bienfaits li::before {
  content: ""; flex: none; width: .55rem; height: .55rem; transform: translateY(-1px);
  border-radius: 0 60% 0 60%; background: var(--sauge);
}

.note {
  font-size: .93rem; padding: 1rem 1.1rem;
  border-left: 2px solid var(--or); background: rgb(251 248 242 / .7);
}

.tarifs { width: 100%; align-self: start; border-collapse: collapse; font-size: .93rem; }
.tarifs tbody { display: block; }
.tarifs tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid rgb(43 42 36 / .15); }
.tarifs tr:first-child { border-top: 1px solid rgb(43 42 36 / .15); }
.tarifs th { grid-column: 1 / -1; text-align: left; font-weight: 500; padding: .85rem 0 .1rem; }
.tarifs td { padding: .1rem 0 .85rem; color: rgb(43 42 36 / .72); }
.tarifs td:last-child { font-family: Fraunces, serif; font-size: 1.2rem; color: var(--terre); text-align: right; }

/* ---------- La carte des soins (façon menu imprimé) ---------- */
.carte-section { background: var(--papier); border-top: 1px solid rgb(43 42 36 / .08); }
.menu-papier {
  max-width: 68rem; margin-inline: auto; position: relative;
  background: #F2E8D7; /* kraft clair */
  border: 1px solid rgb(122 85 54 / .35); outline: 1px solid rgb(122 85 54 / .35); outline-offset: -10px;
  padding: 2.75rem 1.25rem; box-shadow: 0 30px 60px -40px rgb(58 42 32 / .5);
}
@media (min-width: 640px) { .menu-papier { padding: 4rem 3rem; outline-offset: -14px; } }
@media (min-width: 1024px) { .menu-papier { padding: 4.5rem 4.5rem; } }

.menu-rubrique { font-size: .7rem; text-transform: uppercase; letter-spacing: .28em; color: var(--terre); }
.plat-titre { font-family: Fraunces, Georgia, serif; font-weight: 350; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.1; margin-top: .35rem; font-variation-settings: "SOFT" 80; }
.menu-duree { font-family: Fraunces, serif; font-style: italic; color: var(--or-fonce); margin-top: .3rem; }

.menu-entree { text-align: center; }
.menu-points { display: grid; gap: .75rem; margin-top: 1.5rem; text-align: left; }
@media (min-width: 768px) { .menu-points { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; } }
.menu-points li { font-size: .93rem; line-height: 1.55; color: rgb(43 42 36 / .78); }
.menu-points strong { display: block; font-family: Fraunces, serif; font-weight: 500; color: var(--encre); font-size: 1.02rem; }

.menu-filet { display: flex; align-items: center; gap: 1rem; margin: 2.75rem 0; color: var(--terre); }
.menu-filet::before, .menu-filet::after { content: ""; flex: 1; height: 1px; background: rgb(122 85 54 / .35); }
.menu-filet span { font-size: 1.3rem; line-height: 1; }

/* Aide au choix */
.choix { margin-top: 2.5rem; text-align: center; }
.choix-titre { font-family: Fraunces, serif; font-style: italic; color: var(--terre); }
.choix ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .9rem; }
.choix a {
  display: inline-block; padding: .55rem 1rem; border-radius: 999px; font-size: .9rem;
  border: 1px solid rgb(122 85 54 / .35); background: var(--lin); transition: background-color .2s, border-color .2s, color .2s;
}
.choix a:hover { background: var(--sauge-clair); border-color: var(--sauge); }
.choix a[aria-current="true"] { background: var(--mousse); border-color: var(--mousse); color: var(--lin); }

/* Formule mise en avant par l'aide au choix */
.plat.est-choisi { border-color: var(--or); box-shadow: 0 0 0 2px var(--or-clair), 0 18px 36px -24px rgb(58 42 32 / .45); }
.plat.clignote { animation: clignote 0.7s ease-in-out 4; }
@keyframes clignote {
  0%, 100% { background-color: rgb(251 248 242 / .65); box-shadow: 0 0 0 2px var(--or-clair); }
  50%      { background-color: #F6E6C4; box-shadow: 0 0 0 6px rgb(201 165 106 / .55); }
}
@media (prefers-reduced-motion: reduce) { .plat.clignote { animation: none; } }

/* Formules */
.plats { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .plats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .plats { grid-template-columns: repeat(3, 1fr); } }
.plat {
  display: flex; flex-direction: column; scroll-margin-top: 6rem;
  background: rgb(251 248 242 / .65); border: 1px solid rgb(122 85 54 / .2); padding: 1.5rem 1.35rem 1.4rem;
  transition: border-color .25s, box-shadow .25s;
}
.plat:hover, .plat:target { border-color: rgb(122 85 54 / .5); box-shadow: 0 18px 36px -24px rgb(58 42 32 / .45); }
.plat-pour { font-size: .9rem; color: rgb(43 42 36 / .75); margin-top: .25rem; }
.plat-formule {
  display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; flex-wrap: wrap;
  margin-top: 1.1rem; padding: .7rem 0; border-block: 1px dotted rgb(122 85 54 / .45);
  font-family: Fraunces, serif; font-style: italic; font-size: 1.02rem;
}
.plat-formule--seconde { margin-top: 0; border-top: 0; }
.plat-prix { font-style: normal; font-size: 1.05rem; color: var(--terre); white-space: nowrap; }
.plat-argument { margin-top: 1rem; font-size: .92rem; line-height: 1.65; color: rgb(43 42 36 / .82); }
.plat-label { margin-top: 1.1rem; font-size: .66rem; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: var(--sauge-fonce); }
.produits { margin-top: .35rem; font-size: .86rem; line-height: 1.6; color: rgb(43 42 36 / .7); }
.plat-offre { margin-top: 1.1rem; font-size: .88rem; color: rgb(43 42 36 / .75); }
.plat-offre strong { font-family: Fraunces, serif; font-weight: 500; color: var(--terre); font-size: 1rem; }
.plat-offre span { display: inline-block; margin-left: .25rem; padding: .1rem .5rem; border-radius: 999px; font-size: .72rem; background: var(--sauge-clair); color: var(--mousse); }
.btn-formule {
  margin-top: auto; align-self: stretch; display: flex; justify-content: center; align-items: center; gap: .5rem;
  padding: .8rem 1rem; border-radius: 999px; background: var(--mousse); color: var(--lin); font-weight: 500; font-size: .92rem;
  transition: background-color .25s;
}
.plat > .plat-offre { margin-bottom: 1.25rem; }
.btn-formule:hover { background: var(--encre); }
.btn-formule span { transition: transform .25s; }
.btn-formule:hover span { transform: translateX(3px); }

/* Appel à l'action final */
.carte-cta {
  max-width: 68rem; margin: 2.5rem auto 0; padding: 2rem 1.5rem; border-radius: 3px;
  background: var(--mousse); color: var(--lin);
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 1024px) { .carte-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem 3rem; } }

.table-cabine { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table-cabine thead th { font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; color: var(--terre); text-align: left; padding: 0 1rem .7rem 0; border-bottom: 1px solid rgb(122 85 54 / .45); }
.table-cabine tbody th { font-family: Fraunces, serif; font-weight: 400; font-size: 1.05rem; text-align: left; }
.table-cabine tbody th, .table-cabine td { padding: .85rem 1rem .85rem 0; border-bottom: 1px dotted rgb(122 85 54 / .45); vertical-align: baseline; }
.table-cabine td { color: rgb(43 42 36 / .75); }
.table-cabine td[data-label="Durée"] { font-family: Fraunces, serif; font-style: italic; color: var(--terre); white-space: nowrap; }
.table-cabine td[data-label="Prix"] { font-family: Fraunces, serif; font-size: 1.05rem; color: var(--terre); white-space: nowrap; }
@media (max-width: 767px) {
  .table-cabine thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-cabine, .table-cabine tbody, .table-cabine tr { display: block; }
  .table-cabine tr { padding: .9rem 0; border-bottom: 1px dotted rgb(122 85 54 / .45); }
  .table-cabine tbody th { display: block; border: 0; padding: 0 0 .35rem; }
  .table-cabine td { display: flex; gap: .75rem; border: 0; padding: .1rem 0; font-size: .9rem; }
  .table-cabine td::before { content: attr(data-label); flex: 0 0 4.5rem; font-family: "Instrument Sans", sans-serif; font-style: normal; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: rgb(43 42 36 / .5); padding-top: .2rem; }
}

.menu-vigilance { margin-top: 2.75rem; padding: 1.5rem 1.25rem; background: rgb(251 248 242 / .7); border-left: 2px solid var(--or); }
@media (min-width: 640px) { .menu-vigilance { padding: 1.75rem 2rem; } }
.menu-vigilance ul { display: grid; gap: .5rem; margin-top: .75rem; }
@media (min-width: 768px) { .menu-vigilance ul { grid-template-columns: 1fr 1fr; gap: .6rem 2rem; } }
.menu-vigilance li { font-size: .9rem; line-height: 1.55; color: rgb(43 42 36 / .8); padding-left: 1rem; position: relative; }
.menu-vigilance li::before { content: "·"; position: absolute; left: 0; color: var(--or); font-weight: 700; }

/* ---------- Conseils (articles) ---------- */
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; color: rgb(43 42 36 / .6); }
.fil-ariane li + li::before { content: "›"; margin-right: .4rem; color: var(--or); }
.fil-ariane a { text-decoration: underline; text-decoration-color: rgb(168 133 74 / .5); text-underline-offset: 3px; }
.fil-ariane a:hover { color: var(--encre); }

.article-entete { max-width: 46rem; margin-top: 2rem; }
.article-chapo { margin-top: 1.25rem; font-size: 1.15rem; line-height: 1.7; color: rgb(43 42 36 / .8); }
.article-meta { margin-top: 1.25rem; font-size: .82rem; color: rgb(43 42 36 / .55); }

.article-en-bref {
  max-width: 46rem; margin-top: 2.5rem; padding: 1.5rem 1.4rem;
  background: var(--papier); border: 1px solid rgb(43 42 36 / .12); border-left: 3px solid var(--sauge);
}
.article-en-bref ul { display: grid; gap: .55rem; margin-top: .9rem; }
.article-en-bref li { padding-left: 1.4rem; position: relative; line-height: 1.6; }
.article-en-bref li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .55rem; height: .55rem; border-radius: 0 60% 0 60%; background: var(--sauge); }

.article-corps { max-width: 46rem; }
.article-corps h2 { font-family: Fraunces, Georgia, serif; font-weight: 350; font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.2; margin-top: 3rem; font-variation-settings: "SOFT" 80; }
.article-corps h3 { font-family: Fraunces, serif; font-size: 1.15rem; color: var(--terre); margin-bottom: .5rem; }
.article-corps p, .article-corps li { line-height: 1.75; color: rgb(43 42 36 / .85); }
.article-corps p { margin-top: 1rem; }
.article-corps ul { margin-top: 1rem; display: grid; gap: .45rem; }
.article-corps section > ul li, .comparatif li { padding-left: 1.2rem; position: relative; }
.article-corps section > ul li::before, .comparatif li::before { content: "·"; position: absolute; left: .2rem; color: var(--or); font-weight: 700; }
.article-corps strong { color: var(--encre); font-weight: 600; }
.reponse-directe { font-size: 1.08rem; font-weight: 500; color: var(--encre) !important; padding-left: 1rem; border-left: 2px solid var(--or); }

.comparatif { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .comparatif { grid-template-columns: 1fr 1fr; } }
.comparatif > div { background: var(--papier); border: 1px solid rgb(43 42 36 / .12); padding: 1.25rem; }
.comparatif ul { margin-top: 0; }

.tableau-defilant { overflow-x: auto; margin-top: 1.25rem; }
.tableau { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: .9rem; }
.tableau th, .tableau td { text-align: left; padding: .7rem .8rem .7rem 0; border-bottom: 1px solid rgb(43 42 36 / .12); vertical-align: top; }
.tableau thead th { font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--terre); }
.tableau tbody th { font-family: Fraunces, serif; font-weight: 450; }

.article-formule { margin-top: 3rem; padding: 1.75rem 1.5rem; background: #F2E8D7; border: 1px solid rgb(122 85 54 / .3); }
.article-faq { margin-top: 3rem; border-top: 1px solid rgb(43 42 36 / .15); }
.article-faq h2 { margin-bottom: .5rem; }
.article-faq .faq { border-bottom: 1px solid rgb(43 42 36 / .15); }
.article-faq .faq p { margin-top: 0; }
.article-avertissement { margin-top: 2rem; font-size: .85rem !important; color: rgb(43 42 36 / .6) !important; font-style: italic; }

.lire-aussi { margin-top: 4rem; }
.conseils-cartes { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .conseils-cartes { grid-template-columns: 1fr 1fr; } }
.conseil-carte {
  display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem 1.5rem;
  background: var(--papier); border: 1px solid rgb(43 42 36 / .12); transition: border-color .25s, box-shadow .25s, transform .25s;
}
.conseil-carte:hover { border-color: var(--or); box-shadow: 0 18px 36px -26px rgb(58 42 32 / .5); transform: translateY(-2px); }
.conseil-carte-titre { font-family: Fraunces, serif; font-size: 1.35rem; line-height: 1.25; font-variation-settings: "SOFT" 80; }
.conseil-carte-texte { font-size: .92rem; line-height: 1.6; color: rgb(43 42 36 / .72); }
.conseil-carte-lien { margin-top: auto; padding-top: .4rem; font-weight: 500; color: var(--mousse); }

/* ---------- Huiles (herbier) ---------- */
.herbier { display: grid; gap: 1px; background: rgb(244 239 230 / .12); border: 1px solid rgb(244 239 230 / .12); }
@media (min-width: 640px) { .herbier { grid-template-columns: 1fr 1fr; } }
.herbier li { background: var(--ecorce); padding: 1.5rem 1.4rem; transition: background-color .3s; }
.herbier li:hover { background: #45332A; }
.herbier-nom { display: block; font-family: Fraunces, serif; font-size: 1.3rem; color: var(--lin); }
.herbier-latin { display: block; font-family: Fraunces, serif; font-style: italic; font-size: .85rem; color: var(--argile); margin-top: .1rem; }
.herbier p { margin-top: .7rem; font-size: .93rem; line-height: 1.6; color: rgb(244 239 230 / .72); }

.prudence { border: 1px solid rgb(199 160 122 / .4); padding: 1.25rem; border-radius: 2px; }

/* ---------- FAQ ---------- */
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-family: Fraunces, serif; font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-family: "Instrument Sans", sans-serif; font-weight: 300; font-size: 1.6rem; color: var(--or);
  transition: transform .3s;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 0 1.5rem; max-width: 42rem; line-height: 1.7; color: rgb(43 42 36 / .75); }

/* ---------- Contact ---------- */
.telephone {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.25rem 1.4rem; border: 1px solid var(--mousse); border-radius: 2px;
  transition: background-color .25s, color .25s;
}
.telephone:hover { background: var(--mousse); color: var(--lin); }
.telephone:hover span:first-child { color: var(--sauge-clair); }

.formulaire { background: var(--lin); border: 1px solid rgb(43 42 36 / .12); padding: 1.75rem 1.25rem; }
@media (min-width: 640px) { .formulaire { padding: 2.25rem; } }
.champ { display: grid; gap: .4rem; font-size: .88rem; }
.champ span { color: rgb(43 42 36 / .75); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre);
  background: var(--papier); border: 1px solid rgb(43 42 36 / .2); border-radius: 2px;
  padding: .75rem .85rem; transition: border-color .2s;
}
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--mousse); box-shadow: 0 0 0 3px rgb(142 156 128 / .3); }

.carte { border: 1px solid rgb(43 42 36 / .12); aspect-ratio: 16 / 10; overflow: hidden; }
.carte iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.55) sepia(.15) contrast(.95); }

.footer-titre { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--argile); margin-bottom: .9rem; }

.appel-flottant {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--mousse); color: var(--lin); padding: .85rem 1.2rem; border-radius: 999px;
  box-shadow: 0 8px 24px rgb(43 42 36 / .25); font-weight: 500;
}
@media (min-width: 768px) { .appel-flottant { display: none; } }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--delai, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   Améliorations du 9 octobre 2026
   (audit ui-ux-pro-max : contraste, tactile, mobile, finitions)
   ========================================================== */

/* Titres équilibrés, paragraphes sans mot orphelin */
h1, h2, h3, .titre-section, .titre-ouverture { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* Contraste AA des petits textes utilitaires Tailwind */
.text-encre\/50, .text-encre\/55, .text-encre\/60, .text-encre\/65 { color: rgb(43 42 36 / .72); }
.text-lin\/50 { color: rgb(244 239 230 / .72); }
.fiche .text-or { color: var(--or-fonce); }

/* Cibles tactiles d'au moins 44 px */
@media (max-width: 1023px) { #menu-toggle { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; } }
.site-header a:first-child { min-height: 44px; }

/* Navigation : la section en cours reste soulignée */
.nav-link[aria-current="true"]::after { transform: scaleX(1); }
.nav-link[aria-current="true"] { color: var(--mousse); }

/* Bouton d'appel flottant : discret tant que les boutons du haut sont visibles */
.appel-flottant {
  bottom: calc(1rem + env(safe-area-inset-bottom));
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.appel-flottant.est-masque { opacity: 0; transform: translateY(1.5rem); visibility: hidden; pointer-events: none; }

/* Formules : carrousel à glisser sur mobile au lieu de six fiches empilées */
.plats-indice { display: none; }
@media (max-width: 767px) {
  .plats {
    grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: .25rem 0 1rem;
    scrollbar-width: thin; scrollbar-color: rgb(122 85 54 / .35) transparent;
  }
  .plat { scroll-snap-align: start; }
  .plats-indice {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    margin-bottom: .75rem; font-size: .85rem; font-style: italic; font-family: Fraunces, serif; color: var(--terre);
  }
}

/* FAQ : ouverture en douceur (navigateurs récents, sinon comportement normal) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
  .faq[open]::details-content { block-size: auto; }
}

/* Transition douce entre l'accueil et les pages Conseils */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  .appel-flottant { transition: none; }
  .faq::details-content { transition: none; }
  @view-transition { navigation: none; }
}

/* Logo (arbre et silhouette, fond transparent) */
.logo-img { flex: none; width: 2.75rem; height: 2.75rem; object-fit: contain; }

/* Médaillon : le logo vert posé sur un rond couleur lin, cerclé d'or */
.medaillon {
  flex: none; display: inline-grid; place-items: center; border-radius: 50%;
  width: 2.9rem; height: 2.9rem; background: var(--papier);
  box-shadow: 0 0 0 1px rgb(168 133 74 / .45), 0 2px 6px -2px rgb(43 42 36 / .25);
}
.medaillon .logo-img { width: 2.35rem; height: 2.35rem; }
.medaillon img { display: block; }
.medaillon--pied {
  width: 5.5rem; height: 5.5rem; margin: 6px; background: var(--lin);
  box-shadow: 0 0 0 1px var(--or-clair), 0 0 0 5px var(--encre), 0 0 0 6px rgb(201 165 106 / .5);
}
.medaillon--pied img { width: 4.6rem; height: 4.6rem; }
.pied-marque { display: flex; align-items: center; gap: 1.1rem; }
