/* L'Authentique — feuille de style */

@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
/* Si vous achetez Aeonik : déposez les fichiers .woff2 dans /fonts et décommentez :
@font-face { font-family: 'Aeonik'; src: url('../fonts/Aeonik-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Aeonik'; src: url('../fonts/Aeonik-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
*/

:root {
  --fond: #F2F0EB;
  --encre: #121212;
  --gris: #6B6760;
  --gris-clair: #A29D95;
  --trait: #D9D5CD;
  --marron: #5A3320;
  --vert: #1E8E4E;
  --marge: clamp(20px, 3vw, 40px);
  --bloc: clamp(64px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: Aeonik, 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--encre); }
a:hover { color: var(--gris); }
h1, h2, h3, p, figure { margin: 0; }
.prix { white-space: nowrap; font-variant-numeric: tabular-nums; }
.discret { color: var(--gris); }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 10;
  background: var(--fond);
  padding: 20px var(--marge);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--trait);
}
.logo { text-decoration: none; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 16px; }
.nav a { text-decoration: none; }
.statut { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.statut i { width: 9px; height: 9px; border-radius: 50%; background: var(--gris-clair); }
.statut.ouvert i { background: var(--vert); }

/* Accroche */
.hero {
  padding: clamp(48px, 7vw, 104px) var(--marge) 40px;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between;
}
.hero h1 { flex: 1 1 640px; min-width: 0; font-size: clamp(64px, 11.5vw, 172px); line-height: 0.9; font-weight: 500; letter-spacing: -0.055em; }
.hero-texte { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-bottom: 10px; }
.hero-texte p { font-size: 19px; line-height: 1.45; }
.bouton { align-self: flex-start; background: var(--encre); color: var(--fond); text-decoration: none; padding: 16px 26px; font-weight: 500; font-size: 16px; }
.bouton:hover { background: var(--marron); color: var(--fond); }
.boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.bouton-contour { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.bouton-contour:hover { background: var(--encre); color: var(--fond); }

.photo-une { padding: 0 var(--marge); }
.photo-une img { width: 100%; height: clamp(360px, 46vw, 680px); object-fit: cover; object-position: center 55%; }
.legende { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 14px; color: var(--gris); }

/* Titres de section */
.titre { font-size: clamp(48px, 7vw, 104px); line-height: 0.95; font-weight: 500; letter-spacing: -0.05em; }

/* Vitrine (défilement horizontal) */
.vitrine { padding-top: var(--bloc); }
.vitrine-tete { padding: 0 var(--marge) 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.vitrine-tete p { font-size: 16px; color: var(--gris); max-width: 340px; }
.rail {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--marge);
  padding: 0 var(--marge) 12px;
  scrollbar-width: thin; scrollbar-color: var(--trait) transparent;
}
.rail article { flex: 0 0 clamp(240px, 24vw, 340px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.rail img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.rail .ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rail h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.rail p { margin-top: -6px; font-size: 14px; color: var(--gris); }

/* Formule */
.formule { margin-top: var(--bloc); background: var(--marron); color: var(--fond); }
.formule-int { padding: clamp(48px, 6vw, 88px) var(--marge); display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; }
.formule-int > p { flex: 1 1 260px; min-width: 0; font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; max-width: 360px; }
.remise { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.remise span:first-child { font-size: 18px; }
.remise strong { font-size: clamp(88px, 13vw, 200px); line-height: 0.85; font-weight: 500; letter-spacing: -0.06em; }

/* Carte */
.carte { padding: var(--bloc) var(--marge); display: flex; flex-wrap: wrap; gap: 40px 64px; }
.carte-gauche { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.onglets { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.onglets button {
  cursor: pointer; background: none; border: 0; padding: 4px 0;
  font-family: inherit; text-align: left;
  font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.04em;
  color: var(--gris-clair); transition: color .15s;
}
.onglets button:hover { color: var(--gris); }
.onglets button[aria-selected="true"] { color: var(--encre); }
.carte-droite { flex: 2 1 560px; min-width: 0; }
.panneau[hidden] { display: none; }
.panneau > p { margin-bottom: 20px; font-size: 16px; color: var(--gris); }
.panneau ul { list-style: none; margin: 0; padding: 0; }
.panneau li { display: flex; gap: 24px; align-items: baseline; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--trait); }
.panneau li > div { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; min-width: 0; }
.panneau b { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.panneau small { font-size: 15px; color: var(--gris); }
.panneau .prix { font-size: 18px; }

/* Pâtisserie */
.patisserie { padding: 0 var(--marge); display: flex; flex-wrap: wrap; gap: 16px; }
.patisserie > figure { flex: 1.4 1 560px; min-width: 0; }
.patisserie > figure img { width: 100%; height: clamp(420px, 52vw, 760px); object-fit: cover; object-position: center 72%; }
.patisserie-texte { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.patisserie-texte > div { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.patisserie-texte h2 { font-size: clamp(44px, 5.6vw, 84px); line-height: 0.95; font-weight: 500; letter-spacing: -0.05em; }
.patisserie-texte p { font-size: 19px; max-width: 440px; }
.gros-prix { font-size: 40px; font-weight: 500; letter-spacing: -0.04em; }
.patisserie-texte figure img { width: 100%; height: 300px; object-fit: cover; }
.patisserie-texte figcaption { padding-top: 12px; font-size: 15px; color: var(--gris); }

/* Infos */
.infos { padding: clamp(80px, 10vw, 160px) var(--marge) 48px; }
.infos h2 { margin-bottom: clamp(40px, 5vw, 72px); font-size: clamp(48px, 8vw, 128px); line-height: 0.92; font-weight: 500; letter-spacing: -0.055em; }
.infos-grille { display: flex; flex-wrap: wrap; gap: 40px; border-top: 1px solid var(--encre); padding-top: 24px; }
.infos-grille > div { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.infos-grille h3 { font-size: 15px; font-weight: 400; color: var(--gris); }
.infos-grille p { font-size: 19px; }
.infos-grille a { font-size: 17px; }
.horaires { list-style: none; margin: 0; padding: 0; }
.horaires li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 17px; border-bottom: 1px solid var(--trait); color: #3A3733; }
.horaires li.aujourdhui { font-weight: 600; color: var(--encre); }

/* Pied de page */
.pied { padding: 24px var(--marge); border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--gris); }
.pied a { color: var(--gris); }

/* Page mentions légales */
.texte-legal { padding: var(--bloc) var(--marge); max-width: 760px; }
.texte-legal h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; font-weight: 500; letter-spacing: -0.04em; margin-bottom: 40px; }
.texte-legal h2 { font-size: 22px; font-weight: 500; margin: 32px 0 8px; }

@media (max-width: 700px) {
  .entete { position: static; }
  .nav { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Sous-titres dans la carte du midi */
.panneau li.sous-titre { display: block; border-top: 0; padding: 32px 0 8px; font-size: 14px; color: var(--gris); }
.panneau li.sous-titre:first-child { padding-top: 0; }

/* Bloc panettones en ligne (accueil) */
.promo { margin: var(--bloc) var(--marge) 0; padding-top: 28px; border-top: 1.5px solid var(--encre); display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.promo .titre { flex: 1 1 560px; min-width: 0; }
.promo-texte { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.promo-texte p { font-size: 19px; line-height: 1.45; }
