/* ==========================================================================
   OBAÏA Paris — Base : tokens, reset, typographie, composants partagés
   Équivalent Shopify : assets/base.css
   ========================================================================== */

:root {
  /* Couleurs (Design System Figma) */
  --brun: #44312b;
  --ivoire: #fdfaf0;
  --grege: #cbc7b7;
  --noir: #1c1c20;
  --lin: #f3eee2;
  --sable: #e9e3d5;
  --filet: #e2dccd;
  --attenue: #736860;
  --stock: #5e6b4e;
  --page: #fdfdfc;
  --blanc: #ffffff;
  --erreur: #9a3b2f;

  /* Typographies */
  --serif: "EB Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Mise en page */
  --gutter: 48px;
  --section-y: 112px;
  --bandeau-h: 36px;
  --header-h: 72px;

  /* Mouvement */
  --ease: cubic-bezier(0.33, 1, 0.68, 1); /* douce, sans rebond */
}

@media (max-width: 1023px) {
  :root { --gutter: 32px; --section-y: 88px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 64px; --header-h: 56px; }
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Typographie (échelle desktop → mobile) ---------------------------------- */
.t-display { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5vw, 72px); line-height: 1.111; letter-spacing: -0.01em; }
.t-h1      { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.334vw, 48px); line-height: 1.1667; letter-spacing: -0.005em; }
.t-h2      { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.5vw, 36px); line-height: 1.2223; letter-spacing: 0; }
.t-h3      { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 32px; }
.t-large   { font-size: 17px; line-height: 28px; }
.t-body    { font-size: 15px; line-height: 24px; }
.t-small   { font-size: 13px; line-height: 20px; }
.t-eyebrow { font-weight: 500; font-size: 11px; line-height: 16px; letter-spacing: 0.2em; text-transform: uppercase; }
.t-nav     { font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; }
.t-badge   { font-weight: 500; font-size: 10px; line-height: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.t-name    { font-weight: 500; font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
.t-price   { font-size: 13px; line-height: 18px; letter-spacing: 0.02em; }

@media (max-width: 767px) {
  .t-display { font-size: 40px; line-height: 46px; }
  .t-h1      { font-size: 32px; line-height: 38px; }
  .t-h2      { font-size: 28px; line-height: 34px; }
  .t-h3      { font-size: 22px; line-height: 28px; }
  .t-large   { font-size: 15px; line-height: 24px; }
  .t-body    { font-size: 14px; line-height: 22px; }
  .t-name    { font-size: 12px; line-height: 16px; }
  .t-price   { font-size: 12px; line-height: 16px; }
  .t-nav     { font-size: 13px; line-height: 18px; }
}

.c-brun { color: var(--brun); }
.c-attenue { color: var(--attenue); }
.c-noir { color: var(--noir); }

/* Icônes ------------------------------------------------------------------ */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.i--12 { width: 12px; height: 12px; }
.i--16 { width: 16px; height: 16px; stroke-width: 1.5; }
.i--22 { width: 22px; height: 22px; }
.i--24 { width: 24px; height: 24px; }
.i--28 { width: 28px; height: 28px; }
.i-fill { fill: currentColor; stroke: none; }
.i path { vector-effect: non-scaling-stroke; }

/* Boutons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 32px;
  font-family: var(--sans); font-weight: 600; font-size: 12px; line-height: 16px;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--primaire { background: var(--brun); color: var(--ivoire); }
.btn--primaire:hover { background: var(--noir); }
.btn--secondaire { border: 1px solid var(--brun); color: var(--brun); }
.btn--secondaire:hover { background: var(--brun); color: var(--ivoire); }
.btn--visuel { background: var(--ivoire); color: var(--brun); }
.btn--visuel:hover { background: var(--lin); }
.btn--lien { height: auto; padding: 6px 0; color: var(--brun); }
.btn--lien:hover { color: var(--attenue); }
.btn--block { width: 100%; }

/* Note (étoiles) ------------------------------------------------------------ */
.note { display: inline-flex; align-items: center; gap: 8px; color: var(--attenue); }
.note__stars { display: flex; gap: 1px; color: var(--brun); }
.note__stars .i { width: 16px; height: 16px; }
.note__txt { font-size: 15px; line-height: 24px; }
.note--s .note__stars .i { width: 12px; height: 12px; }

/* Disponibilité ----------------------------------------------------------- */
.dispo { display: flex; align-items: center; gap: 8px; }
.dispo__short { display: none; }
@media (max-width: 767px) { .dispo__long { display: none; } .dispo__short { display: inline; } }
.dispo__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stock); flex: none; }

/* Média : image qui couvre son cadre ------------------------------------- */
.media { position: relative; overflow: hidden; background: var(--lin); }
.media > img { width: 100%; height: 100%; object-fit: cover; }

/* Conteneur --------------------------------------------------------------- */
.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
