/* L'Étincelle — feuille de style unique, mobile-first.
   DA reprise du site d'origine (Squarespace, Police Studio) et de la charte :
   bleu ciel #a1d0ff, orange #ff6029, bordeaux #570007, crème #faf4d1 ;
   titres en POLICESTUDIO LETINCELLE (capitales), texte en POLICESTUDIO Generic, auto-hébergées.
   Contrastes : bordeaux sur crème 13,5:1 · bordeaux sur bleu 9,2:1 · bordeaux sur orange 4,9:1 ·
   orange sur bordeaux 4,9:1 · bleu texte #2f6e96 sur crème 5:1. L'orange n'est jamais utilisé pour du texte courant sur fond clair. */

@font-face { font-family: 'Letincelle'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/letincelle.woff2') format('woff2'); }
@font-face { font-family: 'Generic'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('/assets/fonts/generic-300.woff2') format('woff2'); }
@font-face { font-family: 'Generic'; font-style: italic; font-weight: 300; font-display: swap;
  src: url('/assets/fonts/generic-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Generic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/generic-400.woff2') format('woff2'); }

:root {
  --bleu: #a1d0ff;
  --bleu-pale: #d6eaff;
  --bleu-texte: #2f6e96;
  --orange: #ff6029;
  --orange-fonce: #e84f19;
  --orange-titre: #e8501c;   /* orange assombri pour les mots en relief des grands titres sur crème (≥ 3:1) */
  --bordeaux: #570007;
  --creme: #faf4d1;
  --filet: #e6d9a8;
  --maxw: 1120px;
  --titre: 'Letincelle', 'Arial Black', Impact, sans-serif;
  --texte: 'Generic', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--texte); font-weight: 400;
  background: var(--creme); color: var(--bordeaux);
  line-height: 1.6; font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 400; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- En-tête ---------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--bordeaux); color: var(--creme); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
header.site { position: sticky; top: 0; z-index: 50; background: var(--bleu); border-bottom: 2px solid var(--bordeaux); }
header.site .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 1.25rem; max-width: var(--maxw); margin: 0 auto; }
.logo { flex-shrink: 0; display: block; }
.logo img { height: 38px; width: auto; max-width: none; }
nav.main { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
nav.main a { padding: .7rem .1rem; text-decoration: none; color: var(--bordeaux); font-family: var(--titre); font-size: .78rem; letter-spacing: .04em; }
nav.main a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
nav.main a.btn { color: var(--bordeaux); padding: .55rem 1rem; }
@media (max-width: 720px) {
  header.site .bar { padding: .45rem .75rem; gap: .5rem; }
  nav.main { gap: .55rem; flex-wrap: nowrap; }
  nav.main a { font-size: .58rem; white-space: nowrap; }
  nav.main a.btn { padding: .45rem .6rem; }
  nav.main a.hide-m { display: none; }
  .logo img { height: 22px; }
}
.nowrap { white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; background: var(--orange); color: var(--bordeaux);
  padding: .7rem 1.35rem; border-radius: 999px; text-decoration: none;
  font-family: var(--titre); font-size: .78rem; letter-spacing: .04em;
  border: 2px solid var(--orange); min-height: 44px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--orange-fonce); border-color: var(--orange-fonce); }
.btn.ghost { background: transparent; color: var(--bordeaux); border-color: var(--bordeaux); }
.btn.ghost:hover { background: var(--bordeaux); color: var(--creme); }
.btn.ghost.sur-fonce { color: var(--creme); border-color: var(--creme); }
.btn.ghost.sur-fonce:hover { background: var(--creme); color: var(--bordeaux); }

/* ---------- Hero bleu ciel, centré comme le site d'origine ---------- */
.hero {
  background: var(--bleu); text-align: center; padding: 2.5rem 0 2.75rem; border-bottom: 2px solid var(--bordeaux);
  /* le panneau bleu occupe tout le premier écran : les photos n'apparaissent qu'au défilement */
  min-height: calc(100vh - 56px); min-height: calc(100svh - 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero .wrap { width: 100%; }
.hero .embleme { width: 72px; height: auto; margin: 0 auto .5rem; }
.hero .logo-hero { width: min(560px, 86%); height: auto; margin: 0 auto; }
.hero h1 { font-family: var(--titre); font-weight: 400; font-size: clamp(1rem, 2.6vw, 1.45rem); line-height: 1.35; letter-spacing: .03em; margin-top: 1.4rem; }
.hero h1 .ligne { display: block; }
.hero .ouvert { font-family: var(--titre); font-size: clamp(.85rem, 2vw, 1rem); margin-top: 1rem; }
.hero .adresse { margin-top: .35rem; font-size: .98rem; }
.hero .ctas { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }

/* Bande de 3 photos sous le hero */
.bande-photos { display: grid; grid-template-columns: 1fr 1fr; }
.bande-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bande-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
@media (min-width: 780px) {
  .bande-photos { grid-template-columns: 1fr 1fr 1fr; }
  .bande-photos img, .bande-photos img:first-child { grid-column: auto; aspect-ratio: 4 / 5; }
}

/* ---------- Sections & titres ---------- */
section { padding: 3rem 0; }
h2 {
  font-family: var(--titre); font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.25; margin-bottom: 1.25rem;
  color: var(--bordeaux); letter-spacing: .02em; text-align: center;
}
h2 .accent, .titre-page .accent { color: var(--orange-titre); }
h3 { font-size: 1.05rem; margin-bottom: .5rem; font-weight: 400; }
.lead { font-size: 1.08rem; font-weight: 300; max-width: 46rem; margin-inline: auto; text-align: center; }
.centre { text-align: center; }
.mt { margin-top: 1.5rem; }
.petit { font-size: .92rem; margin-top: .4rem; }
.titre-page {
  font-family: var(--titre); font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.2;
  color: var(--bordeaux); letter-spacing: .02em; text-align: center; padding-top: .5rem;
}

/* ---------- Bloc infos (horaires / adresse / contact) ---------- */
.infos {
  display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--bleu); color: var(--bordeaux); padding: 1.9rem; text-align: center;
  border: 2px solid var(--bordeaux); border-radius: 18px;
}
.infos h3 { font-family: var(--titre); font-size: .82rem; letter-spacing: .05em; }
.infos address { font-style: normal; }
table.horaires { border-collapse: collapse; margin-inline: auto; font-size: .95rem; }
table.horaires td { padding: .15rem .45rem; vertical-align: top; text-align: left; }
table.horaires td:first-child { white-space: nowrap; }

/* ---------- Carte ---------- */
.menu-section { margin-bottom: 2.5rem; scroll-margin-top: 90px; }
.menu-section h2 { margin-top: 2.25rem; margin-bottom: .6rem; }
.menu-section h2::after { content: ''; display: block; width: 64px; height: 3px; background: var(--orange); margin: .55rem auto 0; border-radius: 2px; }
.menu-section .sous-note { text-align: center; font-size: .95rem; font-weight: 300; font-style: italic; color: var(--bleu-texte); margin-bottom: 1rem; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: .15rem 1.25rem;
  padding: .7rem 0; border-bottom: 1px dashed var(--filet);
  max-width: 46rem; margin-inline: auto; text-align: left;
}
.menu-item .nom { font-weight: 400; }
.menu-item .tag {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bleu-texte);
  border: 1px solid var(--bleu-texte); border-radius: 999px; padding: .04rem .45rem; margin-left: .5rem;
  vertical-align: middle; white-space: nowrap;
}
.menu-item .prix { white-space: nowrap; text-align: right; }
.menu-item .desc { grid-column: 1 / -1; font-size: .93rem; font-weight: 300; color: var(--bleu-texte); }
.menu-section .apres { max-width: 46rem; margin: .9rem auto 0; font-size: .9rem; font-weight: 300; color: var(--bleu-texte); text-align: center; }
.note-carte { font-size: .88rem; font-weight: 300; margin-top: 1.5rem; text-align: center; color: var(--bleu-texte); max-width: 46rem; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { cursor: pointer; padding: 1rem .25rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; flex-shrink: 0; color: var(--bordeaux); }
.faq details[open] summary::after { content: '–'; }
.faq .rep { padding: 0 .25rem 1.15rem; text-align: left; font-weight: 300; }

/* ---------- Bandeau d'appel bordeaux ---------- */
.bandeau { background: var(--bordeaux); color: var(--creme); padding: 2.5rem 1.5rem; text-align: center; border-radius: 18px; }
.bandeau h2 { color: var(--creme); }
.bandeau h2 .accent { color: var(--orange); }
.bandeau p { margin-bottom: 1.25rem; font-weight: 300; }
.bandeau .ctas { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Mises en page photo ---------- */
.duo { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: 1fr; }
.duo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 18px; }
.duo h2 { text-align: left; }
.duo p { font-weight: 300; }
@media (min-width: 780px) { .duo { grid-template-columns: 1fr 1fr; gap: 2.75rem; } .duo.inverse > :first-child { order: 2; } }
.galerie { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.galerie img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: 14px; }

/* ---------- Sommaire d'ancres (cibles tactiles >= 44px) ---------- */
.sommaire-carte { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.sommaire-carte a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .95rem; border-radius: 999px;
  text-decoration: none; font-size: .88rem; border: 1px solid var(--bordeaux); color: var(--bordeaux);
}
.sommaire-carte a:hover { background: var(--bleu); }

/* ---------- Fil d'Ariane ---------- */
.ariane { font-size: .85rem; padding: 1rem 0 0; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.ariane li + li::before { content: '›'; margin-right: .35rem; }

/* ---------- Pied de page orange, comme le site d'origine ---------- */
footer.site { background: var(--orange); color: var(--bordeaux); margin-top: 3rem; font-size: .95rem; }
footer.site .wrap { padding: 2.5rem 1.25rem; }
footer.site .embleme-pied { width: 54px; height: auto; margin: 0 auto 1.25rem; }
footer.site .colonnes { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer.site h3 { font-family: var(--titre); font-size: .8rem; letter-spacing: .05em; margin-bottom: .4rem; }
footer.site address { font-style: normal; }
footer.site .legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(87 0 7 / 25%); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .88rem; }
.famille { text-align: center; font-size: .85rem; padding: 0 1rem 1.25rem; }

/* Accessibilité */
:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
