/* Le Miya, Chicoutimi. Fusion asiatique : noir laque, or laurier, rouge soleil, crème. Structure chaleureuse type maison de famille. */

:root {
  --noir: #12100e;
  --noir-2: #1c1916;
  --creme: #f4eee3;
  --creme-2: #ebe3d2;
  --or: #c9a15c;
  --or-clair: #ddbe85;
  --rouge: #c8342b;
  --texte: #4d463c;
  --hair: 1px solid rgba(18, 16, 14, 0.16);
  --hair-clair: 1px solid rgba(244, 238, 227, 0.2);
  --slab: "Zilla Slab", Georgia, serif;
  --sans: "Karla", "Segoe UI", sans-serif;
  --script: "Satisfy", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rond: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 1.03rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2 { font-family: var(--slab); font-weight: 600; margin: 0 0 0.9rem; line-height: 1.08; letter-spacing: -0.005em; }

h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }

h3 { font-family: var(--slab); font-weight: 600; font-size: 1.2rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; color: var(--texte); }

a { color: var(--rouge); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }

.tnum { font-variant-numeric: tabular-nums; }

.wrap { width: min(72rem, 100% - 3rem); margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; background: var(--noir); color: var(--creme); padding: 0.6rem 1.1rem; z-index: 99; }
.skip-link:focus { left: 0; }

.script { font-family: var(--script); font-weight: 400; color: var(--or); }

.label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--rouge); margin: 0 0 1rem; }

.label-or { color: var(--or); }

/* Bandeau supérieur */
.topbar { background: var(--noir); color: var(--creme); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.5rem 0; }

.topbar .wrap { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; justify-content: space-between; }

.topbar a { color: var(--or-clair); text-decoration: none; }

/* En-tête */
.header { background: var(--creme); border-bottom: var(--hair); position: sticky; top: 0; z-index: 40; }

.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--noir); }

.brand .nom { font-family: var(--slab); font-weight: 700; font-size: 1.3rem; line-height: 1; }

.brand .nom small { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rouge); margin-top: 0.25rem; }

.nav-toggle { display: none; background: none; border: var(--hair); font: inherit; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.55rem 0.9rem; cursor: pointer; color: var(--noir); }

.nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; margin: 0; padding: 0; }

.nav a { text-decoration: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(18, 16, 14, 0.66); padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }

.nav a:hover, .nav a[aria-current="page"] { color: var(--noir); border-bottom-color: var(--rouge); }

.nav .cta-nav { background: var(--rouge); color: var(--creme); padding: 0.65rem 1.1rem; border-bottom: none; border-radius: 999px; }
.nav .cta-nav:hover { background: var(--noir); color: var(--creme); }

/* Héro noir avec soleil */
.hero { background: var(--noir); color: var(--creme); text-align: center; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }

.hero .soleil {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(14rem, 34vw, 24rem);
  height: clamp(14rem, 34vw, 24rem);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(200, 52, 43, 0.85) 0%, rgba(200, 52, 43, 0.35) 55%, rgba(200, 52, 43, 0) 72%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero .script { font-size: clamp(1.4rem, 3.4vw, 2.1rem); display: block; margin-bottom: 0.4rem; }

.hero h1 { color: var(--creme); letter-spacing: 0.02em; }

.hero p.lede { color: rgba(244, 238, 227, 0.78); max-width: 34rem; margin-inline: auto; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2.4rem; justify-content: center; margin-top: 2rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 238, 227, 0.6); }

.hero-meta strong { color: var(--or-clair); }

/* Vague seigaiha séparatrice */
.vague { line-height: 0; }

.vague svg { width: 100%; height: 46px; display: block; }

/* Boutons */
.btn {
  display: inline-block;
  padding: 0.95rem 1.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--noir);
  border-radius: 999px;
  color: var(--noir);
  background: transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover { background: var(--noir); color: var(--creme); }

.btn-or { background: var(--or); border-color: var(--or); color: var(--noir); }
.btn-or:hover { background: var(--or-clair); border-color: var(--or-clair); color: var(--noir); }

.btn-rouge { background: var(--rouge); border-color: var(--rouge); color: var(--creme); }
.btn-rouge:hover { background: #a52a23; border-color: #a52a23; color: var(--creme); }

.btn-clair { border-color: var(--creme); color: var(--creme); }
.btn-clair:hover { background: var(--creme); color: var(--noir); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; justify-content: center; }

.btn-row.gauche { justify-content: flex-start; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.section-noire { background: var(--noir); color: var(--creme); }

.section-noire h2, .section-noire h3 { color: var(--creme); }

.section-noire p { color: rgba(244, 238, 227, 0.75); }

.centre { text-align: center; }

.section-intro { max-width: 38rem; }

.centre .section-intro { margin-inline: auto; }

/* Tuiles arrondies façon carte de plats */
.tuiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.6rem; }

.tuile {
  border-radius: var(--rond);
  overflow: hidden;
  border: var(--hair);
  background: var(--creme-2);
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.tuile:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(18, 16, 14, 0.14); }

.tuile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.tuile .fond { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 16, 14, 0.82) 0%, rgba(18, 16, 14, 0.15) 60%, rgba(18, 16, 14, 0) 100%); }

.tuile h3 { position: relative; color: var(--creme); margin: 0; z-index: 1; }

.tuile p { position: relative; color: rgba(244, 238, 227, 0.8); font-size: 0.88rem; margin: 0.3rem 0 0; z-index: 1; }

.tuile.typo { background: var(--noir); }

.tuile.typo .mot { font-family: var(--slab); font-weight: 700; font-size: 1.5rem; color: var(--or); position: relative; z-index: 1; margin-bottom: 0.4rem; }

/* Spécialité : tradition / créativité */
.duo-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.duo-split .logo-rond { border-radius: 50%; border: 2px solid var(--or); padding: 0.8rem; background: var(--noir); max-width: 22rem; margin-inline: auto; }

.duo-split .logo-rond img { border-radius: 50%; }

.trad-liste { list-style: none; margin: 1.2rem 0 0; padding: 0; border-top: var(--hair-clair); }

.trad-liste li { padding: 0.65rem 0.2rem; border-bottom: var(--hair-clair); color: rgba(244, 238, 227, 0.8); font-size: 0.97rem; display: flex; gap: 0.8rem; align-items: baseline; }

.trad-liste li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); flex: 0 0 auto; transform: translateY(-1px); }

/* Bande rouge location */
.bande-rouge { background: var(--rouge); color: var(--creme); padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }

.bande-rouge h2 { color: var(--creme); }

.bande-rouge p { color: rgba(244, 238, 227, 0.9); max-width: 34rem; margin-inline: auto; }

/* Bienvenue avec photo arrondie */
.bienvenue { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.photo-ronde { border-radius: var(--rond); overflow: hidden; border: 3px solid var(--noir); box-shadow: 10px 10px 0 var(--or); }

.photo-ronde img { width: 100%; }

.photo-ronde figcaption { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--texte); padding: 0.7rem 0.9rem; background: var(--creme-2); }

/* Heures */
.horaires-table { width: 100%; max-width: 30rem; border-collapse: collapse; margin-top: 1.4rem; }

.horaires-table caption { text-align: left; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; padding-bottom: 0.7rem; color: var(--noir); }

.horaires-table th, .horaires-table td { padding: 0.66rem 0.7rem; border-bottom: var(--hair); text-align: left; font-size: 0.95rem; color: var(--texte); }

.horaires-table th { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.74rem; color: var(--noir); width: 34%; }

.horaires-table tr.ferme th, .horaires-table tr.ferme td { color: rgba(18, 16, 14, 0.45); }

/* Sociale */
.sociale { display: flex; flex-wrap: wrap; gap: 1.4rem 3rem; justify-content: center; align-items: center; }

.sociale a { color: var(--creme); font-family: var(--slab); font-size: 1.2rem; text-decoration-color: var(--or); text-underline-offset: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

.coordonnees { font-style: normal; font-family: var(--slab); font-size: 1.25rem; line-height: 1.7; color: var(--noir); }

.map-frame { border: 3px solid var(--noir); border-radius: var(--rond); overflow: hidden; margin-top: 1.8rem; background: var(--creme-2); }

.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }

.map-fallback { font-size: 0.82rem; color: rgba(18, 16, 14, 0.6); margin-top: 0.7rem; }

.faq details { border-bottom: var(--hair); }

.faq summary { cursor: pointer; font-family: var(--slab); font-weight: 600; font-size: 1.1rem; padding: 1.05rem 0.2rem; color: var(--noir); }

.faq details p { padding: 0 0.2rem 1.2rem; margin: 0; }

/* Pied de page */
.footer { background: var(--noir); color: rgba(244, 238, 227, 0.7); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: 0.9rem; }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.6rem; padding-bottom: 2.4rem; border-bottom: var(--hair-clair); }

.footer h2 { font-family: var(--sans); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--or); margin-bottom: 0.9rem; }

.footer ul { list-style: none; margin: 0; padding: 0; }

.footer li { margin-bottom: 0.45rem; }

.footer a { color: rgba(244, 238, 227, 0.7); text-decoration: none; }

.footer a:hover { color: var(--or-clair); }

.footer p { color: rgba(244, 238, 227, 0.6); max-width: 26rem; }

.footer-bottom { padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; font-size: 0.74rem; color: rgba(244, 238, 227, 0.45); }

/* Tête de page intérieure */
.page-head { background: var(--noir); color: var(--creme); text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 0; }

.page-head h1 { color: var(--creme); }

.page-head p { max-width: 38rem; margin-inline: auto; color: rgba(244, 238, 227, 0.78); }

.page-head .label { color: var(--or); }

/* Révélations */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delai="1"] { transition-delay: 0.12s; }
.js .reveal[data-delai="2"] { transition-delay: 0.24s; }
.js .reveal[data-delai="3"] { transition-delay: 0.36s; }

/* Responsive */
@media (max-width: 980px) {
  .tuiles { grid-template-columns: 1fr 1fr; }
  .duo-split, .bienvenue, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--creme); border-bottom: var(--hair); padding: 0.8rem 1.4rem 1.4rem; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .nav a { display: block; padding: 0.8rem 0; font-size: 0.9rem; }
  .topbar .wrap { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .tuiles { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tuile { transition: none; }
}
