/* Golden Vape : noir et or, comme l'enseigne de la rue Fondaudège */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0b0a08;
  --surface: #14120e;
  --surface-2: #1c1914;
  --line: rgba(212, 175, 55, 0.2);
  --line-strong: rgba(212, 175, 55, 0.45);
  --text: #f3eee3;
  --muted: #b5ac99;
  --gold: #d4af37;
  --gold-light: #f0d78a;
  --gold-dark: #a8862a;
  --gold-gradient: linear-gradient(135deg, #f0d78a 0%, #d4af37 45%, #a8862a 100%);
  --open: #6fcf7f;
  --closed: #e07a6a;

  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 10vw, 120px);
  --header-h: 68px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);

  color-scheme: dark;
}

/* --- Base ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  letter-spacing: 0.01em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

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

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sprite {
  display: none;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.link {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.link:hover {
  text-decoration-color: currentColor;
}

/* --- Boutons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 0.7em 1.4em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #120f08;
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5em 1.1em;
  font-size: 0.85rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.8em 1.7em;
  font-size: 1rem;
}

/* --- En-tête ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wordmark-dash {
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-inline: 10px;
  background: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav ul {
  display: flex;
  gap: 26px;
}

.main-nav ul a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.main-nav ul a:hover {
  color: var(--gold-light);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* --- Accueil ------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 8vw, 96px) clamp(56px, 9vw, 110px);
}

/* halo doré discret derrière la photo */
.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 5%;
  width: 60vw;
  max-width: 760px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero h1 {
  display: grid;
  gap: 14px;
  margin-block: 18px 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
}

.lead {
  max-width: 34em;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.status.is-open .status-dot {
  background: var(--open);
  box-shadow: 0 0 0 4px rgba(111, 207, 127, 0.18);
}

.status.is-closed .status-dot {
  background: var(--closed);
}

.hero-media {
  margin: 0;
  justify-self: end;
  width: min(100%, 440px);
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 220px 220px var(--radius) var(--radius);
}

.hero-media img {
  border-radius: 210px 210px 8px 8px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  width: 100%;
}

/* --- Bandeau des rayons ---------------------------------------------------- */

.band {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.band-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  padding-block: 18px;
}

.band-list li {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.band-list li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-inline: 22px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* --- Sections -------------------------------------------------------------- */

.section {
  padding-block: var(--section);
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
}

/* --- Produits ------------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s, background-color 0.3s;
}

.card:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
}

.card p {
  color: var(--muted);
}

.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}

.brands span:not(.visually-hidden) {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.card-cta {
  justify-content: center;
  align-items: flex-start;
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.18), transparent 60%),
    var(--surface-2);
  border-color: var(--line-strong);
}

.card-cta .btn {
  margin-top: 8px;
}

/* --- La boutique --------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.gallery {
  position: relative;
  padding-bottom: 18%;
}

.gallery img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-main {
  width: 72%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery-side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 6px solid var(--surface);
}

.perks {
  display: grid;
  gap: 22px;
}

.perks li {
  padding-left: 22px;
  border-left: 2px solid var(--gold);
}

.perks h3 {
  margin-bottom: 4px;
}

.perks p {
  color: var(--muted);
}

/* --- Bloc commande --------------------------------------------------------- */

.order {
  padding-block: clamp(48px, 7vw, 80px);
}

.order-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) * 1.5);
  background:
    radial-gradient(circle at 0% 50%, rgba(212, 175, 55, 0.2), transparent 55%),
    var(--surface-2);
}

.order-inner h2 {
  margin-bottom: 8px;
}

.order-inner p {
  color: var(--muted);
}

.order-icon {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 50%;
  background: var(--gold-gradient);
  fill: none;
  stroke: #120f08;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Infos pratiques ----------------------------------------------------- */

.split-contact {
  align-items: start;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}

.contact-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--gold);
}

.contact-list h3 {
  margin-bottom: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-list address,
.contact-list p {
  color: var(--text);
}

.contact-list .link {
  display: inline-block;
  margin-top: 6px;
}

.contact-list p .link {
  margin-top: 0;
}

.emblem {
  margin: 0;
  justify-self: end;
  width: min(100%, 440px);
}

.emblem img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* --- Pied de page ---------------------------------------------------------- */

.site-footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--line);
  background: #070605;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 32px;
}

.wordmark-footer {
  margin-bottom: 12px;
  color: var(--text);
}

.legal {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal strong {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.mobile-cta {
  display: none;
}

/* --- Mentions légales ---------------------------------------------------- */

.prose {
  max-width: 760px;
}

.prose h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 32px;
  color: var(--gold-light);
}

.prose h2 {
  margin-block: 36px 12px;
  font-size: 1.35rem;
}

.prose p {
  color: var(--muted);
  margin-bottom: 12px;
}

.prose .btn {
  margin-top: 28px;
}

/* --- Apparition au défilement (uniquement si JS actif) ------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* --- Tablette -------------------------------------------------------------- */

@media (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .contact-list {
    grid-template-columns: 1fr;
  }
}

/* --- Mobile -------------------------------------------------------------- */

@media (max-width: 860px) {
  :root {
    --header-h: 62px;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  /* sans JS, la navigation reste affichée sous le logo */
  .no-js .header-inner {
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .js .main-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .js .main-nav.is-open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .no-js .main-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 20px;
  }

  .main-nav ul a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text);
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-self: center;
    width: min(100%, 360px);
  }

  .gallery {
    max-width: 520px;
  }

  .emblem {
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }

  /* laisse la place au bouton flottant sous le pied de page */
  .site-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .band-list li + li::before {
    margin-inline: 14px;
  }
  .card {
    padding: 22px;
  }
}

@media (max-width: 380px) {
  .wordmark {
    font-size: 1rem;
  }
  .wordmark-dash {
    display: none;
  }
}
