/* ==========================================================================
   Restaurant Rentable 3X · préversion V1
   Direction : enseigne de diner américain, fin des années 50 / début 60.
   Palette dérivée du logo : rouge enseigne, crème, bleu canard, bleu nuit,
   jaune d'ampoule. Aucun dégradé pastel, aucun fond beige.
   ========================================================================== */

:root {
  --nuit:        #0D1B2A;
  --nuit-2:      #142839;
  --nuit-3:      #1B3346;
  --noir:        #060B12;
  --creme:       #F5EEDC;
  --creme-vif:   #FCF7EA;
  --papier:      #F7F3E8;
  --rouge:       #D9251D;
  --rouge-vif:   #EE3A2E;
  --teal:        #2E9AAE;
  --teal-vif:    #4EC0D4;
  --jaune:       #FFC845;
  --encre:       #16232F;
  --encre-doux:  #3E4E5C;

  --display: "Ultra", Georgia, serif;
  --script:  "Lobster Two", Georgia, serif;
  --texte:   "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  --mesure: 38rem;
}

/* --------------------------------------------------------------- base --- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--nuit);
  color: var(--creme);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-vif); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--jaune); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 800; }

::selection { background: var(--rouge); color: var(--creme-vif); }

/* ------------------------------------------------------------ structure -- */

.wrap {
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.colonne {
  max-width: var(--mesure);
  margin-left: auto;
  margin-right: auto;
}

section { padding: 5.5rem 0; }

.section-nuit  { background: var(--nuit); }
.section-creme { background: var(--papier); color: var(--encre); }
.section-creme a { color: #0F6E7E; }
.section-creme a:hover { color: var(--rouge); }

/* ------------------------------------------------------------ titrages -- */

h1, h2, h3 { margin: 0 0 1rem; font-weight: 400; line-height: 1.12; }

h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 5.2vw, 3.4rem);
  color: var(--creme-vif);
  letter-spacing: -0.005em;
  text-shadow: 0 0 34px rgba(78, 192, 212, 0.34);
}

h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.9vw, 2.5rem);
  margin-bottom: 1.6rem;
}

.section-nuit  h2 { color: var(--creme-vif); }
.section-creme h2 { color: var(--rouge); }

h3 {
  font-family: var(--texte);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chapo {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--encre-doux);
}
.section-nuit .chapo { color: #B9CBD8; }

/* ---------------------------------------------------------- barre haute -- */

.marquee-top {
  height: 26px;
  background-color: var(--rouge);
  background-image: radial-gradient(circle at 50% 50%, var(--jaune) 0 3.4px, rgba(0,0,0,0.18) 3.6px 5px, transparent 5.2px);
  background-size: 26px 26px;
  border-bottom: 3px solid var(--noir);
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  padding: 3rem 0 5rem;
  background:
    radial-gradient(58% 62% at 50% 30%, rgba(46, 154, 174, 0.30) 0%, rgba(13, 27, 42, 0) 68%),
    linear-gradient(180deg, var(--noir) 0%, var(--nuit) 78%);
  text-align: center;
  overflow: hidden;
}

.hero__logo {
  width: min(560px, 86%);
  margin: 0 auto 1.4rem;
  mix-blend-mode: screen;
}

.hero h1 { max-width: 22ch; margin-inline: auto; }

.hero__sous {
  max-width: 42rem;
  margin: 1.6rem auto 2.4rem;
  font-size: 1.16rem;
  color: #C4D5E1;
}

.hero__note {
  margin-top: 1.6rem;
  font-size: 0.86rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-vif);
}

/* -------------------------------------------------------------- boutons -- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--creme-vif);
  background: var(--rouge);
  padding: 1.05rem 2.1rem;
  border: 3px solid var(--creme);
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 6px 0 rgba(6, 11, 18, 0.55);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover {
  color: var(--creme-vif);
  background: var(--rouge-vif);
  transform: translateY(3px);
  box-shadow: 0 3px 0 rgba(6, 11, 18, 0.55);
}

/* ---------------------------------------------------------- séparateurs -- */

.damier {
  height: 22px;
  background-image: repeating-conic-gradient(var(--noir) 0% 25%, var(--creme) 0% 50%);
  background-size: 44px 44px;
  border-top: 3px solid var(--rouge);
  border-bottom: 3px solid var(--rouge);
}

.etoile {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  max-width: 20rem;
  margin: 0 auto 2.6rem;
}
.etoile::before, .etoile::after {
  content: "";
  flex: 1;
  height: 2px;
  background: currentColor;
  opacity: 0.35;
}
.etoile svg { width: 36px; height: 36px; flex: none; }

.section-nuit  .etoile { color: var(--teal-vif); }
.section-creme .etoile { color: var(--rouge); }

/* ------------------------------------------------------------ le récit -- */

.recit p { font-size: 1.17rem; }
.recit h2 { margin-bottom: 2rem; }

.recit p.recit__ouverture {
  font-family: var(--script);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.15;
  color: var(--rouge);
  margin: 0 0 1.5rem;
}

.recit p.recit__chiffre {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.3;
  color: var(--encre);
  margin: 2.2rem 0;
  padding-left: 1.4rem;
  border-left: 8px solid var(--teal);
}

/* --------------------------------------------------- les 3 plaques -------- */

.plaques {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.6rem;
  margin-top: 3rem;
}

.plaque {
  background: var(--nuit-2);
  border: 2px solid var(--teal);
  border-radius: 4px;
  padding: 2.6rem 1.5rem 1.8rem;
  position: relative;
  box-shadow: inset 0 0 0 4px var(--nuit-2), inset 0 0 0 5px rgba(78, 192, 212, 0.28);
}

.plaque__num {
  position: absolute;
  top: -1.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--rouge);
  border: 3px solid var(--creme);
  color: var(--creme-vif);
  font-family: var(--display);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plaque h3 { color: var(--jaune); margin-bottom: 0.9rem; }

.plaque p.plaque__mesure {
  font-family: var(--display);
  font-size: 1.42rem;
  line-height: 1.2;
  color: var(--creme-vif);
  margin: 0 0 0.7rem;
}

.plaque p { font-size: 0.99rem; color: #B9CBD8; }

.plaques__pied {
  margin-top: 2.6rem;
  font-size: 1.12rem;
  color: #C4D5E1;
}

/* ------------------------------------------------------- carte / menu ---- */

.cadre-ampoules {
  background-color: var(--rouge);
  background-image: radial-gradient(circle at 50% 50%, var(--jaune) 0 3.6px, rgba(0,0,0,0.22) 3.8px 5.4px, transparent 5.6px);
  background-size: 26px 26px;
  padding: 24px;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(6, 11, 18, 0.28);
  margin-top: 3rem;
}

.carte {
  background: var(--creme-vif);
  border: 2px solid var(--encre);
  padding: 2.8rem 2rem;
}

.carte__titre {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  color: var(--encre);
  text-align: center;
  margin: 0 0 0.4rem;
}

.carte__sous {
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rouge);
  font-weight: 800;
  margin: 0 0 2rem;
}

.carte ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 3rem;
}

.carte li {
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.5rem 0;
  border-bottom: 1px dotted rgba(22, 35, 47, 0.32);
  color: var(--encre);
}

.carte li span {
  font-family: var(--display);
  font-size: 0.82rem;
  color: var(--rouge);
  flex: none;
  min-width: 1.7rem;
}

/* -------------------------------------------------------- ce qui vient --- */

.inclus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.4rem;
  margin-top: 2.6rem;
}

.inclus article {
  border-top: 4px solid var(--rouge);
  background: var(--nuit-2);
  padding: 1.7rem 1.5rem;
}

.inclus h3 { color: var(--creme-vif); margin-bottom: 0.7rem; }
.inclus p { font-size: 0.99rem; color: #B9CBD8; }

/* ------------------------------------------------------------ ouverture -- */

.ouverture {
  text-align: center;
  background:
    radial-gradient(55% 70% at 50% 40%, rgba(217, 37, 29, 0.26) 0%, rgba(13, 27, 42, 0) 70%),
    var(--nuit);
}

.ouverture h2 { color: var(--jaune); }

.ouverture__texte {
  max-width: 36rem;
  margin: 0 auto 2.4rem;
  font-size: 1.12rem;
  color: #C4D5E1;
}

.ouverture__mail {
  margin-top: 2rem;
  font-size: 1.05rem;
}

.garantie {
  max-width: 34rem;
  margin: 3rem auto 0;
  padding: 1.4rem 1.6rem;
  border: 2px dashed rgba(245, 238, 220, 0.34);
  border-radius: 4px;
  font-size: 0.99rem;
  color: #B9CBD8;
}

/* ---------------------------------------------------------------- pied -- */

footer {
  background: var(--noir);
  padding: 3rem 0 3.5rem;
  font-size: 0.86rem;
  line-height: 1.75;
  color: #7E93A3;
  border-top: 3px solid var(--rouge);
}

footer strong { color: #B9CBD8; font-weight: 600; }

.pied { text-align: center; }

.pied__marque {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--creme);
  margin-bottom: 0.7rem;
}

.pied__liens a { color: #7E93A3; text-decoration: none; }
.pied__liens a:hover { color: var(--jaune); text-decoration: underline; }
.pied__liens span { margin: 0 0.7rem; opacity: 0.5; }

/* ------------------------------------------------------ page annexe ----- */

.page-legale { padding: 4.5rem 0 5rem; }

.page-legale h1 {
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  text-shadow: none;
  margin-bottom: 2rem;
}

.page-legale h2 {
  font-family: var(--texte);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--jaune);
  margin: 2.4rem 0 0.7rem;
}

.page-legale p { color: #B9CBD8; }

.retour {
  display: inline-block;
  margin-top: 3rem;
  font-weight: 600;
}

/* --------------------------------------------------------- responsive --- */

@media (max-width: 760px) {
  section { padding: 4rem 0; }
  .carte ol { columns: 1; }
  .carte { padding: 2rem 1.2rem; }
  .cadre-ampoules { padding: 18px; background-size: 22px 22px; }
  .hero { padding: 2rem 0 3.5rem; }
  .hero__logo { width: 78%; margin-bottom: 1rem; }
  .hero__sous { font-size: 1.06rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
