/* mobile.lagence.click — styles globaux
   Design System L'Agence : nuit, crème, rouge, ciel.
   Sora + Barlow Condensed.
   Angles vifs, panneaux pleins, filets fins, pas d'ombres. */

:root {
  --la-nuit: #160020;
  --la-creme: #F4F0E5;
  --la-rouge: #EE3F50;
  --la-ciel: #96C8E9;
  --font-sans: 'Sora', system-ui, -apple-system, sans-serif;
  --font-cond: 'Barlow Condensed', 'Sora', sans-serif;
  --pad-x: clamp(20px, 5.5vw, 80px);
  --pad-y: clamp(56px, 9vw, 112px);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--la-nuit);
  color: var(--la-creme);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--la-ciel); }

button { border: none; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }

img, svg { display: block; max-width: 100%; }

/* ===== TYPOGRAPHIE ===== */

.kicker {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: clamp(12px, 1.3vw, 15px);
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 800;
  margin: 0 0 32px;
  font-size: clamp(40px, 7.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--la-creme);
}

.hero-lead {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.4;
  color: var(--la-creme);
  opacity: 0.82;
  max-width: 720px;
  margin: 0;
}

.hero-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.45;
  color: var(--la-ciel);
  max-width: 720px;
  margin: 20px 0 0;
}

.section-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--la-creme);
}

.band-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--la-nuit);
}

/* ===== LAYOUT PRIMITIVES ===== */

.folio {
  padding: 18px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--la-creme);
  color: var(--la-nuit);
}

.folio-tag {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
  color: var(--la-nuit);
  opacity: 0.65;
}

.folio-sign {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--la-nuit);
  opacity: 0.65;
}

.folio-sign .heart { color: var(--la-rouge); }

.folio-folio-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--la-rouge);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  color: var(--la-creme);
}

.folio-wordmark {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.26em;
}

.rule-ciel { height: 2px; background: var(--la-ciel); }

/* ===== HERO ===== */

.hero {
  padding: var(--pad-y) var(--pad-x);
  position: relative;
  overflow: hidden;
  background: var(--la-nuit);
}

.hero__lame {
  position: absolute;
  top: 0;
  right: -200px;
  width: 620px;
  height: 100%;
  background: var(--la-ciel);
  transform: skewX(-26deg);
  transform-origin: top right;
  opacity: 0.14;
  pointer-events: none;
}

.hero__symbol {
  position: absolute;
  top: clamp(24px, 4vw, 56px);
  right: clamp(20px, 5vw, 80px);
  width: clamp(42px, 5vw, 60px);
  height: auto;
}

.hero__inner {
  max-width: 1040px;
  position: relative;
}

.hero__kicker-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero__kicker-rule {
  flex: 1;
  min-width: 60px;
  height: 1px;
  background: var(--la-rouge);
  max-width: 220px;
}

.hero-title .accent { color: var(--la-ciel); }

/* ===== FILTRES ===== */

.filters {
  display: flex;
  flex-wrap: wrap;
  background: var(--la-creme);
  color: var(--la-nuit);
}

.filters__band {
  flex: 0 0 320px;
  background: var(--la-ciel);
  color: var(--la-nuit);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.filters__body {
  flex: 1;
  min-width: 0;
  padding: 40px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filters__row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}

.filters__row-label {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 12px;
  color: var(--la-nuit);
  opacity: 0.6;
  min-width: 80px;
}

.filters__row-rule { height: 1px; background: var(--la-nuit); opacity: 0.15; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }

.chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--la-nuit);
  background: transparent;
  color: var(--la-nuit);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.chip:hover { background: var(--la-nuit); color: var(--la-creme); }

.chip[aria-pressed="true"] {
  background: var(--la-nuit);
  color: var(--la-creme);
}

/* ===== GRILLE ===== */

.grid {
  padding: var(--pad-y) var(--pad-x) 48px;
  background: var(--la-nuit);
}

.grid__head { max-width: 980px; margin: 0 auto 64px; }

.grid__head-kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.grid__head-kicker-row .kicker { color: var(--la-rouge); }

.grid__head-rule {
  flex: 1;
  min-width: 60px;
  height: 1px;
  background: var(--la-ciel);
  max-width: 180px;
}

.section-title .accent { color: var(--la-ciel); }

.grid__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 48px);
  max-width: 1280px;
  margin: 0 auto;
}

/* ===== TUILE DÉMO ===== */

.card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  cursor: pointer;
  color: inherit;
}

.card__content {
  padding: 48px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.card__overline {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.7;
}

.card__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}

.card__sep { height: 1px; opacity: 0.2; }

.card__visual {
  flex: 0 0 auto;
  height: 88px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.1;
}

.card__lines { display: flex; flex-direction: column; gap: 7px; margin-top: 2px; }
.card__line { height: 6px; opacity: 0.18; }

.card__cta {
  margin-top: auto;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.card__meta-kicker {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 12px;
  color: var(--la-ciel);
}

.card__badge-admin {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 700;
  color: var(--la-rouge);
  padding: 2px 10px;
  background: var(--la-nuit);
  border: 1px solid var(--la-rouge);
  border-radius: 999px;
}

.card__meta-rule {
  height: 1px;
  background: var(--la-ciel);
  opacity: 0.3;
  margin-bottom: 12px;
}

.card__name {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 26px);
  letter-spacing: -0.015em;
  color: var(--la-creme);
}

.card__blurb {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  color: var(--la-creme);
  opacity: 0.72;
}

/* ===== TÉLÉPHONE ===== */

.phone {
  --r: 40px; --bz: 7px; --sr: 30px;
  position: relative;
  margin: 0 auto;
  flex-shrink: 0;
  width: 232px;
  aspect-ratio: 232/476;
  border-radius: var(--r);
  padding: 3px;
  background: linear-gradient(135deg, #5b5560 0%, #2a2430 22%, #4a4450 50%, #221c28 78%, #55505a 100%);
  transition: outline 0.15s;
}
.phone--fiche { --r: 56px; --bz: 11px; --sr: 42px; width: 340px; aspect-ratio: 340/697; }
.card:hover .phone { outline: 1.5px solid var(--la-rouge); outline-offset: 6px; }

.phone__btn { position: absolute; width: 3px; background: linear-gradient(90deg, #5b5560, #2a2430); border-radius: 2px 0 0 2px; left: -2px; }
.phone__btn--action { top: 17%; height: 4.5%; }
.phone__btn--vol-up { top: 25%; height: 9%; }
.phone__btn--vol-down { top: 36%; height: 9%; }
.phone__btn--power { left: auto; right: -2px; top: 28%; height: 14%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #5b5560, #2a2430); }

.phone__bezel { width: 100%; height: 100%; border-radius: calc(var(--r) - 3px); padding: var(--bz); background: #0b0710; }
.phone__screen { width: 100%; height: 100%; border-radius: var(--sr); overflow: hidden; position: relative; }

.phone__island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 56px; height: 18px; background: #000; border-radius: 999px; z-index: 4; }
.phone__island::after { content: ''; position: absolute; top: 50%; right: 6px; width: 6px; height: 6px; transform: translateY(-50%); border-radius: 999px; background: #1a1730; }
.phone--fiche .phone__island { top: 12px; width: 90px; height: 27px; }
.phone--fiche .phone__island::after { right: 9px; width: 10px; height: 10px; }

.phone__status {
  position: absolute; top: 0; left: 0; right: 0; height: 38px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 18px 0 22px;
  font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif; font-weight: 600; font-size: 11px; letter-spacing: -0.01em;
}
.phone__icons { display: flex; align-items: center; gap: 3px; }
.phone__icons .i-sig { width: 12px; } .phone__icons .i-wifi { width: 11px; } .phone__icons .i-bat { width: 19px; }
.phone--fiche .phone__status { height: 52px; padding: 0 28px 0 32px; font-size: 15px; }
.phone--fiche .phone__icons { gap: 5px; }
.phone--fiche .phone__icons .i-sig { width: 18px; } .phone--fiche .phone__icons .i-wifi { width: 17px; } .phone--fiche .phone__icons .i-bat { width: 27px; }

.phone__home { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 36%; height: 4px; border-radius: 999px; z-index: 3; }
.phone--fiche .phone__home { bottom: 8px; height: 5px; }

/* Site réel affiché dans le téléphone (390 px de large, réduit à l'échelle de l'écran) */
.phone__frame { position: absolute; top: 38px; left: 0; width: 390px; height: 736px; border: 0; transform: scale(0.5436); transform-origin: top left; pointer-events: none; }
.phone--fiche .phone__frame { top: 52px; height: 739px; transform: scale(0.8); pointer-events: auto; }
.phone__safe { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; }
.phone--fiche .phone__safe { height: 26px; }

@media (max-width: 400px) { .phone--fiche { zoom: 0.82; } }

/* ===== FRISE TRIANGLES ===== */

.triangles {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(56px, 8vw, 96px);
}

/* ===== CTA FIN ===== */

.cta {
  padding: var(--pad-y) var(--pad-x);
  background: var(--la-creme);
  color: var(--la-nuit);
  position: relative;
  overflow: hidden;
}

.cta__bulle {
  position: absolute;
  top: 40%;
  right: -80px;
  width: 240px;
  height: 240px;
  background: var(--la-ciel);
  border-radius: 999px 0 0 999px;
  opacity: 0.5;
  pointer-events: none;
}

.cta__inner { position: relative; max-width: 900px; }

.cta__kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta__kicker-row .kicker { color: var(--la-nuit); opacity: 0.65; }

.cta__kicker-rule {
  flex: 1;
  min-width: 60px;
  height: 1px;
  background: var(--la-nuit);
  opacity: 0.3;
  max-width: 180px;
}

.cta__title {
  margin: 0 0 28px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--la-rouge);
  max-width: 820px;
}

.cta__lead {
  margin: 0 0 36px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.45;
  color: var(--la-nuit);
  opacity: 0.82;
  max-width: 640px;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--la-nuit);
  color: var(--la-creme);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.15s;
}

.cta__btn:hover { background: var(--la-rouge); color: var(--la-creme); }

/* ===== PAGE FICHE DÉMO ===== */

.fiche {
  padding: var(--pad-y) var(--pad-x);
  background: var(--la-nuit);
  min-height: 60vh;
}

.fiche__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.fiche__mockup-wrap {
  position: sticky;
  top: 24px;
}

.fiche__content { padding: 64px 24px 30px; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.fiche__overline { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; font-weight: 700; opacity: 0.7; }
.fiche__title { font-family: var(--font-sans); font-weight: 800; font-size: 30px; line-height: 1.02; letter-spacing: -0.015em; }
.fiche__sep { height: 1px; opacity: 0.2; }
.fiche__visual { flex: 0 0 auto; height: 140px; display: flex; align-items: flex-end; padding: 16px; font-weight: 700; font-size: 15px; }
.fiche__lines { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.fiche__line { height: 8px; opacity: 0.18; }
.fiche__inner-cta { margin-top: auto; height: 48px; display: flex; align-items: center; justify-content: center; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.18em; font-size: 13px; font-weight: 700; }

.fiche__info { padding-top: 8px; }

.fiche__kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.fiche__kicker-rule { flex: 1; min-width: 60px; height: 1px; background: var(--la-rouge); max-width: 160px; }

.fiche__name {
  margin: 0 0 24px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--la-creme);
}

.fiche__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.fiche__tag {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 700;
  color: var(--la-ciel);
  padding: 4px 12px;
  border: 1px solid var(--la-ciel);
  border-radius: 999px;
}

.fiche__tag--admin { color: var(--la-rouge); border-color: var(--la-rouge); }

.fiche__long {
  margin: 0 0 40px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--la-creme);
  opacity: 0.85;
  max-width: 580px;
}

.fiche__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.fiche__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--la-rouge);
  color: var(--la-creme);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.15s;
}

.fiche__btn:hover { background: var(--la-ciel); color: var(--la-nuit); }

.fiche__btn--secondary {
  background: transparent;
  color: var(--la-creme);
  border: 1.5px solid var(--la-creme);
}

.fiche__btn--secondary:hover { background: var(--la-creme); color: var(--la-nuit); border-color: var(--la-creme); }

.fiche__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 700;
  color: var(--la-ciel);
}

.fiche__back:hover { color: var(--la-rouge); }

/* ===== RESPONSIVE ===== */

@media (max-width: 1000px) {
  .fiche__inner {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
  .fiche__mockup-wrap { position: static; }
}

@media (max-width: 900px) {
  .filters { flex-direction: column; }
  .filters__band { flex: 1 1 auto; padding: 32px var(--pad-x); }
  .filters__body { padding: 28px var(--pad-x); }
  .hero-lead br, .hero-sub br, .cta__lead br { display: none; }
}

@media (max-width: 640px) {
  .folio { padding: 16px var(--pad-x); gap: 8px; justify-content: flex-start; }
  .folio-tag, .folio-sign { display: none; }
  .grid__head { margin-bottom: 48px; }
  .filters__row { gap: 10px; align-items: flex-start; flex-direction: column; }
  .fiche__actions { flex-direction: column; align-items: stretch; }
  .fiche__btn { justify-content: center; }
}
