/* =====================================================================
   Vitrine LabSimon : accueil, NautiGest, FireScreen, contact.

   Reprise du site vitrine de NautiGest (mêmes couleurs, typographie et
   vagues). Thème clair seulement.
   ===================================================================== */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --surface: #ffffff;
  --border: #e3e8ef;
  --text: #0f1b2d;
  --text-2: #4a5567;
  --muted: #5f6b7d;
  --border-champ: #7f8a9b;
  --primary: #0a66c2;
  --primary-hover: #0857a6;
  --primary-soft: #e8f1fb;
  --navy: #0b2545;
  --cyan: #00a6c8;
  --success: #13795b; --success-soft: #e3f4ed;
  /* Familles de compétences : mêmes teintes que l'application */
  --series-1: #2a78d6; --series-3: #1baf7a; --series-4: #8a63d2;
  --danger: #c0362c; --danger-soft: #fbe7e5;
  /* Teintes des icônes (fond / trait) */
  --t-bleu: #e8f1fb;   --c-bleu: #0a66c2;
  --t-cyan: #e0f6fa;   --c-cyan: #0087a3;
  --t-vert: #e3f4ed;   --c-vert: #13795b;
  --t-orange: #fdeee3; --c-orange: #c2560f;
  --t-rouge: #fbe7e5;  --c-rouge: #c0362c;
  --t-violet: #efe9fb; --c-violet: #6a43b8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 8px 24px rgba(15, 27, 45, .07);
  --shadow-lg: 0 30px 60px rgba(4, 16, 36, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
}

/* --- Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
/* L'attribut hidden l'emporte sur les display des composants (formulaire masqué...) */
[hidden] { display: none !important; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
/* Fonds sombres (accroche, en-tête transparent, appel à l'action) */
.v-hero a:focus-visible, .v-cta a:focus-visible,
.v-header:not(.v-header--defile, .v-header--plein) :focus-visible { outline-color: #7fd3ff; }
input, textarea { caret-color: var(--primary); }
a { text-underline-offset: .18em; }
h2 { text-wrap: balance; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.v-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.v-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: .5rem 1rem; border-radius: var(--radius-sm);
  background: var(--primary); color: #fff;
}
.v-skip:focus { top: 12px; }

/* --- Logo (même pictogramme que l'application) ----------------------- */
.v-logo {
  position: relative; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, #0a66c2, #00a6c8);
  box-shadow: 0 4px 12px rgba(10, 102, 194, .35);
}
.v-logo::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 15c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/%3E%3Cpath d='M2 19c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/%3E%3Cpath d='M12 3v7M9 7l3 3 3-3'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.v-logo--petit { width: 32px; height: 32px; border-radius: 9px; }

/* --- Boutons ---------------------------------------------------------- */
.v-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.v-btn:hover { text-decoration: none; transform: translateY(-1px); }
.v-btn:active { transform: none; }
.v-btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.v-btn--large { width: 100%; padding: .95rem 1.35rem; }
.v-btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(10, 102, 194, .28); }
.v-btn--primary:hover { background: var(--primary-hover); }
.v-btn--blanc { background: #fff; color: #0b2545; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.v-btn--fantome { color: #fff; border-color: rgba(255, 255, 255, .45); }
.v-btn--fantome:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.v-btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* Bouton secondaire de l'en-tête : prend la couleur du texte (clair ou sombre) */
.v-btn--contour { color: inherit; border-color: color-mix(in srgb, currentColor 45%, transparent); }
.v-btn--contour:hover { border-color: currentColor; }
.v-nav .v-nav__demo-mobile { display: none; }

/* Indicateur de chargement (bouton d'envoi du formulaire) */
.v-spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: v-tourne .7s linear infinite;
}
.v-btn--chargement .v-spinner { display: inline-block; }
@keyframes v-tourne { to { transform: rotate(360deg); } }

/* --- En-tête ----------------------------------------------------------
   Transparent sur l'accroche (accueil), puis fond et ombre au défilement.
   Page sans accroche (contact) : « v-header--plein », fond dès le départ. */
.v-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}
.v-header--defile, .v-header--plein {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  backdrop-filter: saturate(1.6) blur(12px);
  box-shadow: 0 1px 0 var(--border);
  color: var(--text);
}
.v-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.v-brand { display: flex; align-items: center; gap: .65rem; color: inherit; }
.v-brand:hover { text-decoration: none; }
.v-brand__nom { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.v-version {
  font-size: .68rem; font-weight: 600; line-height: 1; padding: .22rem .45rem; border-radius: 999px;
  background: rgba(255, 255, 255, .16); color: inherit;
}
.v-header--defile .v-version, .v-header--plein .v-version, .v-footer .v-version {
  background: var(--primary-soft); color: var(--primary);
}

.v-nav { display: flex; align-items: center; gap: 1.6rem; }
.v-nav a:not(.v-btn) { color: inherit; font-weight: 500; font-size: .95rem; opacity: .88; }
.v-nav a:not(.v-btn):hover, .v-nav a[aria-current="page"] { opacity: 1; text-decoration: none; }
.v-nav a[aria-current="page"] { color: var(--primary); }
.v-burger {
  display: none; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; margin-right: -.6rem;
  border: 0; background: none; color: inherit; cursor: pointer; border-radius: 8px;
}

/* --- Accroche (hero) ------------------------------------------------- */
.v-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 150px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(0, 166, 200, .38), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(10, 102, 194, .45), transparent 50%),
    linear-gradient(160deg, #0b2545 0%, #0a3d73 55%, #0a66c2 100%);
}
.v-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.v-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; text-wrap: balance; }
.v-accent { color: #7fd3ff; }
.v-hero__intro { margin-top: 1.3rem; max-width: 34rem; font-size: 1.12rem; color: rgba(255, 255, 255, .85); }
.v-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.v-hero__points {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin: 2rem 0 0; padding: 0; list-style: none;
  font-size: .9rem; color: rgba(255, 255, 255, .8);
}
.v-hero__points li { display: flex; align-items: center; gap: .45rem; }
.v-hero__points li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ff0d4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Vagues au bas de l'accroche, couleur du fond de la page */
.v-vagues { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; }
.v-vagues path:first-child { fill: var(--bg); opacity: .35; }
.v-vagues path:last-child { fill: var(--bg); }

/* --- Fiches : extraits fidèles de l'application (données fictives) --- */
::selection { background: #7fd3ff; color: #0b2545; }
.v-fiche {
  overflow: hidden; border-radius: var(--radius);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  font-variant-numeric: tabular-nums;
}
.v-fiche ul { margin: 0; padding: 0; list-style: none; }
.v-fiche code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.v-fiche h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 1.05rem; }
.v-fiche h3 small { font-size: .85rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }

/* Accroche : statistiques de l'équipe, courbes de l'année et de la précédente */
.v-stats { margin: 0; min-width: 0; }
.v-stats .v-fiche { border: 0; box-shadow: var(--shadow-lg); }
.v-stats__ecrans { display: flex; align-items: flex-end; }
.v-stats__ecrans > .v-fiche { flex: 1; min-width: 0; }
/* Le téléphone chevauche la marge de la fiche, sans masquer la courbe */
.v-tel {
  position: relative; flex-shrink: 0; width: 164px; margin: 0 0 -28px -14px;
  padding: 7px; border-radius: 28px; background: #06121f; box-shadow: var(--shadow-lg);
}
.v-stats .v-tel .v-fiche { border-radius: 21px; padding: 20px 12px 22px; box-shadow: none; }
.v-tel__titre { font-weight: 700; font-size: .88rem; line-height: 1.3; }
.v-tel__titre small { display: block; font-weight: 500; color: var(--text-2); }
.v-tel .v-jauges { gap: 14px; margin-top: 14px !important; }
.v-tel .v-jauges p { gap: .4rem; font-size: .75rem; }
.v-tel .v-jauges progress { height: 8px; margin: 4px 0 0; }
.v-stats figcaption { margin-top: 2.4rem; font-size: .8rem; text-align: right; color: rgba(255, 255, 255, .85); }
.v-stats__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 20px 24px 16px; }
.v-stats__tete p { font-size: 1.15rem; font-weight: 700; }
.v-stats__tete span { font-weight: 600; color: var(--text-2); }
.v-stats__chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 14px 24px; background: var(--primary-soft); }
.v-stats__chiffres dt { font-size: .75rem; color: var(--text-2); }
.v-stats__chiffres dd { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.v-courbes { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; padding: 18px 24px 18px; }
.v-courbes__titre { grid-column: 1 / -1; font-weight: 600; font-size: .93rem; }
.v-courbes .v-courbes__legende { grid-column: 1 / -1; display: flex; gap: 1.2rem; margin-bottom: 8px; font-size: .8rem; color: var(--text-2); }
.v-courbes__legende li { display: flex; align-items: center; gap: .4rem; }
.v-courbes__legende li::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--series-1); }
.v-courbes__legende li.avant::before { background: repeating-linear-gradient(90deg, var(--muted) 0 5px, transparent 5px 9px); }
.v-courbes__echelle { display: flex; flex-direction: column; justify-content: space-between; margin: -.55em 0; font-size: .72rem; line-height: 1.1; text-align: right; color: var(--text-2); }
.v-courbes__trace { width: 100%; height: 170px; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.v-courbes__trace path { vector-effect: non-scaling-stroke; }
.v-courbes__trace .grille { stroke: var(--border); stroke-width: 1; }
.v-courbes__trace .aire { fill: var(--series-1); opacity: .12; }
/* Année précédente en tirets : lisible aussi sans distinguer les couleurs */
.v-courbes__trace .avant { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 5 5; }
.v-courbes__trace .annee { stroke: var(--series-1); stroke-width: 2.5; }
.v-courbes__trace .annee, .v-courbes__trace .aire { animation: v-trace 1.1s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes v-trace { from { clip-path: inset(-5% 70% -5% 0); } to { clip-path: inset(-5% 0 -5% 0); } }
.v-courbes__mois { grid-column: 2; display: grid; grid-template-columns: repeat(12, 1fr); font-size: .72rem; text-align: center; color: var(--text-2); }

/* La palanquée : paramètres communs en haut, un numéro par plongeur dessous */
.v-palanquee { margin: 0; min-width: 0; }
.v-bloc .v-palanquee .v-fiche { padding: 0; }
.v-palanquee__tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; padding: 22px 24px 18px; }
.v-palanquee__tete small { display: block; font-size: .78rem; font-weight: 500; color: var(--text-2); }
.v-palanquee__tete code { font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 700; }
.v-palanquee__lieu { text-align: right; font-weight: 600; line-height: 1.35; }
.v-palanquee__params {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px;
  margin: 0; padding: 16px 24px; background: var(--primary-soft);
}
.v-palanquee__params dt { font-size: .75rem; color: var(--text-2); }
.v-palanquee__params dd { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.v-palanquee__regle { padding: 0 24px 12px; background: var(--primary-soft); font-size: .82rem; font-weight: 600; color: var(--text); }
/* Le trait relie les paramètres communs à chacun des plongeurs */
.v-palanquee__membres { position: relative; padding: 6px 24px 10px 52px !important; }
.v-palanquee__membres li { position: relative; display: flex; align-items: center; gap: .8rem; padding: .75rem 0; }
.v-palanquee__membres li + li { border-top: 1px solid var(--border); }
.v-palanquee__membres li::before {
  content: ""; position: absolute; left: -24px; top: 50%; width: 16px; height: 2px; background: var(--primary);
}
.v-palanquee__membres li::after {
  content: ""; position: absolute; left: -24px; top: -1px; bottom: 0; width: 2px; background: var(--primary);
}
.v-palanquee__membres li:first-child::after { top: -6px; }
.v-palanquee__membres li:last-child::after { bottom: 50%; }
.v-palanquee__membres img { flex-shrink: 0; }
.v-palanquee__membres p { flex: 1; min-width: 0; line-height: 1.3; font-size: .93rem; }
.v-palanquee__membres small { display: block; font-size: .8rem; color: var(--text-2); }
.v-palanquee__membres code { padding: .2rem .5rem; border-radius: 6px; border: 1px solid var(--border); font-size: .78rem; font-weight: 600; white-space: nowrap; }

/* Bande « preuve » : recyclage et compétences */
.v-preuve { padding-bottom: 24px; }
.v-preuve__titre { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.v-preuve__titre h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; text-wrap: balance; }
.v-preuve__titre p { font-size: 1.08rem; color: var(--text-2); }
.v-preuve__ecrans { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.v-preuve figure { margin: 0; min-width: 0; }
.v-preuve .v-fiche { padding: 24px; }
.v-preuve figcaption { margin-top: .75rem; font-size: .84rem; color: var(--text-2); }
.v-jauges { display: grid; gap: 18px; margin-top: 18px !important; }
.v-jauges p { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-2); }
.v-jauges p b, .v-jauges strong { color: var(--text); }
.v-jauges strong { font-size: 1.25rem; }
.v-jauges progress {
  display: block; width: 100%; height: 10px; margin: 6px 0 4px; border: 0; border-radius: 999px; overflow: hidden;
  -webkit-appearance: none; appearance: none; background: var(--primary-soft); color: var(--primary);
}
.v-jauges progress::-webkit-progress-bar { background: var(--primary-soft); }
.v-jauges progress::-webkit-progress-value { background: var(--primary); border-radius: 999px; }
.v-jauges progress::-moz-progress-bar { background: var(--primary); border-radius: 999px; }
.v-jauges .atteint progress::-webkit-progress-value { background: var(--success); }
.v-jauges .atteint progress::-moz-progress-bar { background: var(--success); }
.v-jauges small { font-size: .82rem; color: var(--text-2); }
.v-jauges .atteint small { color: var(--success); font-weight: 600; }
.v-equipe { margin-top: 10px !important; }
.v-equipe li { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; padding: 1rem 0; }
.v-equipe li + li { border-top: 1px solid var(--border); }
.v-equipe b { flex: 1; min-width: 9rem; font-size: .93rem; }
.v-comps { display: flex; flex-wrap: wrap; gap: .35rem; }
/* Le texte est rapproché de la couleur du texte courant pour rester lisible */
.v-comp {
  display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .55rem; border-radius: 6px;
  font-size: .78rem; font-weight: 700; white-space: nowrap;
  color: color-mix(in srgb, var(--c) 55%, var(--text)); background: color-mix(in srgb, var(--c) 14%, transparent);
}
.v-comp svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.v-comp--plongee { --c: var(--series-1); }
.v-comp--surface { --c: var(--series-3); }
.v-comp--embarcation { --c: var(--series-4); }
.v-comp--non { color: var(--text-2); background: var(--bg-alt); }

/* --- Sections --------------------------------------------------------- */
.v-section { padding: 96px 0; }
.v-section--alt { background: var(--bg-alt); }
.v-titre { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.v-titre h2, .v-securite h2, .v-contact h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.v-titre p { margin-top: 1rem; font-size: 1.08rem; color: var(--text-2); }

/* Fonctionnalités : trois blocs avec leur preuve, puis le reste en bref */
.v-bloc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.v-bloc--inverse { grid-template-columns: 1.1fr .9fr; }
.v-bloc--inverse .v-bloc__texte { order: 2; }
.v-bloc figure { margin: 0; min-width: 0; }
.v-bloc figcaption { margin-top: .75rem; font-size: .84rem; color: var(--text-2); }
.v-bloc h2, .v-aussi h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; text-wrap: balance; }
.v-bloc .v-fiche { padding: 24px; }
.v-points { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.v-points h3 { font-size: 1.02rem; letter-spacing: 0; }
.v-points p { margin-top: .3rem; max-width: 65ch; font-size: .95rem; color: var(--text-2); }
.v-points--ligne { grid-template-columns: repeat(3, 1fr); gap: 20px 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.v-preuve .v-points { margin-top: 48px; }
.v-aussi { margin-top: 96px; }
.v-aussi__intro { margin-top: .8rem; color: var(--text-2); }

.v-echeances { margin-top: 8px !important; }
.v-echeances li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.v-echeances li + li { border-top: 1px solid var(--border); }
.v-echeances small { display: block; font-size: .85rem; color: var(--text-2); }
.v-echeances span {
  flex-shrink: 0; padding: .25rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: var(--t-orange); color: color-mix(in srgb, var(--c-orange) 75%, var(--text));
}

.v-carte__icone {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 12px;
}
.v-carte__icone svg {
  width: 24px; height: 24px; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.bleu   { --t: var(--t-bleu);   --c: var(--c-bleu); }
.cyan   { --t: var(--t-cyan);   --c: var(--c-cyan); }
.vert   { --t: var(--t-vert);   --c: var(--c-vert); }
.orange { --t: var(--t-orange); --c: var(--c-orange); }
.rouge  { --t: var(--t-rouge);  --c: var(--c-rouge); }
.violet { --t: var(--t-violet); --c: var(--c-violet); }
.v-carte__icone { background: var(--t); color: var(--c); }

/* Profils */
.v-profils { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.v-securite__liste .v-technique { margin-top: .4rem; font-size: .82rem; }
.v-profil {
  padding: 24px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.v-profil h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.08rem; }
.v-puce { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--t); }
.v-profil ul { margin: 1.1rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.v-profil li { position: relative; padding-left: 1.3rem; font-size: .93rem; color: var(--text-2); }
.v-profil li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--border);
}

/* Essayer : trois étapes dans l'ordre */
.v-essai__titre { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.v-essai { counter-reset: etape; margin-top: 40px; padding-top: 0; border-top: 0; }
.v-essai li { counter-increment: etape; }
.v-essai li::before {
  content: counter(etape); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: 50%; background: var(--primary-soft); font-weight: 700;
}
.v-section.v-section--apres-alt { padding-top: 96px; }

/* Sécurité */
.v-securite { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.v-securite__texte p { margin-top: 1rem; font-size: 1.08rem; color: var(--text-2); }
.v-lien-fleche { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: 1rem; font-weight: 600; }
.v-lien-fleche::after { content: "→"; transition: transform .15s ease; }
.v-lien-fleche:hover { text-decoration: none; }
.v-lien-fleche:hover::after { transform: translateX(3px); }
.v-securite__liste { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.v-securite__liste li {
  display: flex; gap: .9rem; padding: 22px; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--border);
}
.v-securite__liste b { display: block; margin-bottom: .3rem; }
.v-securite__liste p { font-size: .92rem; color: var(--text-2); }
.v-coche {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313795b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Appel à l'action */
.v-section--cta { padding-top: 0; }
.v-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 48px 52px; border-radius: 22px; color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 166, 200, .45), transparent 50%),
    linear-gradient(135deg, #0b2545, #0a66c2);
}
.v-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.v-cta p { margin-top: .6rem; color: rgba(255, 255, 255, .85); max-width: 36rem; }
.v-cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- Contact ------------------------------------------------------------ */
.v-contact { padding-top: calc(var(--header-h) + 64px); min-height: calc(100vh - 160px); }
.v-contact__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.v-contact__texte > p { margin-top: 1rem; font-size: 1.08rem; color: var(--text-2); }
.v-contact__points { margin: 2.2rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.4rem; }
.v-contact__points li { display: flex; gap: 1rem; }
.v-contact__points b { display: block; margin-bottom: .15rem; }
.v-contact__points p { font-size: .93rem; color: var(--text-2); }

.v-formulaire {
  padding: 36px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.v-formulaire form { display: grid; gap: 1.1rem; }
.v-champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.v-champ { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.v-champ label { font-size: .85rem; font-weight: 600; color: var(--text-2); }
.v-requis { color: var(--danger); }
.v-champ input, .v-champ select, .v-champ textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 10px;
  border: 1px solid var(--border-champ); background: var(--bg);
  font: inherit; font-size: .95rem; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.v-champ textarea { resize: vertical; min-height: 140px; }
.v-champ input:focus, .v-champ select:focus, .v-champ textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
.v-champ input:user-invalid, .v-champ textarea:user-invalid,
.v-champ [aria-invalid="true"] { border-color: var(--danger); }
.v-erreur-champ { font-size: .84rem; font-weight: 600; color: var(--danger); }
.v-aide { align-self: flex-end; font-size: .78rem; color: var(--muted); }
.v-mention { font-size: .84rem; color: var(--muted); }
.v-case { display: flex; gap: .7rem; align-items: flex-start; font-size: .87rem; color: var(--text-2); cursor: pointer; }
.v-case input { margin-top: .2rem; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--primary); }
/* Champ piège : hors de l'écran (pas display:none, que certains robots repèrent) */
.v-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.v-retour { padding: .85rem 1rem; border-radius: 10px; font-size: .92rem; }
.v-retour--succes { background: var(--success-soft); color: var(--success); }
.v-retour--erreur { background: var(--danger-soft); color: var(--danger); }
.v-retour--info { background: var(--primary-soft); color: var(--primary); }

/* --- Pied de page ------------------------------------------------------- */
.v-footer { border-top: 1px solid var(--border); padding: 40px 0 28px; background: var(--bg); }
.v-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.v-footer__marque { display: flex; align-items: center; gap: .8rem; }
.v-footer__marque p { font-size: .88rem; color: var(--muted); }
.v-footer__liens { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.v-footer__liens a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); font-size: .92rem; }
.v-footer__copyright { max-width: 1180px; margin: 28px auto 0; padding: 0 24px; font-size: .78rem; color: var(--muted); }

.v-connexion-mobile { display: none; }

/* --- Écrans moyens -------------------------------------------------------- */
@media (max-width: 1080px) {
  .v-profils { grid-template-columns: repeat(2, 1fr); }
  .v-profil:last-child { grid-column: 1 / -1; }
  .v-bloc { grid-template-columns: 1fr; gap: 36px; }
  .v-bloc--inverse .v-bloc__texte { order: 0; }
  .v-points--ligne { grid-template-columns: 1fr; }
  .v-hero__inner, .v-securite, .v-contact__inner, .v-preuve__titre, .v-preuve__ecrans { grid-template-columns: 1fr; gap: 48px; }
  .v-preuve__titre { gap: 16px; }
  .v-palanquee, .v-stats { width: 100%; max-width: 600px; justify-self: center; }
}

/* Menu complet mais place comptée : liens resserrés, sur une seule ligne */
@media (min-width: 821px) and (max-width: 980px) {
  .v-nav { gap: .9rem; white-space: nowrap; }
  .v-nav .v-btn svg { display: none; }
}

/* --- Téléphone : menu repliable ----------------------------------------- */
@media (max-width: 820px) {
  .v-container { padding: 0 16px; }
  .v-burger { display: inline-flex; }
  .v-connexion-mobile { display: inline-flex; min-height: 44px; margin-left: auto; }
  .v-nav .v-btn { display: none; }
  .v-nav .v-nav__demo-mobile { display: block; font-weight: 700; }
  .v-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px;
    background: var(--bg); color: var(--text); box-shadow: 0 12px 24px rgba(15, 27, 45, .12);
    border-top: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  .v-menu-ouvert .v-nav { transform: none; opacity: 1; visibility: visible; }
  .v-nav a:not(.v-btn) { padding: .85rem 0; border-bottom: 1px solid var(--border); }
  /* Menu ouvert sur l'accroche : en-tête opaque */
  .v-menu-ouvert .v-header { background: var(--bg); color: var(--text); box-shadow: 0 1px 0 var(--border); }
  .v-menu-ouvert .v-header .v-version { background: var(--primary-soft); color: var(--primary); }

  .v-section { padding: 64px 0; }
  .v-aussi { margin-top: 64px; }
  .v-hero { padding: calc(var(--header-h) + 40px) 0 110px; }
  .v-titre { margin-bottom: 36px; }
  .v-securite__liste, .v-champs-2 { grid-template-columns: 1fr; }
  .v-section.v-section--apres-alt { padding-top: 64px; }
  .v-cta { padding: 32px 24px; }
  .v-formulaire { padding: 24px 18px; }
  .v-contact { padding-top: calc(var(--header-h) + 32px); }
}

@media (max-width: 560px) {
  /* Petits écrans : logo, « Connexion » et menu doivent tenir sur une ligne
     (la version reste affichée dans le pied de page) */
  .v-header__inner { gap: .5rem; }
  .v-header .v-version { display: none; }
  .v-profils { grid-template-columns: 1fr; }
  .v-stats__ecrans { flex-direction: column; align-items: stretch; }
  .v-tel { align-self: center; width: min(240px, 100%); margin: 16px 0 0; }
  .v-stats figcaption { margin-top: .75rem; }
  .v-bloc .v-fiche { padding: 18px 16px; }
  .v-stats__tete, .v-stats__chiffres, .v-courbes { padding-left: 16px; padding-right: 16px; }
  .v-hero__actions .v-btn, .v-cta__actions .v-btn { width: 100%; }
  .v-palanquee__tete { padding: 18px 16px 14px; }
  .v-palanquee__lieu { text-align: left; }
  .v-palanquee__params { padding: 14px 16px; }
  .v-palanquee__regle { padding: 0 16px 12px; }
  .v-palanquee__membres { padding: 6px 16px 10px 42px !important; }
  .v-palanquee__membres li { flex-wrap: wrap; gap: .4rem .7rem; }
  .v-palanquee__membres li::before { left: -22px; width: 14px; }
  .v-palanquee__membres li::after { left: -22px; }
  .v-palanquee__membres p { flex-basis: calc(100% - 34px - .7rem); }
  .v-palanquee__membres code { margin-left: calc(34px + .7rem); }
  .v-preuve .v-fiche { padding: 18px 16px; }
  .v-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   Ajouts de la vitrine commune
   ===================================================================== */
.v-logo--site::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V8l7-5 7 5v13M9 21v-6h6v6'/%3E%3C/svg%3E"); }
/* FireScreen : bleu nuit et ambre, comme l'application */
.v-logo--firescreen { background: linear-gradient(135deg, #ffc552, #e8890c); box-shadow: 0 4px 12px rgba(232, 137, 12, .35); }
.v-logo--firescreen::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231703' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); }

.v-hero--accueil { text-align: center; }
.v-hero__centre { position: relative; z-index: 1; max-width: 820px; }
.v-hero__centre .v-hero__intro { margin-inline: auto; }
.v-hero__centre .v-hero__actions { justify-content: center; }

.v-hero--firescreen {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 182, 39, .20), transparent 45%),
    linear-gradient(160deg, #0a1020 0%, #0e1526 55%, #243a6b 100%);
}
.v-hero--firescreen .v-accent { color: #ffc552; }

/* Produits de l'accueil */
.v-produits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v-produit {
  display: flex; flex-direction: column; gap: 1rem; padding: 32px;
  border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.v-produit h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.4rem; }
.v-produit p, .v-produit li { color: var(--text-2); }
.v-produit ul { margin: 0; padding-left: 1.2rem; }
.v-produit__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: auto; padding-top: .5rem; }

/* Écran de caserne illustré */
.v-tv { margin: 0; min-width: 0; }
.v-tv__ecran {
  display: flex; flex-direction: column; justify-content: center; gap: .6rem;
  aspect-ratio: 16 / 9; overflow: hidden; position: relative; padding: 8% 8% 18%;
  background: #10243f; border: 10px solid #05080f; border-radius: 14px; box-shadow: var(--shadow-lg);
}
.v-tv__caserne { font-size: .85rem; color: #ffc552; font-weight: 700; }
.v-tv__titre { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.15; }
.v-tv__texte { color: rgba(255, 255, 255, .8); }
.v-tv__bandeau {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .55rem 1rem;
  background: #ffb627; color: #231703; font-size: .85rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v-tv figcaption { margin-top: .75rem; font-size: .84rem; color: rgba(255, 255, 255, .75); }

.v-profils--3 { grid-template-columns: repeat(3, 1fr); }
.v-introuvable { padding-top: calc(var(--header-h) + 96px); min-height: calc(100vh - 160px); }
.v-introuvable .v-titre p + p { margin-top: 2rem; }

@media (max-width: 1080px) {
  .v-produits, .v-profils--3 { grid-template-columns: 1fr; }
  .v-profils--3 .v-profil:last-child { grid-column: auto; }
  .v-tv { width: 100%; max-width: 600px; justify-self: center; }
}

/* Page courante lisible sur l'accroche sombre (en-tête transparent) */
@media (min-width: 821px) {
  .v-header:not(.v-header--defile, .v-header--plein) .v-nav a[aria-current="page"] {
    color: inherit; text-decoration: underline; text-underline-offset: .45em;
  }
}
