/*
 * Com'It — feuille de style du site.
 * Identité : charte Com'It (anthracite, cyan, bleu ciel, Montserrat + Inter, la bulle).
 * Mise en scène inspirée d'une « galerie de nuit » : fond sombre continu, titres géants centrés,
 * surfaces plates différenciées par paliers de gris, grandes tuiles de couleur, navigation en verre dépoli.
 */
:root {
  /* Couleurs de la charte */
  --anthracite: #1E1E1E;
  --cyan: #52C8F2;
  --ciel: #88D2F5;
  --blanc: #FFFFFF;
  --profond: #0E6E94;
  --ardoise: #5B6370;
  --brume: #F2F5F7;
  --ligne: #DCE2E7;
  --danger: #E5484D;
  --ok: #1E8550;

  /* Paliers de surfaces sombres (pas d'ombres : la profondeur vient de la couleur) */
  --canvas: #1E1E1E;
  --abyss: #161616;
  --surface: #26292D;
  --surface-2: #2E3237;
  --hover: #3A3E44;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  /* Textes sur fond sombre */
  --text: #F4F6F8;
  --body: #A6AEB8;
  --fog: #6F7882;
  --danger-dark: #FF8A84;
  --ok-dark: #62D6A0;

  /* Ex-alias conservés pour la page admin et les composants clairs */
  --anthracite-2: var(--surface);
  --anthracite-3: var(--hover);

  --font-display: "Montserrat", "Arial Black", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  /* Trois arrondis seulement : contrôles, cartes, grands panneaux. Les boutons sont toujours en pilule. */
  --radius: 20px;
  --radius-tile: 28px;
  --radius-ctl: 12px;
  --header-h: 68px;
  --ease: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* Léger dézoom global sur grand écran : tout le site à 90 % (textes, marges, cartes) */
@media (min-width: 900px) { html { zoom: .9; } }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cyan); color: var(--anthracite); }

/* Contenu jusqu'à 1680 px (environ 1510 px à l'écran avec le dézoom à 90 %) : il occupe bien les grands écrans */
.wrap {
  max-width: 1680px;
  margin: 0 auto;
  padding-left: max(clamp(20px, 3vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(20px, 3vw, 48px), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--anthracite); padding: 8px 14px; border-radius: 999px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; }

/* Surtitre de la charte : Montserrat Light, capitales espacées */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ciel);
}
/* Le même surtitre, posé dans une pastille de verre */
.pill-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: #E6EBEF;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 20px;
}
.pill-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ciel); }


/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn .arrow { transition: transform var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--cyan); color: var(--anthracite); }
.btn-primary:hover { background: var(--ciel); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--blanc); }
.btn-dark { background: var(--blanc); color: var(--anthracite); }
.btn-dark:hover { background: var(--brume); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; color: var(--ciel); }
.icon-btn { width: 40px; height: 40px; border-radius: var(--radius-ctl); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05); cursor: pointer; font-size: 15px; display: grid; place-items: center; transition: background-color var(--ease); }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }

/* ---------- En-tête en verre dépoli ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--canvas); z-index: 51; }
/* Barre flottante : une pilule de verre détachée du haut de page */
.site-header {
  position: sticky; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 50;
  margin-top: 12px; height: 0; overflow: visible;
}
.header-inner {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin: 0 auto; padding: 0 10px 0 22px; position: relative;
  background: rgba(24, 26, 29, .62);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: 20px;
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(136, 210, 245, .55), rgba(255, 255, 255, .08) 35%, rgba(255, 255, 255, .04) 65%, rgba(82, 200, 242, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.brand { display: flex; align-items: center; }
/* Les lettres du logo sont plus basses que le centre de l'image (la bulle occupe le haut) : recentrage optique */
.brand img { width: 124px; translate: 0 -12.6%; }
.main-nav { display: flex; gap: 8px; }
.main-nav a {
  color: #D5DCE2; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 13px;
  padding: 9px 15px; border-radius: 12px;
  transition: background-color var(--ease), color var(--ease);
}
.main-nav a:hover { background: rgba(255, 255, 255, .08); color: var(--blanc); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; width: 42px; height: 42px; border-radius: var(--radius-ctl);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); cursor: pointer; display: grid; place-items: center;
  transition: background-color var(--ease);
}
.cart-btn:hover { background: rgba(255, 255, 255, .12); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--blanc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--cyan); color: var(--anthracite);
  font-family: var(--font-display); font-weight: 800; font-size: 11px; display: grid; place-items: center;
}
.menu-btn { display: none; width: 42px; height: 42px; border-radius: var(--radius-ctl); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-btn span { width: 18px; height: 2px; background: var(--blanc); border-radius: 2px; }

/* ---------- Hero : titre centré, puis un horizon bleu où se lève la bulle ---------- */
.hero { background: var(--canvas); position: relative; overflow: hidden; }
.hero-inner { display: grid; justify-items: center; text-align: center; gap: 26px; padding-block: calc(var(--header-h) + 100px) 56px; position: relative; z-index: 1; }
.hero h1 { font-weight: 900; font-size: clamp(44px, 8.4vw, 104px); line-height: .95; letter-spacing: -.025em; max-width: 13ch; color: var(--text); }
.hero-lead { font-size: 18px; color: var(--body); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

.hero-horizon {
  position: relative;
  height: clamp(260px, 36vw, 440px);
  background: linear-gradient(180deg, var(--canvas) 0%, #172A35 34%, #0F4A66 62%, var(--profond) 84%, #2A8DB7 100%);
  overflow: hidden;
}
.hero-sun {
  position: absolute; left: 50%; bottom: 0; translate: -50% 52%;
  width: min(46vw, 520px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ciel);
}
.hero-visual { position: absolute; inset: 0; max-width: 1100px; margin: 0 auto; }
/* Le badge qui flotte est un calque déplacé par la carte graphique ; l'ombre est sur le dessin à l'intérieur,
   calculée une seule fois au lieu d'être redessinée à chaque image de l'animation. */
.hero-visual .hb { position: absolute; border-radius: 50%; will-change: transform; backface-visibility: hidden; }
.hero-visual .hb svg, .hero-visual .hb img { width: 100%; height: auto; display: block; border-radius: 50%; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .35)); }
.hero-visual .hb1 { width: 21%; left: 5%; top: 26%; rotate: -10deg; }
.hero-visual .hb2 { width: 15%; left: 28%; top: 54%; rotate: 8deg; }
.hero-visual .hb3 { width: 17%; right: 27%; top: 10%; rotate: -5deg; }
.hero-visual .hb4 { width: 20%; right: 4%; top: 38%; rotate: 12deg; }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual .hb { animation: float 7s ease-in-out infinite alternate; }
  .hero-visual .hb2 { animation-duration: 8s; animation-delay: -3s; }
  .hero-visual .hb3 { animation-duration: 6.5s; animation-delay: -1.5s; }
  .hero-visual .hb4 { animation-duration: 7.5s; animation-delay: -5s; }
}
@keyframes float {
  from { transform: translate3d(0, 6px, 0); }
  to { transform: translate3d(0, -8px, 0); }
}

.hero-points {
  list-style: none; margin: 0; padding: 32px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.hero-points li { display: grid; gap: 4px; text-align: center; font-size: 14px; color: var(--body); }
.hero-points strong { color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding-block: 64px 96px; background: var(--canvas); }
.section-abyss { background: var(--abyss); }
.section-head { display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 820px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(36px, 6vw, 72px); font-weight: 900; line-height: .98; letter-spacing: -.02em; }
.section-head p:last-child { color: var(--body); font-size: 18px; max-width: 600px; }

/* ---------- Boutique ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filter {
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--text);
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 13px;
  transition: background-color var(--ease), border-color var(--ease);
}
.filter:hover { background: rgba(255, 255, 255, .1); }
.filter.is-active { background: var(--blanc); color: var(--anthracite); border-color: var(--blanc); }
.filter .n { opacity: .5; margin-left: 6px; font-variant-numeric: tabular-nums; }

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative;
  transition: background-color var(--ease);
}
.product:hover { background: var(--surface-2); }
.product-visual { aspect-ratio: 1; display: grid; place-items: center; background: var(--abyss); border-radius: 12px; padding: 15%; }
.product-visual .badge-svg, .product-visual img { width: 100%; height: auto; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .45)); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .product-visual .badge-svg { transition: transform .4s ease; }
  .product:hover .product-visual .badge-svg { transform: rotate(-6deg) scale(1.04); }
}
.product-new {
  position: absolute; top: 26px; left: 26px; background: var(--cyan); color: var(--anthracite);
  font-family: var(--font-display); font-weight: 800; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
}
/* Nom sur toute la largeur, prix en dessous : les noms longs (slogans) restent lisibles */
.product-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-inline: 4px; }
/* Pas d'équilibrage des lignes : le nom occupe toute la largeur de la carte avant de passer à la ligne */
.product h3 { font-size: 16px; font-weight: 800; line-height: 1.25; text-wrap: wrap; }
.product-meta > div { width: 100%; }
.product .cat { font-size: 13px; color: var(--fog); }
.product .price { font-family: var(--font-display); font-weight: 800; font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.product .price small { font-weight: 500; font-size: 12px; color: var(--body); }
.product-buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.product-buy select {
  border: 1px solid var(--line-strong); border-radius: var(--radius-ctl); padding: 10px 12px; background: var(--abyss); color: var(--text); font-size: 13.5px; min-width: 0;
}
.product-buy .btn { padding: 10px 18px; font-size: 13.5px; }

/* ---------- Personnalisation ---------- */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.studio-preview { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.preview-stage {
  aspect-ratio: 1; border-radius: var(--radius-tile); display: grid; place-items: center;
  position: relative; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(135deg, #2B2B2C, #131313);
}
.preview-badge { width: 68%; position: relative; touch-action: none; }
.preview-badge .badge-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .55)); }
.preview-badge.is-guides { width: 84%; }
.preview-badge.is-guides .badge-svg { filter: none; border-radius: 12px; background: var(--brume); }
.preview-badge.has-image { cursor: grab; }
.preview-badge.dragging { cursor: grabbing; }
.preview-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.preview-hint { font-size: 13px; color: var(--body); }
.seg { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.seg-btn { border: 0; background: transparent; color: var(--body); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 13px; transition: background-color var(--ease), color var(--ease); }
.seg-btn.is-active { background: var(--blanc); color: var(--anthracite); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--body); }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 26px; height: 0; border-top: 2px dashed; flex: none; }
.legend .lg-face { border-color: #E5484D; }
.legend .lg-safe { border-color: var(--ciel); border-top-style: dotted; }

.studio-controls { display: grid; gap: 12px; }
.ctrl {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 22px; margin: 0;
  background: var(--surface); display: grid; gap: 14px; min-width: 0;
}
.ctrl legend { font-family: var(--font-display); font-weight: 800; font-size: 15px; padding: 0 6px; margin-left: -6px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--body); min-width: 0; }
.field small { font-weight: 400; opacity: .7; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field input[type="password"], .field select, .field textarea {
  width: 100%; border-radius: var(--radius-ctl); padding: 11px 14px; font-size: 15px;
  border: 1px solid var(--line-strong); background: var(--abyss); color: var(--text);
  transition: border-color var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ciel); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--fog); }
.field textarea { resize: vertical; }
.field input[type="color"] { width: 100%; height: 44px; border-radius: var(--radius-ctl); border: 1px solid var(--line-strong); background: var(--abyss); padding: 4px; cursor: pointer; }
.field input[type="range"] { width: 100%; accent-color: var(--cyan); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chips.small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chip {
  border: 1px solid var(--line-strong); background: var(--abyss); color: var(--text);
  border-radius: 12px; padding: 12px 10px; cursor: pointer; text-align: center; display: grid; gap: 2px; justify-items: center;
  transition: border-color var(--ease), background-color var(--ease);
}
.chip:hover { border-color: rgba(255, 255, 255, .35); }
.chip strong { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.chip span { font-size: 12px; color: var(--body); }
.chip .dot { border-radius: 50%; background: var(--ciel); margin-bottom: 4px; }
.chips.small .chip { padding: 9px 8px; font-size: 13.5px; font-weight: 600; }
.chip[aria-pressed="true"] { border-color: var(--cyan); background: rgba(82, 200, 242, .1); }

.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sw {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); cursor: pointer; padding: 0;
}
.sw[aria-pressed="true"] { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sw-custom { position: relative; overflow: hidden; background: conic-gradient(#E63946, #FFE066, #62D6A0, #52C8F2, #8E7CF0, #E63946); }
.sw-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

.drop {
  border: 1px dashed rgba(255, 255, 255, .28); border-radius: 12px; padding: 16px; display: flex; gap: 14px; align-items: center; cursor: pointer;
  transition: border-color var(--ease), background-color var(--ease); font-size: 14px;
}
.drop:hover, .drop.is-over { border-color: var(--cyan); background: rgba(82, 200, 242, .06); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.drop small { color: var(--body); }
.drop-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--cyan); color: var(--anthracite); font-weight: 800; font-size: 22px; display: grid; place-items: center; flex: none; }
.image-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; }

/* Carte inversée : le seul bloc clair du personnalisateur, pour faire ressortir le prix */
.order-box { border-radius: var(--radius-tile); padding: 24px; background: var(--blanc); color: var(--anthracite); display: grid; gap: 16px; }
.qty-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.order-box .field { color: var(--ardoise); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-ctl); overflow: hidden; background: var(--abyss); }
.qty button { width: 40px; height: 42px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 18px; font-weight: 700; color: var(--text); }
.qty input { width: 72px; border: 0 !important; border-radius: 0 !important; text-align: center; font-weight: 700; padding: 10px 4px !important; background: transparent !important; color: inherit !important; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.order-box .qty { border-color: var(--ligne); background: var(--blanc); }
.order-box .qty button { background: var(--brume); color: var(--anthracite); }
.price-block { display: grid; text-align: right; }
.price-unit { font-size: 13px; color: var(--ardoise); font-variant-numeric: tabular-nums; }
.price-total { font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tiers li { border-radius: var(--radius-ctl); padding: 8px; background: var(--brume); text-align: center; font-size: 12px; color: var(--ardoise); border: 1px solid transparent; }
.tiers li strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--anthracite); }
.tiers li.is-active { border-color: var(--profond); background: #E7F7FD; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.order-actions .btn-primary { flex: 1; }
.order-box .btn-ghost { color: var(--anthracite); border-color: var(--ligne); }
.order-box .btn-ghost:hover { background: var(--brume); }

/* ---------- Services : tuiles de couleur pleine ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service {
  border-radius: var(--radius-tile); padding: 40px; display: grid; gap: 16px; align-content: start; min-width: 0;
  min-height: 380px; grid-template-rows: auto auto 1fr auto;
}
.tile-cyan { background: var(--cyan); color: var(--anthracite); }
.tile-ciel { background: var(--ciel); color: var(--anthracite); }
.tile-profond { background: var(--profond); color: var(--blanc); }
.tile-graphite { background: var(--surface-2); color: var(--text); }
.service-icon { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 900; letter-spacing: -.015em; margin-top: 24px; }
.service p { font-size: 16px; max-width: 42ch; opacity: .85; }
.service ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid currentColor; display: grid; gap: 8px; font-size: 14.5px; font-weight: 500; }
.service ul { border-top-color: color-mix(in srgb, currentColor 25%, transparent); }
.service li { display: flex; gap: 10px; align-items: baseline; }
.service li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; transform: translateY(-1px); }

/* Ma méthode : intro à gauche, étapes reliées par une ligne verticale à droite */
.method {
  margin-top: 12px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px 64px;
  padding: 56px 48px; border-radius: var(--radius-tile); border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 0% 0%, rgba(82, 200, 242, .12), transparent 50%), var(--surface);
}
.method-intro { display: grid; gap: 18px; align-content: start; justify-items: start; position: sticky; top: calc(var(--header-h) + 40px); }
.method-intro h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; }
.method-intro p:last-child { color: var(--body); font-size: 16.5px; max-width: 42ch; }
.method-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
/* Ligne qui relie les numéros, du premier au dernier */
.method-steps::before {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(136, 210, 245, .15));
}
.method-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding-block: 0 32px; position: relative; }
.method-steps li:last-child { padding-bottom: 0; }
.ms-num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: .02em; color: var(--cyan);
  background: var(--abyss); border: 1.5px solid rgba(82, 200, 242, .55);
  box-shadow: 0 0 0 6px var(--surface);
}
.method-steps li:first-child .ms-num { background: var(--grad-brand); color: var(--anthracite); border-color: transparent; }
.method-steps h4 { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.2; margin: 14px 0 8px; }
.method-steps p { color: var(--body); font-size: 15.5px; line-height: 1.6; max-width: 52ch; }

.cta-band {
  margin-top: 12px; border-radius: var(--radius-tile); background: var(--surface); border: 1px solid var(--line); padding: 64px 40px;
  display: grid; justify-items: center; text-align: center; gap: 24px; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--ciel); right: -60px; top: -90px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { font-size: clamp(32px, 5vw, 60px); font-weight: 900; letter-spacing: -.02em; }
.cta-band p { color: var(--body); margin-top: 12px; font-size: 17px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 18px; justify-items: start; }
.contact-info h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: .98; letter-spacing: -.02em; }
.contact-info > p { color: var(--body); font-size: 17px; }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; margin: 12px 0 0; font-size: 15px; }
.contact-list dt { color: var(--fog); font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding-top: 3px; }
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(136, 210, 245, .45); transition: color var(--ease), border-color var(--ease); }
.contact-list a:hover { color: var(--ciel); border-color: var(--ciel); }
.footer-meta { display: flex; align-items: center; gap: 14px; }

/* ---------- Réseaux sociaux (couleurs officielles pour être reconnus au premier coup d'œil) ---------- */
:root {
  --facebook: #1877F2;
  --instagram: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
}
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.socials:empty { display: none; }
.social-facebook { --brand: var(--facebook); }
.social-instagram { --brand: var(--instagram); }

/* Icône ronde : en-tête et pied de page, déjà en couleur */
.social { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--brand); transition: transform var(--ease), box-shadow var(--ease); }
.social:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.social svg { width: 20px; height: 20px; }

/* Pastille avec libellé : hero et contact */
.social-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.social-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.social-pill svg { width: 18px; height: 18px; }
.contact-list .social-pill { color: #fff; border: 0; }
.contact-list .social-pill:hover { color: #fff; }


/* Grand bouton : bandeau dédié */
.social-band { background: var(--canvas); padding-block: 24px 0; }
.social-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px 48px; align-items: center;
  padding: 40px; border-radius: var(--radius-tile); border: 1px solid var(--line-strong); position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(221, 42, 123, .22), transparent 45%),
    radial-gradient(circle at 70% 120%, rgba(24, 119, 242, .3), transparent 50%),
    var(--surface);
}
.social-copy { display: grid; gap: 14px; justify-items: start; }
.social-copy h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.social-copy p:last-child { color: var(--body); font-size: 16.5px; max-width: 52ch; }
.socials-big { display: grid; gap: 12px; }
.social-big {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 22px;
  border-radius: var(--radius); background: var(--brand); color: #fff; text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}
.social-big:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.social-big svg { width: 34px; height: 34px; }
.social-big span { display: grid; gap: 2px; }
.social-big strong { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.social-big small { font-size: 13.5px; opacity: .9; }
.social-big .arrow { font-size: 22px; transition: transform var(--ease); }
.social-big:hover .arrow { transform: translateX(4px); }
@media (max-width: 900px) { .social-card { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 640px) {
  .header-actions .socials .social { width: 38px; height: 38px; }
}
.contact-form { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-tile); padding: 32px; display: grid; gap: 16px; }
.form-status { font-size: 14px; min-height: 1em; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger-dark); }
.form-status.is-ok { color: var(--ok-dark); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger-dark) !important; }
.hp { position: absolute; left: -9999px; }

/* ---------- Pied de page ---------- */
.site-footer { background: #121212; color: var(--body); border-top: 1px solid var(--line); }
.footer-inner { padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; font-size: 14px; }
.footer-inner img { width: 150px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-inner a { text-decoration: none; transition: color var(--ease); }
.footer-inner a:hover { color: var(--blanc); }

/* ---------- Panier ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); z-index: 60; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 61;
  background: var(--surface); color: var(--text); display: flex; flex-direction: column; border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .28s ease; visibility: hidden;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; font-weight: 800; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); }
.cart-total strong { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.cart-note { font-size: 12.5px; color: var(--body); }
.cart-empty { text-align: center; padding: 48px 12px; color: var(--body); display: grid; gap: 14px; justify-items: center; }
.cart-empty .ring { width: 72px; height: 72px; border-radius: 50%; border: 1px dashed var(--line-strong); }
.cart-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line .thumb .badge-svg, .cart-line .thumb img { width: 64px; height: 64px; border-radius: 50%; }
.cart-line h3 { font-size: 15px; font-weight: 800; line-height: 1.25; }
.cart-line .opts { font-size: 12.5px; color: var(--body); }
.cart-line .line-price { font-family: var(--font-display); font-weight: 800; font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; display: grid; gap: 6px; justify-items: end; }
.cart-line .line-price small { font-weight: 500; font-size: 11.5px; color: var(--body); }
.cart-line .qty { margin-top: 8px; }
.cart-line .qty button { width: 30px; height: 30px; font-size: 15px; }
.cart-line .qty input { width: 48px; padding: 4px !important; font-size: 14px; }
.remove { background: none; border: 0; color: var(--body); font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 0; }

/* ---------- Fenêtre de commande ---------- */
.modal { border: 1px solid var(--line); border-radius: var(--radius-tile); padding: 0; width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); color: var(--text); background: var(--surface); }
.modal::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); }
.modal-inner { padding: 28px; display: grid; gap: 16px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-head h2 { font-size: 24px; font-weight: 900; }
.recap { background: var(--abyss); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; display: grid; gap: 4px; }
.recap div { display: flex; justify-content: space-between; gap: 12px; }
.recap small { color: var(--body); }
.recap .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; font-weight: 700; }
.secure-note { font-size: 13.5px; color: var(--body); }
.pay-methods { font-size: 12px; color: var(--fog); text-align: center; }
.delivery-choice { border: 0; margin: 0; padding: 0; }
.delivery-choice legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
#delivery-options { display: grid; gap: 8px; }
.delivery-option { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-ctl); cursor: pointer; transition: border-color .2s, background .2s; }
.delivery-option:has(input:checked) { border-color: var(--cyan); background: rgba(82, 200, 242, .08); }
.delivery-option input { accent-color: var(--cyan); flex: none; }
.delivery-option span { display: grid; gap: 2px; flex: 1; }
.delivery-option small { font-size: 13px; color: var(--body); }
.delivery-option em { font-style: normal; font-weight: 700; white-space: nowrap; }
.cash-note { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--body); }
.cash-note strong { color: var(--text); }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--blanc); color: var(--anthracite); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  z-index: 80; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Page de remerciement ---------- */
.thanks-page { background: var(--canvas); color: var(--text); min-height: 100vh; }
.thanks { padding-block: 48px; display: grid; gap: 48px; justify-items: center; }
.thanks-logo img { width: 200px; }
.thanks-card { max-width: 620px; display: grid; gap: 20px; justify-items: center; text-align: center; color: var(--body); }
.thanks-card h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 900; line-height: .98; letter-spacing: -.02em; color: var(--text); }
.thanks-card .hero-ctas { justify-content: center; }
.thanks-check { width: 72px; height: 72px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; }
.thanks-check svg { width: 36px; height: 36px; fill: none; stroke: var(--anthracite); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thanks-ref { font-size: 15px; }
.thanks-ref strong { color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* ---------- Responsive ---------- */
/* Pagination de la boutique */
.pager { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.pager-pages { display: flex; gap: 6px; }
.pager-btn, .pager-num {
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; border-radius: 999px;
  transition: background-color var(--ease), border-color var(--ease);
}
.pager-btn { padding: 10px 18px; }
.pager-num { width: 42px; height: 42px; }
.pager-btn:hover:not(:disabled), .pager-num:hover { background: rgba(255, 255, 255, .1); }
.pager-num.is-active { background: var(--blanc); color: var(--anthracite); border-color: var(--blanc); }
.pager-btn:disabled { opacity: .35; cursor: default; }
.pager-info { flex-basis: 100%; text-align: center; font-size: 13px; color: var(--body); }
@media (max-width: 640px) {
  .pager-btn { padding: 9px 14px; font-size: 13px; }
  .pager-num { width: 38px; height: 38px; }
}

/* Grands écrans : 5 badges par ligne pour garder des cartes de taille raisonnable */
@media (min-width: 1560px) {
  .products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .main-nav {
    position: absolute; top: calc(var(--header-h) + 8px); left: 0; right: 0; flex-direction: column; gap: 4px;
    background: rgba(24, 26, 29, .96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--line-strong); border-radius: 20px;
    padding: 10px;
    display: none;
  }
  .header-inner { padding-left: 16px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 16px; font-size: 15px; }
  .menu-btn { display: flex; }
  .hero-inner { padding-block: calc(var(--header-h) + 64px) 40px; }
  .hero-visual .hb1 { width: 26%; left: 2%; }
  .hero-visual .hb2 { width: 19%; left: 26%; }
  .hero-visual .hb3 { width: 21%; right: 22%; }
  .hero-visual .hb4 { width: 25%; right: 1%; }
  .studio { grid-template-columns: 1fr; }
  .studio-preview { position: static; }
  .preview-stage { max-width: 480px; width: 100%; justify-self: center; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 32px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .method { grid-template-columns: 1fr; padding: 40px 32px; }
  .method-intro { position: static; }
}
@media (max-width: 640px) {
  .section { padding-block: 48px 72px; }
  .section-head { margin-bottom: 40px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product { padding: 10px 10px 14px; gap: 10px; }
  .product-new { top: 18px; left: 18px; }
  .product-meta { flex-direction: column; gap: 2px; }
  .product-buy { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; gap: 16px; }
  .row-2 { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { padding: 48px 24px; }
  .contact-form { padding: 22px; }
  .chip span { display: none; }
  .service { padding: 28px 24px; }
  .pill-label { font-size: 10px; letter-spacing: .14em; padding: 8px 14px; }
  .hide-sm { display: none; }
  .cta-band::after { width: 110px; height: 110px; right: -50px; top: -70px; }
}
@media (max-width: 340px) {
  .products { grid-template-columns: 1fr; }
}

/* =====================================================================
 * Couche « moderne » : lumière, dégradés de la charte, verre et mouvement.
 * Tous les dégradés restent dans la famille anthracite → bleu profond → cyan → bleu ciel.
 * ===================================================================== */
:root {
  --grad-brand: linear-gradient(120deg, var(--ciel) 0%, var(--cyan) 45%, #2FA6DA 100%);
  --grad-text: linear-gradient(100deg, #E8F7FE 0%, var(--ciel) 35%, var(--cyan) 70%, #3DB4E6 100%);
  --glow: 0 10px 40px rgba(82, 200, 242, .35);
}

/* Grain très léger sur toute la page : casse l'aspect « aplat numérique » des dégradés */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Texte en dégradé de marque */
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-right: .04em;
}

/* Boutons : dégradé cyan, halo au survol */
.btn-primary { background: var(--grad-brand); background-size: 160% 100%; background-position: 0% 50%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); transition: background-position .4s ease, box-shadow var(--ease); }
.btn-primary:hover { background: var(--grad-brand); background-size: 160% 100%; background-position: 100% 50%; box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- Aurore du hero ---------- */
.aurora { position: absolute; inset: -20% -10% 30%; pointer-events: none; opacity: .6; }
.aurora i { will-change: translate; }
.aurora i { position: absolute; border-radius: 50%; display: block; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 4%; top: 10%; background: radial-gradient(circle, rgba(14, 110, 148, .9), transparent 65%); }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: 2%; top: 0; background: radial-gradient(circle, rgba(82, 200, 242, .55), transparent 65%); }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 38%; top: 34%; background: radial-gradient(circle, rgba(136, 210, 245, .35), transparent 65%); }
@media (prefers-reduced-motion: no-preference) {
  .aurora i:nth-child(1) { animation: drift1 18s ease-in-out infinite alternate; }
  .aurora i:nth-child(2) { animation: drift2 22s ease-in-out infinite alternate; }
  .aurora i:nth-child(3) { animation: drift3 16s ease-in-out infinite alternate; }
}
@keyframes drift1 { to { translate: 12vw 6vw; } }
@keyframes drift2 { to { translate: -10vw 8vw; } }
@keyframes drift3 { to { translate: -8vw -6vw; scale: 1.2; } }

.hero h1 { text-shadow: 0 2px 40px rgba(0, 0, 0, .3); }
.hero .pill-label { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Un seul fond pour tout le hero : la lueur bleue monte de l'horizon et se dissout vers le titre et vers le bas,
   sans aucune ligne de séparation entre le texte, l'horizon et les arguments. */
.hero {
  background:
    radial-gradient(ellipse 85% 42% at 50% 74%, rgba(42, 141, 183, .85) 0%, rgba(14, 110, 148, .6) 32%, rgba(15, 74, 102, .3) 58%, transparent 82%),
    var(--canvas);
}
.hero-horizon { background: none; overflow: visible; }
.hero-sun {
  -webkit-mask-image: linear-gradient(to bottom, #000 18%, transparent 47%);
  mask-image: linear-gradient(to bottom, #000 18%, transparent 47%);
}
.hero-horizon::before {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 55%;
  background-image:
    linear-gradient(rgba(136, 210, 245, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 210, 245, .22) 1px, transparent 1px);
  background-size: 64px 40px;
  transform: perspective(420px) rotateX(58deg); transform-origin: bottom;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 100%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 90% at 50% 100%, #000 10%, transparent 75%);
}
.hero-sun {
  background: radial-gradient(circle at 50% 28%, #E4F6FE 0%, var(--ciel) 38%, var(--cyan) 72%, #2E9FD0 100%);
  box-shadow: 0 0 80px 20px rgba(136, 210, 245, .45), 0 0 220px 80px rgba(82, 200, 242, .25);
}

.hero-points { position: relative; }
.hero-points { z-index: 1; }

/* ---------- Bandeau défilant ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--abyss); padding-block: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 0; }
.marquee span {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.01em; white-space: nowrap;
  display: inline-flex; align-items: center; color: var(--text);
  /* Même écart de part et d'autre de chaque rond : texte · 40 px · rond · 40 px · texte suivant */
  gap: 40px; padding-right: 40px;
}
.marquee span:nth-child(even) { color: var(--ciel); }
.marquee span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Halo lumineux derrière les titres de section ---------- */
.section { position: relative; overflow: clip; }
.section-head { position: relative; isolation: isolate; }
.section-head::before {
  content: ""; position: absolute; left: 50%; top: 40%; width: min(720px, 90vw); height: 320px; translate: -50% -50%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(82, 200, 242, .14), transparent 65%);
  pointer-events: none;
}
.section-head > * { position: relative; }

/* ---------- Cartes : bordure dégradée + halo qui suit le curseur ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(82, 200, 242, .14), transparent 45%);
  transition: opacity .3s ease;
}
.spot:hover::before { opacity: 1; }
.spot::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(136, 210, 245, .7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.spot:hover::after { opacity: 1; }

.product { background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)) , var(--surface); }
.product-visual { background: radial-gradient(circle at 50% 40%, #2C3238 0%, var(--abyss) 75%); }
.product-new { background: var(--grad-brand); }

/* ---------- Personnalisateur ---------- */
.preview-stage { background: radial-gradient(circle at 50% 45%, #22313A 0%, #161819 60%, #101112 100%); }
.preview-stage::after {
  content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(82, 200, 242, .22) 60deg, transparent 140deg, rgba(136, 210, 245, .16) 220deg, transparent 300deg);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  will-change: rotate;
}
@media (prefers-reduced-motion: no-preference) {
  .preview-stage::after { animation: spin 14s linear infinite; }
}
@keyframes spin { to { rotate: 360deg; } }
.preview-badge { z-index: 1; }
.ctrl { background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)), var(--surface); }
.chip[aria-pressed="true"] { background: linear-gradient(135deg, rgba(136, 210, 245, .16), rgba(82, 200, 242, .06)); box-shadow: 0 0 0 1px var(--cyan), 0 8px 24px rgba(82, 200, 242, .15); }
.order-box { background: linear-gradient(160deg, #FFFFFF 0%, #F2F9FD 100%); box-shadow: 0 20px 60px rgba(14, 110, 148, .25); }
.price-total { background: linear-gradient(100deg, var(--anthracite), var(--profond)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Services en grille « bento » ---------- */
.services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service { position: relative; overflow: hidden; isolation: isolate; }
.service:nth-child(1) { grid-column: span 2; }
.service:nth-child(4) { grid-column: span 2; }
/* Bulle décorative cantonnée au coin, au-dessus de la zone de texte */
.service::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -70px; top: -100px; z-index: -1;
  background: rgba(255, 255, 255, .22);
}
.tile-cyan { background: linear-gradient(135deg, #7BD8F7 0%, var(--cyan) 45%, #2FA6DA 100%); }
.tile-ciel { background: linear-gradient(160deg, #C4EAFB 0%, var(--ciel) 60%, #6CC3EE 100%); }
.tile-profond { background: linear-gradient(150deg, #138BBB 0%, var(--profond) 50%, #0A4A66 100%); }
.tile-profond::after { background: rgba(136, 210, 245, .18); }
.tile-graphite { background: radial-gradient(circle at 85% 0%, rgba(82, 200, 242, .28), transparent 50%), linear-gradient(160deg, #31363C, #1F2226); border: 1px solid var(--line-strong); }
.tile-graphite::after { background: var(--ciel); width: 110px; height: 110px; right: -30px; top: -50px; }
@media (prefers-reduced-motion: no-preference) {
  .service { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
  .service:hover { transform: translateY(-4px); }
}


.cta-band {
  background:
    radial-gradient(circle at 15% 120%, rgba(82, 200, 242, .45), transparent 45%),
    radial-gradient(circle at 90% -20%, rgba(14, 110, 148, .7), transparent 50%),
    linear-gradient(160deg, #22272C, #16191C);
}
.cta-band::after { background: radial-gradient(circle at 35% 30%, #E4F6FE, var(--ciel) 45%, var(--cyan)); box-shadow: 0 0 80px rgba(136, 210, 245, .45); }

.contact-form { background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)), var(--surface); }


/* ---------- Apparition au défilement (navigateurs compatibles, sans masquer le contenu ailleurs) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head, .product, .service, .method, .cta-band, .ctrl, .contact-form, .contact-info {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 36px; } }

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(1), .service:nth-child(4) { grid-column: auto; }
  .aurora { opacity: .45; }
}

/* =====================================================================
 * Hero compact en deux colonnes : le texte à gauche, la grappe de badges à droite.
 * Tout tient dans le premier écran, la boutique arrive juste après.
 * ===================================================================== */
.hero {
  background:
    radial-gradient(ellipse 45% 60% at 74% 56%, rgba(42, 141, 183, .7) 0%, rgba(14, 110, 148, .45) 35%, rgba(15, 74, 102, .2) 60%, transparent 80%),
    var(--canvas);
}
.hero-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 40px;
  justify-items: stretch; text-align: left;
  padding-block: calc(var(--header-h) + 64px) 72px;
  min-height: min(760px, 100svh);
}
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 { font-size: clamp(42px, 6.2vw, 84px); max-width: 11ch; }
.hero-lead { max-width: 500px; }
.hero-ctas { justify-content: flex-start; }

.hero-points {
  list-style: none; margin: 8px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, auto); gap: 28px; justify-content: start;
}
.hero-points li { text-align: left; gap: 2px; font-size: 13px; }
.hero-points strong { font-size: 14px; }

.hero-horizon { height: auto; aspect-ratio: 1; width: 100%; max-width: 540px; justify-self: end; overflow: visible; }
.hero-horizon::before { display: none; }
.hero-sun {
  left: 50%; top: 50%; bottom: auto; translate: -50% -50%; width: 62%;
  -webkit-mask-image: none; mask-image: none;
}
.hero-visual { max-width: none; }
.hero-visual .hb1 { width: 44%; left: 0; top: 10%; rotate: -10deg; }
.hero-visual .hb2 { width: 30%; left: 12%; top: auto; bottom: 2%; rotate: 8deg; }
.hero-visual .hb3 { width: 34%; right: 4%; left: auto; top: 0; rotate: -5deg; }
.hero-visual .hb4 { width: 40%; right: 0; left: auto; top: auto; bottom: 10%; rotate: 12deg; }

@media (max-width: 900px) {
  .hero {
    background:
      radial-gradient(ellipse 80% 40% at 50% 78%, rgba(42, 141, 183, .65) 0%, rgba(14, 110, 148, .4) 35%, transparent 75%),
      var(--canvas);
  }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; min-height: 0; padding-block: calc(var(--header-h) + 48px) 48px; }
  .hero-copy { justify-items: center; }
  .hero-ctas { justify-content: center; }
  .hero-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; justify-content: stretch; width: 100%; }
  .hero-points li { text-align: center; }
  /* Sur mobile, les badges forment un bandeau bas et large plutôt qu'un carré */
  .hero-horizon { justify-self: center; max-width: 440px; aspect-ratio: 1.7; }
  .hero-sun { width: 44%; }
  .hero-visual .hb1 { width: 30%; left: 2%; top: 12%; }
  .hero-visual .hb2 { width: 20%; left: 28%; bottom: 0; }
  .hero-visual .hb3 { width: 22%; right: 26%; top: 0; }
  .hero-visual .hb4 { width: 28%; right: 1%; bottom: 8%; }
}
/* =====================================================================
 * Personnalisateur 56 mm : motifs, polices, onglets de texte, grille tarifaire
 * ===================================================================== */
.product .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; line-height: 1.15; }
.product .price small { font-size: 11px; font-weight: 500; color: var(--body); }
/* Photo de badge : fichier d'impression 66 mm recadré sur la face visible de 56 mm (66 / 56 = 1,179),
   avec un léger reflet pour évoquer le badge brillant */
.photo-face { display: block; position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.photo-face img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.179); border-radius: 0 !important; filter: none !important; }
.photo-face::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .14) 100%);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .14);
}
.product-visual .photo-face, .hero-visual .hb .photo-face { filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .45)); }
.cart-line .thumb .photo-face { width: 64px; height: 64px; }

/* Le bouton est toujours collé en bas de la carte : alignés d'une carte à l'autre, quelle que soit la longueur du nom */
.product .btn-block { padding: 11px 16px; font-size: 13.5px; margin-top: auto; }

.field output { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 6px; }
.field-inline { grid-template-columns: 1fr 120px; align-items: center; }
.swatch-row.small .sw { width: 28px; height: 28px; }

.patterns { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.pat {
  display: grid; gap: 6px; justify-items: center; padding: 8px 4px 6px; cursor: pointer;
  background: var(--abyss); border: 1px solid var(--line-strong); border-radius: var(--radius-ctl); color: var(--body);
  font-size: 11px; font-weight: 500; transition: border-color var(--ease), color var(--ease);
}
.pat .badge-svg { width: 38px; height: 38px; border-radius: 50%; }
.pat:hover { border-color: rgba(255, 255, 255, .35); color: var(--text); }
.pat[aria-checked="true"] { border-color: var(--cyan); color: var(--text); box-shadow: 0 0 0 1px var(--cyan); }

.fonts { display: flex; flex-wrap: wrap; gap: 6px; }
.font-opt {
  padding: 8px 12px; cursor: pointer; font-size: 15px; line-height: 1.2;
  background: var(--abyss); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text);
  transition: border-color var(--ease), background-color var(--ease);
}
.font-opt:hover { border-color: rgba(255, 255, 255, .35); }
.font-opt[aria-checked="true"] { border-color: var(--cyan); background: rgba(82, 200, 242, .12); }

.tabs { display: inline-flex; background: var(--abyss); border: 1px solid var(--line); border-radius: 999px; padding: 4px; justify-self: start; }
.tab { border: 0; background: transparent; color: var(--body); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 13px; transition: background-color var(--ease), color var(--ease); }
.tab.is-active { background: var(--blanc); color: var(--anthracite); }
.tab-panel { display: grid; gap: 14px; }

.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text); }
.switch small { color: var(--body); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 38px; height: 22px; border-radius: 999px; background: var(--hover); position: relative; flex: none; transition: background-color var(--ease); }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--blanc); transition: translate var(--ease); }
.switch input:checked + .switch-ui { background: var(--cyan); }
.switch input:checked + .switch-ui::after { translate: 16px 0; }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--cyan); outline-offset: 2px; }
/* Fond perdu : explication et contrôle */
.bleed-info { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: var(--radius-ctl); background: var(--abyss); border: 1px solid var(--line-strong); }
.bleed-info svg { width: 84px; height: 84px; }
.bleed-info div { display: grid; gap: 6px; font-size: 13.5px; color: var(--body); line-height: 1.5; }
.bleed-info strong { color: var(--text); }
/* Rappel : création sur mesure ou aide */
.help-card {
  margin-top: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 24px; align-items: center;
  padding: 24px 28px; border-radius: var(--radius-tile); border: 1px solid rgba(136, 210, 245, .28);
  background: radial-gradient(circle at 0% 0%, rgba(82, 200, 242, .16), transparent 55%), var(--surface);
}
.help-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; }
.help-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--anthracite); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.help-text { display: grid; gap: 6px; }
.help-text h3 { font-size: 20px; font-weight: 800; line-height: 1.25; }
.help-text p { color: var(--body); font-size: 15px; max-width: 64ch; }
@media (max-width: 900px) {
  .help-card { grid-template-columns: auto minmax(0, 1fr); }
  .help-card .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 520px) {
  .help-card { grid-template-columns: 1fr; padding: 22px; }
  .help-card .btn { justify-self: stretch; }
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.image-actions { display: flex; align-items: center; gap: 14px; }
.bleed-status { font-size: 13.5px; padding: 10px 12px 10px 36px; border-radius: var(--radius-ctl); position: relative; line-height: 1.45; }
.bleed-status::before { position: absolute; left: 12px; top: 9px; font-weight: 800; }
.bleed-status.is-ok { background: rgba(98, 214, 160, .1); color: var(--ok-dark); }
.bleed-status.is-ok::before { content: "✓"; }
.bleed-status.is-warn { background: rgba(255, 138, 132, .1); color: var(--danger-dark); }
.bleed-status.is-warn::before { content: "!"; }
@media (max-width: 520px) { .bleed-info { grid-template-columns: 1fr; justify-items: center; } }

.tabs { flex-wrap: wrap; }
.tab-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--cyan); color: var(--anthracite); font-size: 11px; font-weight: 800; }
.panel-hint { font-size: 13.5px; color: var(--body); }
.extras { display: grid; gap: 10px; }
.extra { display: grid; gap: 12px; padding: 14px; border-radius: var(--radius-ctl); background: var(--abyss); border: 1px solid var(--line-strong); transition: border-color var(--ease); }
.extra.is-focus { border-color: var(--cyan); }
.extra-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.extra-num { width: 26px; height: 26px; border-radius: 50%; background: var(--ciel); color: var(--anthracite); font-family: var(--font-display); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.extra-top input { width: 100%; border-radius: var(--radius-ctl); padding: 10px 12px; font-size: 15px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); }
.extra-top input:focus { border-color: var(--ciel); outline: none; }
.extra-remove { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--body); cursor: pointer; transition: background-color var(--ease), color var(--ease); }
.extra-remove:hover { background: rgba(229, 72, 77, .15); color: var(--danger-dark); }
.extra .field select, .extra .field input[type="color"] { background: var(--surface); }
.add-extra {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; cursor: pointer;
  border: 1px dashed rgba(255, 255, 255, .3); border-radius: var(--radius-ctl); background: transparent; color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; transition: border-color var(--ease), background-color var(--ease);
}
.add-extra span { width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); color: var(--anthracite); display: grid; place-items: center; font-size: 16px; }
.add-extra:hover { border-color: var(--cyan); background: rgba(82, 200, 242, .06); }
.preview-badge [data-extra], .preview-badge [data-middle] { cursor: move; }
.text-outline { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }

.order-spec { font-size: 13.5px; color: var(--ardoise); }
.order-spec strong { color: var(--anthracite); }
.tier-hint { font-size: 13.5px; color: var(--profond); font-weight: 600; }

/* Grille tarifaire */
.pricing { margin-top: 32px; display: grid; gap: 20px; }
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; }
.pricing-head h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; letter-spacing: -.015em; }
.pricing-head p { color: var(--body); font-size: 15px; max-width: 520px; }
.pricing-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.price-tier {
  display: grid; gap: 6px; align-content: start; text-align: left; cursor: pointer; padding: 18px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
  transition: border-color var(--ease), transform var(--ease);
}
.price-tier:hover { border-color: rgba(255, 255, 255, .3); }
.pt-range { font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--body); }
.pt-price { font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pt-price small { font-size: 13px; font-weight: 500; color: var(--body); }
.pt-save { font-size: 12.5px; color: var(--ciel); }
.price-tier[aria-pressed="true"] { border-color: var(--cyan); background: linear-gradient(160deg, rgba(136, 210, 245, .18), rgba(82, 200, 242, .05)), var(--surface); box-shadow: 0 0 0 1px var(--cyan), 0 12px 32px rgba(82, 200, 242, .15); }
@media (max-width: 1080px) { .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pt-price { font-size: 24px; } }

/* =====================================================================
 * Réalisations : grille de projets et fenêtre de détail
 * ===================================================================== */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.work {
  position: relative; display: block; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: var(--surface); color: var(--text); text-align: left; aspect-ratio: 4 / 3;
  isolation: isolate;
}
/* Le premier projet est mis en avant sur deux colonnes et deux rangées */
.works .work:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* Filtre avec 1 ou 2 projets : sans voisins, la grande carte n'a plus de hauteur, on la dimensionne elle-même */
.works[data-count="1"] .work:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 2 / 1; }
.works[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.works[data-count="2"] .work:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
@media (max-width: 640px) {
  .works[data-count="1"] .work:first-child, .works[data-count="2"] .work { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
.work-visual { position: absolute; inset: 0; z-index: -1; }
.work-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.work:hover .work-visual img { transform: scale(1.05); }
.work::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(10, 12, 14, .85) 100%); }
.work-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: grid; gap: 3px; }
.work-caption strong { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.2; }
.works .work:first-child .work-caption strong { font-size: clamp(22px, 2.6vw, 30px); }
.work-caption span { font-size: 13px; color: #C9D0D7; }
.work-tag, .work-example {
  position: absolute; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .06em;
  background: rgba(20, 22, 25, .6); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.work-tag { left: 14px; }
.work-tag svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.work-example { right: 14px; color: #FFE066; border-color: rgba(255, 224, 102, .35); }
.work:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .work { transition: border-color var(--ease), transform .4s cubic-bezier(.2, .8, .2, 1); }
  .work:hover { transform: translateY(-3px); border-color: rgba(136, 210, 245, .45); }
}

/* Badge de réalisation : affiché entier, centré sur un fond lumineux */
.photo-face.is-full img { transform: none; }
.work-badge {
  width: 100%; height: 100%; display: grid; place-items: center; padding: 8% 10% 22%;
  background: radial-gradient(circle at 50% 40%, rgba(136, 210, 245, .28), transparent 60%), linear-gradient(160deg, #2A3036, #181A1D);
}
.work-badge .photo-face { width: auto; height: 100%; max-width: 100%; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .45)); }
.work-main .work-badge { padding: 8%; }

/* Visuel provisoire tant qu'aucune photo n'est ajoutée */
.work-ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; position: relative; overflow: hidden; color: rgba(255, 255, 255, .9); }
.work-ph svg { width: 22%; max-width: 84px; height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.work-ph span { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.work-ph::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -18%; top: -25%; background: rgba(255, 255, 255, .14); }
.work-ph-badges { background: linear-gradient(135deg, #7BD8F7, var(--cyan) 45%, #2FA6DA); color: var(--anthracite); }
.work-ph-badges span { color: rgba(30, 30, 30, .7); }
.work-ph-graphisme { background: linear-gradient(150deg, #138BBB, var(--profond) 50%, #0A4A66); }
.work-ph-goodies { background: radial-gradient(circle at 85% 0%, rgba(82, 200, 242, .35), transparent 55%), linear-gradient(160deg, #31363C, #1F2226); }

/* Fenêtre de détail */
.work-modal { width: min(980px, calc(100% - 32px)); }
.work-modal-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.work-gallery { background: var(--abyss); display: grid; gap: 8px; align-content: start; padding: 12px; }
.work-main { aspect-ratio: 4 / 3; border-radius: var(--radius-ctl); overflow: hidden; }
.work-main img { width: 100%; height: 100%; object-fit: cover; }
.work-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.work-thumb { flex: none; width: 72px; aspect-ratio: 4 / 3; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: none; opacity: .6; transition: opacity var(--ease), border-color var(--ease); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-thumb.is-active, .work-thumb:hover { opacity: 1; border-color: var(--cyan); }
.work-info { padding: 26px 28px; display: grid; gap: 14px; align-content: start; }
.work-type { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ciel); }
.work-type svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.work-info h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; letter-spacing: -.015em; }
.work-meta { color: var(--body); font-size: 14px; }
.work-text { font-size: 15.5px; line-height: 1.6; color: #D5DCE2; }
.work-info .btn { justify-self: start; margin-top: 6px; }
.work-tasks h3, .work-colors h3 { font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--body); margin-bottom: 8px; }
.work-tasks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.work-tasks li { display: flex; gap: 10px; align-items: baseline; }
.work-tasks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex: none; transform: translateY(-1px); }
.work-swatches { display: flex; gap: 6px; }
.work-swatches span { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-strong); }
/* Dans la fiche, l'image entière est visible (affiches verticales, mugs panoramiques) */
.work-main { background: #0F1113; }
.work-main img { object-fit: contain; }

@media (max-width: 900px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-modal-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .works { grid-template-columns: 1fr; }
  .works .work:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .work-info { padding: 22px; }
  .work-info .btn { justify-self: stretch; }
}

/* Sur téléphone, les trois arguments s'empilent sur une colonne, chacun sur une seule ligne */
@media (max-width: 640px) {
  .hero-points { grid-template-columns: 1fr; gap: 10px; justify-items: center; }
  .hero-points li { display: flex; gap: 6px; align-items: baseline; font-size: 13px; }
  .hero-points strong { font-size: 14px; }
}

/* =====================================================================
 * Téléphone : version compacte (moins de défilement, aperçu du badge toujours visible)
 * ===================================================================== */
@media (max-width: 640px) {
  .section { padding-block: 40px 56px; }
  .section-head { gap: 12px; margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(30px, 9vw, 38px); }
  .section-head p:last-child { font-size: 15.5px; }

  /* Hero */
  .hero-inner { padding-block: calc(var(--header-h) + 36px) 32px; gap: 24px; }
  .hero h1 { font-size: clamp(38px, 11vw, 46px); }
  .hero-lead { font-size: 16px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 140px; }

  /* Boutique : deux badges par ligne, cartes resserrées */
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product { padding: 10px 10px 12px; gap: 10px; border-radius: 16px; }
  .product-visual { padding: 10%; border-radius: 10px; }
  .product h3 { font-size: 14px; }
  .product .cat { font-size: 12px; }
  .product-meta { flex-direction: column; align-items: flex-start; gap: 4px; padding-inline: 2px; }
  .product .price { justify-items: start; font-size: 15px; }
  .product .price small { font-size: 10.5px; }
  .product .btn-block { padding: 9px 10px; font-size: 12.5px; }
  .product-new { top: 16px; left: 16px; font-size: 9px; padding: 3px 7px; }

  /* Personnalisateur : aperçu compact qui reste visible en haut pendant les réglages */
  .studio { gap: 16px; }
  .studio-preview {
    position: sticky; top: calc(var(--header-h) + 18px); z-index: 4;
    grid-template-columns: 1fr; justify-items: center; gap: 10px;
    padding: 10px 10px 12px; border-radius: 20px; background: rgba(22, 22, 22, .92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-strong);
  }
  /* Le badge occupe presque toute sa zone : environ 200 px de diamètre sur un écran de 375 px */
  .preview-stage { width: min(60vw, 230px); border-radius: 16px; }
  .preview-badge { width: 94%; }
  .preview-badge.is-guides { width: 98%; }
  .preview-tools { flex-direction: row; justify-content: center; gap: 8px; }
  .seg { display: inline-flex; border-radius: 999px; }
  .seg-btn { padding: 7px 12px; font-size: 12px; }
  .preview-hint, .legend { display: none !important; }
  .ctrl { padding: 16px; gap: 12px; }
  .patterns { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
  .pat .badge-svg { width: 32px; height: 32px; }
  .bleed-info { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 12px; justify-items: stretch; }
  .bleed-info svg { width: 56px; height: 56px; }
  .bleed-info div { font-size: 12.5px; gap: 4px; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 14px; justify-self: stretch; }
  .tab { padding: 8px 6px; font-size: 12px; border-radius: 10px; }
  .order-box { padding: 18px; }
  .order-actions { flex-direction: column; }
  .order-actions .btn { width: 100%; }
  .price-total { font-size: 28px; }
  .help-card { margin-top: 16px; }

  /* Grille tarifaire : prix sur une ligne, « / badge » en dessous */
  .price-tier { padding: 14px 12px; gap: 4px; }
  .pt-price small { display: block; font-size: 12px; }
  .pt-save { font-size: 11.5px; }

  /* Services : tuiles plus courtes */
  .service { padding: 24px 20px; gap: 12px; }
  .service h3 { margin-top: 8px; font-size: 26px; }
  .service p { font-size: 15px; }
  .service ul { padding-top: 12px; font-size: 13.5px; }
  .service::after { width: 120px; height: 120px; right: -50px; top: -70px; }
  .method { padding: 28px 20px; gap: 28px; }
  .method-intro h3 { font-size: 28px; }
  .method-intro p:last-child { font-size: 15px; }
  .method-steps::before { left: 21px; top: 22px; bottom: 22px; }
  .method-steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 24px; }
  .ms-num { width: 44px; height: 44px; font-size: 14px; box-shadow: 0 0 0 5px var(--surface); }
  .method-steps h4 { font-size: 17px; margin: 10px 0 6px; }
  .method-steps p { font-size: 14px; }
  .cta-band { padding: 36px 20px; gap: 18px; }

  /* Réalisations : deux colonnes, le premier projet en pleine largeur */
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .works .work:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .work { aspect-ratio: 1; border-radius: 16px; }
  .work-caption { padding: 12px; }
  .work-caption strong { font-size: 14px; }
  .work-caption span { font-size: 11.5px; }
  .work-tag, .work-example { top: 10px; padding: 4px 8px; font-size: 10px; }
  .work-tag { left: 10px; }
  .work-example { right: 10px; }
  .works .work:not(:first-child) .work-tag { display: none; }

  /* Réseaux et contact */
  .social-card { padding: 24px 20px; gap: 20px; }
  .social-big { padding: 14px 16px; gap: 12px; }
  .social-big svg { width: 28px; height: 28px; }
  .contact { gap: 28px; }
  .contact-info h2 { font-size: clamp(30px, 9vw, 38px); }
  .contact-list { grid-template-columns: 1fr; gap: 4px; }
  .contact-list dd { margin-bottom: 10px; }

  /* Pied de page */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-inner nav { gap: 8px 16px; }
}
