/* ==========================================================================
   BLAEB Trophées — landing page
   Mise en page : en-tête ivoire avec bloc logo qui déborde, héros photo
   pleine largeur avec panneau sombre arrondi, sections centrées sur 1240px.
   ========================================================================== */

:root {
  --ivory: #F5F1E9;      /* fond de page (identique au fond des visuels trophées) */
  --paper: #FBF9F4;      /* champs de formulaire, carte référence */
  --ink: #15120F;        /* texte, panneaux sombres */
  --ink-soft: #3B352F;
  --muted: #7C7268;
  --line: #DED6C8;
  --sand: #E2CBA4;       /* boutons sur fond sombre */
  --sand-dark: #CDB083;

  /* Surfaces contrastées (panneau du héros, section savoir-faire) : sable */
  --panel: #DCCCB1;
  --panel-fg: #15120F;
  --panel-lead: #3B352F;
  --panel-text: #3B352F;
  --panel-accent: #5A4330;
  --panel-btn: #2E2219;
  --panel-btn-fg: var(--ivory);
  --panel-btn-hover: #46362A;
  --btn-dark: #2E2219;     /* boutons foncés (bannière, formulaire) : toujours brun teck */
  --footer-bg: #15120F;   /* pied de page : noir */

  --f-title: "Jost", "Futura", "Helvetica Neue", sans-serif;  /* une seule police de texte (Archivo reste réservée au logo) */
  --f-wide: "Archivo", "Helvetica Neue", Arial, sans-serif;   /* logotype BLAEB */
  --f-body: "Jost", "Futura", "Helvetica Neue", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }

/* ---------- Typographie ---------- */
.kicker {
  font-size: 12px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 14px;
}
.kicker--light { color: var(--panel-accent); }
.h2 {
  font-family: var(--f-title); font-weight: 600;
  font-size: clamp(26px, 3.1vw, 40px); line-height: 1.18;
  letter-spacing: .02em; text-transform: uppercase; text-wrap: balance;
}
.h2--light { color: var(--panel-fg); }
.h3 {
  font-family: var(--f-title); font-weight: 600;
  font-size: clamp(20px, 2vw, 26px); letter-spacing: .14em; text-transform: uppercase;
}
.rule { display: block; width: 44px; height: 1px; background: var(--ink); margin: 26px auto; }
.rule--left { margin: 24px 0; }
.rule--light { background: var(--panel-accent); margin: 26px 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px;
  font: 500 12.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 0; border-radius: 2px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sand { background: var(--panel-btn); color: var(--panel-btn-fg); }
.btn--sand:hover { background: var(--panel-btn-hover); }
.btn--dark { background: var(--btn-dark); color: var(--ivory); }
.btn--dark:hover { background: #46362A; }
.btn--nav { padding: 14px 22px; font-size: 12px; letter-spacing: .2em; }
.btn--full { width: 100%; padding: 18px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sand-dark); outline-offset: 3px; }

/* ---------- Logo (en-tête et pied de page) ---------- */
.brand { display: flex; align-items: center; gap: 22px; text-decoration: none; color: var(--ink); }
.brand__badge {
  flex: none; width: 128px; height: 128px; border-radius: 50%;
  background: var(--ivory); padding: 4px;
  box-shadow: 0 6px 18px rgba(21, 18, 15, .12);
}
.brand__badge svg { width: 100%; height: 100%; color: var(--ink); }
.brand__lockup { display: flex; flex-direction: column; align-items: center; padding-left: 22px; border-left: 1px solid currentColor; }
.brand__name { font-family: var(--f-wide); font-stretch: 125%; font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: .3em; margin-right: -.3em; }
.brand__name sup { font-family: var(--f-body); font-weight: 400; font-size: 10px; letter-spacing: 0; vertical-align: top; position: relative; top: -2px; left: -.2em; }
.brand__sub { font-size: 14px; letter-spacing: .62em; margin-right: -.62em; text-transform: uppercase; margin-top: 10px; }
.brand__tag { font-size: 10px; font-weight: 500; letter-spacing: .24em; margin-right: -.24em; text-transform: uppercase; margin-top: 12px; color: var(--ink); white-space: nowrap; }
.brand__tag span { white-space: nowrap; }

/* ---------- En-tête ----------
   Fixe, logo et menu centrés sur la même ligne ; il se réduit au défilement.
   Le body réserve la hauteur complète, donc rien ne saute quand il rétrécit. */
:root { --header-h: 156px; --header-h-compact: 92px; }
body { padding-top: var(--header-h); }
html { scroll-padding-top: calc(var(--header-h-compact) + 12px); }
.header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px);
  padding: 0 var(--gutter);
  background: var(--ivory);
  box-shadow: 0 1px 0 var(--line);
  transition: height .35s var(--ease), box-shadow .3s;
}
.header.is-scrolled { height: var(--header-h-compact); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(21, 18, 15, .08); }
.header .brand { margin-right: auto; }
.header .brand__badge, .header .brand__name, .header .brand__sub, .header .brand__tag {
  transition: width .35s var(--ease), height .35s var(--ease), font-size .35s var(--ease), margin .35s var(--ease), opacity .25s;
}
.header.is-scrolled .brand__badge { width: 64px; height: 64px; box-shadow: none; }
.header.is-scrolled .brand__name { font-size: 22px; }
.header.is-scrolled .brand__sub { font-size: 11px; margin-top: 6px; }
.header.is-scrolled .brand__tag { font-size: 8.5px; margin-top: 7px; }
.menu { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.menu a {
  position: relative; padding: 6px 0; white-space: nowrap;
  font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
}
.btn--nav { white-space: nowrap; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.menu a:hover::after { transform: scaleX(1); }
.burger { display: none; }

/* ---------- Héros ---------- */
/* Photo et panneau superposés dans la même case de grille. La photo garde son format 16:9 ;
   si le texte est plus haut, elle s'allonge et n'est recadrée que sur les côtés
   (oreilles et socle toujours visibles). */
.hero { display: grid; }
.hero > * { grid-area: 1 / 1; }
.hero__media { position: relative; width: 100%; aspect-ratio: 16 / 9; align-self: stretch; overflow: hidden; background: var(--panel); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero__panel {
  position: relative; align-self: stretch;
  width: 50%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 40px 32px 48px max(var(--gutter), 5.2vw);
  color: var(--panel-fg);
}
/* Voile sable : plein derrière le texte, puis fondu progressif dans la photo (aucun bord net). */
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--panel) 96%, transparent) 0%,
    color-mix(in srgb, var(--panel) 94%, transparent) 37%,
    color-mix(in srgb, var(--panel) 86%, transparent) 42%,
    color-mix(in srgb, var(--panel) 66%, transparent) 46.5%,
    color-mix(in srgb, var(--panel) 40%, transparent) 50.5%,
    color-mix(in srgb, var(--panel) 17%, transparent) 54.5%,
    color-mix(in srgb, var(--panel) 4%, transparent) 57.5%,
    transparent 60%);
}
.hero__title {
  font-family: var(--f-title); font-weight: 600; text-transform: uppercase;
  font-size: clamp(26px, 3.5vw, 56px); line-height: 1.08; letter-spacing: .01em;
  margin-bottom: clamp(16px, 1.8vw, 28px);
}
.hero__title span { display: block; white-space: nowrap; }
.hero__kicker { font-size: 11.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--panel-accent); margin-bottom: clamp(14px, 1.4vw, 22px); }
.hero__kicker span, .nowrap { white-space: nowrap; }
.hero__lead { font-size: clamp(15px, 1.15vw, 18px); font-weight: 400; color: var(--panel-lead); max-width: 30em; margin-bottom: clamp(20px, 2.4vw, 36px); text-wrap: pretty; max-width: min(30em, 36vw); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__link { font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--panel-fg); text-underline-offset: 6px; text-decoration-color: var(--panel-accent); }
.hero__link:hover { color: var(--panel-accent); }

/* ---------- Arguments ---------- */
.perks {
  list-style: none; margin: 0 auto; padding: 38px var(--gutter);
  max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.perks li {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 4px 14px;
}
.perks li + li { border-left: 1px solid var(--line); }
.perks svg { width: 38px; height: 38px; margin-bottom: 8px; }
.perks b { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; text-wrap: balance; }
.perks span { font-size: 13.5px; color: var(--muted); line-height: 1.45; text-wrap: balance; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 100px) var(--gutter); }
.title-block { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.title-block__lead { font-size: 15.5px; color: var(--ink-soft); }

/* Gamme : visuels sur fond blanc, fondus dans la page (multiply) */
.trophees { padding-top: clamp(32px, 5vw, 60px); }
.products { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px 32px; }
.product { width: calc((100% - 64px) / 3); text-decoration: none; color: var(--ink); }
.contact__direct { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 17px; font-weight: 500; }
.contact__direct a { color: inherit; text-underline-offset: 5px; }
.footer__legal a { color: inherit; }
.products__note { margin-top: 28px; text-align: center; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product__img { position: relative; aspect-ratio: 1; overflow: hidden; }
.product__img img {
  position: absolute; inset: 2%; width: 96%; height: 96%;
  object-fit: contain; mix-blend-mode: multiply;
  transition: transform .9s var(--ease);
}
.product:hover .product__img img { transform: scale(1.04); }
.product__label {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding-top: 16px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
}
.product__label svg { width: 20px; height: 20px; flex: none; margin-bottom: 2px; transition: transform .3s var(--ease); }
.product:hover .product__label svg { transform: translateX(5px); }

/* Gravure : visuel fondu dans la page (multiply) + texte */
.engrave {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(64px, 8vw, 110px);
}
.engrave__media img { width: 100%; height: auto; mix-blend-mode: multiply; }
.engrave__text p:not(.kicker) { color: var(--ink-soft); max-width: 34em; margin-bottom: 14px; }
.engrave__options { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.engrave__options li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); }
.engrave__options b { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.engrave__options span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.engrave .btn { margin-top: 10px; }

/* Savoir-faire : grande photo de mise en scène + texte */
.craft { background: var(--panel); color: var(--panel-fg); }
.craft__main { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 560px; }
.craft__media { position: relative; overflow: hidden; }
.craft__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.craft__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 72%, var(--panel)); }
.craft__text { align-self: center; max-width: 560px; padding: clamp(48px, 6vw, 88px) clamp(24px, 5vw, 72px) clamp(48px, 6vw, 88px) clamp(16px, 3vw, 40px); }
.craft .h2 { font-size: clamp(24px, 2.4vw, 34px); }
.craft__text p:not(.kicker) { color: var(--panel-text); font-weight: 400; margin-bottom: 14px; }
.craft__text .btn { margin-top: 18px; }

/* Détails */
.details { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.details__img { aspect-ratio: 3 / 2; overflow: hidden; }
.details img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.details figure:hover img { transform: scale(1.05); }
.details figcaption { padding-top: 12px; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* Références */
.refs { padding-top: clamp(48px, 6vw, 80px); }
.ref {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(28px, 5vw, 72px);
  padding: clamp(32px, 5vw, 56px); background: var(--paper); border: 1px solid var(--line);
}
.ref > * { min-width: 0; }
.ref__big { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; }
.ref__num { font-weight: 500; font-size: clamp(80px, 11vw, 150px); line-height: .8; font-variant-numeric: tabular-nums; }
.ref__unit { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; line-height: 1.5; padding-bottom: 2px; }
.ref__name { font-weight: 500; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.ref__text p { color: var(--ink-soft); }

/* La maison */
.maison {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  border-top: 1px solid var(--line);
}
.maison__badge svg { display: block; width: 100%; max-width: 380px; aspect-ratio: 1; margin: 0 auto; color: var(--ink); transition: transform 1.2s var(--ease); }
.maison__badge:hover svg { transform: rotate(-8deg); }
.maison__text p:not(.kicker) { color: var(--ink-soft); font-size: 16.5px; font-weight: 300; max-width: 36em; margin-bottom: 14px; }
.maison__events { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.maison__events li { border: 1px solid var(--ink); border-radius: 100px; padding: 8px 16px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }

/* Sur-mesure */
.custom { text-align: center; padding: clamp(64px, 8vw, 100px) var(--gutter); }
.custom__inner { max-width: 620px; margin: 0 auto; }
.custom .h3 { margin-bottom: 16px; }
.custom__inner p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 28px; }

/* Tarifs : l'escalier des remises (marches à l'échelle du prix à la pièce), la plaque, puis la grille complète */
.tarifs { border-top: 1px solid var(--line); }
.tarifs .title-block__lead { max-width: 44em; margin: 0 auto; text-wrap: balance; }
.ladder, .plaque, .pricegrid { max-width: 980px; margin-left: auto; margin-right: auto; }
.ladder__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-bottom: 28px; font-size: 15.5px; color: var(--ink-soft); }
.ladder__head label { display: inline; font-size: inherit; font-weight: 400; letter-spacing: 0; text-transform: none; color: inherit; }
.ladder__head select { width: auto; padding: 8px 12px; font-weight: 600; cursor: pointer; }
.ladder__steps { --bar-max: clamp(150px, 18vw, 210px); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(6px, 1vw, 12px); align-items: end; }
.ladder__steps li { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ladder__bar { height: calc(var(--h) * var(--bar-max)); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px; background: var(--panel); color: var(--panel-fg); border-radius: 2px 2px 0 0; text-align: center; }
.ladder__off { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--panel-accent); }
.ladder__price { font-size: clamp(19px, 2.1vw, 28px); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ladder__steps li:last-child .ladder__bar { background: var(--btn-dark); color: var(--ivory); }
.ladder__steps li:last-child .ladder__off { color: var(--sand); }
.ladder__qty { text-align: center; font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.ladder__qty b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.ladder__note { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--muted); }

.plaque { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1.8fr; gap: 24px 40px; align-items: center; padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); }
.plaque__title { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.plaque__intro p { font-size: 14.5px; color: var(--ink-soft); }
.plaque__tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plaque__tiers li { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 1px solid var(--line); }
.plaque__tiers span { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--panel-accent); }
.plaque__tiers b { font-size: 22px; font-weight: 600; }
.plaque__tiers small { font-size: 13px; color: var(--muted); }

.pricegrid { margin-top: 16px; border: 1px solid var(--line); background: var(--paper); }
.pricegrid summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(18px, 3vw, 28px); cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pricegrid summary::-webkit-details-marker { display: none; }
.pricegrid summary::after { content: "+"; font-size: 24px; font-weight: 300; line-height: 1; }
.pricegrid[open] summary::after { content: "−"; }
.pricegrid summary:focus-visible { outline: 2px solid var(--sand-dark); outline-offset: 3px; }
.pricegrid__body { padding: 0 clamp(18px, 3vw, 28px) 22px; }
.vat-switch { display: inline-flex; margin-bottom: 14px; border: 1px solid var(--ink); border-radius: 2px; }
.vat-switch button { padding: 8px 16px; font: 600 12px/1 var(--f-body); letter-spacing: .14em; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
.vat-switch button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.pricegrid__scroll { overflow-x: auto; }
.pricegrid__table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.pricegrid__table th, .pricegrid__table td { padding: 8px 12px; text-align: right; white-space: nowrap; }
.pricegrid__table thead th { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; vertical-align: bottom; }
.pricegrid__table thead tr:last-child th { border-bottom: 1px solid var(--ink); }
.pricegrid__table thead small { display: block; margin-top: 2px; font-size: 12px; letter-spacing: .06em; color: var(--panel-accent); }
.pricegrid__table thead .pricegrid__cap { text-align: center; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); }
.pricegrid__table tbody th { font-weight: 600; }
.pricegrid__table thead tr:last-child, .pricegrid__table tbody tr { background: var(--paper); }
.pricegrid__table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--panel) 30%, var(--paper)); }
.pricegrid__table tbody tr.is-current { background: var(--panel); }
/* Le tarif de base reste visible quand la grille défile sur téléphone */
.pricegrid__table tbody th, .pricegrid__table thead tr:last-child th:first-child { position: sticky; left: 0; background: inherit; box-shadow: 1px 0 0 var(--line); }
.pricegrid__table[data-vat="ttc"] .ht, .pricegrid__table[data-vat="ht"] .ttc { display: none; }
.pricegrid__note { margin-top: 12px; font-size: 13px; color: var(--muted); }

.tarifs__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: clamp(32px, 4vw, 48px); }
.tarifs__pdf { font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-underline-offset: 6px; text-decoration-color: var(--sand-dark); }
.tarifs__pdf:hover { color: var(--panel-accent); }

/* Téléphone : l'escalier se couche, une marche par ligne (largeur à l'échelle du prix) */
@media (max-width: 760px) {
  .ladder__steps { grid-template-columns: 1fr; gap: 8px; }
  .ladder__steps li { display: grid; grid-template-columns: 6.2em 1fr; align-items: center; gap: 12px; }
  .ladder__qty { order: -1; text-align: left; }
  .ladder__bar { height: auto; width: calc(var(--h) * 100%); flex-direction: row-reverse; justify-content: space-between; padding: 12px 14px; border-radius: 0 2px 2px 0; text-align: left; }
  .ladder__price { font-size: 19px; }
  .plaque { grid-template-columns: 1fr; }
  .pricegrid__table thead .pricegrid__cap { text-align: left; }
}
@media (max-width: 560px) {
  .plaque__tiers { grid-template-columns: 1fr; gap: 12px; }
}

/* Contact */
.contact { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
/* Les deux chevaux cabrés du logo, en grand derrière le formulaire, sabots posés sur le pied de page */
.contact__horses { position: absolute; z-index: -1; left: 50%; bottom: 0; width: min(1180px, 100%); transform: translate(-50%, 3.8%); opacity: .06; pointer-events: none; } /* 3,8 % = marge vide sous les sabots dans le SVG */
.contact input, .contact select, .contact textarea { background: color-mix(in srgb, var(--paper) 55%, transparent); } /* les chevaux restent lisibles à travers les champs */
.form { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--3 { grid-template-columns: 1.3fr 1fr 1fr; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
input, select, textarea {
  width: 100%; padding: 14px 16px;
  font: 400 16px/1.4 var(--f-body); letter-spacing: 0; text-transform: none;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .25s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
textarea { resize: vertical; }
.form__status { font-size: 14.5px; min-height: 1.4em; text-align: center; }
.form__status.is-error { color: #A3361F; }
.form__status.is-ok { color: #2F5B32; }
.form__privacy { font-size: 13px; color: var(--muted); text-align: center; }

/* Fichiers joints : zone de dépôt, liste des fichiers, rappel du minimum sur mesure */
.upload { padding: 20px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 55%, transparent); }
.upload__title { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.upload__title span { margin-left: 6px; font-size: 12px; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.upload__text { margin: 6px 0 14px; font-size: 14.5px; color: var(--ink-soft); }
.upload__drop {
  position: relative; align-items: center; gap: 6px; padding: 26px 16px;
  border: 1.5px dashed var(--sand-dark); border-radius: 2px; text-align: center;
  font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-soft);
  cursor: pointer; transition: background .2s, border-color .2s;
}
.upload__drop:hover, .upload__drop.is-over { background: color-mix(in srgb, var(--panel) 35%, transparent); border-color: var(--ink); }
.upload__drop:focus-within { outline: 2px solid var(--sand-dark); outline-offset: 3px; }
.upload__drop svg { width: 28px; height: 28px; color: var(--panel-accent); }
.upload__drop b { font-weight: 500; color: var(--ink); }
.upload__drop u { text-underline-offset: 4px; text-decoration-color: var(--sand-dark); }
.upload__drop small { font-size: 12.5px; color: var(--muted); }
.upload__drop input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.upload__touch { display: none; }
@media (hover: none) and (pointer: coarse) { .upload__desk { display: none; } .upload__touch { display: inline; } }
.upload__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.upload__list:empty { display: none; }
.upload__item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 6px; background: var(--paper); border: 1px solid var(--line); }
.upload__item img, .upload__thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 2px; }
.upload__thumb { display: grid; place-items: center; background: var(--panel); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.upload__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.upload__size { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.upload__remove { width: 36px; height: 36px; border: 0; border-radius: 2px; background: transparent; font-size: 22px; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.upload__remove:hover { background: var(--panel); color: var(--ink); }
.upload__note { margin-top: 8px; font-size: 13.5px; color: #A3361F; }
.upload__note:empty { display: none; }
.upload__min { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); }
.upload__min b { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--btn-dark); color: var(--ivory); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Mentions légales (page à part) */
.legal { max-width: 820px; }
.legal .h2 { margin-bottom: 8px; }
.legal__date { font-size: 13.5px; color: var(--muted); }
.legal h2:not(.h2) { margin: 44px 0 12px; font-family: var(--f-title); font-weight: 600; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal__back { margin-top: 48px; }

/* Pied de page */
.footer {
  background: var(--footer-bg); color: var(--ivory);
  padding: 44px var(--gutter) 28px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px 40px;
}
.brand--footer { color: var(--ivory); }
.brand--footer .brand__badge { width: 104px; height: 104px; box-shadow: none; }
.brand--footer .brand__lockup { border-color: rgba(245, 241, 233, .5); }
.brand--footer .brand__name { font-size: 24px; }
.brand--footer .brand__tag { color: #BDB4A6; }
.footer__menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 32px; }
.footer__menu a { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.footer__menu a:hover { color: var(--sand); }
.footer__social { display: flex; gap: 16px; padding-left: 32px; border-left: 1px solid rgba(245, 241, 233, .25); }
.footer__social a { display: grid; place-items: center; width: 34px; height: 34px; }
.footer__social svg { width: 22px; height: 22px; }
.footer__social a:hover { color: var(--sand); }
.footer__legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(245, 241, 233, .12); font-size: 12.5px; color: #9C9385; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1520px) {
  :root { --header-h: 136px; }
  .header .brand { gap: 18px; }
  .header .brand__badge { width: 108px; height: 108px; }
  .header .brand__lockup { padding-left: 18px; }
  .header .brand__name { font-size: 28px; }
  .header .brand__tag { font-size: 9px; letter-spacing: .22em; margin-right: -.22em; }
  .menu a { font-size: 12px; letter-spacing: .14em; }
  .btn--nav { padding: 13px 18px; letter-spacing: .16em; }
}

@media (max-width: 1340px) {
  .menu {
    position: fixed; top: var(--header-h-compact); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(21, 18, 15, .08);
    padding: 8px var(--gutter) 16px;
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .header:not(.is-scrolled) .menu { top: var(--header-h); }
  .menu a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .menu a::after { display: none; }
  .header.is-open .menu { opacity: 1; transform: none; pointer-events: auto; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 42px; height: 42px; padding: 0 10px; flex: none;
    background: transparent; border: 1px solid var(--ink); border-radius: 2px; cursor: pointer;
  }
  .burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .header.is-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .header.is-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}

@media (max-width: 980px) {
  .product { width: calc((100% - 32px) / 2); }
  .hero__panel { width: 60%; }
  .craft__main { grid-template-columns: 1fr; min-height: 0; }
  .craft__media { aspect-ratio: 3 / 2; }
  .craft__media::after { background: linear-gradient(180deg, transparent 70%, var(--panel)); }
  .craft__text { max-width: none; padding: 32px var(--gutter) 48px; }
  .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__social { border-left: 0; padding-left: 0; }
}

@media (max-width: 820px) {
  :root { --header-h: 124px; --header-h-compact: 96px; }
  .header .brand { gap: 14px; }
  .header .brand { gap: 12px; }
  .header .brand__badge { width: 76px; height: 76px; }
  .header.is-scrolled .brand__badge { width: 60px; height: 60px; }
  .header .brand__lockup { padding-left: 12px; }
  .header .brand__name, .header.is-scrolled .brand__name { font-size: 23px; }
  .header .brand__sub, .header.is-scrolled .brand__sub { font-size: 11px; margin-top: 6px; }
  .header .brand__tag, .header.is-scrolled .brand__tag { font-size: 8px; letter-spacing: .14em; margin-right: -.14em; margin-top: 8px; line-height: 1.4; }
  .btn--nav { display: none; }

  /* héros : photo puis texte sur fond sombre */
  .hero { display: block; }
  .hero__media { aspect-ratio: 5 / 4; }
  .hero__img { object-position: 74% 50%; }
  .hero__panel { width: 100%; min-height: 0; padding: 30px var(--gutter) 48px; background: var(--panel); }
  .hero__lead { max-width: 30em; }
  .hero__media::after { background: linear-gradient(180deg, transparent 84%, color-mix(in srgb, var(--panel) 35%, transparent) 92%, color-mix(in srgb, var(--panel) 80%, transparent) 97%, var(--panel) 100%); }

  .perks { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .perks li:nth-child(3) { border-left: 0; }
  .details { grid-template-columns: 1fr 1fr; }
  .details figure:first-child { grid-column: 1 / -1; }
  .ref { grid-template-columns: 1fr; }
  .maison { grid-template-columns: 1fr; }
  .engrave { grid-template-columns: 1fr; }
  .engrave__media { max-width: 520px; margin: 0 auto; }
  .maison__badge svg { max-width: 220px; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .contact__horses { width: 160%; max-width: none; }
}

@media (max-width: 560px) {
  .hero__kicker { letter-spacing: .2em; }
  .product { width: 100%; }
  .engrave__options { grid-template-columns: 1fr; }
  .ref__num { font-size: 72px; }
  .brand--footer { flex-direction: column; }
  .brand--footer .brand__lockup { border-left: 0; padding-left: 0; }
}

/* Petits iPhone (375–400 px) : logo un peu plus compact pour garder le slogan sur une ligne */
@media (max-width: 400px) {
  .header { gap: 12px; }
  .header .brand { gap: 10px; }
  .header .brand__badge, .header.is-scrolled .brand__badge { width: 66px; height: 66px; }
  .header .brand__lockup { padding-left: 10px; }
  .header .brand__name, .header.is-scrolled .brand__name { font-size: 21px; }
  .header .brand__tag, .header.is-scrolled .brand__tag { letter-spacing: .1em; margin-right: -.1em; }
}

/* Très petits téléphones (iPhone SE 1re génération…) */
@media (max-width: 370px) {
  .header .brand { gap: 10px; }
  .header .brand__badge, .header.is-scrolled .brand__badge { width: 64px; height: 64px; }
  .header .brand__lockup { padding-left: 10px; }
  .header .brand__name, .header.is-scrolled .brand__name { font-size: 20px; }
  .header .brand__tag, .header.is-scrolled .brand__tag { font-size: 8px; letter-spacing: .16em; margin-right: -.16em; text-align: center; }
  .header .brand__tag span { display: block; }
}

/* ---------- Réseaux sociaux ---------- */
.social { display: flex; align-items: center; gap: 4px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink); transition: background .25s, color .25s; }
.social a:hover { background: var(--btn-dark); color: var(--ivory); }
.social svg { width: 21px; height: 21px; }
.social--header { padding-left: clamp(12px, 1.4vw, 22px); border-left: 1px solid var(--line); }
.menu__social { display: none; }

@media (max-width: 1520px) {
  .social a { width: 34px; height: 34px; }
  .social svg { width: 19px; height: 19px; }
}

/* Mobile : la barre est pleine (logo + slogan + ☰), les réseaux passent dans le menu déroulant */
@media (max-width: 820px) {
  .social--header { display: none; }
  .menu .menu__social { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 6px; }
  .menu .menu__social a {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 12px; border: 1px solid var(--line); border-radius: 100px;
    font-size: 12px; letter-spacing: .14em;
  }
  .menu .menu__social svg { width: 20px; height: 20px; }
}
