/* ==========================================================================
   L'italien — refonte 2026 : le brunch du dimanche
   Chargée APRÈS site.css, uniquement sur brunch.html.
   Hero photo du brunch (voile radial localisé derrière le texte), carte
   crème de la formule, grille 2 × 2 des photos (même matière que les
   tuiles de la galerie), appel à la réservation.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero split-screen (modèle Amazónico, Private Dining) : photo plein cadre
   à gauche, panneau vert à droite. Deux moitiés strictement égales, sans
   gouttière ; sous 1024 px elles s'empilent (photo puis panneau).
   -------------------------------------------------------------------------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;   /* repli : Safari < 15.4, Firefox < 101 */
  min-height: 100svh;
}

/* ---- moitié gauche : la photo, sans voile ni dégradé ---- */
.hero-split__photo {
  position: relative;
  overflow: hidden;
  background: var(--vert-fonce); /* le temps que la photo arrive */
}
/* hors flux : sinon la hauteur intrinsèque de la photo étirerait la
   rangée de grille au-delà des 100svh du hero */
.hero-split__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- moitié droite : aplat vert, motif en filigrane, texte centré ---- */
.hero-split__panneau {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent; /* fond émeraude commun (site.css §16) */
  /* padding vertical symétrique : le texte reste exactement centré, et la
     réserve du haut empêche l'en-tête fixe de mordre dessus sur un écran bas */
  padding: clamp(6.5rem, 12vh, 9rem) clamp(1.5rem, 4vw, 3.5rem);
}
/* motif végétal du site (#deco-fleur), à peine perceptible */
.hero-split__motif {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(94%, 560px);
  height: auto;
  color: var(--dore);
  opacity: 0.08;
  pointer-events: none;
}

.hero-split__contenu {
  position: relative; /* au-dessus du filigrane */
  width: min(480px, 100%);
  text-align: left;
  color: var(--creme);
}
.hero-split__contenu h1 {
  color: var(--creme);
  font-size: clamp(2.1rem, 1.1rem + 2.6vw, 3.15rem);
  line-height: 1.1;
}
.hero-split__texte {
  margin-top: 1.4rem;
  color: rgba(251, 247, 239, 0.85);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---- trois repères en filets pointillés dorés (comme les horaires) ---- */
.hero-split__reperes {
  display: grid;
  gap: 0.7rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(201, 162, 76, 0.28);
  font-size: 0.9375rem;
}
.hero-split__ligne {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.hero-split__ligne dt {
  color: rgba(251, 247, 239, 0.78);
  letter-spacing: 0.04em;
}
.hero-split__points {
  flex: 1;
  min-width: 1rem; /* les pointillés cèdent avant de faire déborder la ligne */
  border-bottom: 1px dotted rgba(201, 162, 76, 0.6);
  transform: translateY(-0.25em);
}
.hero-split__ligne dd {
  color: var(--creme);
  text-align: right;
  white-space: nowrap;
}

.hero-split__bouton { margin-top: 2.2rem; }
.hero-split__mention {
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(251, 247, 239, 0.7);
}

/* ---- empilement sous 1024 px : photo (55svh) puis panneau ---- */
@media (max-width: 1023px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-split__photo {
    height: 55vh;      /* repli : Safari < 15.4, Firefox < 101 */
    height: 55svh;
  }
  .hero-split__panneau {
    padding: clamp(2.5rem, 8vw, 4rem) clamp(1.5rem, 6vw, 3rem) clamp(3rem, 9vw, 4.5rem);
  }
  .hero-split__contenu { width: 100%; max-width: 520px; }
  .hero-split__bouton {
    width: 100%;
    max-width: none;
    min-height: 52px;  /* cible tactile confortable */
  }
}

/* téléphones étroits : la photo garde de la présence sans repousser le
   panneau vert trop bas, et le texte respire jusqu'aux bords */
@media (max-width: 430px) {
  .hero-split__photo {
    height: 42vh;
    height: 42svh;
  }
  .hero-split__panneau { padding: 2.25rem 1.15rem 3rem; }
  .hero-split__contenu h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .hero-split__texte { margin-top: 1.1rem; line-height: 1.7; }
  .hero-split__reperes { margin-top: 1.5rem; padding-top: 1.2rem; }
  .hero-split__bouton { margin-top: 1.8rem; }
}

/* --------------------------------------------------------------------------
   La formule : carte crème centrée
   -------------------------------------------------------------------------- */
.formule {
  max-width: 720px;
  margin-inline: auto;
  background: var(--creme);
  border-radius: var(--rayon);
  box-shadow: 0 18px 50px rgba(0, 12, 4, 0.35);
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}
.formule h2 { color: var(--vert); }
.formule__filet {
  display: block;
  width: 64px;
  height: 1px;
  margin: 1rem auto 1.2rem;
  background: var(--dore);
}
.formule__texte {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(34, 50, 44, 0.85);
  max-width: 46ch;
  margin-inline: auto;
}
.formule__mention {
  margin-top: 1.2rem;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(34, 50, 44, 0.7);
}

/* --------------------------------------------------------------------------
   Photos du brunch : grille 2 × 2, tuiles reprises de la galerie
   (portrait 3/4 bord à bord, écart 4 px, nom sur dégradé discret)
   -------------------------------------------------------------------------- */
.brunch-grille {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
@media (max-width: 519px) {
  .brunch-grille { grid-template-columns: 1fr; }
}

.tuile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(165deg, #0b3a1c, #001606);
}
.tuile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
@media (hover: hover) and (pointer: fine) {
  .tuile:hover img { transform: scale(1.04); }
}
.tuile__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 22, 6, 0) 62%,
    rgba(0, 22, 6, 0.62) 100%
  );
  pointer-events: none;
}
.tuile__legende {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem 1rem;
}
.tuile__nom {
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--creme);
}

.brunch-note {
  margin-top: 2rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Appel à la réservation, sur le fond fleuri
   -------------------------------------------------------------------------- */
.cta-brunch {
  text-align: center;
  color: var(--creme);
}
.cta-brunch h2 {
  color: var(--creme);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}
.cta-brunch p {
  margin-top: 0.6rem;
  color: rgba(251, 247, 239, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.bouton-reserver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 34px;
  margin-top: 1.5rem;
  border-radius: 24px;
  background: var(--creme);
  color: var(--vert);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
}
.bouton-reserver:hover {
  background: var(--dore);
  transform: translateY(-2px);
}


/* ==========================================================================
   §B. La carte du brunch en livre (nov. 2026)
   Reprise de la carte imprimée : couverture ivoire au logo vert, pages
   photo (assiettes en médaillon, prix, nom en capitales, description),
   titres de rubrique colorés comme sur le papier. La mécanique du livre
   et le papier viennent de carte.css / carte.js.
   ========================================================================== */
.bp-zone { padding-top: clamp(3rem, 7vw, 5rem); }
.bp-zone__titre {
  text-align: center;
  color: var(--creme);
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

/* ---- couverture ivoire (comme la carte imprimée) ---- */
.page--couverture.bp-couverture {
  background-color: #f4ede0;
  background-image: url("../img/carte/papier.webp");
  background-size: cover;
  color: #0f4a34;
  box-shadow: inset 0 0 0 1px rgba(143, 106, 36, 0.25), inset 0 0 80px rgba(120, 90, 40, 0.12);
}
.bp-couverture .couverture__logo {
  background: none;
  -webkit-background-clip: border-box;
          background-clip: border-box;
  color: #0f4a34;
  filter: none;
}
.bp-couverture .couverture__etoile { color: #d9a531; }
.bp-couverture .couverture__sous { color: #3b4a42; }
.bp-couverture .couverture__filet,
.bp-couverture .couverture__filet::before { background: #c9a24c; }
.bp-couverture .couverture__cadre,
.bp-couverture .couverture__cadre::before { border-image: none; border-color: #bfa36a; filter: none; }
.bp-couverture .arabesque { color: #b89a5e; filter: none; }
.bp-couverture__titre {
  margin-top: 4cqw;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 7cqw;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1c1c1a;
}
.bp-couverture__heures {
  margin-top: -2cqw;
  font-weight: 300;
  font-size: 5cqw;
  color: #1c1c1a;
}
.bp-couverture .couverture__indice { color: rgba(15, 74, 52, 0.6); }

/* ---- pages intérieures ---- */
.bp-contenu {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.6vh, 1rem);
}
.bp-titre {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: clamp(1.7rem, min(3vw, 4.6vh), 2.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f3a22;
}
.bp-titre--rose   { color: #d0588f; }
.bp-titre--orange { color: #e0743a; }
.bp-titre--or     { color: #b8902f; }
.bp-titre--formule { font-size: clamp(2rem, min(3.6vw, 5.4vh), 3rem); }

.bp-liste {
  display: grid;
  gap: clamp(0.4rem, 1.6vh, 1.2rem);
}
.bp-liste--duo { grid-template-columns: 1fr 1fr; }

/* un plat : médaillon photo + texte, en quinconce comme sur la carte */
.bp-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.4rem);
}
.bp-liste > .bp-item:nth-child(even) { grid-template-columns: 1fr auto; }
.bp-liste > .bp-item:nth-child(even) .bp-item__photo { order: 2; }
.bp-liste > .bp-item:nth-child(even) .bp-item__texte { text-align: right; }
.bp-item__photo {
  width: clamp(84px, min(11vw, 15.5vh), 170px);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(34, 50, 44, 0.28), 0 0 0 3px #fffdf9, 0 0 0 4px rgba(201, 162, 76, 0.7);
}
.bp-item__prix {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1;
  color: #1c1c1a;
}
.bp-item__nom {
  margin-top: 0.2rem;
  font-family: var(--police-texte);
  font-weight: 500;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c2a22;
}
.bp-item__desc {
  margin-top: 0.2rem;
  font-size: clamp(0.74rem, 0.95vw, 0.86rem);
  line-height: 1.4;
  color: #4a5850;
}

/* smoothies : deux colonnes, photo au-dessus du texte */
.bp-liste--duo > .bp-item,
.bp-liste--duo > .bp-item:nth-child(even) {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.bp-liste--duo > .bp-item:nth-child(even) .bp-item__photo { order: 0; }
.bp-liste--duo > .bp-item:nth-child(even) .bp-item__texte { text-align: center; }

/* lignes simples (jus, boissons chaudes) */
.bp-ligne {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.6rem;
}
.bp-ligne__nom {
  font-weight: 500;
  font-size: clamp(0.82rem, 1.05vw, 0.95rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c2a22;
}
.bp-ligne__points { border-bottom: 1px dotted rgba(143, 106, 36, 0.55); transform: translateY(-0.25em); }
.bp-ligne__prix {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: #1c1c1a;
}
.bp-ligne__desc {
  grid-column: 1 / -1;
  margin-top: -0.3rem;
  font-size: clamp(0.74rem, 0.95vw, 0.86rem);
  line-height: 1.4;
  color: #4a5850;
}
.bp-contenu--liste { gap: clamp(0.9rem, 2.4vh, 1.4rem); justify-content: center; }
.bp-branche { width: 60%; margin: 0.5rem auto 0; color: #c9a24c; opacity: 0.8; }

/* formule */
.bp-contenu--formule { align-items: center; text-align: center; justify-content: center; }
.bp-photo {
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(34, 50, 44, 0.25);
}
.bp-photo--rond {
  width: min(72%, 36vh);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(34, 50, 44, 0.28), 0 0 0 4px #fffdf9, 0 0 0 5px rgba(201, 162, 76, 0.7);
}
.bp-script {
  font-family: var(--police-titre);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, min(4vw, 6vh), 3.4rem);
  padding-top: 0.15em;
  line-height: 1;
  color: #22322c;
}
.bp-formule__detail { font-size: clamp(0.85rem, 1.1vw, 1rem); color: #4a5850; }
.bp-formule__prix {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: #0f3a22;
}

/* téléphone : médaillons un peu plus petits, texte toujours lisible */
@media (max-width: 899px) {
  .bp-item__photo { width: clamp(84px, 27vw, 130px); }
  .bp-liste--duo { gap: 0.8rem; }
  .bp-photo { max-height: none; }
  .bp-photo--rond { width: 80%; }
}

/* smoothies : médaillons plus petits pour laisser la place au jus */
.bp-liste--duo .bp-item__photo { width: clamp(78px, min(9vw, 13vh), 140px); }
/* écrans d'ordinateur peu hauts (≤ 760 px) : tout tient sans défiler */
@media (min-width: 900px) and (max-height: 760px) {
  .bp-titre { font-size: clamp(1.4rem, 4vh, 2rem); }
  .bp-item__desc, .bp-ligne__desc { font-size: 0.72rem; line-height: 1.3; }
  .bp-contenu { gap: 0.4rem; }
  .bp-item__photo { width: 13.5vh; }
  .bp-liste--duo .bp-item__photo { width: 11.5vh; }
  .bp-photo--rond { width: min(66%, 33vh); }
}
