/* ============================================================
   QR-NATION.CSS — Page projet QR Nation
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 840px;
  margin-top: 99px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  scale: 1;
  transition: scale 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: scale, translate;
}
.hero-bg::after {
  content: none; /* dégradé hero retiré */
}
#hero.loaded .hero-bg img { scale: 1.08; }
.hero-content {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 64px var(--content-pad) 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0;
}
.hero-line1 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-name span,
.hero-line1 > span {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(52px, 5.2vw, 75px);
  color: var(--white);
  letter-spacing: 0.01em;
  display: block;
  overflow: hidden;
}
.hero-name span em,
.hero-line1 > span em {
  display: block;
  font-style: normal;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
#hero.loaded .hero-name span em,
#hero.loaded .hero-line1 > span em { transform: translateY(0); }
#hero.loaded .hero-name > span:nth-child(2) em {
  transition-delay: 0.12s;
}
.hero-spark {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  flex-shrink: 0;
  opacity: 0;
  animation: sparkPulse 2.8s ease-in-out infinite;
  transition: opacity 0.6s var(--transition) 0.2s;
}
#hero.loaded .hero-spark { opacity: 0.85; }
@keyframes sparkPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%       { transform: scale(1.38) rotate(12deg); }
}
.hero-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--transition) 0.4s, transform 0.6s var(--transition) 0.4s;
  margin-top: 4px;
}
#hero.loaded .hero-subtitle { opacity: 1; transform: translateY(0); }
.hero-desc {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray);
  line-height: 1.75;
  max-width: 420px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--transition) 0.55s, transform 0.6s var(--transition) 0.55s;
}
#hero.loaded .hero-desc { opacity: 1; transform: translateY(0); }
.hero-desc + .hero-desc {
  margin-top: 10px;
  transition: opacity 0.6s var(--transition) 0.65s, transform 0.6s var(--transition) 0.65s;
}

/* Hero CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--transition) 0.75s,
              transform 0.6s var(--transition) 0.75s,
              background var(--transition);
}
#hero.loaded .hero-cta { opacity: 1; transform: translateY(0); }
.hero-cta:hover { background: var(--white); }
.hero-cta svg { flex-shrink: 0; }

/* ── INFO BAR ───────────────────────────────────────────────── */
.info-bar {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}
.info-bar-inner {
  background: #111110;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  padding: 32px 40px;
  gap: 0;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.info-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0 28px;
  flex-shrink: 0;
}
.info-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.info-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  line-height: 1.6;
}
.info-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ── SECTION 01 — LE CONCEPT ────────────────────────────────── */
#le-concept .section-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 0 64px;
}
#le-concept .section-label { grid-column: 1; grid-row: 1; }
#le-concept .section-title { grid-column: 1; grid-row: 2; align-self: start; }
#le-concept .section-desc  {
  grid-column: 1; grid-row: 3;
  align-self: start;
  padding-top: 8px;
}
.projet-cards {
  grid-column: 2;
  grid-row: 1 / 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-self: stretch;
}
.projet-card {
  background: #111110;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.projet-card:hover {
  border-color: rgba(216, 255, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.projet-card-icon {
  color: var(--accent);
  margin-bottom: 4px;
}
.projet-card-icon img { width: 44px; height: 44px; object-fit: contain; }
.projet-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.projet-card-desc {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray);
  line-height: 1.65;
}

/* ── SECTION 02 — COULEURS ──────────────────────────────────── */
#couleurs {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 64px;
  row-gap: 0;
}
#couleurs .section-label { grid-column: 1; grid-row: 1; }
#couleurs .section-title { grid-column: 1; grid-row: 2; align-self: start; }
#couleurs .section-desc  { grid-column: 1; grid-row: 3; align-self: start; padding-top: 8px; }
.couleurs-grid {
  grid-column: 2;
  grid-row: 1 / 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-self: center;
}
.couleur-swatch {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.couleur-tile {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.couleur-hex {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.couleur-desc {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.5;
}

/* ── SECTION 03 — LOGO ──────────────────────────────────────── */
.logo-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-variants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.logo-variant {
  background: #111110;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.logo-variant:hover {
  border-color: rgba(216,255,0,0.25);
  transform: scale(1.02);
}
.logo-variant img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── SECTION 04 — TYPOGRAPHIE ───────────────────────────────── */
.typo-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 56px;
  background: #111110;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.typo-col {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.typo-specimen {
  font-size: clamp(80px, 9vw, 130px);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}
.syne-specimen { font-family: 'Syne', sans-serif; }
.montserrat-specimen { font-family: 'Montserrat', sans-serif; }
.typo-font-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.typo-weights-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--gray);
}
.typo-sep { color: var(--border); }
.typo-font-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.typo-divider-v {
  width: 1px;
  background: var(--border);
}

/* ── SECTIONS PRODUIT & POSTS — HEADER ──────────────────────── */
#produit .section-header,
#posts .section-header {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 48px;
}
#produit .section-header .section-title,
#posts .section-header .section-title { flex-shrink: 0; margin-bottom: 0; }
#produit .section-header .section-desc,
#posts .section-header .section-desc  { flex: 1; }

/* ── CAROUSEL WRAP COMMUN ───────────────────────────────────── */
.shootings-carousel-wrap {
  position: relative;
  overflow: hidden;
}
/* Plus d'air entre le titre et le 1er carousel (Designs + Réseaux/Posts) */
#designs .shootings-carousel-wrap { margin-top: 28px; }
#reseaux #postsWrap { margin-top: 28px; }
/* Vidéos : place verticale pour le lift au hover (sans rogner le haut ni l'ombre) */
#videosWrap { padding: 12px 0 60px; margin-bottom: -48px; }
/* Dégradés latéraux retirés */
.shootings-carousel-wrap::before,
.shootings-carousel-wrap::after { content: none; }
.shootings-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── SECTION 05 — PRODUIT (photos carrées 1:1) ──────────────── */
.shooting-photo {
  flex: 0 0 auto;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: none;
  position: relative;
}
.shooting-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}
.shooting-photo:hover img { transform: scale(1.06); }
.shooting-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(216,255,0,0.0);
  transition: background 0.3s var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shooting-photo:hover .shooting-photo-overlay {
  background: rgba(0,0,0,0.25);
}
.shooting-zoom-icon {
  opacity: 0;
  color: var(--white);
  transform: scale(0.8);
  transition: opacity var(--transition), transform var(--transition);
}
.shooting-photo:hover .shooting-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ── SECTION 06 — POSTS (photos 4/5) ───────────────────────── */
.post-photo {
  flex: 0 0 auto;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: none;
  position: relative;
}
.post-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}
.post-photo:hover img { transform: scale(1.06); }
.post-photo .shooting-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(216,255,0,0.0);
  transition: background 0.3s var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-photo:hover .shooting-photo-overlay {
  background: rgba(0,0,0,0.25);
}
.post-photo:hover .shooting-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ── Hover carousels : outline vert + loupe centrée (clic = agrandir) ── */
.design-card, .post-photo { transition: border-color 0.18s ease; }
.post-photo { border: 2px solid var(--border); }
.design-card:hover, .post-photo:hover { border-color: var(--accent); }
.design-card::after, .post-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    rgba(0,0,0,0.42)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='9' cy='9' r='6' stroke='white' stroke-width='1.5'/%3E%3Cline x1='13.5' y1='13.5' x2='19' y2='19' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='7' y1='9' x2='11' y2='9' stroke='white' stroke-width='1'/%3E%3Cline x1='9' y1='7' x2='9' y2='11' stroke='white' stroke-width='1'/%3E%3C/svg%3E")
    center / 32px 32px no-repeat;
  opacity: 0; transition: opacity 0.18s ease;
}
.design-card:hover::after, .post-photo:hover::after { opacity: 1; }

/* Contrôles carousel communs */
.shootings-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.shootings-nav-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.shootings-nav-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.08);
}
.shootings-nav-btn:hover svg { color: var(--bg); }
.shootings-nav-btn svg {
  width: 12px; height: 12px;
  color: var(--gray);
  transition: color var(--transition);
}
.shootings-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.shootings-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray);
  cursor: none;
  transition: background var(--transition), transform var(--transition);
}
.shootings-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ── CATÉGORIES POSTS ───────────────────────────────────────── */
.posts-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.posts-category {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111110;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.posts-category:hover {
  border-color: rgba(216,255,0,0.3);
  transform: translateY(-2px);
}
.posts-category img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.posts-category span {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

/* ── LIGHTBOX ───────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--transition);
}
#lightbox.is-open { opacity: 1; pointer-events: all; }
.lightbox-img-wrap {
  max-width: min(820px, 92vw);
  max-height: 92vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#lightbox.is-open .lightbox-img-wrap { transform: scale(1); }
.lightbox-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition);
}
.lightbox-close:hover { background: var(--border); border-color: var(--white); }
.lightbox-close svg { width: 16px; height: 16px; }
.lightbox-counter {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.lightbox-nav {
  position: fixed;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  pointer-events: none;
}
.lightbox-nav-btn {
  width: 52px;
  height: 52px;
  background: rgba(13,13,12,0.8);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  cursor: none;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition);
}
.lightbox-nav-btn:hover { background: var(--bg); border-color: var(--accent); color: var(--accent); }
.lightbox-nav-btn svg { width: 18px; height: 18px; }

/* ── SECTION 07 — STORIES ───────────────────────────────────── */
.stories-header {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 48px;
}
.stories-header .section-title { flex-shrink: 0; margin-bottom: 0; }
.stories-header .section-desc  { flex: 1; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
/* Override 2 colonnes pour QR Nation */
.stories-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

/* ── SECTION 07+08 — STORIES & FORMULAIRE CÔTE À CÔTE ──────── */
.stories-ux-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.story-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.story-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}
.story-card:hover .story-ring {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(216, 255, 0, 0.2);
}
.story-oval {
  width: 70%;
  aspect-ratio: 124.5 / 245.5;
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.story-oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}
.story-card:hover .story-oval img { transform: scale(1.05); }
.story-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70%;
  aspect-ratio: 124.5 / 245.5;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(216, 255, 0, 0.5);
  pointer-events: none;
  z-index: 2;
  transition: border-color var(--transition), box-shadow var(--transition);
}
/* Label de story (CONCEPT / HOW TO) */
.story-label {
  position: absolute;
  bottom: 6%; /* centré dans l'espace entre le bas de l'ovale et le bas de la carte */
  left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  z-index: 3;
}
.story-cta {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 3;
}
.story-card:hover .story-cta { opacity: 1; transform: translateY(0); }

/* ── STORY VIEWER ───────────────────────────────────────────── */
#story-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--transition);
}
#story-viewer.is-open {
  opacity: 1;
  pointer-events: all;
}
.story-viewer-frame {
  width: 360px;
  aspect-ratio: 9/16;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #000;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#story-viewer.is-open .story-viewer-frame { transform: scale(1); }
.story-viewer-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-viewer-img.is-hidden { opacity: 0; }
.story-progress-bars {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  z-index: 10;
}
.story-progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}
.story-progress-fill {
  height: 100%;
  background: var(--white);
  width: 0%;
  transition: width linear;
}
.story-progress-bar.done .story-progress-fill { width: 100%; transition: none; }
.story-progress-bar.active .story-progress-fill { width: 0%; }
.story-viewer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 11;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  cursor: none;
  transition: background var(--transition);
}
.story-viewer-close:hover { background: rgba(0,0,0,0.7); }
.story-viewer-close svg { width: 14px; height: 14px; }
.story-viewer-tap-left,
.story-viewer-tap-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  z-index: 9;
}
.story-viewer-tap-left  { left: 0; }
.story-viewer-tap-right { right: 0; }
.story-nav-arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 120px);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 20;
}
.story-nav-btn {
  width: 48px;
  height: 48px;
  background: rgba(13,13,12,0.7);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  cursor: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.story-nav-btn:hover {
  background: var(--bg);
  border-color: var(--accent);
  transform: scale(1.08);
}
.story-nav-btn svg { width: 16px; height: 16px; }

/* ── SECTION 08 — FORMULAIRE / UX ──────────────────────────── */
.ux-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}
.ux-mockup {
  width: 140px;
  flex-shrink: 0;
}
.ux-mockup img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.ux-content {
  display: flex;
  flex-direction: column;
}
.ux-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 0;
}
.ux-card {
  background: #111110;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), transform var(--transition);
}
.ux-card:hover {
  border-color: rgba(216,255,0,0.25);
  transform: translateY(-3px);
}
.ux-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.ux-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.ux-card-desc {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.55;
}

/* ── SECTION 09 — GOOGLE ADS ────────────────────────────────── */
.videos-header {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 48px;
}
.videos-header .section-title { flex-shrink: 0; margin-bottom: 0; }
.videos-header .section-desc  { flex: 1; }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.video-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: none;
  position: relative;
  aspect-ratio: 217 / 386;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.5);
  border-color: rgba(216,255,0,0.25);
}
.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}
.video-card:hover .video-thumb { transform: scale(1.04); }
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.video-card:hover .video-overlay { background: rgba(0,0,0,0.4); }
.video-play-btn {
  width: 56px;
  height: 56px;
  background: rgba(216, 255, 0, 0.15);
  border: 2px solid rgba(216, 255, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.video-card:hover .video-play-btn {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.12);
}
.video-play-btn svg { width: 20px; height: 20px; color: var(--white); }
.video-card:hover .video-play-btn svg { color: var(--bg); }

/* ── VIDEO MODAL ────────────────────────────────────────────── */
#video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--transition);
}
#video-modal.is-open { opacity: 1; pointer-events: all; }
.video-modal-inner {
  width: 360px;
  aspect-ratio: 9/16;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#video-modal.is-open .video-modal-inner { transform: scale(1); }
.video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-modal-close {
  position: fixed;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition);
}
.video-modal-close:hover { background: var(--border); }
.video-modal-close svg { width: 16px; height: 16px; }

/* ── COMPÉTENCES ────────────────────────────────────────────── */
.competences-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}
.competence-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111110;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.competence-pill:hover {
  border-color: rgba(216,255,0,0.3);
  transform: translateY(-2px);
}
.competence-pill img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.competence-pill span {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ── VIDÉOS PLEINE LARGEUR ─────────────────────────────── */
.sl-video {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.sl-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.sl-video--crop video { aspect-ratio: 3 / 1; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLETTE (≤ 1024px)
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Info bar */
  .info-bar-inner { padding: 24px 28px; gap: 0; }
  .info-divider { margin: 0 18px; }
  .info-value { font-size: 12px; }

  /* LE CONCEPT */
  #le-concept .section-inner { gap: 0 48px; }

  /* Logo */
  .logo-inner { grid-template-columns: 240px 1fr; gap: 48px; }

  /* Headers produit + posts */
  #produit .section-header,
  #posts .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  #produit .section-header .section-desc,
  #posts .section-header .section-desc  { max-width: 100%; }

  /* Stories header */
  .stories-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stories-header .section-desc { max-width: 100%; }

  /* Stories + UX side by side */
  .stories-ux-grid { gap: 40px; }
  .stories-grid--2 { grid-template-columns: repeat(2, 1fr); }

  /* UX */
  .ux-inner { gap: 20px; }
  .ux-mockup { width: 120px; }

  /* Videos header */
  .videos-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .videos-header .section-desc { max-width: 100%; }

  /* Videos grid */
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .sl-video--crop video { aspect-ratio: 16 / 9; }

  /* ── HERO ── */
  #hero { max-height: 100svh; margin-top: 72px; }
  .hero-content { padding: 40px var(--content-pad) 0; gap: 10px; }
  .hero-name span,
  .hero-line1 > span { font-size: clamp(40px, 11vw, 56px); }
  .hero-subtitle { font-size: 12px; letter-spacing: 0.08em; }
  .hero-desc { font-size: 13px; max-width: 260px; }
  .hero-spark { padding-top: 0; }
  .hero-spark svg { width: 22px; height: 22px; }
  .hero-cta { font-size: 12px; padding: 11px 20px; margin-top: 4px; }
  .hero-bg img { object-position: 74% 20%; }
  .hero-bg::after {
    background:
      linear-gradient(to right, rgba(13,13,12,0.88) 0%, rgba(13,13,12,0.55) 45%, transparent 75%),
      linear-gradient(to bottom, rgba(13,13,12,0.94) 0%, rgba(13,13,12,0.60) 36%, rgba(13,13,12,0.18) 58%, rgba(13,13,12,0.78) 84%, rgba(13,13,12,1) 100%);
  }

  /* ── INFO BAR ── */
  .info-bar-inner {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
  }
  .info-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  /* ── SECTION 01 — LE CONCEPT ── */
  #le-concept .section-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  #le-concept .section-desc { padding-top: 0; margin-bottom: 32px; }
  .projet-cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .projet-card { padding: 20px 16px 22px; gap: 10px; }
  .projet-card-icon img { width: 32px; height: 32px; }
  .projet-card-title { font-size: 13px; }
  .projet-card-desc  { font-size: 11.5px; }

  /* ── SECTION 02 — COULEURS ── */
  #couleurs { display: flex; flex-direction: column; gap: 0; }
  .couleurs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }

  /* ── SECTION 03 — LOGO ── */
  .logo-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .logo-variants { grid-template-columns: repeat(2, 1fr); }
  .logo-variant { padding: 20px; }

  /* ── SECTION 04 — TYPOGRAPHIE ── */
  .typo-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .typo-divider-v {
    width: 100%;
    height: 1px;
  }
  .typo-col { padding: 32px 24px; gap: 14px; }
  .typo-specimen { font-size: clamp(60px, 18vw, 96px); }

  /* ── SECTION 05 — PRODUIT ── */
  #produit .section-header { margin-bottom: 32px; }
  .shootings-carousel-wrap::before,
  .shootings-carousel-wrap::after { width: 48px; }
  .shootings-controls { margin-top: 24px; gap: 16px; }

  /* ── SECTION 06 — POSTS ── */
  #posts .section-header { margin-bottom: 32px; }
  .posts-categories { gap: 8px; margin-top: 24px; }
  .posts-category { padding: 8px 14px; }
  .posts-category span { font-size: 12px; }

  /* ── SECTION 07+08 — STORIES + UX ── */
  .stories-ux-grid { grid-template-columns: 1fr; gap: 48px; }
  .stories-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .story-cta {
    bottom: 22px;
    opacity: 0.9;
    transform: none;
  }
  .story-label { bottom: 36px; font-size: 10px; }

  /* ── SECTION 08 — FORMULAIRE / UX ── */
  .ux-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .ux-mockup { width: 100%; max-width: 180px; margin: 0 auto; }
  .ux-cards { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .ux-card { padding: 18px 14px; }
  .ux-card img { width: 28px; height: 28px; }
  .ux-card-title { font-size: 12.5px; }
  .ux-card-desc { font-size: 11.5px; }

  /* ── SECTION 09 — GOOGLE ADS ── */
  .videos-header { flex-direction: column; gap: 16px; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* ── COMPÉTENCES ── */
  .competences-grid { gap: 8px; margin-top: 32px; }
  .competence-pill { padding: 10px 16px; gap: 8px; }
  .competence-pill img { width: 20px; height: 20px; }
  .competence-pill span { font-size: 12px; }

  /* ── STORY VIEWER ── */
  .story-viewer-frame { width: min(340px, 92vw); }
  .story-nav-arrows { width: calc(100% + 0px); }
  .story-nav-btn { display: none; }

  /* ── LIGHTBOX ── */
  .lightbox-img-wrap { max-width: 92vw; }
  .lightbox-nav { padding: 0 12px; }
  .lightbox-nav-btn { width: 40px; height: 40px; }
  .lightbox-close { top: 16px; right: 16px; }

  /* ── VIDEO MODAL ── */
  .video-modal-inner { width: min(340px, 92vw); }
  .video-modal-close { top: 16px; right: 16px; }
}

/* ════════════════════════════════════════════════════════════
   SELFLOVE — styles spécifiques (au-dessus de la base QR Nation)
════════════════════════════════════════════════════════════ */
.sl-split { display: grid; grid-template-columns: 300px 1fr; grid-template-rows: auto auto 1fr; column-gap: 56px; }
.sl-split .section-label { grid-column: 1; grid-row: 1; }
.sl-split .section-title { grid-column: 1; grid-row: 2; align-self: start; }
.sl-split .section-desc  { grid-column: 1; grid-row: 3; align-self: start; padding-top: 6px; max-width: 300px; }

/* 01 CONCEPT — 6 features dans un panneau */
.concept-panel {
  grid-column: 2; grid-row: 1 / 4; align-self: center;
  background: #111110; border: 2px solid var(--border); border-radius: var(--radius-md);
  display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
}
.concept-cell {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 34px 22px; border-right: 2px solid var(--border); border-bottom: 2px solid var(--border);
  transition: background var(--transition);
}
.concept-cell:hover { background: rgba(216,255,0,0.04); }
.concept-cell:nth-child(3n) { border-right: none; }
.concept-cell:nth-child(n+4) { border-bottom: none; }
.concept-cell-icon { width: 30px; height: 30px; }
.concept-cell-icon img { width: 100%; height: 100%; object-fit: contain; }
.concept-cell-title { font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: 0.04em; }
.concept-cell-desc { font-size: 12px; color: var(--gray); line-height: 1.5; }

/* En-tête de section générique : description alignée à côté du titre,
   bas du texte aligné sur le bas du titre (systématique sur toute la page) */
.section-header {
  display: flex; align-items: last baseline; gap: 40px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.section-header .section-title { margin-bottom: 0; flex-shrink: 0; }
.section-header .section-desc {
  flex: 1; min-width: 300px; max-width: 560px;
  margin-bottom: 0;
}

/* 02 IDENTITÉ VISUELLE */
.ident-grid { display: grid; grid-template-columns: 470px 1fr; gap: 56px; align-items: center; margin-top: 36px; }
.ident-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ident-swatch { display: flex; flex-direction: column; gap: 10px; }
.ident-tile { width: 100%; aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--border); }
.ident-hex { font-size: 12px; font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
.ident-typos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sl-typo { background: #111110; border: 2px solid var(--border); border-radius: var(--radius-md); padding: 26px 24px; }
.sl-typo-name { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.sl-typo-aa { font-size: 64px; font-weight: 700; color: var(--white); line-height: 1.1; margin: 10px 0 14px; }
.sl-typo-aa.montserrat { font-family: 'Montserrat', sans-serif; }
.sl-typo-aa.nunito { font-family: 'Nunito', sans-serif; }
.sl-typo-desc { font-size: 12.5px; color: var(--gray); line-height: 1.55; }

/* 03 LOGO */
.sl-logo-headrow { display: flex; align-items: last baseline; gap: 40px; flex-wrap: wrap; }
.sl-logo-headrow .section-title { margin-bottom: 0; flex-shrink: 0; }
.sl-logo-headrow .section-desc { flex: 1; min-width: 300px; max-width: 560px; }
.sl-logo-stage {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 40px; align-items: center; margin-top: 48px;
  --logo-half: clamp(140px, 16vw, 210px);
  --conn-gap: 18px;
  --conn-len: clamp(60px, 8vw, 140px);
}
.sl-logo-stage > .sl-logo-side, .sl-logo-stage > .sl-logo-img { position: relative; z-index: 1; }
.sl-logo-img { display: flex; align-items: center; justify-content: center; }
.sl-logo-svg { width: clamp(280px, 32vw, 420px); height: auto; display: block; overflow: visible; }

/* ── Connecteurs pointillés fuchsia : lignes droites depuis l'outline du logo ── */
.sl-conn {
  position: absolute; z-index: 0; height: 4px;
  /* 7 points entiers (112 = 7 × 16px) — dernier point près de l'icône supprimé */
  width: 112px;
  background-image: radial-gradient(circle, #F14298 1.7px, transparent 2.2px);
  background-size: 16px 4px;
  background-repeat: repeat-x;
}
/* gauche : extrémité droite collée au logo (+ marge) ; révélé de droite (logo) vers gauche */
.sl-conn-tl, .sl-conn-bl { right: calc(50% + var(--logo-half) + var(--conn-gap)); background-position: right center; clip-path: inset(0 0 0 100%); }
/* droite : extrémité gauche collée au logo (+ marge) ; révélé de gauche (logo) vers droite */
.sl-conn-tr, .sl-conn-br { left: calc(50% + var(--logo-half) + var(--conn-gap)); background-position: left center; clip-path: inset(0 100% 0 0); }
.sl-conn-tl, .sl-conn-tr { top: 37%; }
.sl-conn-bl, .sl-conn-br { top: 63%; }
/* tracé APRÈS la fin du logo (1.5s), point par point via steps() */
.sl-logo-stage.is-animated .sl-conn-tl,
.sl-logo-stage.is-animated .sl-conn-bl { animation: slConnL 0.63s steps(7) forwards 1.55s; }
.sl-logo-stage.is-animated .sl-conn-tr,
.sl-logo-stage.is-animated .sl-conn-br { animation: slConnR 0.63s steps(7) forwards 1.55s; }
@keyframes slConnL { to { clip-path: inset(0 0 0 0); } }
@keyframes slConnR { to { clip-path: inset(0 0 0 0); } }

/* ── Tracé + remplissage du logo ── */
.sl-logo-svg path { fill: #7939be; }
.sl-logo-stage:not(.is-animated) .sl-logo-svg path {
  fill-opacity: 0;
  stroke: #7939be; stroke-width: 1.4;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.sl-logo-stage.is-animated .sl-logo-svg path {
  stroke: #7939be; stroke-width: 1.4;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: slDraw 1.5s cubic-bezier(0.65,0,0.35,1) forwards;
}
@keyframes slDraw {
  0%   { stroke-dashoffset: 1; fill-opacity: 0; }
  55%  { stroke-dashoffset: 0; fill-opacity: 0; }
  100% { stroke-dashoffset: 0; fill-opacity: 1; stroke-width: 0; }
}
/* Glow animé autour du logo — violet clair, distinct du violet du logo (#7939be) */
.sl-logo-stage.is-animated .sl-logo-img {
  animation: slGlow 3.4s ease-in-out 1.4s infinite;
}
@keyframes slGlow {
  0%,100% { filter: drop-shadow(0 0 16px rgba(138,43,226,0.6)); }
  50%     { filter: drop-shadow(0 0 40px rgba(157,38,245,0.92)); }
}

/* ── Apparition séquencée : logo → lignes → icônes → titre → texte ── */
.sl-logo-stage .sl-logo-feat-icon,
.sl-logo-stage .sl-logo-feat-title,
.sl-logo-stage .sl-logo-feat-desc { opacity: 0; transform: translateY(8px); }
.sl-logo-stage.is-animated .sl-logo-feat-icon  { animation: slFadeUp 0.5s ease forwards 2.2s; }
.sl-logo-stage.is-animated .sl-logo-feat-title { animation: slFadeUp 0.5s ease forwards 2.4s; }
.sl-logo-stage.is-animated .sl-logo-feat-desc  { animation: slFadeUp 0.5s ease forwards 2.6s; }
@keyframes slFadeUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .sl-logo-svg path { fill-opacity: 1 !important; stroke: none !important; }
  .sl-conn { clip-path: none; }
  .sl-logo-stage .sl-logo-feat-icon,
  .sl-logo-stage .sl-logo-feat-title,
  .sl-logo-stage .sl-logo-feat-desc { opacity: 1 !important; transform: none !important; }
  .sl-logo-stage.is-animated .sl-logo-img { animation: none !important; }
}

/* min-width:0 → les colonnes latérales ne s'élargissent pas (padding/nowrap)
   et le logo reste parfaitement centré dans la page */
.sl-logo-side { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
/* Les 2 côtés identiques : icône à gauche, titre + texte à droite, alignés à gauche.
   Côté droit décalé pour démarrer après la fin du pointillé (pas de superposition). */
.sl-logo-side.right { text-align: left; align-items: flex-start; padding-left: var(--conn-len); }
.sl-logo-feat { display: flex; flex-direction: row; align-items: center; gap: 16px; max-width: 320px; }
.sl-logo-feat-text { display: flex; flex-direction: column; gap: 7px; }
.sl-logo-feat-icon { width: 34px; height: 34px; flex-shrink: 0; }
.sl-logo-feat-icon img { width: 100%; height: 100%; object-fit: contain; }
.sl-logo-feat-title { font-size: 13.5px; font-weight: 700; color: var(--white); letter-spacing: 0.04em; white-space: nowrap; }
.sl-logo-feat-desc { font-size: 12px; color: var(--gray); line-height: 1.5; }

/* 04 DESIGNS — carousel */
.design-card { flex: 0 0 auto; aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden; cursor: none; position: relative; background: #111110; border: 2px solid var(--border); }
.design-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--transition); }
.design-card:hover img { transform: scale(1.05); }

/* 05 RÉSEAUX */
.sl-subtitle { font-size: 16px; font-weight: 500; color: var(--white); margin: 0 0 28px; letter-spacing: 0.02em; }
.reseaux-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 56px 0; }
.reseaux-feat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.reseaux-feat-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.reseaux-feat-icon img { width: 100%; height: 100%; object-fit: contain; }
.reseaux-feat-title { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: 0.05em; }
.reseaux-feat-desc { font-size: 11.5px; color: var(--gray); line-height: 1.5; }
.stories-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }

/* VIDÉOS — carte intro dans le carousel */
.video-card.video-intro { background: linear-gradient(160deg, #2a1840, #1a0d2e); display: flex; align-items: center; justify-content: center; padding: 28px; border: 2px solid var(--border); }
.video-intro-text { font-size: 18px; font-weight: 700; color: var(--accent); line-height: 1.4; text-align: center; }

/* 05 SITE INTERNET */
.sl-site-inner { display: grid; grid-template-columns: 290px 1fr; gap: 56px; align-items: center; margin-top: 8px; }
/* Bouton CTA aligné à gauche, largeur contenue, flèche à droite */
.sl-site-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: fit-content; min-width: 240px; background: var(--accent); color: var(--bg); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; padding: 16px 24px; border-radius: 10px; margin: 8px 0 52px; transition: background var(--transition), transform var(--transition); }
.sl-site-cta:hover { background: #e8ff40; transform: translateY(-2px); }
.sl-site-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
/* Features en une seule colonne, icône centrée verticalement + desc 2 lignes */
.sl-site-feats { display: flex; flex-direction: column; gap: 28px; }
.sl-site-feat { display: flex; gap: 16px; align-items: center; }
.sl-site-feat-icon { width: 40px; height: 40px; flex-shrink: 0; }
.sl-site-feat-icon img { width: 100%; height: 100%; object-fit: contain; }
.sl-site-feat-title { font-size: 14.5px; font-weight: 700; color: var(--white); letter-spacing: 0.04em; margin-bottom: 5px; }
.sl-site-feat-desc { font-size: 13px; color: var(--gray); line-height: 1.5; }
.sl-site-mockup { position: relative; }
.sl-site-glow { position: absolute; inset: -10%; background: radial-gradient(ellipse at center, rgba(216,255,0,0.12) 0%, rgba(216,255,0,0) 65%); z-index: 0; pointer-events: none; }
.sl-site-mockup img { position: relative; z-index: 1; width: 100%; height: auto; }

/* 06 PHOTOS PRODUITS */
/* En-tête Photos : description centrée en hauteur + retour à la ligne plus tôt */
#photos .section-header { align-items: center; }
#photos .section-header .section-desc { max-width: 420px; }
.photos-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; margin-top: 36px; }
.photos-feats { display: flex; flex-direction: column; gap: 30px; }
.photos-feat { display: flex; gap: 16px; align-items: center; }
.photos-feat-icon { width: 38px; height: 38px; flex-shrink: 0; }
.photos-feat-icon img { width: 100%; height: 100%; object-fit: contain; }
.photos-feat-title { font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: 0.04em; margin-bottom: 5px; }
.photos-feat-desc { font-size: 13px; color: var(--gray); line-height: 1.5; }
.photos-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* Photos cliquables : outline vert + loupe (clic = agrandir) */
.photos-img-item {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius-md);
  overflow: hidden; border: 2px solid var(--border); cursor: none;
  transition: border-color 0.18s ease;
}
.photos-img-item:hover { border-color: var(--accent); }
.photos-img-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--transition); }
.photos-img-item:hover img { transform: scale(1.06); }
.photos-img-item::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    rgba(0,0,0,0.42)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='9' cy='9' r='6' stroke='white' stroke-width='1.5'/%3E%3Cline x1='13.5' y1='13.5' x2='19' y2='19' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='7' y1='9' x2='11' y2='9' stroke='white' stroke-width='1'/%3E%3Cline x1='9' y1='7' x2='9' y2='11' stroke='white' stroke-width='1'/%3E%3C/svg%3E")
    center / 32px 32px no-repeat;
  opacity: 0; transition: opacity 0.18s ease;
}
.photos-img-item:hover::after { opacity: 1; }

/* RESPONSIVE SELFLOVE */
@media (max-width: 1024px) {
  .sl-split { grid-template-columns: 260px 1fr; column-gap: 40px; }
  .concept-panel { grid-template-columns: repeat(2, 1fr); }
  .concept-cell:nth-child(3n) { border-right: 2px solid var(--border); }
  .concept-cell:nth-child(2n) { border-right: none; }
  .concept-cell:nth-child(n+4) { border-bottom: 2px solid var(--border); }
  .concept-cell:nth-last-child(-n+2) { border-bottom: none; }
  .ident-grid { grid-template-columns: 1fr; gap: 32px; }
  .sl-logo-stage { grid-template-columns: 1fr; gap: 32px; }
  .sl-conn { display: none; } /* layout en colonne : connecteurs masqués */
  .sl-logo-side, .sl-logo-side.right { align-items: flex-start; text-align: left; }
  /* en colonne, le texte des features reste visible même sans JS d'anim */
  .sl-logo-stage .sl-logo-feat-icon,
  .sl-logo-stage .sl-logo-feat-title,
  .sl-logo-stage .sl-logo-feat-desc { opacity: 1; transform: none; animation: none; }
  .sl-logo-img { order: -1; }
  .reseaux-feats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stories-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .sl-site-inner, .photos-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  /* Layout général */
  .sl-split { display: flex; flex-direction: column; }
  .sl-split .section-desc { max-width: 100%; padding-top: 0; margin-bottom: 24px; }
  .ident-typos { grid-template-columns: 1fr; }
  .stories-grid--4 { grid-template-columns: 1fr 1fr; }
  .sl-site-feats { grid-template-columns: 1fr; }
  .photos-imgs { grid-template-columns: 1fr 1fr; }

  /* Hero — dégradé lisibilité + texte moins large + étoile centrée */
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      160deg,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.50) 40%,
      rgba(0,0,0,0.18) 72%,
      rgba(0,0,0,0.0)  100%
    );
  }
  .hero-spark { padding-top: 0; }
  .hero-desc { max-width: 58vw; }

  /* Concept panel → tableau (CSS Grid : icône span 2 lignes, titre+desc empilés) */
  .concept-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-self: stretch; /* annule align-self:center hérité de la grid */
  }
  .concept-cell,
  .concept-cell:nth-child(3n),
  .concept-cell:nth-child(2n) {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 3px;
    align-items: start;
    text-align: left;
    padding: 18px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .concept-cell:last-child { border-bottom: none; }
  .concept-cell-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    width: 32px;
    height: 32px;
  }
  .concept-cell-title { grid-column: 2; grid-row: 1; align-self: end; font-size: 13px; line-height: 1.2; }
  .concept-cell-desc  { grid-column: 2; grid-row: 2; align-self: start; font-size: 12px; line-height: 1.55; }

  /* Logo feats → un seul container-tableau (les deux sl-logo-side fusionnés) */
  .sl-logo-stage { gap: 0; }
  .sl-logo-img   { margin-bottom: 28px; } /* espace entre logo et tableau */

  .sl-logo-side,
  .sl-logo-side.right {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 0;
    background: #111110;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  /* Premier conteneur : aplati en bas pour fusionner avec le suivant */
  .sl-logo-side {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  /* Deuxième conteneur : aplati en haut + séparateur 1px pour rejoindre le premier */
  .sl-logo-side.right {
    border-top: 1px solid var(--border);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .sl-logo-feat {
    background: none;
    border: none;
    border-radius: 0;
    padding: 18px 20px;
    max-width: none;
    border-bottom: 1px solid var(--border);
  }
  .sl-logo-feat:last-child { border-bottom: none; }
  .sl-logo-feat-icon  { width: 32px; height: 32px; }
  .sl-logo-feat-title { font-size: 13px; line-height: 1.2; white-space: normal; }
  .sl-logo-feat-desc  { font-size: 12px; line-height: 1.55; }

  /* Réseaux feats → petites boxes 2×2 */
  .reseaux-feats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .reseaux-feat {
    background: #111110;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 12px;
  }

  /* Stories → label/VOIR centrés dans leurs espaces (espace vide = 11.18% de la hauteur carte,
     centre de l'espace = 5.5% depuis le bord ; translateY pour centrer l'élément lui-même) */
  .story-label {
    top: 5.5%;
    bottom: auto;
    transform: translateY(-50%);
    font-size: 10px;
  }
  .story-cta {
    bottom: 5.5%;
    top: auto;
    transform: translateY(50%);
    opacity: 0.9;
  }

  /* Site internet feats → liste tableau */
  .sl-site-feats {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #111110;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .sl-site-feat {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
  }
  .sl-site-feat:last-child { border-bottom: none; }
  .sl-site-feat-icon  { width: 32px; height: 32px; }
  .sl-site-feat-title { font-size: 13px; line-height: 1.2; margin-bottom: 0; }
  .sl-site-feat-desc  { font-size: 12px; line-height: 1.55; }

  /* Photos produits feats → liste tableau */
  .photos-feats {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #111110;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .photos-feat {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
  }
  .photos-feat:last-child { border-bottom: none; }
  .photos-feat-icon  { width: 32px; height: 32px; }
  .photos-feat-title { font-size: 13px; line-height: 1.2; margin-bottom: 0; }
  .photos-feat-desc  { font-size: 12px; line-height: 1.55; }

  /* Carousel — overflow garanti */
  .shootings-carousel-wrap { overflow: hidden !important; }
}
