/* ============================================================
   StartIndustry — Apple Light
   Blanc épuré · typographie noire · accent bleu · animations douces
   ============================================================ */

:root {
  /* --- Palette Apple Light --- */
  --bg:            #FFFFFF;
  --bg-alt:        #F5F5F7;
  --bg-dark:       #1D1D1F;
  --bg-dark-soft:  #2C2C2E;

  --text:          #1D1D1F;
  --text-soft:     #424245;
  --text-muted:    #6E6E73;
  --text-faint:    #86868B;

  --accent:        #0071E3;
  --accent-hover:  #0077ED;
  --accent-soft:   rgba(0, 113, 227, 0.1);

  --border:        rgba(0, 0, 0, 0.08);
  --border-soft:   rgba(0, 0, 0, 0.05);
  --border-strong: rgba(0, 0, 0, 0.14);

  /* --- Compatibilité : anciens noms utilisés dans les styles inline --- */
  --navy:          #1D1D1F;            /* blocs sombres inline → cards noires Apple */
  --navy-mid:      #2C2C2E;
  --navy-soft:     #3A3A3C;
  --blue:          #0071E3;
  --blue-light:    #2997FF;            /* lisible sur fonds sombres */
  --blue-soft:     #2997FF;
  --blue-deep:     #0071E3;
  --blue-glow:     rgba(0, 113, 227, 0.1);
  --cyan:          #00C8FF;
  --violet:        #5B5FFF;
  --accent-glow:   rgba(0, 113, 227, 0.25);
  --steel:         #86868B;

  --white:         #FFFFFF;
  --off-white:     #F5F5F7;
  --bg-card:       #F5F5F7;
  --bg-card-hover: #EFEFF1;
  --bg-elevated:   #FFFFFF;
  --bg-glass:      rgba(255, 255, 255, 0.72);

  --gray-50:       #F5F5F7;
  --gray-100:      rgba(0, 0, 0, 0.08);
  --gray-200:      rgba(0, 0, 0, 0.12);
  --gray-400:      #86868B;
  --gray-600:      #6E6E73;
  --gray-800:      #424245;

  --radius-sm:     12px;
  --radius:        18px;
  --radius-lg:     24px;
  --radius-xl:     32px;

  --shadow:        0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md:     0 12px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg:     0 24px 64px -16px rgba(0, 0, 0, 0.18);
  --glow-blue:     0 8px 32px rgba(0, 113, 227, 0.25);
  --glow-strong:   0 8px 32px rgba(0, 113, 227, 0.3);

  --transition:    0.3s cubic-bezier(.4, 0, .2, 1);

  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); }
h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
h5 { font-size: 0.82rem; }
p  { color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; }
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.7); }

/* ---------- Icônes SVG ---------- */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 44px; height: 44px; }

.tech-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: none;
  border-radius: 16px;
  position: relative;
  transition: all var(--transition);
}
.tech-icon .icon { width: 26px; height: 26px; }
.tech-icon-sm { width: 40px; height: 40px; border-radius: 12px; }
.tech-icon-sm .icon { width: 20px; height: 20px; }
.tech-icon-lg { width: 64px; height: 64px; border-radius: 18px; }
.tech-icon-lg .icon { width: 32px; height: 32px; }
.tech-icon-light { background: var(--bg-alt); color: var(--accent); }
.tech-icon-dark { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Buttons (pill Apple) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(.4, 0, .2, 1);
  border: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  font-family: inherit;
}
.btn .icon { width: 18px; height: 18px; }

.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover { background: #000; transform: scale(0.98); }

.btn-outline {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}
.btn-outline:hover { background: rgba(0, 0, 0, 0.08); }

.btn-outline-white {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}
.btn-outline-white:hover { background: rgba(0, 0, 0, 0.08); }

/* Boutons sur fonds sombres (cta-band, cards navy, navbar si dark) */
.section-dark .btn-outline-white,
.cta-band .btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.section-dark .btn-outline-white:hover,
.cta-band .btn-outline-white:hover { background: rgba(255, 255, 255, 0.2); }
.cta-band .btn-primary {
  background: var(--accent);
  color: #fff;
}
.cta-band .btn-primary:hover { background: var(--accent-hover); }

.btn-white {
  background: #fff;
  color: var(--text);
}
.btn-white:hover { background: rgba(255, 255, 255, 0.9); transform: scale(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-left: 8px;
  padding-right: 8px;
}
.btn-ghost:hover { opacity: 0.7; }

.btn-sm { padding: 9px 18px; font-size: 0.84rem; }
.btn-sm .icon { width: 14px; height: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Navigation (Apple blur) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}
.navbar__logo {
  display: block;
  width: 200px;
  height: 46px;
  background: url('images/logo.svg') no-repeat left center;
  background-size: contain;
  flex-shrink: 0;
  text-indent: -9999px;
  overflow: hidden;
  font-size: 0;
  color: transparent;
}
.navbar__logo-icon,
.navbar__logo > span { display: none; }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.navbar__nav a {
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  transition: opacity 0.2s;
  letter-spacing: -0.01em;
}
.navbar__nav a:hover { opacity: 0.6; }
.navbar__nav a.active { color: var(--text); font-weight: 600; }

.navbar__cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.navbar__hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px;
}
.navbar__hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: all var(--transition); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 90px;
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  text-align: center;
}
.hero__content { max-width: 880px; margin: 0 auto; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  font-family: var(--font-sans);
  text-transform: none;
  animation: fadeUp 0.8s ease both;
}
.hero__title {
  color: var(--text);
  margin-bottom: 26px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero__title span {
  background: linear-gradient(135deg, #006EE6 0%, #00C8FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  color: var(--text-muted);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  margin: 0 auto 40px;
  max-width: 660px;
  line-height: 1.5;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  overflow: visible;
  background: transparent;
  padding: 40px 0;
  max-width: 960px;
  margin: 0 auto;
  animation: fadeUp 0.8s 0.4s ease both;
}
.hero__stat {
  padding: 0 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-value {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero__stat-value span { color: var(--accent); }
.hero__stat-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-family: var(--font-sans);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero Visual : panneau sombre Apple ---------- */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 72px;
  animation: fadeUp 1s 0.5s ease both;
}
.scanner-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 110, 230, 0.4), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 200, 255, 0.28), transparent 50%),
    linear-gradient(135deg, #1D1D1F 0%, #2C2C2E 100%);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px -16px rgba(0, 0, 0, 0.25);
}
.scanner-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 80%);
}
.scanner-frame::after { display: none; }
.scanner-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, 0.5);
  border-style: solid;
  border-width: 0;
}
.scanner-corner.tl { top: 18px; left: 18px; border-top-width: 2px; border-left-width: 2px; }
.scanner-corner.tr { top: 18px; right: 18px; border-top-width: 2px; border-right-width: 2px; }
.scanner-corner.bl { bottom: 18px; left: 18px; border-bottom-width: 2px; border-left-width: 2px; }
.scanner-corner.br { bottom: 18px; right: 18px; border-bottom-width: 2px; border-right-width: 2px; }
.scanner-hud {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.scanner-hud::before {
  content: '';
  width: 5px; height: 5px;
  background: #2997FF;
  border-radius: 50%;
  box-shadow: 0 0 8px #2997FF;
  animation: pulse 1.8s ease-in-out infinite;
}
.scanner-hud.top { top: 24px; left: 50%; transform: translateX(-50%); }
.scanner-hud.bot { bottom: 24px; left: 50%; transform: translateX(-50%); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.scanner-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.scanner-emblem {
  width: 88px;
  height: 88px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(10px);
}
.scanner-emblem .icon { width: 40px; height: 40px; }
.scanner-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}
.scanner-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
  z-index: 3;
  border-radius: 14px;
  backdrop-filter: blur(10px);
}
.scanner-chip strong { color: #2997FF; font-weight: 600; }
.scanner-chip.c1 { top: 14%; left: 6%; }
.scanner-chip.c2 { bottom: 16%; right: 6%; }

/* ---------- Section header ---------- */
.section-header { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  padding: 0;
  margin-bottom: 16px;
  font-family: var(--font-sans);
}
.section-header h2 { margin-bottom: 18px; }
.section-header p { font-size: 1.15rem; line-height: 1.55; color: var(--text-muted); }
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-label { color: #2997FF; }
.section-header.left { text-align: left; margin-left: 0; }

/* ---------- Cards grid ---------- */
.cards-grid { display: grid; gap: 16px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-alt);
  border: none;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px -16px rgba(0, 0, 0, 0.15);
}
.card__icon {
  width: 54px;
  height: 54px;
  background: var(--accent-soft);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
  border: none;
}
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; color: var(--text); letter-spacing: -0.02em; }
.card p { font-size: 0.94rem; line-height: 1.55; color: var(--text-muted); }

/* Card sombre (sections dark + cards inline navy) */
.card-dark {
  background: var(--bg-dark-soft);
  border: none;
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all var(--transition);
  position: relative;
}
.card-dark:hover { transform: translateY(-3px); box-shadow: 0 24px 56px -16px rgba(0, 0, 0, 0.4); }
.card-dark h3 { color: #fff; margin-bottom: 10px; letter-spacing: -0.02em; }
.card-dark p { color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; }

.mini-card {
  background: var(--bg-alt);
  border: none;
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
}
.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.12);
  background: #fff;
}
.mini-card .tech-icon { margin: 0 auto 14px; }
.mini-card__title { font-weight: 600; font-size: 0.92rem; color: var(--text); letter-spacing: -0.01em; }
.mini-card__sub { font-size: 0.78rem; color: var(--text-faint); margin-top: 4px; font-family: var(--font-sans); letter-spacing: 0; }

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  overflow: visible;
  padding: 48px 0;
}
.stat-item {
  padding: 0 28px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-item__value {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-item__value span { color: var(--accent); }
.stat-item__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-family: var(--font-sans);
}

/* ---------- Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: 0;
  text-transform: none;
}
.tag-blue { background: var(--accent-soft); color: var(--accent); border: none; }
.tag-navy { background: var(--text); color: #fff; border: none; }
.tag-gray { background: rgba(0, 0, 0, 0.05); color: var(--text-muted); border: none; }
.tag-accent { background: rgba(255, 159, 10, 0.12); color: #C93400; border: none; }

.tech-ref {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Accordion ---------- */
.accordion-item {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg-alt);
  transition: all var(--transition);
}
.accordion-item:hover { background: var(--bg-card-hover); }
.accordion-item.open {
  background: #fff;
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.12);
}
.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  border: none;
  text-align: left;
  transition: background var(--transition);
  letter-spacing: -0.01em;
}
.accordion-header > span:first-child { display: flex; align-items: center; gap: 12px; }
.accordion-header .icon { width: 22px; height: 22px; color: var(--accent); }
.accordion-header .chevron { transition: transform var(--transition); color: var(--text-faint); display: inline-flex; }
.accordion-header .chevron .icon { width: 20px; height: 20px; color: var(--text-faint); }
.accordion-item.open .chevron { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.accordion-item.open .accordion-body { max-height: 1400px; }
.accordion-content {
  padding: 6px 28px 28px;
  color: var(--text-muted);
  font-size: 0.94rem;
  border-top: 1px solid var(--border-soft);
}

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 8px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(0, 113, 227, 0.06));
}
.step { display: flex; gap: 22px; padding: 0 0 30px; position: relative; }
.step__num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.step__content h4 { font-size: 1.02rem; margin-bottom: 6px; color: var(--text); letter-spacing: -0.01em; }
.step__content p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Project card ---------- */
.project-card {
  background: var(--bg-alt);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px -16px rgba(0, 0, 0, 0.18);
}
.project-card__header {
  background: var(--bg-dark);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.project-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.project-card__icon .icon { width: 26px; height: 26px; }
.project-card__head-text { position: relative; }
.project-card__sector {
  color: #2997FF;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}
.project-card__title { color: #fff; font-weight: 600; font-size: 1rem; margin-top: 4px; letter-spacing: -0.01em; }
.project-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-card__row { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.project-card__row-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  min-width: 78px;
  padding-top: 2px;
  font-family: var(--font-mono);
}
.project-card__row-value { font-size: 0.9rem; color: var(--text-soft); flex: 1; }
.project-card__result {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 0 12px 12px 0;
}
.project-card__result .icon { color: var(--accent); width: 16px; height: 16px; }

.project-card__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}
.project-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(.4, 0, .2, 1); }
.project-card:hover .project-card__photo img { transform: scale(1.04); }
.project-card__photo-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  z-index: 2;
}

/* ---------- Filter buttons ---------- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 18px;
  border-radius: 100px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-soft);
}
.filter-btn:hover { background: rgba(0, 0, 0, 0.08); }
.filter-btn.active {
  background: var(--text);
  color: #fff;
}

/* ---------- Quiz ---------- */
.quiz-container { max-width: 760px; margin: 0 auto; }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 40px; }
.quiz-progress-step {
  flex: 1;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  transition: background var(--transition);
}
.quiz-progress-step.done { background: var(--accent); }
.quiz-progress-step.active { background: var(--accent); opacity: 0.5; }

.quiz-question-block { display: none; }
.quiz-question-block.active { display: block; animation: fadeUp 0.4s ease both; }
.quiz-question-num {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}
.quiz-question-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(.4, 0, .2, 1);
  font-size: 0.96rem;
  color: var(--text-soft);
  background: var(--bg-alt);
}
.quiz-option:hover { background: var(--bg-card-hover); transform: translateX(2px); }
.quiz-option.selected {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
  box-shadow: inset 0 0 0 2px var(--accent);
}
.quiz-option input[type=radio] { accent-color: var(--accent); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; }

/* ---------- Form ---------- */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: all var(--transition);
  font-family: inherit;
}
.form-control::placeholder { color: var(--text-faint); }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Blog card ---------- */
.blog-card {
  background: var(--bg-alt);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px -16px rgba(0, 0, 0, 0.15);
}
.blog-card__thumb {
  height: 170px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #2997FF;
}
.blog-card__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 110, 230, 0.35), transparent 55%),
    radial-gradient(circle at 75% 65%, rgba(0, 200, 255, 0.2), transparent 50%);
}
.blog-card__thumb .icon { width: 46px; height: 46px; position: relative; color: #fff; opacity: 0.9; }
.blog-card__cat { padding: 20px 24px 0; }
.blog-card__body { padding: 12px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.blog-card__excerpt { font-size: 0.88rem; color: var(--text-muted); flex: 1; line-height: 1.55; }
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 16px;
  transition: gap var(--transition);
}
.blog-card__link:hover { gap: 10px; }
.blog-card__link .icon { width: 14px; height: 14px; }

/* ---------- Brands ---------- */
.brands-row {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
}
.brand-pill {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-faint);
  transition: color var(--transition);
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}
.brand-pill:hover { color: var(--text); transform: none; }

/* ---------- CTA band (section sombre Apple) ---------- */
.cta-band {
  background: var(--bg-dark);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before { display: none; }
.cta-band > .container { position: relative; }
.cta-band h2 {
  color: #fff;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  font-size: 1.15rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer (clair Apple) ---------- */
.footer {
  background: var(--bg-alt);
  color: var(--text);
  padding: 64px 0 0;
  border-top: 1px solid var(--border-soft);
  position: relative;
}
.footer::before { display: none; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__logo {
  display: block;
  width: 220px;
  height: 54px;
  background: url('images/logo.svg') no-repeat left center;
  background-size: contain;
  margin-bottom: 18px;
  text-indent: -9999px;
  overflow: hidden;
  font-size: 0;
  color: transparent;
}
.footer__logo-icon,
.footer__logo > span { display: none; }
.footer__desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; max-width: 380px; }
.footer__siren {
  color: var(--text-faint);
  font-size: 0.78rem;
  margin-top: 16px;
  font-family: var(--font-sans);
  letter-spacing: 0;
}
.footer__col h5 {
  font-size: 0.84rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
  color: var(--text-muted);
  font-size: 0.86rem;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border-soft);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__bottom p { color: var(--text-faint); font-size: 0.8rem; }
.footer__bottom a { color: var(--text-muted); font-size: 0.8rem; transition: color var(--transition); }
.footer__bottom a:hover { color: var(--text); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 16px 22px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast strong { color: #2997FF; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: 88px 0 72px;
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  text-align: center;
}
.page-hero__inner { position: relative; max-width: 800px; margin: 0 auto; }
.page-hero__breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 20px;
  font-family: var(--font-sans);
  letter-spacing: 0;
  text-transform: none;
}
.page-hero__breadcrumb a { color: var(--accent); transition: opacity var(--transition); }
.page-hero__breadcrumb a:hover { opacity: 0.7; }
.page-hero__breadcrumb span { color: var(--text-faint); }
.page-hero h1 {
  color: var(--text);
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  animation: fadeUp 0.7s ease both;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
  animation: fadeUp 0.7s 0.1s ease both;
}

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: #fff;
}
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--bg-alt);
  color: var(--text);
  padding: 16px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-sans);
  border-bottom: 1px solid var(--border);
}
td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9rem;
  vertical-align: top;
  color: var(--text-soft);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(0, 113, 227, 0.03); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.96rem;
  color: var(--text-soft);
}
.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 20 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.checklist-dark li { color: rgba(255, 255, 255, 0.8); }

/* ---------- Tech placeholder ---------- */
.tech-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
}
.tech-placeholder::before { display: none; }
.tech-placeholder__corner { display: none; }
.tech-placeholder__content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
}
.tech-placeholder__content .icon { width: 48px; height: 48px; color: var(--text-faint); opacity: 0.5; }
.tech-placeholder__label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.tech-placeholder__sub { font-size: 0.78rem; color: var(--text-faint); max-width: 260px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(.4, 0, .2, 1), transform 0.9s cubic-bezier(.4, 0, .2, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ---------- Two-col ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col-start { align-items: flex-start; }

/* ---------- Spec list ---------- */
.spec-list { display: flex; flex-direction: column; }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-soft);
  gap: 16px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row__label { font-weight: 600; color: var(--text); font-size: 0.94rem; letter-spacing: -0.01em; }
.spec-row__value { color: var(--text-muted); font-size: 0.88rem; text-align: right; }

.feat-row { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; }
.feat-row__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--accent-soft);
  color: var(--accent);
  border: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feat-row__icon .icon { width: 22px; height: 22px; }
.feat-row__body h4 { font-size: 0.98rem; margin-bottom: 4px; color: var(--text); letter-spacing: -0.01em; }
.feat-row__body p { font-size: 0.88rem; line-height: 1.55; color: var(--text-muted); }

/* ---------- Level card ---------- */
.level-card {
  background: var(--bg-alt);
  border: none;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}
.level-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px -16px rgba(0, 0, 0, 0.15);
}
.level-card__num {
  display: inline-flex;
  width: 58px;
  height: 58px;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
}
.level-card h3 { margin-bottom: 8px; color: var(--text); letter-spacing: -0.02em; }
.level-card__sub {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.82rem;
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-sans);
}
.level-card p { font-size: 0.92rem; line-height: 1.55; color: var(--text-muted); }

.level-card--featured {
  background: var(--bg-dark);
}
.level-card--featured h3 { color: #fff; }
.level-card--featured p { color: rgba(255, 255, 255, 0.65); }
.level-card--featured .level-card__num {
  background: rgba(255, 255, 255, 0.1);
  border-color: #2997FF;
  color: #2997FF;
}
.level-card--featured .level-card__sub { color: #2997FF; }

/* ---------- Photo gallery ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.photo-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
}
.photo-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.2);
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(.4, 0, .2, 1); }
.photo-tile:hover img { transform: scale(1.05); }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-8 { grid-column: span 8; }
.row-2  { grid-row: span 2; }

.framed-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  background: var(--bg-alt);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.15);
}
.framed-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.framed-photo__corner { display: none; }

/* ---------- Modal d'identification ---------- */
.id-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade-in 0.25s ease;
}
.id-modal-backdrop.show { display: flex; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.id-modal {
  background: #fff;
  border: none;
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 48px 128px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: pop-in 0.35s cubic-bezier(.4, 1.4, .6, 1);
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.id-modal__header { padding: 32px 32px 18px; border-bottom: 1px solid var(--border-soft); position: relative; }
.id-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.id-modal__close:hover { background: rgba(0, 0, 0, 0.1); color: var(--text); }

.id-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: none;
}
.id-modal__header h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--text); letter-spacing: -0.02em; }
.id-modal__header p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

.id-modal__body { padding: 24px 32px 32px; }
.id-modal__body .form-group { margin-bottom: 14px; }
.id-modal__body label { font-size: 0.84rem; }

.id-modal__footer { padding: 16px 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.id-modal__rgpd { font-size: 0.78rem; color: var(--text-faint); line-height: 1.5; }

/* ---------- Bannière SIMULATION ---------- */
.reco-disclaimer {
  background: rgba(255, 159, 10, 0.1);
  border: none;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #C93400;
}
.reco-disclaimer .icon { width: 22px; height: 22px; flex-shrink: 0; color: #C93400; margin-top: 1px; }
.reco-disclaimer strong { color: #C93400; }

/* ---------- AI Recommendation Box ---------- */
.reco-box {
  margin: 28px 0 24px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 64px -20px rgba(0, 0, 0, 0.15);
  animation: reco-appear 0.5s cubic-bezier(.4, 0, .2, 1);
}
@keyframes reco-appear {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reco-box__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.reco-box__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.reco-box__sub { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 4px; }
.reco-box__plateforme {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
.reco-box__justification { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; margin: 0 0 24px; }
.reco-box__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.reco-box__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: none;
  padding: 14px 16px;
  border-radius: 14px;
}
.reco-box__label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.reco-box__value { font-size: 0.94rem; color: var(--text); font-weight: 500; }
.reco-box__budget {
  background: var(--bg-dark);
  color: #fff;
  padding: 20px 24px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
  border: none;
}
.reco-box__budget .reco-box__label { color: rgba(255, 255, 255, 0.6); }
.reco-box__budget-value {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2997FF;
}
.reco-box__points h4 { font-size: 0.92rem; margin-bottom: 10px; color: var(--text); }
.reco-box__points ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.reco-box__points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.reco-box__points li::before { content: '→'; color: var(--accent); font-weight: 600; flex-shrink: 0; }
.reco-box__footer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.reco-box__footer .icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.reco-box__footer p { margin: 0; font-size: 0.82rem; }

.reco-loader {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  background: var(--bg-alt);
  border: none;
  border-radius: var(--radius);
  margin: 24px 0;
  color: var(--text);
  font-weight: 500;
  font-size: 0.94rem;
}
.reco-loader::before {
  content: '';
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--accent);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.reco-error {
  background: rgba(255, 159, 10, 0.1);
  border: none;
  color: #C93400;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin: 24px 0;
  font-size: 0.9rem;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
  color: #FFFFFF;
  text-decoration: none;
}
.whatsapp-fab:hover {
  background: #1FB857;
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.45);
}
.whatsapp-fab::before { display: none; }
.whatsapp-fab .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.whatsapp-fab__label {
  position: absolute;
  right: 70px;
  background: var(--text);
  color: #fff;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: none;
}
.whatsapp-fab__label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--text);
}
.whatsapp-fab:hover .whatsapp-fab__label { opacity: 1; transform: translateX(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); padding-bottom: 28px; margin-bottom: 28px; }
  .two-col { gap: 40px; }
}
@media (max-width: 820px) {
  .ia-feature__grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .hero { padding: 72px 0 64px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .hero__stat:nth-child(2) { border-right: none; }
  .cards-grid--3 { grid-template-columns: 1fr; }
  .cards-grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }
  .photo-gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 170px; }
  .span-6, .span-4, .span-3, .span-8 { grid-column: span 6; }
  .scanner-chip { display: none; }
  .cta-band { padding: 80px 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 24px; }
  .stat-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .btn { padding: 12px 22px; font-size: 0.88rem; }
  .navbar__inner { height: 56px; }
  .navbar__logo { width: 160px; height: 40px; }
  .whatsapp-fab { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-fab .icon { width: 26px; height: 26px; }
  .whatsapp-fab__label { display: none; }
  .photo-gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .span-6, .span-4, .span-3, .span-8 { grid-column: span 1; }
}

/* ===== Vérification email par code (OTP) ===== */
.code-verify {
  background: var(--accent-soft);
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.code-verify__head {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 16px;
}
.code-verify__head strong { color: var(--accent); }
.code-verify__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.code-verify__input {
  flex: 0 0 160px;
  max-width: 180px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 6px;
  text-align: center;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.code-verify__verify { flex: 1 1 auto; min-width: 200px; }
.code-verify__error {
  color: #C9302C;
  background: rgba(255, 59, 48, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  margin-top: 12px;
}
.code-verify__foot {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}
.code-verify__resend {
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.code-verify__resend:hover { opacity: 0.8; }

@media (max-width: 600px) {
  .code-verify__input { flex: 1 1 100%; max-width: none; }
  .code-verify__verify { flex: 1 1 100%; }
}

/* WebP via <picture> sans impact layout */
picture { display: contents; }
