/* fx.css — couche visuelle additionnelle, chargée APRÈS theme.css. Thème sombre chaud conservé. */

/* ---------- Hero : texte à gauche, disque stroboscopique à droite ---------- */
.hero.hero-strobe {
  min-height: 0; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px);
  align-items: center; text-align: left; padding: clamp(40px, 7vh, 88px) 24px clamp(48px, 8vh, 96px);
  background: none;
}
.hero-copy { max-width: 31rem; }
.hero-copy .kicker {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.08;
  color: #fff; margin: 0 0 22px; font-variant-numeric: lining-nums;
}
.hero-copy .sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin: 0 0 30px; max-width: 28rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.btn, .btn-ghost {
  display: inline-block; text-decoration: none; font-size: .95rem; padding: 12px 22px; border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s;
}
.btn { background: var(--accent); color: #17130d; font-weight: 600; border: 1px solid var(--accent); }
.btn:hover { background: #d8be97; }
.btn-ghost { color: var(--fg); border: 1px solid #4a4237; }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn:focus-visible, .btn-ghost:focus-visible, .strobe button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.strobe { margin: 0; justify-self: center; width: 100%; max-width: clamp(320px, calc(100vh - 440px), 540px); }
.strobe canvas { display: block; width: 100%; aspect-ratio: 1; }
.strobe .panel { margin-top: 22px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.seg button, .modebtn {
  font: inherit; font-size: .86rem; color: var(--muted); background: transparent; border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.seg button:hover, .modebtn:hover { color: var(--fg); border-color: #4a4237; }
.seg button[aria-checked="true"] { color: #17130d; background: var(--accent); border-color: var(--accent); font-weight: 600; }
.readout { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.readout .pct { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); color: #fff; line-height: 1; font-variant-numeric: lining-nums; min-width: 6.2ch; }
.readout .lbl { color: var(--muted); font-size: .85rem; }
.strobe .note { margin: 10px 0 0; color: #d3ccbd; font-size: .95rem; line-height: 1.6; min-height: 3.2em; }
.strobe .src { margin: 8px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.strobe .src a { color: var(--accent); }
.modebtn { display: inline-flex; align-items: center; gap: 8px; }
.modebtn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4a4237; }
.modebtn[aria-pressed="true"]::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(197,168,128,.2); }
.panel .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero.hero-strobe { grid-template-columns: 1fr; text-align: left; padding-top: 28px; }
  .strobe { max-width: 440px; }
}

/* ---------- Séparateur : règle graduée (remplace le point doré) ---------- */
section::before {
  width: 168px; height: 12px; border-radius: 0; opacity: .75; background:
    repeating-linear-gradient(90deg, var(--accent) 0 1px, transparent 1px 8px) bottom/100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--accent) 0 1px, transparent 1px 40px) bottom/100% 12px no-repeat;
}

/* ---------- Étiquettes de section : plus de capitales espacées ---------- */
h2.section-title {
  text-transform: none; letter-spacing: .02em; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.15rem; color: var(--accent);
}

/* ---------- Cartes produit avec photo ---------- */
.product-card.has-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card.has-photo .ph { aspect-ratio: 4 / 3; overflow: hidden; background: #0f0d0b; }
.product-card.has-photo .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
a.product-card.has-photo:hover .ph img { transform: scale(1.03); }
.product-card.has-photo .body { padding: 26px 30px 30px; }
.product-card .cta { text-decoration: underline; text-underline-offset: 4px; }

/* Mobile : le disque juste après la phrase d'accroche, le reste dessous */
@media (max-width: 900px) {
  .hero-copy { display: contents; }
  .hero-copy .kicker { order: 1; margin-bottom: 4px; }
  .strobe { order: 2; max-width: 440px; }
  .hero-copy .sub { order: 3; margin: 0; }
  .hero-actions { order: 4; }
}

/* ---------- Section Transrotor : texte + photo réelle ---------- */
#transrotor { max-width: 1120px; }
#transrotor .split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
#transrotor .split p.lead { max-width: none; }
#transrotor figure { margin: 0; position: relative; }
#transrotor figure img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--border); }
#transrotor figcaption { margin-top: 12px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { #transrotor .split { grid-template-columns: 1fr; } #transrotor figure { order: -1; } }

/* ---------- La marque : récit en serif, plus éditorial ---------- */
.story p.lead { font-family: var(--serif); font-size: 1.28rem; line-height: 1.75; color: #d9d2c3; max-width: 38rem; }
.story h4.sub-heading { margin-top: 56px; }
.about-link { display: inline-block; margin-top: 30px; color: var(--accent); text-underline-offset: 4px; }

.seg { align-items: center; flex-wrap: nowrap; gap: 6px; }
.seg button { padding: 8px 13px; white-space: nowrap; }
.seg .sep { color: var(--muted); font-size: .8rem; font-style: italic; font-family: var(--serif); margin: 0 2px 0 8px; border-left: 1px solid var(--border); padding-left: 12px; white-space: nowrap; }
@media (max-width: 420px) { .seg { flex-wrap: wrap; } .seg .sep { border-left: 0; padding-left: 0; margin-left: 4px; } }
.readout .lbl { font-size: .82rem; }
.modebtn { padding: 7px 12px; font-size: .82rem; }
.strobe .panel { margin-top: 18px; }

/* ---------- Page Isostase : fonctionnalités en liste dépliable ---------- */
.feat-grid { columns: 2; column-gap: clamp(24px, 4vw, 56px); margin-top: 22px; }
.feat-grid details.feat { break-inside: avoid; }
@media (max-width: 760px) { .feat-grid { columns: 1; } }
details.feat { border-bottom: 1px solid var(--border); }
details.feat > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 17px 2px; transition: color .2s;
}
details.feat > summary::-webkit-details-marker { display: none; }
details.feat > summary h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.28rem; line-height: 1.25; color: var(--fg); font-variant-numeric: lining-nums; }
details.feat > summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  background: linear-gradient(var(--accent), var(--accent)) center/100% 1px no-repeat, linear-gradient(var(--accent), var(--accent)) center/1px 100% no-repeat;
  transition: transform .25s ease;
}
details.feat[open] > summary::after { background: linear-gradient(var(--accent), var(--accent)) center/100% 1px no-repeat; }
details.feat > summary:hover h4 { color: #fff; }
details.feat > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
details.feat > p { margin: 0 0 20px; padding-right: 30px; color: #d3ccbd; font-size: .95rem; line-height: 1.75; max-width: 34rem; }
.feat-tools { display: flex; justify-content: flex-end; margin: 6px 0 -6px; }
.feat-tools button { font: inherit; font-size: .85rem; color: var(--accent); background: none; border: 0; border-bottom: 1px solid rgba(197,168,128,.4); padding: 2px 0; cursor: pointer; }
.feat-tools button:hover { border-bottom-color: var(--accent); }

/* ---------- Galerie : boîtier / carte / disque côte à côte ---------- */
.gallery { display: grid; grid-template-columns: 1.15fr 1.15fr .8fr; gap: 20px; margin-top: 40px; align-items: start; }
.gallery figure.draft { margin: 0; max-width: none; }
.gallery figure.draft.disc img, .gallery figure.draft.disc figcaption { max-width: none; }
.gallery figcaption { font-size: .8rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } .gallery figure.draft.disc img { max-width: 420px; margin: 0 auto; } }
.proto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); margin: 32px 0 40px; align-items: start; }
.proto figure { margin: 0; }
.proto img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--border); }
.proto figcaption { margin-top: 10px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.gallery.two { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 760px) { .proto { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .gallery.two { grid-template-columns: 1fr; } }
.screens { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 2vw, 24px); margin: 28px 0 40px; align-items: start; }
.screens figure { margin: 0; grid-column: span 2; }
.screens figure:nth-child(-n+2) { grid-column: span 3; }
.screens img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--border); }
.screens figcaption { margin-top: 10px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .screens { grid-template-columns: 1fr 1fr; } .screens figure, .screens figure:nth-child(-n+2) { grid-column: auto; } }
@media (max-width: 520px) { .screens { grid-template-columns: 1fr; } }
