/* ===== Polices (hébergées localement) =====
   Shippori Mincho n'a pas d'italique : l'emphase passe par la couleur or. */
@font-face {
  font-family: "Shippori Mincho";
  src: url("../fonts/shippori-mincho-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Shippori Mincho";
  src: url("../fonts/shippori-mincho-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Shippori Mincho";
  src: url("../fonts/shippori-mincho-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-300-normal.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ===== Palette =====
   Nouvelle identité : bleu pois papillon profond, washi, or.
   Les noms de variables sont gardés pour ne rien casser :
   --royal = bleu de marque, --cuivre = or. */
:root {
  --nuit: #0E1640;
  --nuit-2: #18255F;
  --royal: #1B2A78;
  --royal-vif: #3346A8;
  --cuivre: #C9A86A;
  --cuivre-clair: #E2CC9C;
  --creme: #F4EEE2;
  --creme-2: #EAE1D0;
  --encre: #121A45;
  --doux: #C9CBE0;
  --doux-encre: #4A4F6E;

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --pad: clamp(1rem, 5vw, 4rem);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  background: var(--nuit);
  color: var(--creme);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--cuivre); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--cuivre); color: var(--nuit); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(4.5rem, 10vw, 8rem) 0; }

/* ===== Typo commune ===== */
.label {
  font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--cuivre); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .9rem;
}
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.label-clair { color: var(--creme); }
.titre {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em;
  margin-bottom: 1.6rem;
}
.titre em { font-style: normal; color: var(--cuivre); font-weight: 400; }
.titre-clair em { color: var(--creme); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 2rem; min-height: 48px;
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 999px;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn-plein { background: var(--cuivre); color: var(--nuit); }
.btn-plein:hover { background: var(--cuivre-clair); transform: translateY(-2px); }
.btn-ligne { border-color: currentColor; color: var(--creme); }
.btn-ligne:hover { background: var(--creme); color: var(--nuit); border-color: var(--creme); }
.btn-petit { padding: .6rem 1.3rem; min-height: 42px; font-size: .7rem; }

/* ===== Navigation ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.1rem var(--pad);
  transition: background .4s, padding .4s, box-shadow .4s;
}
.nav.solide {
  background: rgba(14, 22, 64, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding-top: .75rem; padding-bottom: .75rem;
  box-shadow: 0 1px 0 rgba(201, 168, 106, .25);
}
.nav-logo {
  font-family: var(--serif); font-size: 1rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; text-decoration: none; color: var(--creme);
}
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--doux); transition: color .3s;
}
.nav-links a:hover { color: var(--cuivre); }
.nav-cta {
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  padding: .55rem 1.2rem; border-radius: 999px; background: var(--royal); color: var(--creme);
  transition: background .3s;
}
.nav-cta:hover { background: var(--royal-vif); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh; padding: 0;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 22, 64,.96) 0%, rgba(14, 22, 64,.78) 42%, rgba(27, 42, 120, .35) 100%),
    url("../images/hero-bg.jpg") center / cover no-repeat;
  animation: zoom 24s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to top, var(--nuit), transparent);
}
@keyframes zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-content {
  position: relative; z-index: 2;
  padding: 7rem var(--pad) 5rem; max-width: 760px;
  animation: monter 1.1s ease both;
}
@keyframes monter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.eyebrow {
  font-size: .76rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cuivre-clair); margin-bottom: 1.4rem;
}
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 8.5vw, 5.6rem); line-height: 1; letter-spacing: .2em;
  text-transform: uppercase; margin-right: -.2em;
}
/* Trait fin effilé, clin d'œil au yanagiba */
.lame {
  display: block; width: min(340px, 70%); height: 3px; margin: 1.6rem 0 1.3rem;
  background: linear-gradient(90deg, var(--royal-vif), var(--cuivre));
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hero-slogan {
  font-family: var(--serif); font-style: normal; font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem); color: var(--cuivre); margin-bottom: 1.4rem;
}
.hero-desc { color: var(--doux); max-width: 30rem; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ===== La chef (section crème) ===== */
.chef { background: var(--creme); color: var(--encre); }
.chef-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.chef-photos { position: relative; padding: 0 2.5rem 2.5rem 0; }
.chef-main { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 20%; border-radius: 4px; }
.chef-accent {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; object-fit: cover;
  border: 6px solid var(--creme); border-radius: 4px;
  box-shadow: 0 20px 40px -20px rgba(18, 26, 69, .45);
}
.chef-photos::before {
  content: ""; position: absolute; left: -1.2rem; top: -1.2rem; width: 45%; height: 45%;
  border-top: 3px solid var(--royal); border-left: 3px solid var(--royal);
}
.chef-texte p { color: var(--doux-encre); margin-bottom: 1.1rem; max-width: 32rem; }
.chef .label { color: var(--royal); }
.chef .titre em { color: var(--royal); }
.signature {
  font-family: var(--serif); font-style: normal; font-size: 1.5rem;
  color: var(--cuivre) !important; margin-top: 1.6rem;
}

/* ===== Galerie ===== */
.galerie { background: var(--nuit); overflow: hidden; }
.galerie-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.4rem; }
.galerie-tete .titre { margin-bottom: 0; }
.galerie-ctrl { display: flex; align-items: center; gap: .7rem; }
.galerie-compteur {
  font-family: var(--serif); font-size: 1.05rem; color: var(--doux); margin-right: .8rem;
  font-variant-numeric: tabular-nums;
}
.galerie-compteur #g-pos { color: var(--cuivre); }
.g-fleche {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(244, 238, 226, .35); font-size: 1.1rem;
  transition: background .3s, border-color .3s, color .3s;
}
.g-fleche:hover:not(:disabled) { background: var(--cuivre); border-color: var(--cuivre); color: var(--nuit); }
.g-fleche:disabled { opacity: .3; cursor: default; }

.galerie-piste {
  display: flex; gap: clamp(.9rem, 2vw, 1.6rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 var(--pad) 1.2rem;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.galerie-piste::-webkit-scrollbar { display: none; }
@media (min-width: 1180px) {
  .galerie-piste { padding-left: calc((100vw - 1180px) / 2 + var(--pad)); scroll-padding-inline: calc((100vw - 1180px) / 2 + var(--pad)); }
}
.galerie-piste li { flex: 0 0 auto; width: clamp(240px, 28vw, 360px); scroll-snap-align: start; }
.g-item {
  display: block; width: 100%; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px;
  background: var(--nuit-2);
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.g-item:hover img { transform: scale(1.04); }
.g-legende {
  font-family: var(--serif); font-style: normal; font-size: 1.05rem;
  color: var(--doux); margin-top: .9rem; padding-top: .7rem;
  border-top: 1px solid rgba(201, 168, 106, .45);
}

/* Visionneuse */
.visionneuse {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(8, 12, 36, .96); color: var(--creme);
  display: none; align-items: center; justify-content: center;
}
.visionneuse[open] { display: flex; }
.visionneuse::backdrop { background: rgba(8, 12, 36, .96); }
.v-figure { max-width: min(90vw, 900px); text-align: center; }
.v-figure img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 4px; }
.v-figure figcaption { font-family: var(--serif); font-style: normal; font-size: 1.2rem; margin-top: 1rem; color: var(--cuivre-clair); }
.v-fermer { position: absolute; top: 1rem; right: 1.2rem; font-size: 2.2rem; line-height: 1; width: 48px; height: 48px; }
.v-fleche {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.2rem;
  border: 1.5px solid rgba(244, 238, 226, .4);
}
.v-fleche:hover { background: var(--cuivre); color: var(--nuit); border-color: var(--cuivre); }
.v-prev { left: 1.2rem; } .v-next { right: 1.2rem; }

/* ===== La carte ===== */
.carte { background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 100%); }
.carte-tete { max-width: 40rem; margin-bottom: 3.5rem; }
.intro { color: var(--doux); }
.carte-liste { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(244, 238, 226,.15); }
.carte-liste li {
  padding: 2rem 1.6rem 2.2rem 0; border-bottom: 1px solid rgba(244, 238, 226,.15);
}
.carte-liste li + li { padding-left: 1.6rem; border-left: 1px solid rgba(244, 238, 226,.15); }
.num { font-family: var(--serif); font-size: .95rem; color: var(--cuivre); }
.carte-liste h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; margin: .5rem 0 .4rem; }
.carte-liste p { font-size: .92rem; color: var(--doux); }
.choix-chef {
  margin-top: 3.5rem; padding: 2.4rem clamp(1.5rem, 4vw, 3rem);
  border-radius: 6px; background: var(--cuivre); color: var(--nuit);
  display: grid; grid-template-columns: auto 1fr; gap: .2rem 3rem; align-items: center;
}
.choix-chef .label { color: var(--nuit); grid-column: 1 / -1; margin-bottom: .2rem; }
.choix-titre { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.4rem); line-height: 1.1; }
.choix-titre em { font-style: normal; }
.choix-chef p:last-child { max-width: 30rem; font-weight: 400; }

/* ===== Formule (section bleu royal) ===== */
.formule { background: var(--royal); color: var(--creme); position: relative; overflow: hidden; }
.formule::before {
  content: ""; position: absolute; right: -15vw; top: -20vw; width: 55vw; height: 55vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 70, 168,.9), transparent 65%);
}
.formule .wrap { position: relative; }
.chiffres {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(244, 238, 226,.3); margin: 1rem 0 4rem;
  border-top: 1px solid rgba(244, 238, 226,.3); border-bottom: 1px solid rgba(244, 238, 226,.3);
}
.chiffres div { background: var(--royal); padding: 1.8rem 1.5rem 1.8rem 0; }
.chiffres div + div { padding-left: 1.5rem; }
.chiffres dt { font-size: .72rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; opacity: .85; }
.chiffres dd { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; margin-top: .3rem; }
.chiffres small { font-family: var(--sans); font-size: .9rem; margin-left: .5rem; opacity: .85; }
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: e; }
.etape-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--creme); color: var(--royal);
  font-family: var(--serif); font-size: 1.1rem; margin-bottom: 1rem;
}
.etapes h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin-bottom: .4rem; }
.etapes p { font-size: .95rem; opacity: .9; }
.option {
  margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid rgba(244, 238, 226,.3);
  font-size: 1rem;
}
.option strong { font-weight: 500; }

/* ===== Contact ===== */
.contact { background: var(--nuit); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 7vw, 6rem); align-items: start; }
.contact-texte p { color: var(--doux); max-width: 26rem; }
.contact-courriel { margin-top: 2rem; }
.contact-courriel a {
  font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--cuivre);
  text-decoration: none; border-bottom: 1px solid rgba(201, 168, 106,.5); word-break: break-all;
}
.contact-courriel a:hover { border-bottom-color: var(--cuivre); }
.form { display: flex; flex-direction: column; gap: 1.3rem; }
.champ { display: flex; flex-direction: column; gap: .45rem; }
.champ-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.champ label { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--doux); }
.champ input, .champ textarea {
  font: inherit; font-size: 1rem; color: var(--creme);
  background: rgba(244, 238, 226,.05); border: 1px solid rgba(244, 238, 226,.2); border-radius: 4px;
  padding: .85rem 1rem; transition: border-color .3s, box-shadow .3s;
}
.champ input::placeholder, .champ textarea::placeholder { color: rgba(201,203,224,.45); }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--royal-vif); box-shadow: 0 0 0 3px rgba(51, 70, 168,.35); }
.champ textarea { resize: vertical; min-height: 140px; }
.champ [aria-invalid="true"] { border-color: #FF8A80; }
.pot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; }
.form-statut { font-size: .95rem; min-height: 1.5em; }
.form-statut.ok { color: #8FE3B0; }
.form-statut.erreur { color: #FF9C94; }

/* ===== Pied de page ===== */
.pied {
  border-top: 2px solid var(--royal);
  padding: 2.5rem var(--pad);
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 1rem 2rem; align-items: center;
  background: var(--nuit);
}
.pied-logo { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.pied-slogan { font-family: var(--serif); font-style: normal; color: var(--cuivre); }
.pied-liens { display: flex; gap: 1.5rem; font-size: .85rem; }
.pied-liens a, .lien-btn { color: var(--doux); text-decoration: underline; text-underline-offset: 3px; font-size: .85rem; }
.pied-liens a:hover, .lien-btn:hover { color: var(--cuivre); }
.pied-copy { font-size: .8rem; color: rgba(201,203,224,.6); }

/* ===== Bannière de consentement ===== */
.consent {
  position: fixed; z-index: 200; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 560px; margin-left: auto;
  background: var(--nuit-2); border: 1px solid rgba(201, 168, 106,.5); border-radius: 8px;
  padding: 1.2rem 1.3rem; box-shadow: 0 20px 50px -15px rgba(0,0,0,.6);
  font-size: .92rem; color: var(--doux);
}
.consent[hidden] { display: none; }
.consent a { color: var(--cuivre-clair); }
.consent-btns { display: flex; gap: .7rem; margin-top: 1rem; justify-content: flex-end; }

/* ===== Page confidentialité ===== */
.page-texte { padding: 8rem 0 5rem; }
.page-texte .wrap { max-width: 760px; }
.page-texte h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 2.2rem 0 .6rem; color: var(--cuivre); }
.page-texte p, .page-texte li { color: var(--doux); margin-bottom: .8rem; }
.page-texte ul { list-style: disc; padding-left: 1.3rem; }

/* ===== Apparition au défilement ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.vu { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .chef-grid, .contact-grid { grid-template-columns: 1fr; }
  .chef-photos { max-width: 480px; }
  .carte-liste { grid-template-columns: 1fr 1fr; }
  .carte-liste li:nth-child(3) { padding-left: 0; border-left: 0; }
  .etapes { grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; }
  .pied { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .galerie-tete { flex-direction: column; align-items: flex-start; }
  .galerie-piste li { width: 78vw; }
  .carte-liste { grid-template-columns: 1fr; }
  .carte-liste li, .carte-liste li + li { padding: 1.5rem 0; border-left: 0; }
  .choix-chef { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: 1fr; }
  .chiffres div, .chiffres div + div { padding: 1.3rem 0; }
  .etapes { grid-template-columns: 1fr; }
  .champ-duo { grid-template-columns: 1fr; }
  .form .btn { align-self: stretch; }
  .v-fleche { top: auto; bottom: 1.2rem; transform: none; }
  .consent-btns .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
