/* ==========================================================================
   Pulsar Web — système visuel
   Sombre, lumineux, typographique. Aucune dépendance hors polices.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* --- Fonds --------------------------------------------------------- */
  --void:     #05080C;
  --ink:      #0A1017;
  --panel:    #101922;
  --panel-2:  #16212D;
  --glass:    rgba(16, 25, 34, .72);

  /* --- Traits -------------------------------------------------------- */
  --edge:     rgba(255, 255, 255, .075);
  --edge-2:   rgba(255, 255, 255, .15);

  /* --- Texte --------------------------------------------------------- */
  --fg:       #E9F2F4;
  --fg-2:     #94A7B3;
  --fg-3:     #62757F;

  /* --- Accents ------------------------------------------------------- */
  --aqua:     #3FE3C6;
  --aqua-2:   #14B49A;
  --aqua-ink: #04231F;
  --coral:    #FF7C4D;
  --violet:   #8A8CFF;
  --gold:     #FFC24B;

  /* --- Typographie --------------------------------------------------- */
  --display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --body:    "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* --- Mesures ------------------------------------------------------- */
  --shell: 1180px;
  --prose: 36rem;
  --r:  14px;
  --r-lg: 22px;
  --r-xl: 30px;
}

/* --- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--void);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, canvas, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: var(--aqua); text-decoration-color: color-mix(in srgb, var(--aqua) 40%, transparent); text-underline-offset: .2em; }
a:hover { color: #6BEBD5; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--aqua); color: var(--aqua-ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  margin: 0;
  color: #FFFFFF;
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 1.55rem + 3.6vw, 4.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.35rem); letter-spacing: -.04em; }
h3 { font-size: 1.22rem; letter-spacing: -.022em; line-height: 1.2; }
p { margin: 0; }
strong, b { font-weight: 600; color: #FFFFFF; }

/* Grain — une seule texture, fixe, très basse opacité */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .038; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Structure ---------------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.prose { max-width: var(--prose); }
.stack { display: flex; flex-direction: column; }

/* Halos lumineux — placés par les pages, jamais décoratifs en série */
.aura { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px); opacity: .5; z-index: 0; }
.aura--aqua  { background: radial-gradient(circle, rgba(63,227,198,.42), transparent 68%); }
.aura--coral { background: radial-gradient(circle, rgba(255,124,77,.30), transparent 68%); }
.section > .shell { position: relative; z-index: 1; }

/* --- Étiquettes --------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-2); background: rgba(255,255,255,.035);
  border: 1px solid var(--edge); border-radius: 99px; padding: .4rem .85rem;
}
.chip i { width: .4rem; height: .4rem; border-radius: 99px; background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }
.eyebrow {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .8rem;
}
.eyebrow::after { content: ""; flex: 1; max-width: 4.5rem; height: 1px; background: linear-gradient(90deg, var(--aqua), transparent); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); color: var(--fg-2); line-height: 1.55; }
.small { font-size: .875rem; color: var(--fg-3); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* --- Boutons ------------------------------------------------------------ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em;
  padding: .95rem 1.6rem; border-radius: 99px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease, border-color .2s ease, color .2s ease, background-color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn--fill { background: var(--aqua); color: var(--aqua-ink); box-shadow: 0 0 0 0 rgba(63,227,198,.45); }
.btn--fill:hover { color: var(--aqua-ink); transform: translateY(-2px); box-shadow: 0 10px 34px -10px rgba(63,227,198,.75); }
.btn--line { border-color: var(--edge-2); color: var(--fg); background: rgba(255,255,255,.02); }
.btn--line:hover { border-color: var(--aqua); color: var(--aqua); transform: translateY(-2px); }
.btn--sm { padding: .62rem 1.15rem; font-size: .94rem; }
.btn svg { flex: none; transition: transform .25s cubic-bezier(.2,.7,.3,1); }
.btn:hover svg { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- En-tête ------------------------------------------------------------ */
.masthead {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 80;
  background: rgba(5, 8, 12, .55);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.masthead[data-stuck="true"] { background: rgba(5, 8, 12, .88); border-bottom-color: var(--edge); }
.masthead__in { display: flex; align-items: center; gap: 1rem; min-height: 74px; transition: min-height .3s ease; }
.masthead[data-stuck="true"] .masthead__in { min-height: 62px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__mark .rot { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .brand__mark .rot { animation: spin 7s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.16rem; letter-spacing: -.035em; color: #fff; }
.brand__name span { color: var(--aqua); }

.nav { display: flex; align-items: center; gap: .1rem; }
.nav a {
  position: relative; font-family: var(--body); font-weight: 500; font-size: .95rem;
  color: var(--fg-2); text-decoration: none; padding: .55rem .85rem; border-radius: 99px;
  transition: color .2s ease;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem;
  height: 1px; background: var(--aqua); box-shadow: 0 0 8px var(--aqua);
}
.nav .btn { margin-left: .6rem; font-family: var(--display); font-weight: 600; }
.nav .btn--fill, .nav .btn--fill:hover { color: var(--aqua-ink); }
.nav .btn--line:hover { color: var(--aqua); }

.burger {
  display: none; background: rgba(255,255,255,.04); border: 1px solid var(--edge-2);
  border-radius: 12px; padding: .55rem .65rem; cursor: pointer; color: var(--fg);
}
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: rgba(10, 16, 23, .97); backdrop-filter: blur(20px);
    border: 1px solid var(--edge); border-radius: var(--r-lg);
    padding: .8rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .8rem .9rem; font-size: 1rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: .5rem 0 0; }
}

/* --- Héros -------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem); overflow: hidden; }
#pulsar {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  opacity: .95;
  -webkit-mask-image: radial-gradient(115% 100% at 78% 62%, #000 28%, transparent 78%);
  mask-image: radial-gradient(115% 100% at 78% 62%, #000 28%, transparent 78%);
}
@media (max-width: 820px) {
  #pulsar {
    opacity: .55;
    -webkit-mask-image: radial-gradient(90% 55% at 95% 4%, #000 10%, transparent 72%);
    mask-image: radial-gradient(90% 55% at 95% 4%, #000 10%, transparent 72%);
  }
}
.hero__grid { position: relative; z-index: 2; display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.06fr .94fr; } }
.hero h1 { margin-top: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--aqua); }
.hero .lead { margin-top: 1.5rem; max-width: 33rem; }
.hero .btn-row { margin-top: 2.1rem; }

.trustline {
  display: flex; flex-wrap: wrap; gap: .75rem 1.6rem;
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--edge);
  font-size: .9rem; color: var(--fg-2);
}
.trustline span { display: inline-flex; align-items: center; gap: .55rem; }
.trustline svg { flex: none; color: var(--aqua); }

/* --- Carte « résultat Google » ------------------------------------------ */
.serp {
  background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--edge-2); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06);
}
.serp__bar { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-bottom: 1px solid var(--edge); }
.serp__query {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--edge);
  border-radius: 99px; padding: .5rem 1rem; font-size: .9rem; color: var(--fg); font-family: var(--body);
}
.caret { display: inline-block; width: 2px; height: 1em; background: var(--aqua); vertical-align: -.16em; margin-left: 1px; }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1.15s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.serp__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); padding: .9rem 1.15rem .35rem; }
.serp__list { list-style: none; margin: 0; padding: 0 .6rem .6rem; }
.serp__item { display: grid; grid-template-columns: 1fr auto; gap: .25rem .9rem; padding: .85rem .75rem; border-radius: var(--r); align-items: center; }
.serp__item + .serp__item { border-top: 1px solid var(--edge); }
.serp__item--win {
  background: linear-gradient(180deg, rgba(63,227,198,.13), rgba(63,227,198,.05));
  border: 1px solid rgba(63,227,198,.3); border-top-color: rgba(63,227,198,.3);
  box-shadow: 0 0 34px -12px rgba(63,227,198,.55);
}
.serp__name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: #fff; letter-spacing: -.02em; }
.serp__meta { grid-column: 1 / -1; font-size: .8rem; color: var(--fg-3); display: flex; flex-wrap: wrap; gap: .1rem .55rem; align-items: center; }
.stars { color: var(--gold); letter-spacing: .08em; font-size: .82rem; }
.tag { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; padding: .22rem .5rem; border-radius: 6px; white-space: nowrap; }
.tag--yes { background: var(--aqua); color: var(--aqua-ink); }
.tag--no  { background: rgba(255,124,77,.14); color: var(--coral); border: 1px solid rgba(255,124,77,.3); }
.serp__foot { padding: 1rem 1.15rem; border-top: 1px solid var(--edge); font-size: .85rem; color: var(--fg-2); }

/* --- Bandeau défilant des communes -------------------------------------- */
.marquee {
  border-block: 1px solid var(--edge); background: rgba(255,255,255,.015);
  overflow: hidden; padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 0; }
@media (prefers-reduced-motion: no-preference) { .marquee__track { animation: slide 48s linear infinite; } }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee ul { display: flex; align-items: center; gap: 2.6rem; list-style: none; margin: 0; padding: 0 1.3rem; }
.marquee li {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em;
  color: var(--fg-3); display: flex; align-items: center; gap: 2.6rem; white-space: nowrap;
  transition: color .3s ease;
}
.marquee li::after { content: ""; width: .3rem; height: .3rem; border-radius: 99px; background: var(--aqua); opacity: .55; }
.marquee:hover li { color: var(--fg-2); }

/* --- Bento -------------------------------------------------------------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 760px)  { .bento { grid-template-columns: repeat(6, 1fr); } }
.cell {
  position: relative; grid-column: span 1; overflow: hidden;
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  border: 1px solid var(--edge); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
@media (min-width: 760px) {
  .cell--2 { grid-column: span 2; }
  .cell--3 { grid-column: span 3; }
  .cell--4 { grid-column: span 4; }
  .cell--6 { grid-column: span 6; }
}
/* Projecteur qui suit le curseur — pointeur fin uniquement */
@media (hover: hover) and (pointer: fine) {
  .cell::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    transition: opacity .35s ease;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(63,227,198,.13), transparent 62%);
  }
  .cell:hover::before { opacity: 1; }
}
.cell > * { position: relative; }
.cell p.cell__k, .cell__k { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); margin-bottom: 1.4rem; }
.cell p.cell__big, .cell__big { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem); letter-spacing: -.04em; color: #fff; line-height: 1.05; margin-bottom: .75rem; }
.cell p { color: var(--fg-2); font-size: .97rem; }
.cell h3 { margin-bottom: .55rem; }

/* --- Rail d'étapes ------------------------------------------------------ */
.rail { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 900px) { .rail { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.rail li { position: relative; padding: 2.2rem 1.5rem 1.8rem; border: 1px solid var(--edge); border-radius: var(--r-lg); background: rgba(255,255,255,.015); }
@media (min-width: 900px) {
  .rail li { border-radius: 0; border-left-width: 0; background: none; }
  .rail li:first-child { border-left-width: 1px; border-radius: var(--r-lg) 0 0 var(--r-lg); }
  .rail li:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
}
.rail__n {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--aqua);
  display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem;
}
.rail__n::before { content: ""; width: .5rem; height: .5rem; border-radius: 99px; background: var(--aqua); box-shadow: 0 0 12px var(--aqua); flex: none; }
.rail h3 { margin-bottom: .5rem; }
.rail p { color: var(--fg-2); font-size: .95rem; }

/* --- Offres ------------------------------------------------------------- */
.plans { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  border: 1px solid var(--edge); border-radius: var(--r-xl); padding: 2rem 1.75rem 1.9rem;
}
.plan--feature { border-color: rgba(63,227,198,.42); box-shadow: 0 0 70px -24px rgba(63,227,198,.55); }
.plan--feature::after {
  content: ""; position: absolute; inset-inline: 18%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
}
.plan__flag {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--aqua-ink); background: var(--aqua);
  padding: .25rem .6rem; border-radius: 6px;
}
.plan--feature h3 { padding-right: 7.5rem; }
.plan h3 { font-size: 1.45rem; }
.plan__for { color: var(--fg-3); font-size: .93rem; margin-top: .5rem; min-height: 2.9em; }
.plan__price { display: flex; align-items: baseline; gap: .35rem; margin: 1.5rem 0 .3rem; }
.plan__price b {
  font-family: var(--display); font-weight: 700; font-size: 3.4rem; letter-spacing: -.055em;
  color: #fff; line-height: .9; font-variant-numeric: tabular-nums;
}
.plan--feature .plan__price b { color: var(--aqua); }
.plan__price span { color: var(--fg-2); font-size: .98rem; }
.plan__setup { font-family: var(--mono); font-size: .8rem; color: var(--fg-3); }
.plan ul { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .68rem; font-size: .95rem; color: var(--fg-2); }
.plan li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .65rem; align-items: start; }
.plan li svg { margin-top: .38rem; color: var(--aqua); }
.plan li.is-off { color: var(--fg-3); }
.plan li.is-off svg { color: var(--fg-3); opacity: .5; }
.plan__total { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--edge); font-size: .84rem; color: var(--fg-3); }
.plan__total b { color: var(--fg); }
.plan .btn { margin-top: 1.6rem; width: 100%; }

/* --- Tableau ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--edge); border-radius: var(--r-lg); margin-top: 2.5rem; background: var(--panel); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .95rem; }
caption { text-align: left; padding: 1.1rem 1.3rem; font-size: .85rem; color: var(--fg-3); }
th, td { padding: .9rem 1.3rem; text-align: left; border-bottom: 1px solid var(--edge); }
thead th { font-family: var(--display); font-weight: 600; font-size: .92rem; color: #fff; background: rgba(255,255,255,.03); }
tbody th { font-weight: 400; color: var(--fg-2); }
td { color: var(--fg-2); }
td.yes { color: var(--aqua); font-weight: 600; }
td.no { color: var(--fg-3); }
tr:last-child th, tr:last-child td { border-bottom: none; }

/* --- Réalisations : maquettes téléphone --------------------------------- */
.works { display: grid; gap: 1.75rem; grid-template-columns: 1fr; margin-top: 3.25rem; }
@media (min-width: 820px) { .works { grid-template-columns: repeat(3, 1fr); } }
.work { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.work__stage {
  position: relative; border-radius: var(--r-xl); padding: 2.2rem 1.5rem 0;
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  border: 1px solid var(--edge); overflow: hidden;
  transition: border-color .3s ease, transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
}
.work__stage::before {
  content: ""; position: absolute; left: 50%; top: -30%; width: 150%; aspect-ratio: 1; translate: -50% 0;
  background: radial-gradient(circle, rgba(63,227,198,.16), transparent 62%); opacity: 0; transition: opacity .4s ease;
}
.work:hover .work__stage { border-color: rgba(63,227,198,.4); transform: translateY(-8px); box-shadow: 0 40px 70px -35px rgba(0,0,0,.9); }
.work:hover .work__stage::before { opacity: 1; }
.phone {
  position: relative; margin-inline: auto; width: 100%; max-width: 230px;
  border: 8px solid #1B2632; border-bottom: none;
  border-radius: 34px 34px 0 0; background: #1B2632;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.95);
  overflow: hidden;
}
.phone::after {
  content: ""; position: absolute; left: 50%; top: 9px; translate: -50% 0;
  width: 58px; height: 5px; border-radius: 99px; background: #0A1017; z-index: 2;
}
.phone img { width: 100%; height: auto; display: block; border-radius: 26px 26px 0 0; }
.work__body { padding: 1.4rem .25rem 0; display: flex; flex-direction: column; gap: .45rem; }
.work__kind { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.work h3 { font-size: 1.2rem; }
.work p { color: var(--fg-2); font-size: .93rem; }
.work__go { margin-top: .5rem; font-family: var(--display); font-weight: 600; font-size: .94rem; color: #fff; display: inline-flex; align-items: center; gap: .45rem; }
.work__go svg { transition: transform .25s cubic-bezier(.2,.7,.3,1); color: var(--aqua); }
.work:hover .work__go svg { transform: translateX(4px); }

/* --- FAQ ---------------------------------------------------------------- */
.faq { margin-top: 3rem; border-top: 1px solid var(--edge); }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.5rem 3rem 1.5rem 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  letter-spacing: -.025em; color: #fff; transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--aqua); }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 13px; height: 13px;
  translate: 0 -50%; transition: transform .3s cubic-bezier(.2,.7,.3,1);
  background:
    linear-gradient(var(--aqua), var(--aqua)) center/13px 1.6px no-repeat,
    linear-gradient(var(--aqua), var(--aqua)) center/1.6px 13px no-repeat;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 0 1.75rem; max-width: var(--prose); color: var(--fg-2); }
.faq details > div > * + * { margin-top: .9rem; }

/* --- Bloc d'appel ------------------------------------------------------- */
.callout {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  border: 1px solid rgba(63,227,198,.3);
  background: linear-gradient(150deg, #0E2A2A, var(--panel) 55%);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 900px) { .callout { grid-template-columns: 1.35fr auto; } }
.callout::before {
  content: ""; position: absolute; right: -12%; top: -60%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(63,227,198,.28), transparent 62%); pointer-events: none;
}
.callout > * { position: relative; }

/* --- Formulaire --------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-family: var(--display); font-weight: 600; font-size: .92rem; color: #fff; letter-spacing: -.015em; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--fg); width: 100%;
  padding: .85rem 1rem; border: 1px solid var(--edge-2); border-radius: var(--r);
  background: rgba(255,255,255,.035); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--aqua); background: rgba(63,227,198,.05);
  box-shadow: 0 0 0 3px rgba(63,227,198,.16);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--fg-3); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .875rem; color: var(--fg-2); }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: .22rem; accent-color: var(--aqua); }

.contact-cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }

/* --- Document long ------------------------------------------------------ */
.doc { max-width: 44rem; color: var(--fg-2); }
.doc h2 { font-size: clamp(1.35rem, 1.2rem + .7vw, 1.75rem); margin-top: 3rem; }
.doc h2:first-of-type { margin-top: 1.5rem; }
.doc h3 { margin-top: 1.8rem; }
.doc p, .doc ul, .doc ol { margin-top: 1rem; font-size: .98rem; }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc li + li { margin-top: .4rem; }
.doc dl { margin-top: 1rem; display: grid; gap: .1rem; }
.doc dt { font-family: var(--display); font-weight: 600; color: #fff; margin-top: 1rem; font-size: .95rem; }
.doc dd { margin: 0; font-size: .98rem; }
.notice {
  border: 1px solid rgba(255,194,75,.3); background: rgba(255,194,75,.07);
  border-radius: var(--r); padding: 1.1rem 1.25rem; font-size: .92rem; color: #F2DCAE;
}

/* Marqueur des éléments à compléter avant mise en ligne */
.todo {
  background: rgba(255,194,75,.14); border-bottom: 1px solid rgba(255,194,75,.55);
  color: var(--gold); padding: 0 .3em; font-style: normal;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* --- Pied de page ------------------------------------------------------- */
.footer { border-top: 1px solid var(--edge); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; background: var(--ink); }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer h4 { font-family: var(--mono); color: var(--fg-3); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.1rem; font-weight: 400; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.footer a { color: var(--fg-2); text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: var(--aqua); }
.footer p { color: var(--fg-2); font-size: .95rem; }
.footer__note {
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--edge);
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between;
  font-size: .82rem; color: var(--fg-3);
}

/* --- Lien d'évitement --------------------------------------------------- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--aqua); color: var(--aqua-ink); padding: .8rem 1.2rem; border-radius: 0 0 var(--r) 0; font-weight: 600; }
.skip:focus { left: 0; color: var(--aqua-ink); }

/* --- Apparitions au défilement ------------------------------------------ */
/* Le contenu est visible par défaut : l'animation ne fait que l'accompagner. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 48%;
    }
    @keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  }
  .hero__grid > * { animation: heroIn .7s cubic-bezier(.2,.7,.3,1) backwards; }
  .hero__grid > *:nth-child(2) { animation-delay: .12s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(22px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* --- Confirmation d'envoi du formulaire --------------------------------- */
.form-ok {
  border: 1px solid rgba(63,227,198,.35);
  background: linear-gradient(160deg, rgba(63,227,198,.10), transparent 70%);
  border-radius: var(--r-lg); padding: 1.75rem 1.6rem; color: var(--fg-2);
}
.form-ok h3 { color: #fff; }
.form-error {
  margin-top: .9rem; font-size: .92rem; color: var(--coral);
  border-left: 2px solid var(--coral); padding-left: .8rem;
}
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

/* --- Projet en production (réalisation réelle) --------------------------- */
.own {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem); margin-top: 3rem;
  border: 1px solid var(--edge); border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  align-items: center;
}
@media (min-width: 900px) { .own { grid-template-columns: .9fr 1.1fr; } }
.own__stage {
  position: relative; padding: clamp(2rem, 4vw, 2.75rem) 1.5rem 0;
  display: flex; justify-content: center; overflow: hidden;
}
.own__stage::before {
  content: ""; position: absolute; left: 50%; top: -40%; width: 170%; aspect-ratio: 1;
  translate: -50% 0; background: radial-gradient(circle, rgba(176,138,62,.16), transparent 62%);
}
.own__stage .phone { position: relative; max-width: 268px; }
.own__bd { padding: clamp(1.5rem, 3vw, 2.4rem); }
.own__bd h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .5rem; }
.own__bd p { color: var(--fg-2); }
.own__bd p + p { margin-top: .9rem; }
.own__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; padding: 0; list-style: none; }
.own__tags li {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--edge-2); border-radius: 99px; padding: .25rem .65rem; color: var(--fg-2);
}
.own__warn { margin-top: 1.4rem; font-size: .82rem; color: var(--fg-3); }
