/* =========================================================
   Quartier Japonais 808 — Version Néo
   Inspirée des rendus 3D de l'intérieur (vidéo Instagram)
   ========================================================= */

/* =========================================================
   🎨 COULEURS — change-les ici, elles s'appliquent partout
   (y compris dans les illustrations SVG de index.html)
   ========================================================= */
:root {
  /* --- Fonds sombres --- */
  --color-bg:             #1F1D1B;  /* fond principal (charbon chaud) */
  --color-surface:        #2B2825;  /* cartes, encadrés */
  --color-stripe-1:       #282522;  /* lattes de bois (zones image) */
  --color-stripe-2:       #312D29;
  --color-line:           #3E3934;  /* bordures et séparateurs */
  --color-line-strong:    #5A534C;  /* bordure des boutons secondaires */

  /* --- Textes sur fond sombre --- */
  --color-text:           #F2ECE3;  /* titres et texte principal */
  --color-text-soft:      #CFC5B9;  /* paragraphes */
  --color-text-muted:     #A99F94;  /* textes secondaires */
  --color-text-faint:     #8A8178;  /* numéros, placeholders */

  /* --- Accents --- */
  --color-accent:         #9E3029;  /* bordeaux (boutons, cercle « Pourquoi 808 ») */
  --color-accent-text:    #FFFFFF;  /* texte sur le bordeaux */
  --color-gold:           #E7B676;  /* texte doré, petits titres */
  --color-glow:           #F2C27E;  /* lumière sous les comptoirs */
  --color-glow-shadow:    rgba(242, 194, 126, .5);

  /* --- Section claire « pierre » (Le marché) --- */
  --color-stone:          #ECE5DA;  /* fond de la section */
  --color-stone-card:     #F6F1E9;  /* cartes */
  --color-stone-stripe-1: #EFE8DE;
  --color-stone-stripe-2: #E8E0D4;
  --color-stone-line:     #D8CEC0;
  --color-stone-text:     #1F1C19;
  --color-stone-muted:    #5E554C;
  --color-stone-accent:   #7A5C30;  /* doré foncé lisible sur fond clair */

  /* --- Logo --- */
  --color-logo-bg:        #F4F1EC;  /* pastille blanche du logo */
  /* Le symbole ∞, les vagues, les lampes, le poisson et le « 808 » sont des images
     dans image/dessins/ : pour changer leurs couleurs, ouvre le fichier .svg. */

  /* --- Pages intérieures (style « GAZU ») --- */
  --color-band:           #151311;  /* bande noire et barre d'info du haut */
  --color-hero-shade:     rgba(31, 29, 27, .78);  /* voile sombre sur la photo du haut (plus opaque = texte plus lisible) */

  /* --- Images --- */
  --color-overlay:        rgba(31, 29, 27, .9);   /* dégradé sur les images */
  --color-glass:          rgba(43, 40, 37, .85);  /* étiquette « verre dépoli » */

  /* --- Lumière qui suit le curseur --- */
  --color-cursor-light:      rgba(242, 194, 126, .16);  /* centre de la lumière */
  --color-cursor-light-edge: rgba(242, 194, 126, .05);  /* bord de la lumière */
  --cursor-light-size:       380px;                     /* diamètre */

  /* --- Baleine mascotte --- */
  --whale-ink:   #E7B676;   /* étincelles qui sortent de l'eau (le poisson : image/dessins/poisson.svg) */
  --whale-size:  130px;     /* largeur de la baleine */
  --whale-lane:  150px;     /* espace libre à gauche de la page pour la baleine */

  /* --- Apparition des éléments au défilement --- */
  --reveal-distance: 60px;   /* distance parcourue par chaque élément */
  --reveal-duration: .9s;    /* durée de l'animation */

  /* --- Polices --- */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans:  'Jost', system-ui, sans-serif;
  --font-jp:    'Shippori Mincho', serif;

  /* --- Mesures --- */
  --container: 1320px;
  --radius: 20px;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
}
a { color: var(--color-text); }
a:hover { color: var(--color-gold); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 300; }

.serif { font-family: var(--font-serif); }
.jp { font-family: var(--font-jp); }
.sc { font-family: var(--font-serif); font-variant: small-caps; letter-spacing: .06em; }

.container {
  /* Le contenu est décalé vers la droite (couloir pour la baleine),
     mais les fonds des sections restent sur 100 % de la largeur */
  max-width: calc(var(--container) + var(--whale-lane));
  margin: 0 auto;
  padding-left: calc(32px + var(--whale-lane));
  padding-right: 32px;
}

/* En-tête de section : « 01 — Les espaces » + grand titre */
.section { padding-top: 120px; padding-bottom: 60px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.eyebrow { margin: 0 0 14px; font-size: 20px; color: var(--color-gold); }
.section-title { font-family: var(--font-serif); font-size: 64px; line-height: 1.02; }
.section-lead { margin: 0; max-width: 380px; line-height: 1.8; color: var(--color-text-muted); }

/* Zone image en attente (lattes de bois) */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: repeating-linear-gradient(90deg, var(--color-stripe-1) 0 18px, var(--color-stripe-2) 18px 22px);
  color: var(--color-text-faint);
  font-size: 12px;
  letter-spacing: .2em;
}
/* Pour une vraie image : <img class="placeholder" src="..." alt="..."> */
img.placeholder { padding: 0; object-fit: cover; width: 100%; height: 100%; }

/* Ligne lumineuse (comme la lumière sous les comptoirs) */
.glow-line {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: var(--color-glow);
  box-shadow: 0 0 24px 6px var(--color-glow-shadow);
}

/* =========================================================
   Boutons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .16em;
  font-weight: 500;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: var(--color-accent-text); }
.btn-accent:hover { color: var(--color-accent-text); box-shadow: 0 12px 30px var(--color-glow-shadow); }
.btn-outline { border: 1px solid var(--color-line-strong); color: var(--color-text); }
.btn-light { background: var(--color-text); color: var(--color-bg); font-weight: 600; }
.btn-light:hover { color: var(--color-bg); }
.btn-sm { padding: 12px 22px; }
.btn:focus-visible, .nav-links a:focus-visible, .lang-switch button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* =========================================================
   En-tête
   ========================================================= */
.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 26px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-badge {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--color-logo-bg);
  display: flex; align-items: center; justify-content: center;
}
.hanko-dot {
  position: absolute;
  right: 9px; bottom: 11px;
  width: 5px; height: 5px;
  background: var(--color-accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 17px; font-weight: 400; letter-spacing: .04em; }
.brand-sub { font-size: 9px; letter-spacing: .34em; color: var(--color-text-muted); }

/* Boutons de navigation (en haut de chaque page) */
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .06em;
  padding: 9px 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: border-color .2s ease, background .2s ease;
}
.nav-links a:hover { border-color: var(--color-gold); }
.nav-links a[aria-current="page"] { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 12px;
  min-height: 36px;
  font: inherit;
  font-size: 12px;
  letter-spacing: .08em;
  background: transparent;
  color: var(--color-text-muted);
}
.lang-switch button[aria-pressed="true"] { background: var(--color-text); color: var(--color-bg); font-weight: 600; }

/* =========================================================
   Accueil
   ========================================================= */
.hero { position: relative; margin-top: -102px; min-height: 900px; display: flex; align-items: center; }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 64px;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 90px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-kicker { margin: 0; font-size: 12px; letter-spacing: .42em; color: var(--color-gold); font-weight: 400; }
.hero-title { font-family: var(--font-serif); font-size: 104px; line-height: .95; letter-spacing: -.01em; }
.hero-title em { color: var(--color-gold); }
.hero-lead { margin: 0; font-size: 18px; line-height: 1.75; color: var(--color-text-soft); max-width: 500px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.lamps {
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}
.arch {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: 230px 230px 18px 18px;
  overflow: hidden;
  border: 1px solid var(--color-line);
}
.arch .placeholder { position: absolute; inset: 0; }
/* Léger dégradé sombre en bas de la photo pour la fondre dans la page */
.arch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--color-overlay) 100%);
  pointer-events: none;
}
.arch .glow-line { bottom: 0; height: 4px; z-index: 1; }
.glass-label {
  position: absolute;
  left: 0; bottom: 40px;
  z-index: 3;
  background: var(--color-glass);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 16px 20px;
  backdrop-filter: blur(8px);
}
.glass-label .sc { font-size: 16px; color: var(--color-text-muted); }
.glass-label .serif { font-size: 22px; margin-top: 2px; }

/* --- Photos du haut de l'accueil qui défilent (balayage vers la gauche) --- */
.hero-slide { clip-path: inset(0 0 0 100%); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1), transform 1.1s cubic-bezier(.77, 0, .18, 1); }
.hero-slide.is-active { z-index: 1; clip-path: inset(0 0 0 0); }                       /* nouvelle photo : se dévoile de droite à gauche */
.hero-slide.is-leaving { z-index: 0; clip-path: inset(0 0 0 0); transform: translateX(-18%) scale(1.06); }  /* ancienne photo : glisse vers la gauche */
.hero-slide.no-anim { transition: none; }
.glass-label { overflow: hidden; min-width: 190px; }
.glass-label-inner { transition: transform .45s cubic-bezier(.6, 0, .4, 1), opacity .45s ease; }
.glass-label-inner.is-out  { transform: translateX(-110%); opacity: 0; }                /* le texte part vers la gauche */
.glass-label-inner.is-in   { transform: translateX(110%); opacity: 0; transition: none; } /* ... et revient par la droite */

/* =========================================================
   Bandeau défilant
   ========================================================= */
.ticker {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
  padding: 20px 0;
}
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 26px; padding: 0 26px; white-space: nowrap; }
.ticker-item .serif { font-size: 28px; }
.ticker-item .jp { font-size: 15px; color: var(--color-gold); }
.ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-line-strong); }

/* =========================================================
   01 — Les espaces
   ========================================================= */
.spaces { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.space {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  aspect-ratio: 16 / 11;
}
.space .placeholder { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.space .glow-line { bottom: 0; opacity: .35; transition: opacity .5s; }
.space:hover .placeholder { transform: scale(1.04); }
.space:hover .glow-line { opacity: 1; }
.space-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 28px;
  background: linear-gradient(180deg, transparent 0%, var(--color-overlay) 100%);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
}
.space-caption .sc { font-size: 17px; color: var(--color-text-muted); }
.space-caption .serif { font-size: 34px; font-weight: 400; color: var(--color-text); }
.space-num { font-family: var(--font-serif); font-size: 44px; color: var(--color-line-strong); }

/* =========================================================
   02 — Nos plats (galerie de photos, pas de prix)
   ========================================================= */
.plats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.plat {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
}
.plat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.plat:hover img { transform: scale(1.05); }
.plat figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 20px 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  background: linear-gradient(180deg, transparent 0%, var(--color-overlay) 100%);
}
.plat-name { font-size: 26px; font-weight: 400; color: var(--color-text); }
.plat .jp { font-size: 14px; color: var(--color-gold); }

/* Bouton centré sous une galerie */
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Pages simples (ambiances et Nos plats) */
.page-hero { padding-bottom: 20px; }
.page-hero .section-title { margin-bottom: 18px; }
.page-hero .section-lead { max-width: 560px; }
.back-link { display: inline-block; margin-bottom: 36px; font-size: 14px; color: var(--color-text-muted); text-decoration: none; }
.back-link:hover { color: var(--color-gold); }
.page-gallery { padding-top: 20px; padding-bottom: 120px; }
.group-title { font-size: 36px; margin: 60px 0 24px; }
.group-title:first-child { margin-top: 0; }

/* =========================================================
   03 — Le marché (section claire)
   ========================================================= */
.market { background: var(--color-stone); color: var(--color-stone-text); }
.market .container { padding-top: 120px; padding-bottom: 120px; }
.market .eyebrow { color: var(--color-stone-accent); }
.market .section-lead { color: var(--color-stone-muted); }
.market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.market-card {
  background: var(--color-stone-card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-stone-line);
  transition: transform .3s ease;
}
.market-card:hover { transform: translateY(-4px); }
.market-card .placeholder {
  aspect-ratio: 1;
  background: repeating-linear-gradient(135deg, var(--color-stone-stripe-1) 0 14px, var(--color-stone-stripe-2) 14px 28px);
  color: var(--color-stone-muted);
  font-size: 11px;
}
.market-card-body { padding: 18px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.market-card-body .serif { font-size: 24px; }
.market-card-body .jp { font-size: 14px; color: var(--color-stone-accent); }

/* =========================================================
   04 — Histoire
   ========================================================= */
.story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 72px;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 140px;
}
.story-visual { display: flex; justify-content: center; }
.story-circle {
  width: 420px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-stone-card);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 40px 120px var(--color-glow-shadow);
}
.story-circle img { width: 62%; height: auto; }
.story .section-title { margin-bottom: 26px; }
.story-text { margin: 0 0 18px; font-size: 18px; line-height: 1.85; color: var(--color-text-soft); }

/* =========================================================
   Carrières
   ========================================================= */
.careers {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}
.careers .glow-line { bottom: 0; }
.careers-ja { margin: 0 0 10px; font-size: 16px; color: var(--color-gold); }
.careers h2 { font-family: var(--font-serif); font-size: 46px; margin-bottom: 10px; }
.careers-sub { margin: 0; color: var(--color-text-muted); }

/* =========================================================
   05 — Nous trouver
   ========================================================= */
.find {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 56px;
  padding-top: 120px;
  padding-bottom: 120px;
}
.find .section-title { margin-bottom: 40px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; margin: 0; }
.info-grid dt { font-family: var(--font-serif); font-variant: small-caps; letter-spacing: .06em; font-size: 17px; color: var(--color-text-faint); margin-bottom: 8px; }
.info-grid dd { margin: 0; line-height: 1.7; }
.map { min-height: 380px; border-radius: 22px; border: 1px solid var(--color-line); }

/* =========================================================
   Pied de page
   ========================================================= */
.site-footer { border-top: 1px solid var(--color-line); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  padding-top: 56px; padding-bottom: 40px;
}
.footer-tagline { font-family: var(--font-serif); font-size: 44px; line-height: 1; }
.footer-tagline em { color: var(--color-gold); }
.footer-copy { color: var(--color-gold); font-size: 13px; letter-spacing: .08em; }

/* =========================================================
   Pages intérieures (salle, comptoir, marché, boutique, plats)
   Mise en page inspirée du modèle « GAZU »
   ========================================================= */

/* --- Barre d'info noire tout en haut --- */
.g-topbar { background: var(--color-band); border-bottom: 1px solid var(--color-line); }
.g-topbar-inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 9px; padding-bottom: 9px; font-size: 10px; letter-spacing: .22em; color: var(--color-text-muted); }
.g-topbar-links { display: flex; align-items: center; gap: 14px; }
.g-topbar-links a { color: var(--color-text-soft); text-decoration: none; white-space: nowrap; }
.g-topbar-links a:hover { color: var(--color-gold); }
.g-topbar-links i { width: 1px; height: 10px; background: var(--color-line-strong); }

/* --- Haut de page : grande photo en fond + titre par-dessus --- */
.g-hero {
  position: relative;
  margin-top: -102px;                 /* passe sous l'en-tête, comme sur l'accueil */
  min-height: max(780px, 100vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.g-hero > .container { width: 100%; }
.g-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 18s ease-in-out infinite alternate; }
/* Voile sombre sur la photo pour que le texte reste lisible */
.g-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--color-hero-shade) 0%, transparent 65%),
    linear-gradient(270deg, var(--color-hero-shade) 0%, transparent 25%),
    linear-gradient(180deg, var(--color-hero-shade) 0%, transparent 35%, transparent 55%, var(--color-bg) 100%);
}
.g-hero-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px; padding-top: 170px; padding-bottom: 40px; }
.g-kicker { margin: 0; font-size: 12px; line-height: 2; letter-spacing: .4em; color: var(--color-gold); }
.g-hero .g-kicker::after { content: ''; display: block; width: 34px; height: 1px; margin-top: 10px; background: var(--color-gold); animation: grow 1.2s .6s cubic-bezier(.2, .7, .2, 1) both; }

/* Le grand titre (2 lignes) : chaque ligne monte depuis un « masque » */
.g-hero-title { margin: 0; font-family: var(--font-sans); font-weight: 600; font-size: clamp(64px, 10vw, 150px); line-height: .92; letter-spacing: -.02em; color: var(--color-text); text-shadow: 0 6px 40px rgba(0, 0, 0, .35); }
.g-line { display: block; overflow: hidden; padding-bottom: .05em; }
.g-line > span { display: inline-block; animation: line-up 1.1s .2s cubic-bezier(.2, .7, .2, 1) both; }
.g-line + .g-line > span { animation-delay: .38s; }
.g-hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; animation: rise 1.2s .8s cubic-bezier(.2, .7, .2, 1) both; }

/* Numéros à droite (01 à 05) : la page actuelle est en grand avec un trait */
.g-pager { position: absolute; right: 110px; top: 54%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; animation: fade-in 1s 1s ease both; }
.g-pager a { position: relative; font-family: var(--font-sans); font-size: 15px; font-weight: 500; letter-spacing: .08em; color: var(--color-text-muted); text-decoration: none; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); transition: color .3s, transform .3s; }
.g-pager a:hover { color: var(--color-gold); transform: translateX(-4px); }
.g-pager a[aria-current="page"] { font-size: 40px; color: var(--color-text); margin: 6px 0; }
.g-pager a[aria-current="page"]::after { content: ''; position: absolute; left: calc(100% + 26px); top: 50%; width: 80px; height: 1px; background: var(--color-text); }

/* 3 colonnes en bas de la photo, avec un trait doré sous celle qui est active */
.g-hero-cols { position: relative; z-index: 2; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 50px; animation: rise 1.2s 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.g-hero-col { position: relative; padding: 0 40px 30px 0; border-bottom: 1px solid var(--color-line-strong); opacity: .55; transition: opacity .4s; }
.g-hero-col::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--color-gold); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.g-hero-col.is-active, .g-hero-col:hover { opacity: 1; }
.g-hero-col.is-active::after, .g-hero-col:hover::after { transform: scaleX(1); }
.g-hero-cols:hover .g-hero-col.is-active:not(:hover) { opacity: .55; }
.g-hero-cols:hover .g-hero-col.is-active:not(:hover)::after { transform: scaleX(0); }
.g-hero-col h3 { margin: 0 0 8px; font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.g-hero-col p { margin: 0 0 16px; max-width: 280px; font-size: 13px; line-height: 1.6; color: var(--color-text-soft); }
.g-hero-col a { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--color-text); text-decoration: none; }
.g-hero-col a span { display: inline-block; transition: transform .3s; }
.g-hero-col a:hover { color: var(--color-gold); }
.g-hero-col a:hover span { transform: translateX(5px); }

/* Lien souligné (« EXPLORE NEW IN ») */
.g-link { font-size: 12px; letter-spacing: .2em; color: var(--color-text); text-decoration: none; padding-bottom: 5px; background: linear-gradient(var(--color-gold), var(--color-gold)) left bottom / 100% 1px no-repeat; transition: background-size .4s ease, color .3s; }
.g-link:hover { color: var(--color-gold); background-size: 40% 1px; }

/* --- Bannière : texte + grande photo --- */
.g-banner { background: var(--color-surface); overflow: hidden; }
.g-banner-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 520px; }
.g-banner-text { padding-top: 70px; padding-bottom: 70px; }
.g-banner-title { margin: 22px 0 22px; font-family: var(--font-sans); font-weight: 500; font-size: 76px; line-height: .98; letter-spacing: -.01em; }
.g-banner-lead { margin: 0 0 30px; max-width: 520px; font-size: 15px; line-height: 1.85; color: var(--color-text-soft); }
.g-banner-photo { align-self: stretch; position: relative; min-height: 420px; margin-right: calc(-32px - max(0px, (100vw - var(--container) - var(--whale-lane)) / 2)); }
.g-banner-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
          mask-image: linear-gradient(90deg, transparent, #000 35%);
}

/* --- Avantages --- */
.g-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--color-line); }
.g-perk { display: flex; align-items: center; gap: 16px; }
.g-perk-icon { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--color-gold); border-radius: 50%; font-size: 20px; color: var(--color-gold); transition: background .3s, color .3s; }
.g-perk:hover .g-perk-icon { background: var(--color-gold); color: var(--color-bg); }
.g-perk h3 { margin: 0 0 4px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.g-perk p { margin: 0; font-size: 13px; color: var(--color-text-muted); }

/* --- Galerie (« BEST OF GAZU ») --- */
.g-section { padding-top: 80px; padding-bottom: 20px; scroll-margin-top: 20px; }
.g-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.g-title { margin: 0; font-family: var(--font-sans); font-size: 30px; font-weight: 500; letter-spacing: .04em; }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.g-card { margin: 0; }
.g-card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--color-surface); }
.g-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .5s; filter: saturate(.9); }
.g-card:hover .g-card-img img { transform: scale(1.06); filter: saturate(1.05); }
.g-card-num { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--color-glass); font-size: 10px; letter-spacing: .1em; color: var(--color-gold); }
.g-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 12px; }
.g-card-name { font-size: 14px; letter-spacing: .04em; }
.g-card .jp { font-size: 13px; color: var(--color-gold); }
.page-g .site-footer { margin-top: 80px; }

/* Animations du haut de page */
@keyframes line-up   { from { transform: translateY(105%); } to { transform: none; } }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow      { from { width: 0; } to { width: 34px; } }

/* Tablette et téléphone */
@media (max-width: 1000px) {
  .g-perks { grid-template-columns: 1fr 1fr; }
  .g-pager { right: 60px; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .g-banner-inner { grid-template-columns: 1fr; }
  .g-banner-title { font-size: 56px; }
}
@media (max-width: 760px) {
  .g-topbar-inner > span:first-child { display: none; }
  .g-topbar-inner { justify-content: center; letter-spacing: .12em; }
  .g-hero { margin-top: 0; min-height: 0; }
  .g-hero-inner { padding-top: 60px; }
  .g-hero-title { font-size: 16vw; }
  .g-pager { position: static; transform: none; flex-direction: row; align-items: center; gap: 16px; }
  .g-pager a[aria-current="page"] { font-size: 28px; margin: 0; }
  .g-pager a[aria-current="page"]::after { display: none; }
  .g-hero-cols { grid-template-columns: 1fr; gap: 20px; }
  .g-banner-photo { margin-right: -32px; }
  .g-perks { grid-template-columns: 1fr; }
}

/* =========================================================
   Animations
   ========================================================= */
.rise { animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.rise.d1 { animation-delay: .35s; }
.rise.d2 { animation-delay: .7s; }
.rise.d3 { animation-delay: 1.05s; }

@keyframes rise   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Lumière qui suit le curseur ---------- */
/* La div est créée par main.js ; sa position est mise à jour en JS */
.cursor-light {
  position: fixed;
  left: 0; top: 0;
  width: var(--cursor-light-size);
  height: var(--cursor-light-size);
  border-radius: 50%;
  pointer-events: none;           /* ne bloque jamais les clics */
  z-index: 50;
  background: radial-gradient(circle,
    var(--color-cursor-light) 0%,
    var(--color-cursor-light-edge) 40%,
    transparent 70%);
  mix-blend-mode: screen;         /* éclaire ce qui est dessous */
  opacity: 0;
  transition: opacity .4s ease;
  will-change: transform;
}
.cursor-light.is-active { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-light { display: none; }  /* pas de curseur sur téléphone */
}

/* ---------- Baleine mascotte ---------- */
/* Sans JavaScript (ou animations désactivées) : elle reste sagement en bas à gauche */
.whale {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  width: var(--whale-size);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.whale img { display: block; width: 100%; height: auto; }
.whale:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 6px; border-radius: 12px; }
/* Avec JavaScript : c'est le sprite Whale qui la place (via transform) */
.whale.is-live { left: 0; top: 0; bottom: auto; will-change: transform; }


/* Vagues : petite bande d'eau qui suit la baleine */
.whale-waves {
  display: none;
  position: fixed;
  left: 0; top: 0;
  z-index: 59;
  width: calc(var(--whale-size) * 1.6);
  pointer-events: none;
  transition: opacity .35s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
.whale-waves.is-live { display: block; will-change: transform; }
.whale-waves.is-away { opacity: 0; }
.whale-waves img { display: block; width: 100%; height: auto; }

/* Étincelles / gouttes (sprites Spark) */
.spark {
  position: fixed;
  left: 0; top: 0;
  z-index: 61;
  width: 12px; height: 12px;
  pointer-events: none;
  background: var(--whale-ink);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.spark.paper { background: var(--color-text); }

/* « 808 » dessiné à la main qui jaillit des éclaboussures (sprite SplashText) */
.splash-808 {
  position: fixed;
  left: 0; top: 0;
  z-index: 62;
  width: 112px;
  pointer-events: none;
}
.splash-808 img { display: block; width: 100%; height: auto; }

/* ---------- Apparition au défilement (dans différentes directions) ---------- */
/* main.js ajoute data-reveal="up|down|left|right|zoom" aux éléments,
   puis la classe .is-visible quand ils entrent à l'écran
   (et la retire quand ils sortent, pour rejouer l'animation à chaque fois) */
.js [data-reveal] {
  opacity: 0;
  filter: blur(6px);
  transition:
    opacity var(--reveal-duration) ease,
    transform var(--reveal-duration) cubic-bezier(.2, .7, .2, 1),
    filter var(--reveal-duration) ease,
    padding-left .3s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal="up"]    { transform: translateY(var(--reveal-distance)); }
.js [data-reveal="down"]  { transform: translateY(calc(var(--reveal-distance) * -1)); }
.js [data-reveal="left"]  { transform: translateX(calc(var(--reveal-distance) * -1)); }
.js [data-reveal="right"] { transform: translateX(var(--reveal-distance)); }
.js [data-reveal="zoom"]  { transform: scale(.88); }
.js [data-reveal].is-visible { opacity: 1; filter: none; transform: none; }

/* Garde les effets de survol sur les éléments animés */
.js .market-card[data-reveal].is-visible:hover { transform: translateY(-4px); }

/* Respecte les gens qui désactivent les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; filter: none; transform: none; }
  .cursor-light { display: none; }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 760px) {
  .nav-links { order: 3; width: 100%; }
  .hero-title { font-size: 56px; }
  .section-title { font-size: 44px; }
  .lamps { display: none; }
  .careers { padding: 32px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-tagline { font-size: 32px; }
  :root { --whale-size: 84px; --whale-lane: 0px; }
}
