/* ANORA 2027 · site vitrine · charte « Soleil Andalou » */

:root {
  --sable: #F7EFE6;
  --argile: #EEE3D5;
  --encre: #2A2420;
  --gris: #6E6A64;
  --terra: #B4522D;      /* aplats, titres >= 24px */
  --terra-t: #A3461F;    /* texte courant, liens */
  --mer: #0E4B6E;
  --olive: #5E6B3A;
  --trait: #D9CBB8;
  --serif: 'Cormorant Garamond', 'Markazi Text', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --marge: clamp(20px, 5vw, 84px);
  --max: 1240px;
  --bord: max(var(--marge), calc((100vw - var(--max)) / 2 + var(--marge)));
}
[lang="ar"] { --serif: 'Markazi Text', Georgia, serif; --sans: 'Markazi Text', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sable); color: var(--encre); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
[lang="ar"] body { font-size: 21px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-t); text-underline-offset: 3px; }
:focus-visible { outline: 2.5px solid var(--mer); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; color: var(--mer); }
h2 { font-size: clamp(34px, 4.4vw, 52px); }
h3 { font-size: 27px; }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--marge); }
section { padding-block: clamp(72px, 10vw, 128px); }

/* Rayon : le trait du soleil, marqueur de l'info clé */
.rayon { display: inline-block; width: 46px; height: 14px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 14'><g fill='none' stroke='%23B4522D' stroke-width='2.2' stroke-linecap='round'><path d='M2 12h42'/><path d='M23 2v6M14 4l3 4M32 4l-3 4M6 8l4 2M40 8l-4 2'/></g></svg>") no-repeat left/contain; margin-top: 14px; }
.titre { margin-bottom: 40px; }
.titre .rayon { display: block; }

/* À confirmer par l'organisatrice : visible tant que la donnée manque */
.tbd { background: #FCE9A8; color: #5a4300; padding: 0 .3em; border-radius: 3px; font-style: normal; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(247, 239, 230, .94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.entete.colle { border-bottom-color: var(--trait); }
.entete .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.entete .logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { color: var(--encre); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--terra-t); }
.langues { display: flex; gap: 10px; font-size: 14px; }
.langues a { color: var(--gris); text-decoration: none; }
.langues a[aria-current] { color: var(--encre); font-weight: 700; }
.langues a[lang="ar"] { font-family: 'Markazi Text', serif; font-size: 18px; line-height: 1; }
.bouton { display: inline-block; background: var(--terra); color: #fff; text-decoration: none; font-weight: 500; padding: 13px 24px; border-radius: 999px; border: 0; font: inherit; font-weight: 500; cursor: pointer; transition: background .15s; }
.bouton:hover { background: var(--terra-t); }
.bouton.discret { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.bouton.discret:hover { background: var(--encre); color: var(--sable); }
.entete .bouton { padding: 9px 18px; font-size: 15px; }
.menu-btn { display: none; }

/* ---------- Ouverture ---------- */
.ouverture { padding: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: min(calc(100svh - 68px), 860px); }
.ouverture .texte { padding-block: clamp(40px, 6vw, 84px); padding-inline: var(--bord) var(--marge); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.ouverture .marque { width: min(300px, 70%); margin-bottom: clamp(28px, 4vw, 48px); }
.ouverture h1 { font-size: clamp(36px, 4.2vw, 58px); color: var(--encre); max-width: 15ch; }
.ouverture .quand { margin: 26px 0 34px; font-size: 18px; line-height: 1.5; }
.ouverture .quand strong { color: var(--terra-t); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ouverture .photo { background: url('../img/ouverture.jpg') center 35% / cover; min-height: 420px; }
.legende { font-size: 13px; color: var(--gris); margin-top: 28px; }

/* ---------- Le festival ---------- */
.festival .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.festival .accroche { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; color: var(--terra-t); margin-top: 28px; }
.reperes { list-style: none; padding: 0; margin: 6px 0 0; }
.reperes li { padding: 18px 0 18px 30px; border-top: 1px solid var(--trait); position: relative; }
.reperes li:last-child { border-bottom: 1px solid var(--trait); }
.reperes li::before { content: ''; position: absolute; inset-inline-start: 0; top: 25px; width: 16px; height: 16px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='none' stroke='%23A3461F' stroke-width='2.2' stroke-linecap='round'><circle cx='12' cy='15' r='5'/><path d='M12 2v4M5 5l2 3M19 5l-2 3M2 11h3M22 11h-3'/></g></svg>") no-repeat center/contain; }
[dir="rtl"] .reperes li { padding: 18px 30px 18px 0; }
.reperes b { display: block; font-weight: 700; }
.reperes span { color: var(--gris); font-size: 15.5px; }

/* ---------- Deux espaces ---------- */
.espaces { padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.espace { padding-block: clamp(56px, 8vw, 104px); padding-inline: var(--marge); color: #fff; display: flex; flex-direction: column; }
.espace.experience { background: var(--mer); padding-inline-start: var(--bord); }
.espace.village { padding-inline-end: var(--bord); }
.espace.village { background: var(--terra); }
.espace h2 { color: #fff; font-size: clamp(34px, 3.6vw, 46px); }
.espace .pour { font-family: var(--serif); font-size: 24px; line-height: 1.35; color: #F3D9B8; margin: 18px 0 26px; }
.espace ul { list-style: none; padding: 0; margin: 0 0 34px; }
.espace li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.espace .bouton { margin-top: auto; align-self: flex-start; background: #fff; color: var(--encre); }
.espace .bouton:hover { background: var(--sable); }

/* ---------- La journée : course du soleil ---------- */
.journee { overflow: hidden; }
.course { position: relative; margin-top: 12px; }
.course svg { width: 100%; height: auto; display: block; overflow: visible; }
.course .arc { fill: none; stroke: var(--trait); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.course .arc-fait { fill: none; stroke: var(--terra); stroke-width: 2; stroke-linecap: round; }
.course .horizon { stroke: var(--encre); stroke-width: 1.2; }
.course .astre circle { fill: var(--terra); }
.course .astre path { stroke: var(--terra); stroke-width: 3.2; stroke-linecap: round; }
.moments { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.moments li { border-top: 1.5px solid var(--encre); padding-top: 14px; transition: border-color .3s, color .3s; }
.moments li.actif { border-color: var(--terra); }
.moments .h { font-family: var(--serif); font-size: 23px; white-space: nowrap; font-variant-numeric: lining-nums; color: var(--mer); line-height: 1.1; }
.moments li.actif .h { color: var(--terra-t); }
.moments b { display: block; margin: 6px 0 2px; font-weight: 700; font-size: 15.5px; }
.moments span { font-size: 14.5px; color: var(--gris); line-height: 1.45; display: block; }
.note { font-size: 14px; color: var(--gris); margin-top: 36px; }

/* ---------- Deux jours, deux tonalités ---------- */
.tons { background: var(--argile); }
.tons .grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.ton .jour { font-size: 15px; color: var(--gris); margin-bottom: 4px; }
.ton .nom { font-family: var(--sans); line-height: 1; margin: 0 0 18px; letter-spacing: -.02em; }
.ton.energy .nom { font-size: clamp(56px, 7.5vw, 104px); font-weight: 700; color: var(--terra); }
.ton.reset .nom { font-size: clamp(56px, 7.5vw, 104px); font-weight: 400; color: var(--mer); letter-spacing: .04em; }
.ton p { font-size: 18px; }

/* ---------- Pass ---------- */
.pass .grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.offre { background: #fff; border: 1px solid var(--trait); border-radius: 14px; padding: 34px 34px 30px; display: flex; flex-direction: column; }
.offre.premium { border-color: var(--mer); box-shadow: inset 0 4px 0 var(--mer); }
.offre h3 { color: var(--encre); }
.offre .prix { font-family: var(--serif); font-size: 40px; color: var(--terra); margin: 14px 0 4px; line-height: 1; }
.offre .prix small { font-family: var(--sans); font-size: 15px; color: var(--gris); }
.offre ul { padding-inline-start: 20px; margin: 18px 0 26px; }
.offre li { margin: 6px 0; }
.offre .bouton { margin-top: auto; text-align: center; }
.offre .bouton[aria-disabled="true"] { background: var(--argile); color: var(--gris); cursor: default; }
.attente { background: var(--mer); color: #fff; border-radius: 14px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.attente h3 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.attente p { color: #DCE7EE; margin: 0; }
.formulaire { display: grid; gap: 12px; }
.formulaire .ligne { display: flex; gap: 10px; flex-wrap: wrap; }
.formulaire label { font-size: 14px; color: #DCE7EE; }
.formulaire input[type="email"], .formulaire select { flex: 1 1 220px; font: inherit; padding: 12px 16px; border-radius: 999px; border: 0; background: #fff; color: var(--encre); min-width: 0; }
.formulaire .accord { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.formulaire .accord input { margin-top: 3px; accent-color: var(--terra); }
.formulaire .accord a { color: #fff; }
.formulaire .bouton { background: #fff; color: var(--encre); }
.formulaire .bouton:hover { background: var(--sable); }
.formulaire .retour { font-size: 15px; min-height: 1.4em; color: #F3D9B8; }

/* ---------- Lieu ---------- */
.lieu { padding: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--olive); color: #fff; }
.lieu .photo { background: url('../img/lieu.jpg') center / cover; min-height: 440px; }
.lieu .texte { padding-block: clamp(56px, 8vw, 104px); padding-inline: var(--marge) var(--bord); }
.lieu h2 { color: #fff; }
.lieu .rayon { filter: brightness(0) invert(1); opacity: .7; }
.lieu p { color: #EEF0E4; }
.lieu a { color: #fff; }

/* ---------- Partenaires ---------- */
.partenaires .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }

/* ---------- Questions ---------- */
.questions { background: var(--argile); }
.questions .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 80px); }
details { border-top: 1px solid var(--trait); }
details:last-child { border-bottom: 1px solid var(--trait); }
summary { cursor: pointer; list-style: none; padding-block: 20px; padding-inline: 0 36px; font-weight: 500; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; inset-inline-end: 4px; top: 14px; font-family: var(--serif); font-size: 30px; color: var(--terra); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 20px; margin: 0; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: #D9D2C8; padding-block: 64px 40px; font-size: 15px; }
.pied .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied img { width: 160px; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 18px; }
.pied a { color: #fff; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin: 6px 0; }
.pied .bas { grid-column: 1 / -1; border-top: 1px solid #4a423c; padding-top: 22px; font-size: 13px; color: #A69D92; }

/* ---------- Mobile ---------- */
@media (max-width: 1000px) {
  .js .nav { display: none; }
  .nav.ouvert { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--sable); padding: 16px var(--marge) 24px; border-bottom: 1px solid var(--trait); gap: 14px; }
  .menu-btn { display: inline-flex; margin-inline-start: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
  .langues { margin-inline-start: 0; }
  .moments { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .entete .bouton { display: none; }
  .ouverture, .espaces, .lieu { grid-template-columns: 1fr; }
  .ouverture .photo { min-height: min(46vh, 420px); order: -1; }
  .course text { display: none; }
  .festival .wrap, .tons .grille, .pass .grille, .attente, .partenaires .wrap, .questions .wrap, .pied .wrap { grid-template-columns: 1fr; }
  .moments { grid-template-columns: 1fr 1fr; }
  .lieu .photo { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .moments li { transition: none; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Programme : piliers et grande scène ---------- */
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 48px; margin: 0 0 clamp(56px, 7vw, 88px); }
.piliers div { border-top: 1.5px solid var(--terra); padding-top: 14px; }
.piliers dt { font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); color: var(--mer); line-height: 1.1; }
.piliers dd { margin: 8px 0 0; color: var(--encre); max-width: 34ch; }
.sous-titre { margin-bottom: 20px; }
.tableau { overflow-x: auto; }
.tableau table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.tableau th, .tableau td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tableau thead th { font-weight: 700; color: var(--mer); border-bottom: 1.5px solid var(--terra); }
.tableau tbody th { font-weight: 500; color: var(--terra-t); white-space: nowrap; width: 9em; font-variant-numeric: lining-nums tabular-nums; }
.tableau td.vide { color: var(--gris); }
@media (max-width: 760px) { .piliers { grid-template-columns: 1fr 1fr; gap: 26px 22px; } }
.offre .prix .tbd { font-size: 24px; }
.programme + .pass { padding-top: 0; }

/* ---------- Arabe (droite à gauche) ---------- */
[dir="rtl"] .ton .nom, [dir="rtl"] .piliers dt { font-family: 'DM Sans', sans-serif; }
[dir="rtl"] .piliers dt { font-family: var(--serif); }
[dir="rtl"] h1 { line-height: 1.35; max-width: 18ch; }
[dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.3; }
[dir="rtl"] .rayon { background-position: right; }
[lang="ar"] .nav a, [lang="ar"] .bouton { font-size: 19px; }
[lang="ar"] .moments .h, [lang="ar"] .tableau tbody th, [lang="ar"] .offre .prix { font-family: 'DM Sans', sans-serif; font-size: 20px; }
[lang="ar"] .offre .prix { font-size: 34px; }
[lang="ar"] .legende, [lang="ar"] .note, [lang="ar"] .pied .bas { font-size: 17px; }
[dir="rtl"] .moments .h, [dir="rtl"] .tableau tbody th { direction: ltr; unicode-bidi: isolate; text-align: right; }
[lang="ar"] .tableau table { font-size: 19px; }
[lang="ar"] .moments b { font-size: 18px; }
[lang="ar"] .moments span, [lang="ar"] .reperes span { font-size: 18px; }
[lang="ar"] .formulaire .accord { font-size: 16px; }
[lang="ar"] .ouverture .quand { font-size: 21px; }
.offre h3 small { display: block; font-family: var(--sans); font-size: 14px; color: var(--gris); margin-top: 4px; unicode-bidi: isolate; }
[dir="rtl"] .ton .nom { font-family: 'Markazi Text', serif; letter-spacing: 0; }
[dir="rtl"] .ton.energy .nom { font-weight: 600; }

/* ---------- Signature, écoresponsabilité ---------- */
.ouverture .signature { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); color: var(--terra-t); margin: -18px 0 22px; }
[lang="ar"] .ouverture .signature { font-style: normal; margin-top: -8px; }
.eco { background: var(--sable); padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--trait); }
.eco .wrap { display: grid; grid-template-columns: auto 1fr; gap: 16px clamp(32px, 5vw, 72px); align-items: baseline; }
.eco h2 { color: var(--olive); }
.eco p { font-size: 19px; margin: 0; }
@media (max-width: 760px) { .eco .wrap { grid-template-columns: 1fr; } }

/* Quatre offres, contacts par sujet */
.pass .grille { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offre { padding: 28px 24px 24px; }
@media (max-width: 1100px) { .pass .grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .pass .grille { grid-template-columns: 1fr; } }
.contacts { list-style: none; padding: 0; margin: 0 0 24px; }
.contacts li { padding: 12px 0; border-top: 1px solid var(--trait); }
.contacts li:last-child { border-bottom: 1px solid var(--trait); }
.contacts b { display: block; font-weight: 500; font-size: 15px; color: var(--gris); }
.offre .prix small { display: block; margin-top: 8px; }
.offre .bouton { font-size: 14.5px; padding: 11px 14px; }
.offre h3 { font-size: 24px; }

/* Offre recommandée */
.offre { position: relative; }
.offre.vedette { border: 2px solid var(--terra); box-shadow: 0 14px 34px -18px rgba(180, 82, 45, .45); }
.offre.vedette .badge { position: absolute; top: -14px; inset-inline-start: 22px; margin: 0; background: var(--terra); color: #fff; font-size: 13.5px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.offre .economie { margin: 10px 0 0; font-size: 14.5px; font-weight: 700; color: var(--olive); }
.offre.vedette .bouton[aria-disabled="true"] { background: var(--terra); color: #fff; opacity: .85; }
@media (min-width: 1101px) { .offre.vedette { transform: translateY(-10px); } }
[lang="ar"] .offre.vedette .badge { font-size: 17px; padding: 2px 16px; }
[lang="ar"] .offre .economie { font-size: 17px; }

/* ---------- Partenaires (logos) : bande neutre, logos dans leur version d'origine ---------- */
.soutiens { background: #fff; padding-block: clamp(48px, 6vw, 72px); border-block: 1px solid var(--trait); text-align: center; }
.soutiens h2 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 30px; }
.logos { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px clamp(40px, 7vw, 96px); }
.logos li { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.logos img { height: 64px; width: auto; }
.logos .cz span { font: 600 21px/1 'DM Sans', sans-serif; color: #111; letter-spacing: -.01em; }
.soutiens .note { margin: 26px auto 0; }

/* ---------- Revue du 10/10 : accessibilité, mobile, lisibilité ---------- */
.evitement { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.evitement:focus { top: 12px; }
.espace :focus-visible, .attente :focus-visible, .pied :focus-visible, .lieu :focus-visible { outline-color: #fff; }
.tons .ton .jour { color: var(--encre); }
.offre .bouton.inactif { background: var(--argile); color: #5A5650; cursor: default; }
.offre.vedette .bouton.inactif { background: var(--terra); color: #fff; opacity: 1; }
.offre .prix { font-variant-numeric: lining-nums; }
.offre .economie { color: var(--terra-t); }
.course svg { overflow: hidden; }
.logos img, .logos svg { height: 56px; width: auto; }
.nav-reserver { display: none; }
.menu-btn .croix { display: none; }
.menu-btn[aria-expanded="true"] .croix { display: inline; }
.menu-btn[aria-expanded="true"] .trois { display: none; }
/* Programme : listes par jour sur téléphone (générées par site.js à partir du tableau) */
.jours-mobile { display: none; }
.jours-mobile h4 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--mer); margin: 26px 0 8px; }
.jours-mobile ol { list-style: none; padding: 0; margin: 0; }
.jours-mobile li { display: grid; grid-template-columns: 4.2em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.jours-mobile .t { color: var(--terra-t); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; direction: ltr; unicode-bidi: isolate; }
@media (max-width: 1000px) {
  .js .nav { display: none; }
  .js .nav.ouvert { display: flex; }
  .nav-reserver { display: inline-block; align-self: flex-start; background: var(--terra); color: #fff !important; padding: 9px 18px; border-radius: 999px; }
}
@media (max-width: 760px) {
  .js .tableau { display: none; }
  .js .jours-mobile { display: block; }
  .ouverture .marque { width: 180px; }
  .entete .bouton { display: inline-block; padding: 7px 14px; font-size: 14px; }
  .entete .wrap { gap: 14px; }
}
@media (max-width: 380px) { .entete .wrap { gap: 10px; } .entete .logo img { height: 24px; } .entete .bouton { padding: 6px 11px; font-size: 13.5px; } .langues { gap: 7px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
/* Arabe : tailles minimales pour Markazi */
[lang="ar"] .offre .bouton { font-size: 18px; }
[lang="ar"] .offre h3 small, [lang="ar"] .offre .prix small, [lang="ar"] .contacts b, [lang="ar"] .ton .jour,
[lang="ar"] .tableau td, [lang="ar"] .moments span, [lang="ar"] .jours-mobile li { font-size: 18px; }
[lang="ar"] .formulaire .accord { font-size: 17px; }
html:not(.js) .entete .wrap { flex-wrap: wrap; height: auto; padding-block: 10px; }
html:not(.js) .menu-btn { display: none; }
/* Images de fond en WebP quand le navigateur le permet */
.ouverture .photo { background-image: url('../img/ouverture.jpg'); background-image: image-set(url('../img/ouverture.webp') type('image/webp'), url('../img/ouverture.jpg') type('image/jpeg')); }
.lieu .photo { background-image: url('../img/lieu.jpg'); background-image: image-set(url('../img/lieu.webp') type('image/webp'), url('../img/lieu.jpg') type('image/jpeg')); }
[lang="ar"] .langues a { font-size: 17px; }
[lang="ar"] .langues a[lang="fr"], [lang="ar"] .langues a[lang="en"], [lang="ar"] [lang="en"] { font-family: 'DM Sans', system-ui, sans-serif; }

/* ---------- Bandeau cookies : deux choix de même poids ---------- */
.cookies { position: fixed; z-index: 60; inset-inline: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin-inline: auto; background: #fff; color: var(--encre); border: 1px solid var(--trait); border-radius: 14px; padding: 20px 22px; box-shadow: 0 18px 40px -20px rgba(42, 36, 32, .45); font-size: 15px; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 12px; max-width: none; }
.cookies .cookies-titre { font-family: var(--serif); font-size: 22px; color: var(--mer); margin-bottom: 6px; }
.cookies-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookies-actions .bouton { flex: 1 1 140px; text-align: center; padding: 11px 16px; }
[lang="ar"] .cookies { font-size: 18px; }
.lien-cookies { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pied .harmonia { margin-top: 14px; }
/* Bandeau cookies : discret sur grand écran, compact sur petit */
@media (min-width: 900px) { .cookies { margin-inline: 0; inset-inline-start: 24px; max-width: 420px; } }
@media (max-width: 420px) { .cookies { padding: 14px 16px; font-size: 14px; } .cookies .cookies-titre { font-size: 19px; } .cookies p { margin-bottom: 8px; } .cookies-actions .bouton { padding: 9px 12px; } }
[lang="ar"] .cookies { font-size: 17px; }
/* Finitions design (revue de mise en production) */
.soutiens { background: var(--argile); }
.cookies-actions .bouton { background: transparent; color: var(--mer); box-shadow: inset 0 0 0 1.5px var(--mer); }
.cookies-actions .bouton:hover { background: var(--mer); color: #fff; }
.pied .bas { max-width: none; }
@media (max-width: 420px) { .cookies-actions .bouton { flex-basis: 110px; } }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(34px, 4vw, 48px); color: var(--mer); }
.legal .maj { color: var(--gris); font-size: 15px; margin: 10px 0 34px; }
.legal h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 38px 0 12px; }
.legal p, .legal li { max-width: 72ch; }
.legal ul { padding-inline-start: 22px; }
.legal li { margin: 6px 0; }
.legal .lien-cookies { color: var(--terra-t); }
.page-legale .entete .bouton { margin-inline-start: auto; }
.page-legale .langues { margin-inline-start: auto; }

/* ---------- Variante v2 : pass remontés ---------- */
.ouverture .des-prix { margin: 18px 0 0; font-weight: 500; }
.ouverture .des-prix a { color: var(--terra-t); }
.pass .chapo { font-size: 18px; margin: 18px 0 0; max-width: 60ch; }
.offre .pour-carte { font-family: var(--serif); font-size: 19px; line-height: 1.35; color: var(--terra-t); margin: 6px 0 0; }
.barre-pass { display: none; }
@media (max-width: 760px) {
  .barre-pass { display: block; position: fixed; z-index: 40; inset-inline: 0; bottom: 0; padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--terra); color: #fff; text-align: center; font-weight: 700; text-decoration: none; transition: transform .25s; }
  .barre-pass.cachee { transform: translateY(110%); }
  body:has(.barre-pass) .pied { padding-bottom: 90px; }
}

/* Contenus du 24/10/2026 : sept espaces, programme par espace */
.piliers dt small { display: block; font-family: 'Markazi Text', var(--serif); font-size: .62em; color: var(--terra-t); margin-top: 4px; }
.piliers dd b { font-weight: 700; }
.tableau + .tableau { margin-top: clamp(32px, 5vw, 56px); }
.tableau caption { caption-side: top; text-align: start; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); color: var(--mer); padding-bottom: 12px; }
.tableau tr.ensemble td { color: var(--terra-t); font-weight: 500; }
.continu { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; }
.continu li { padding: 10px 0; border-top: 1px solid var(--trait); }
.continu li:last-child { border-bottom: 1px solid var(--trait); }
.pass .note { margin-top: 26px; max-width: 70ch; }
.jours-mobile h4 small { display: block; font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--gris); }

/* Photos de Yasmine (26/10/2026) : une photo par journée, un bandeau de groupe pleine largeur */
.tons .photo-ton img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; margin-bottom: 22px; }
.bandeau-photo { margin: 0; }
.bandeau-photo img { display: block; width: 100%; height: clamp(240px, 42vw, 620px); object-fit: cover; object-position: center 62%; }
@media (max-width: 720px) { .bandeau-photo img { height: auto; aspect-ratio: 1600 / 680; } }

/* Avant-goût des espaces et des moments (photos d'ambiance choisies par Yasmine, 26/10/2026) */
.avant-gout { margin: clamp(32px, 5vw, 56px) 0 0; }
.avant-gout ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.avant-gout li { margin: 0; }
.avant-gout img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.avant-gout .leg { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--encre); }
.avant-gout figcaption { margin-top: 14px; font-size: 13px; color: var(--gris, #6b6b66); }
@media (max-width: 900px) { .avant-gout ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .avant-gout ul { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; }
  .avant-gout li { flex: 0 0 62%; scroll-snap-align: start; } }

/* Version publique : renvoi vers Instagram à la place du formulaire de liste d'attente (non branché) */
.attente .suivre { margin: 0; align-self: center; }
