/**
 * EasyCM — EasyGas accueil client (/easy-gas) · 2026
 * Données réelles uniquement. Mobile-first, PC avec le shell EasyGas. Préfixe : gh-
 */

.gh-marker { display: none !important; }

.gh {
  --ink: #17120e;
  --ink-2: #3d3833;
  --muted: #7b736c;
  --line: rgba(23, 18, 14, 0.08);
  --line-2: rgba(23, 18, 14, 0.14);
  --bg: #f7f4f1;
  --card: #fff;
  --soft: #fbf9f7;
  --flame: #ff5a00;
  --flame-2: #ff8a00;
  --ok: #16a34a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(23, 18, 14, 0.04), 0 14px 32px -18px rgba(23, 18, 14, 0.22);

  position: relative;
  min-height: 100vh;
  padding: 0 16px calc(110px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.gh *, .gh *::before, .gh *::after { box-sizing: border-box; }
.gh a { color: inherit; text-decoration: none; }
.gh h1, .gh h2, .gh h3, .gh p, .gh ul { margin: 0; }
.gh ul { padding: 0; list-style: none; }
.gh button { font-family: inherit; cursor: pointer; }
.gh img { max-width: 100%; }
.gh :focus-visible { outline: 3px solid rgba(255, 90, 0, 0.35); outline-offset: 2px; }
.gh-wrap { max-width: 1180px; margin: 0 auto; }

/* Le layout ne doit pas ajouter un fond gris ou le bandeau de confiance générique. */
body:has(.gh) { background: #f7f4f1 !important; }

/* ---------- Barre mobile ---------- */
.gh-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  margin: 0 -16px; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
}
.gh-iconbtn {
  position: relative;
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px;
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink) !important;
  list-style: none;
  transition: transform 0.15s var(--ease);
}
.gh-iconbtn::-webkit-details-marker { display: none; }
.gh-iconbtn:active { transform: scale(0.92); }
.gh-logo { flex: 1; display: flex; justify-content: center; align-items: baseline; gap: 1px; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; }
.gh-logo strong { color: var(--flame); }
.gh-logo i { margin-left: 3px; font-size: 0.8rem; color: var(--flame); }
.gh-menu { position: relative; }
.gh-menu__panel {
  position: absolute; top: 50px; left: 0; z-index: 50;
  width: min(280px, calc(100vw - 32px));
  padding: 8px;
  border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.gh-menu__panel header { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.gh-menu__panel header strong { display: block; font-size: 0.95rem; }
.gh-menu__panel header small { font-size: 0.78rem; color: var(--muted); }
.gh-menu__panel a, .gh-menu__panel button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 10px; border: 0; border-radius: 12px; background: none;
  font-size: 0.9rem; font-weight: 600; color: var(--ink-2) !important; text-align: left;
}
.gh-menu__panel a:hover, .gh-menu__panel button:hover { background: var(--soft); }
.gh-menu__panel i { width: 18px; text-align: center; color: var(--flame); }
.gh-menu__panel form { margin: 0; }

/* ---------- Commande en cours ---------- */
.gh-live {
  display: flex; align-items: center; gap: 12px;
  margin: 6px 0 14px; padding: 12px 14px;
  border-radius: 20px;
  background: var(--ink); color: #fff !important;
  box-shadow: 0 18px 36px -18px rgba(23, 18, 14, 0.7);
  animation: gh-rise 0.5s var(--ease) both;
}
.gh-live__icon { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 138, 0, 0.18); color: #ffb37a; }
.gh-live__icon::after { content: ""; position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: #4ade80; border: 2px solid var(--ink); animation: gh-pulse 2s infinite; }
.gh-live__text { flex: 1; min-width: 0; line-height: 1.3; }
.gh-live__text small { display: block; font-size: 0.72rem; color: rgba(255, 255, 255, 0.65); }
.gh-live__text strong { display: block; font-size: 0.95rem; }
.gh-live__text span { display: block; font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-live__cta { flex: none; padding: 9px 13px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.78rem; font-weight: 800; }

/* ---------- Hero ---------- */
.gh-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 6px; padding: 22px 18px 18px;
  border-radius: 28px;
  background: #1b0e06; color: #fff;
  box-shadow: 0 30px 60px -30px rgba(255, 90, 0, 0.6);
  animation: gh-rise 0.55s var(--ease) both;
}
.gh-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(255, 138, 0, 0.95), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(255, 61, 0, 0.7), transparent 65%),
    linear-gradient(160deg, #2c1406, #140b05);
}
.gh-hero__img { position: absolute; right: -18px; top: 8px; z-index: -1; width: 128px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4)); transform: rotate(8deg); animation: gh-float 6s ease-in-out infinite; }
.gh-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.72rem; font-weight: 700; }
.gh-hero__eyebrow i { color: #4ade80; font-size: 0.45rem; }
.gh-hero h1 { max-width: 12ch; margin-top: 12px !important; font-size: clamp(1.9rem, 8.5vw, 2.4rem) !important; font-weight: 800 !important; line-height: 1.05 !important; letter-spacing: -0.04em; color: #fff !important; }
.gh-hero h1 span { color: #ffc79c; }
.gh-hero p { max-width: 30ch; margin-top: 8px !important; font-size: 0.92rem; line-height: 1.45; color: rgba(255, 255, 255, 0.82); }

.gh-search { display: grid; gap: 8px; margin-top: 16px; }
.gh-search__field {
  display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 6px 0 16px;
  border-radius: 17px; background: #fff;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45);
}
.gh-search__field > i { color: var(--flame); }
.gh-search__field input { flex: 1; min-width: 0; height: 100%; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent; padding: 0; font-size: 16px; color: var(--ink); }
.gh-search__go { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 13px; background: var(--ink); color: #fff; }
.gh-search__geo {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 15px;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  font-size: 0.88rem; font-weight: 700;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.gh-search__geo:active { transform: scale(0.98); }
.gh-search__geo.is-busy i { animation: gh-spin 1s linear infinite; }

/* ---------- Sections ---------- */
.gh-section { margin-top: 26px; animation: gh-rise 0.55s 0.08s var(--ease) both; }
.gh-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.gh-section__head h2 { font-size: 1.2rem !important; font-weight: 800 !important; letter-spacing: -0.025em; color: var(--ink) !important; }
.gh-section__head p { margin-top: 2px !important; font-size: 0.82rem; color: var(--muted); }
.gh-section__head a { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 700; color: var(--flame) !important; }
.gh-section__head a i { font-size: 0.65rem; }

/* Bouteilles */
.gh-bottles {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%);
  gap: 10px; margin: 0 -16px; padding: 2px 16px 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none;
}
.gh-bottles::-webkit-scrollbar { display: none; }
.gh-bottle {
  scroll-snap-align: start;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 14px;
  border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(23, 18, 14, 0.04);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.gh-bottle:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gh-bottle:active { transform: scale(0.98); }
.gh-bottle__img { display: grid; place-items: center; height: 104px; margin: -4px -4px 8px; border-radius: 16px; background: radial-gradient(circle at 50% 70%, #ffe9d9, #fff6ef 70%); }
.gh-bottle__img img { height: 92px; width: auto; filter: drop-shadow(0 10px 12px rgba(120, 50, 0, 0.25)); transition: transform 0.3s var(--ease); }
.gh-bottle:hover .gh-bottle__img img { transform: translateY(-3px) rotate(-4deg); }
.gh-bottle__cap { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.gh-bottle__use { font-size: 0.74rem; color: var(--muted); }
.gh-bottle__price { margin-top: 8px; font-size: 0.78rem; color: var(--muted); }
.gh-bottle__price strong { display: block; font-size: 1.02rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.gh-bottle__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 10px; }
.gh-stock { display: inline-flex; align-items: center; gap: 5px; font-size: 0.68rem; font-weight: 800; color: var(--ok); }
.gh-stock i { font-size: 0.42rem; }
.gh-stock.is-out { color: var(--muted); }
.gh-bottle__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 0.8rem; transition: background 0.2s; }
.gh-bottle:hover .gh-bottle__go { background: var(--flame); }

/* Recommander */
.gh-reorder {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; padding: 12px 14px;
  border-radius: 18px; background: #fff4ec; border: 1px solid #ffd9bf;
}
.gh-reorder__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 13px; background: #fff; color: var(--flame); }
.gh-reorder__text { flex: 1; min-width: 0; font-size: 0.8rem; color: var(--ink-2); line-height: 1.3; }
.gh-reorder__text strong { display: block; font-size: 0.9rem; color: var(--ink); }
.gh-reorder__cta { flex: none; padding: 9px 13px; border-radius: 999px; background: var(--flame); color: #fff !important; font-size: 0.78rem; font-weight: 800; }

/* Dépôts */
.gh-depots { display: grid; gap: 10px; }
.gh-depot {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px 10px 10px;
  border-radius: 20px; background: var(--card); border: 1px solid var(--line);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.gh-depot:hover { box-shadow: var(--shadow); }
.gh-depot:active { transform: scale(0.99); }
.gh-depot__cover { position: relative; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: #fff0e4; display: grid; place-items: center; color: var(--flame); font-size: 1.3rem; }
.gh-depot__cover img { width: 100%; height: 100%; object-fit: cover; }
.gh-depot__main { min-width: 0; }
.gh-depot__name { display: block; font-size: 0.95rem; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: capitalize; }
.gh-depot__place { display: block; font-size: 0.76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-depot__meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.gh-chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 0.66rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.gh-chip.is-open { background: #dcfce7; border-color: transparent; color: #15803d; }
.gh-chip.is-closed { background: #f5f5f4; border-color: transparent; color: #78716c; }
.gh-chip.is-best { background: var(--ink); border-color: transparent; color: #fff; }
.gh-chip .fa-star { color: #f59e0b; }
.gh-depot__go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 0.8rem; }
.gh-depot:hover .gh-depot__go { background: var(--flame); color: #fff; }

.gh-cities { display: flex; gap: 6px; margin: 12px -16px 0; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.gh-cities::-webkit-scrollbar { display: none; }
.gh-city { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 0.82rem; font-weight: 700; }
.gh-city b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #fff0e4; color: #c2410c; font-size: 0.66rem; }
.gh-city:active { transform: scale(0.96); }

/* Étapes */
.gh-steps { display: grid; gap: 8px; counter-reset: gh; }
.gh-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.gh-step__num { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(145deg, var(--flame-2), var(--flame)); color: #fff; font-weight: 800; }
.gh-step__text strong { display: block; font-size: 0.92rem; }
.gh-step__text span { display: block; font-size: 0.78rem; color: var(--muted); }

/* Raccourcis */
.gh-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gh-link { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: box-shadow 0.2s var(--ease), transform 0.15s var(--ease); }
.gh-link:hover { box-shadow: var(--shadow); }
.gh-link:active { transform: scale(0.98); }
.gh-link__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: #fff0e4; color: var(--flame); }
.gh-link strong { font-size: 0.9rem; line-height: 1.2; }
.gh-link small { font-size: 0.74rem; color: var(--muted); line-height: 1.3; }
.gh-link.is-dark { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.gh-link.is-dark small { color: rgba(255, 255, 255, 0.65); }
.gh-link.is-dark .gh-link__icon { background: rgba(255, 138, 0, 0.18); color: #ffb37a; }

/* FAQ */
.gh-faq { border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.gh-faq details + details { border-top: 1px solid var(--line); }
.gh-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; font-size: 0.92rem; font-weight: 700; list-style: none; cursor: pointer; }
.gh-faq summary::-webkit-details-marker { display: none; }
.gh-faq summary::after { content: "\2b"; font: 900 0.8rem "Font Awesome 6 Free"; color: var(--flame); transition: transform 0.25s var(--ease); }
.gh-faq details[open] summary::after { transform: rotate(45deg); }
.gh-faq details p { padding: 0 16px 15px; font-size: 0.86rem; line-height: 1.5; color: var(--ink-2); }

.gh-empty { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; background: var(--card); border: 1.5px dashed var(--line-2); font-size: 0.86rem; color: var(--ink-2); }
.gh-empty i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 13px; background: #fff0e4; color: var(--flame); }

/* ---------- PC ---------- */
@media (min-width: 992px) {
  .gh { padding: 28px 32px 56px; }
  .gh-bar { display: none; }
  .gh-live { margin: 0 0 18px; padding: 14px 18px; }

  .gh-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
  .gh-hero { margin: 0; padding: 40px 40px 34px; border-radius: 32px; display: flex; flex-direction: column; justify-content: center; }
  .gh-hero__img { width: 170px; right: -14px; top: 28px; bottom: auto; opacity: 0.95; }
  .gh-hero > :not(.gh-hero__img) { max-width: min(100%, 520px); }
  .gh-search { grid-template-columns: 1fr; }
  .gh-search__geo { justify-self: start; }
  .gh-hero h1 { font-size: 3.1rem !important; max-width: 11ch; }
  .gh-hero p { font-size: 1.05rem; max-width: 34ch; }
  .gh-search { max-width: 520px; margin-top: 24px; }
  .gh-search__geo { height: 54px; padding: 0 18px; }

  .gh-top .gh-section { margin: 0; padding: 22px; border-radius: 32px; background: var(--card); border: 1px solid var(--line); }
  .gh-top .gh-bottles { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; overflow: visible; }
  .gh-top .gh-bottle__img { height: 92px; }
  .gh-top .gh-bottle__img img { height: 80px; }
  .gh-top .gh-bottle { background: var(--soft); }

  .gh-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
  .gh-grid .gh-section { margin-top: 0; }
  .gh-cities { margin-inline: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
  .gh-links { grid-template-columns: repeat(2, 1fr); }
  .gh-link { flex-direction: row; align-items: center; }
  .gh-link__icon { flex: none; }
  .gh-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 26px; align-items: start; }
  .gh-bottom .gh-section { margin-top: 0; }
}


@keyframes gh-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gh-float { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-8px); } }
@keyframes gh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes gh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .gh *, .gh *::before, .gh *::after { animation: none !important; transition: none !important; }
}
