/* ============================================================
   OPAC STUDIO · styles.css
   Palette : marine profond + cyan électrique + blanc pur
   Typo    : Inter Tight (titres) / Inter (texte)
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --bg: #060D1B;            /* fond principal, marine très dense */
  --bg-2: #0A1628;          /* marine de surface */
  --bg-3: #0E1D33;          /* surfaces surélevées */
  --ink: #FFFFFF;
  --muted: rgba(226, 238, 255, 0.6);
  --faint: rgba(226, 238, 255, 0.35);
  --line: rgba(140, 180, 255, 0.12);
  --accent: #41E0FF;        /* cyan électrique */
  --accent-2: #6E8BFF;      /* bleu-violet, réservé aux gradients */
  --accent-soft: rgba(65, 224, 255, 0.12);
  --grad: linear-gradient(120deg, var(--accent), var(--accent-2));

  --font-display: "Inter Tight", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);      /* sortie douce */
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);   /* entrée-sortie */

  --radius: 18px;
  --nav-h: 72px;
}

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Le curseur custom remplace le natif uniquement sur desktop précis */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button,
  body.has-cursor select, body.has-cursor summary { cursor: none; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }

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

/* ---------- Typographie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent-text { color: var(--accent); }

/* ---------- Layout ---------- */
.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}
.container-narrow { width: min(820px, 100% - 48px); }

.section { padding: clamp(48px, 6vw, 88px) 0; }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Curseur custom ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  opacity: 0;
}
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { opacity: 1; }
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(65, 224, 255, 0.45);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.cursor-ring.is-hover {
  width: 56px; height: 56px;
  border-color: rgba(65, 224, 255, 0.9);
  background: rgba(65, 224, 255, 0.08);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--accent);
  color: #04121C;
  box-shadow: 0 0 0 0 rgba(65, 224, 255, 0);
}
.btn-primary:hover {
  box-shadow: 0 8px 40px -8px rgba(65, 224, 255, 0.55);
}
.btn-ghost {
  border-color: var(--line);
  background: rgba(140, 180, 255, 0.04);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: rgba(65, 224, 255, 0.5);
  background: var(--accent-soft);
}
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 13, 27, 0.75);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.logo em { color: var(--accent); }
.logo-mark { width: 26px; height: 26px; color: var(--ink); }
.logo:hover .logo-ring { transition: transform 0.5s var(--ease); transform-origin: center; transform: rotate(90deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links > a:not(.btn) {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.nav-links > a:not(.btn):hover { color: var(--ink); }

/* Toggle langue et devise, même style */
.lang-switch, .curr-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: rgba(140, 180, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-btn, .curr-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  cursor: pointer;
}
.lang-btn:hover, .curr-btn:hover { color: var(--ink); }
.lang-btn.is-active, .curr-btn.is-active {
  color: #04121C;
  background: var(--accent);
}
/* Le currency switch disparaît en FR/TH via [hidden] natif */

/* Burger mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  align-items: center;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 28px;
    background: rgba(6, 13, 27, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 12px 4px; font-size: 1.05rem; }
  .nav-cta { margin-top: 12px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Halo gradient derrière le titre */
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 35%, rgba(65, 224, 255, 0.13), transparent 55%),
    radial-gradient(circle at 65% 55%, rgba(110, 139, 255, 0.10), transparent 55%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(920px, 100% - 48px);
  will-change: transform;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(140, 180, 255, 0.04);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s var(--ease-io) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(65, 224, 255, 0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(65, 224, 255, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 26px;
  text-wrap: balance; /* lignes équilibrées quel que soit l'écran */
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 640px;
  margin: 0 auto;
  gap: clamp(16px, 3vw, 32px);
  text-align: center;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.hero-stats strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  animation: stat-blink 2.4s var(--ease-io) infinite;
}
.hero-stats li:nth-child(2) strong { animation-delay: 0.3s; }
.hero-stats li:nth-child(3) strong { animation-delay: 0.6s; }
@keyframes stat-blink {
  0%, 100% { opacity: 1; text-shadow: 0 0 0 rgba(65, 224, 255, 0); }
  50%      { opacity: 0.72; text-shadow: 0 0 22px rgba(65, 224, 255, 0.55); }
}
/* Le span.count est inline dans le strong, il doit hériter de la taille */
.hero-stats strong .count { font-size: inherit; color: inherit; }
/* Label sous chaque chiffre : blanc pur */
.hero-stats li > span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee i { color: var(--accent); font-style: normal; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.works {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.work-card {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 2.8vw, 36px);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 70%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  position: relative;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              transform 0.4s var(--ease);
}
.work-card:hover {
  border-color: rgba(65, 224, 255, 0.35);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7),
              0 0 60px -20px rgba(65, 224, 255, 0.25);
  transform: translateY(-4px);
}
/* Alterne l'ordre pour rythmer la page */
.work-card:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.work-card:nth-child(even) .work-shot { order: 2; }

.work-shot {
  position: relative;
  width: 100%;
}
.work-shot .browser-bar,
.work-shot img { border: 1px solid var(--line); }
.work-shot .browser-bar { border-bottom: 0; }
.work-shot .browser-bar { border-radius: 14px 14px 0 0; }
.work-shot img { border-radius: 0 0 14px 14px; }
.browser-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(140, 180, 255, 0.05);
}
.browser-bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(226, 238, 255, 0.18);
}
.work-shot img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
  transition: transform 0.7s var(--ease);
}
.work-card:hover .work-shot img { transform: scale(1.02); }

/* Badge Pack Vitrine / Vitrine+ posé au-dessus du cadre extérieur de la carte */
.work-pack {
  position: absolute;
  top: -18px;
  left: 32px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--bg-3);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.7);
}
.work-pack-plus {
  color: #04121C;
  background: var(--accent);
  border-color: var(--accent);
}
/* Sur la 2e carte (image à droite) le badge bascule à droite */
.work-card:nth-child(even) .work-pack {
  left: auto;
  right: 32px;
}

.work-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.work-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.work-top h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.work-loc {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.work-job {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* Tags en texte plein, séparés par des tirets */
.work-tags {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.7;
}
.work-tags li {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.work-tags li:not(:last-child)::after {
  content: " - ";
  color: var(--muted);
  margin: 0 3px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  align-self: flex-start;
}
.work-link svg {
  width: 18px; height: 18px;
  transition: transform 0.3s var(--ease);
}
.work-link:hover svg { transform: translate(3px, -3px); }

@media (max-width: 860px) {
  .work-card, .work-card:nth-child(even) { grid-template-columns: 1fr; }
  .work-card:nth-child(even) .work-shot { order: 0; }
}

/* ============================================================
   FONCTIONNALITÉS
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

.feature {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
  /* --mx / --my : position du curseur, injectée en JS pour le halo */
}
/* Halo qui suit le curseur dans la card */
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              rgba(65, 224, 255, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.feature:hover::before { opacity: 1; }
.feature:hover {
  border-color: rgba(65, 224, 255, 0.4);
  box-shadow: 0 0 40px -12px rgba(65, 224, 255, 0.25);
}

.feature-icon {
  width: 30px; height: 30px;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.feature p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   PACKS
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  justify-content: center;
  gap: 26px;
  align-items: stretch;
}
@media (max-width: 820px) { .pricing { grid-template-columns: minmax(0, 440px); } }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 44px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.price-card:hover { transform: translateY(-6px); }

.price-featured {
  background: linear-gradient(170deg, rgba(65, 224, 255, 0.07), var(--bg-2) 45%);
  border-color: rgba(65, 224, 255, 0.4);
  box-shadow: 0 0 70px -25px rgba(65, 224, 255, 0.35);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #04121C;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.price-card h3 em { color: var(--accent); }
.price-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.price-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  line-height: 1;
}
.price-old {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: rgba(226, 238, 255, 0.5);
}
.price-current {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price-current em {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--accent);
  font-style: normal;
}
.price-current .sym-pre  { margin-right: 4px; }
.price-current .sym-post { margin-left: 4px; }
.price-badge-promo {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid rgba(65, 224, 255, 0.45);
  background: rgba(65, 224, 255, 0.08);
  border-radius: 999px;
  align-self: center;
}
.price-includes {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.price-list {
  display: grid;
  gap: 11px;
  margin-bottom: 32px;
  flex: 1;
}
.price-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.94rem;
  color: rgba(226, 238, 255, 0.85);
}
/* Coche en pseudo-élément, dessinée en CSS pur */
.price-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 5px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) scale(0.85);
  border-radius: 1px;
}

.pricing-note {
  text-align: center;
  margin-top: 36px;
  color: var(--faint);
  font-size: 0.92rem;
}
.pricing-note a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid rgba(65, 224, 255, 0.35);
  transition: border-color 0.25s var(--ease);
}
.pricing-note a:hover { border-color: var(--accent); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item[open], .faq-item:hover { border-color: rgba(65, 224, 255, 0.3); }

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Croix + qui pivote en x à l'ouverture */
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }

/* Animation d'ouverture : grid-rows 0fr -> 1fr (le JS gère le timing) */
.faq-body { padding: 0 24px; }
.faq-body p {
  color: var(--muted);
  font-size: 0.95rem;
  padding-bottom: 22px;
  max-width: 640px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  width: min(640px, 100%);
  margin-inline: auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.form-field { display: grid; gap: 8px; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(226, 238, 255, 0.8);
}
.form-field label small { color: var(--faint); font-weight: 400; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  appearance: none;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(65, 224, 255, 0.15);
}

.select-wrap { position: relative; }
.select-wrap svg {
  position: absolute;
  right: 14px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  color: var(--faint);
  pointer-events: none;
}

.form-status {
  min-height: 1.2em;
  font-size: 0.88rem;
  color: var(--accent);
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.logo-footer { font-size: 1rem; }
.logo-footer .logo-mark { width: 22px; height: 22px; }
.footer-note { font-size: 0.85rem; color: var(--faint); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--faint);
  transition: color 0.25s var(--ease);
}
.footer-links a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   REVEAL AU SCROLL
   ============================================================ */
/* Gated derrière html.js : si le JS ne charge pas, tout reste visible */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   ACCESSIBILITÉ : mouvement réduit
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
