/* Portfolio de Cyril Neau : même direction artistique qu'app.cyrilneau.fr
   (vagues turquoise / menthe / orange de la carte de visite, texte bleu nuit, accents orange, Poppins / Inter),
   mais étalée sur ordinateur au lieu de rester au format téléphone. */
/* Polices hébergées sur ce site (Inter, Poppins : licence SIL OFL). Aucune requête vers Google. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("polices/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("polices/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("polices/poppins-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("polices/poppins-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("polices/poppins-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("polices/poppins-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Carte de visite */
  --turquoise: #3ee6ec;
  --menthe: #6dd3b8;
  --orange: #f08a1f;

  /* Site cyrilneau.fr */
  --bleu-nuit: #052a75;
  --orange-texte: #e07800;
  --bleu-clair: #c2d2ff;
  --gris: #5c5c66;
  --noir: #4a3d33;
  --whatsapp: #25d366;

  --fond: #ffffff;
  --fond-doux: #f7faff;
  --trait: #e6ecf8;

  /* Caveat Emptor : le bleu de l'extension, seulement à l'intérieur de sa page */
  --bleu-caveat: #005ce6;

  --rayon: 16px;
  --ombre: 0 4px 14px rgba(5, 42, 117, .07);
  --ombre-haute: 0 2px 6px rgba(5, 42, 117, .06), 0 18px 40px rgba(5, 42, 117, .12);
  --ressort: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; }
a:focus:not(:focus-visible) { outline: none; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--bleu-nuit);
  background: var(--fond);
  overflow-x: clip;
}

h1, h2, h3, .btn { font-family: "Poppins", "Inter", sans-serif; }
img { max-width: 100%; }
svg.icone { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }

/* ---------- En-tête à vagues (repris d'app.cyrilneau.fr) ---------- */

.entete { position: relative; height: 150px; overflow-x: clip; }
.vagues { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 190px; overflow: visible; }
@media (min-width: 900px) {
  .entete { height: 170px; }
  .vagues { height: 214px; }
}

/* Lien de retour posé sur les vagues */
.retour {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 1002;   /* devant la vague orange, qui passe elle-même devant le rideau */
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--ombre);
  color: var(--bleu-nuit);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform .25s var(--ressort), box-shadow .25s var(--ressort);
}
.retour .icone { width: 14px; height: 14px; }
.retour:hover { transform: translateX(-2px); box-shadow: var(--ombre-haute); }
.retour:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.retour:active { transform: translateX(0); }

/* ---------- Identité ---------- */

.identite { position: relative; text-align: center; padding: 0 16px; }
.avatar {
  display: block;
  width: 104px;
  height: 104px;
  margin: -64px auto 0;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #e6ecf8;
  box-shadow: var(--ombre);
}
.nom { position: relative; width: fit-content; margin: 6px auto 0; font-family: "Poppins", sans-serif; font-size: .875rem; font-weight: 700; line-height: 1.2; color: var(--noir); }
/* Pastille « en ligne » après le nom, comme sur l'appli */
.nom::after {
  content: "";
  position: absolute;
  left: calc(100% + 5px);
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 1.5px rgba(37, 211, 102, .2);
  animation: en-ligne 3s ease-in-out infinite;
}
@keyframes en-ligne { 50% { opacity: .3; } }

/* ---------- Mise en page ---------- */

.page { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
/* Les taches floues de l'intro débordent exprès : sur les écrans étroits, on les coupe au bord pour ne jamais élargir la page */
@media (max-width: 1299px) { .page { overflow-x: clip; } }
.page-etroite { max-width: 860px; }

.intro { position: relative; isolation: isolate; max-width: 760px; margin: 28px auto 0; text-align: center; }
/* Tache orange floue, comme sous la promesse de l'appli */
.intro::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -160px;
  z-index: -1;
  width: 340px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 138, 31, .22), rgba(240, 138, 31, 0));
  pointer-events: none;
}
.intro::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -180px;
  z-index: -1;
  width: 320px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(62, 230, 236, .16), rgba(62, 230, 236, 0));
  pointer-events: none;
}

.titre {
  margin: 0;
  font-size: clamp(1.55rem, 1.1rem + 2.2vw, 2.55rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--bleu-nuit);
  text-wrap: balance;
}
.titre strong { color: var(--orange-texte); font-weight: 700; }
.chapo {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--gris);
  font-size: clamp(1rem, .95rem + .25vw, 1.1rem);
  line-height: 1.65;
  text-wrap: pretty;
}

/* Petite étiquette de section, suivie d'un trait fin */
.etiquette {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-texte);
}
.etiquette::after { content: ""; flex: 1; height: 1px; background: var(--trait); }

/* ---------- Sections de l'accueil ---------- */

.section { margin-top: 72px; }
.section-titre {
  margin: 0 0 28px;
  font-size: clamp(1.35rem, 1.05rem + 1.3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-wrap: balance;
}

/* ---------- Les petits outils : rayons en accordéon + panneau du résultat (modèle : cas d'usage de Zapier) ---------- */

.outils { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .outils { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; } }

.rayons { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.rayon { border-bottom: 1px solid var(--trait); }
.rayon-tete {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 2px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--bleu-nuit);
  font: 600 1.08rem/1.3 "Poppins", sans-serif;
  text-align: left;
  transition: color .25s;
}
.rayon-tete:hover, .rayon.ouvert .rayon-tete { color: var(--orange-texte); }
.rayon-tete:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.rayon-nombre { margin-left: auto; font: 500 .78rem "Inter", sans-serif; color: var(--gris); white-space: nowrap; }
/* Le « + » qui devient « − » à l'ouverture */
.plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; color: var(--gris); }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ressort);
}
.plus::after { transform: rotate(90deg); }
.rayon.ouvert .plus::after { transform: rotate(0); }

/* Ouverture en douceur : la rangée passe de 0 à sa hauteur naturelle */
.rayon-corps { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ressort); }
.rayon.ouvert .rayon-corps { grid-template-rows: 1fr; }
.rayon-interieur { overflow: hidden; min-height: 0; }
.fiches { margin: 0; padding: 0 0 18px; list-style: none; display: grid; gap: 6px; }

.fiche {
  display: block;
  width: 100%;
  padding: 12px 14px 12px 16px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0 12px 12px 0;
  background: none;
  cursor: pointer;
  color: var(--bleu-nuit);
  font: inherit;
  text-align: left;
  transition: background .25s, border-color .25s;
}
.fiche:hover { background: var(--fond-doux); }
.fiche[aria-pressed="true"] { border-left-color: var(--orange); background: #fff6ec; }
.fiche:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.fiche-ligne { display: block; line-height: 1.5; text-wrap: pretty; }
.fiche-ligne + .fiche-ligne { margin-top: 4px; }
.fiche-etiquette { font-weight: 600; }
.fiche-probleme { color: var(--gris); font-size: .93rem; }
.fiche-probleme .fiche-etiquette { color: var(--bleu-nuit); }
.fiche-solution { font-size: .98rem; }
.fiche-solution .fiche-etiquette { color: var(--orange-texte); }

/* Panneau coloré du résultat, teinte selon le rayon */
.panneau-place { position: sticky; top: 24px; }
.panneau {
  --teinte: #ffe4c6;
  --teinte-forte: rgba(240, 138, 31, .45);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 3.6vw, 40px);
  border-radius: 24px;
  background-color: var(--teinte);
  transition: background-color .5s ease;
}
.panneau[data-rayon="2"] { --teinte: #d6f3ea; --teinte-forte: rgba(109, 211, 184, .6); }
.panneau[data-rayon="3"] { --teinte: #d6f7f9; --teinte-forte: rgba(62, 230, 236, .55); }
.panneau[data-rayon="4"] { --teinte: #e2e9ff; --teinte-forte: rgba(125, 151, 232, .5); }
.panneau[data-rayon="5"] { --teinte: #ffedd2; --teinte-forte: rgba(245, 180, 74, .55); }
/* Tache de lumière qui dérive lentement dans le panneau */
.panneau::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--teinte-forte), transparent);
  animation: derive 10s ease-in-out infinite alternate;
}
@keyframes derive { to { transform: translate(-30%, 25%) scale(1.15); } }
.rayon .panneau { margin: 0 0 20px; }

.fenetre { border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 2px 0 rgba(5, 42, 117, .05), 0 22px 44px rgba(5, 42, 117, .16); }
.fenetre-barre { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--trait); }
.fenetre-barre i { width: 9px; height: 9px; border-radius: 50%; background: var(--trait); }
.fenetre-titre { margin-left: 8px; overflow: hidden; font: 600 .78rem "Poppins", sans-serif; color: var(--gris); white-space: nowrap; text-overflow: ellipsis; }

/* Emplacement de la vidéo : un léger reflet passe en attendant */
.ecran {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(115deg, var(--fond-doux) 30%, #fff 50%, var(--fond-doux) 70%);
  background-size: 250% 100%;
  animation: reflet 9s ease-in-out infinite alternate;
}
@keyframes reflet { from { background-position: 100% 0; } to { background-position: 0 0; } }
.lecture {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--ombre-haute);
  color: var(--orange-texte);
}
.lecture svg { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.ecran-note { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: .78rem; color: var(--gris); }
.panneau-legende {
  margin: 18px 4px 0;
  font: 600 clamp(1rem, .92rem + .4vw, 1.2rem)/1.4 "Poppins", sans-serif;
  color: var(--bleu-nuit);
  text-wrap: balance;
}
.panneau.change .fenetre, .panneau.change .panneau-legende { animation: change .45s var(--ressort); }
@keyframes change { from { opacity: 0; transform: translateY(8px); } }

/* ---------- La barre des tâches sur mesure ---------- */

.vitrine { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .vitrine { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; } }
.vitrine-texte .section-titre { margin-bottom: 14px; }
.vitrine-texte p { margin: 0; color: var(--gris); font-size: 1rem; line-height: 1.65; text-wrap: pretty; }

.bureau {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(62, 230, 236, .55), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(240, 138, 31, .5), transparent 60%),
    linear-gradient(160deg, #0b3a8f, var(--bleu-nuit));
  box-shadow: var(--ombre-haute);
}
.bureau-centre { position: relative; flex: 1; display: grid; place-items: center; }
.ecran-note-clair { color: rgba(255, 255, 255, .8); }

.barre {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 10px 10px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .74rem;
  overflow: hidden;
}
.module { display: flex; align-items: center; gap: 6px; flex-shrink: 0; height: 30px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, .13); white-space: nowrap; }
.module-tache { flex-shrink: 1; min-width: 0; overflow: hidden; }
.coche { width: 12px; height: 12px; border: 1.5px solid #fff; border-radius: 4px; }
.anneau {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0 74%, rgba(255, 255, 255, .25) 0);
  -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px);
  mask: radial-gradient(circle, transparent 4.5px, #000 5px);
}
.module-palette { gap: 4px; }
.module-palette i { width: 12px; height: 12px; border-radius: 50%; }
.module-emoji { font-size: .95rem; }
.jauge { position: relative; width: 46px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.jauge::after { content: ""; position: absolute; inset: 0 38% 0 0; border-radius: 3px; background: var(--menthe); }
.heure { margin-left: auto; padding: 0 6px; opacity: .85; }
@media (max-width: 560px) { .cache-mobile { display: none; } }

/* ---------- Les grands projets ---------- */

.projets { display: grid; gap: 16px; }
.projet {
  display: grid;
  overflow: hidden;
  border: 1.5px solid var(--bleu-clair);
  border-radius: 20px;
  background: var(--fond);
  color: var(--bleu-nuit);
  text-decoration: none;
}
@media (min-width: 760px) { .projet { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.projet-texte { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 26px 28px; }
.projet-icone { width: 56px; height: 56px; margin-bottom: 6px; border-radius: 16px; box-shadow: 0 6px 16px rgba(0, 92, 230, .22); }
.projet-titre { margin: 0; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-weight: 600; line-height: 1.3; text-wrap: balance; }
.projet-outil { margin: 0; color: var(--gris); font-size: .9rem; }
.projet-lien { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--orange-texte); font-weight: 600; }
.projet-lien .icone { width: 16px; height: 16px; transition: transform .3s var(--ressort); }
.projet-visuel { min-height: 200px; background: var(--fond-doux); }
.projet-visuel img { display: block; width: 100%; height: 100%; object-fit: cover; }

.projet-pret { border-color: var(--orange); box-shadow: var(--ombre); transition: transform .3s var(--ressort), box-shadow .3s var(--ressort); }
.projet-pret:hover { transform: translateY(-3px); box-shadow: var(--ombre-haute); }
.projet-pret:hover .projet-lien .icone { transform: translateX(3px); }
.projet-pret:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.projet-bientot { border-style: dashed; background: var(--fond-doux); }
/* Icône et visuel de l'Atelier Sample : une forme d'onde, qui respire lentement */
.projet-icone-son { display: flex; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(140deg, var(--menthe), var(--turquoise)); box-shadow: 0 6px 16px rgba(62, 200, 190, .3); }
.projet-icone-son i { width: 4px; border-radius: 2px; background: #fff; }
.projet-icone-son i:nth-child(1), .projet-icone-son i:nth-child(5) { height: 12px; }
.projet-icone-son i:nth-child(2), .projet-icone-son i:nth-child(4) { height: 24px; }
.projet-icone-son i:nth-child(3) { height: 32px; }
.projet-visuel-onde { display: grid; place-items: center; background: linear-gradient(140deg, #e3f8f2, #ddf7f9); }
.onde { display: flex; align-items: center; gap: 6px; height: 110px; }
.onde i { width: 6px; height: var(--h); border-radius: 3px; background: linear-gradient(var(--turquoise), var(--menthe)); animation: respire 8s ease-in-out infinite alternate; }
.onde i:nth-child(3n) { animation-delay: -3s; }
.onde i:nth-child(3n+1) { animation-delay: -6s; }
@keyframes respire { 50% { transform: scaleY(.55); } }

.badge {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff1d6;
  color: #8a5a00;
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  font-weight: 600;
}

/* ---------- Contact ---------- */

.contact { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 680px; margin: 60px auto 0; }
.bulle { display: flex; align-items: flex-end; gap: 10px; }
.bulle img { width: 40px; height: 40px; border-radius: 50%; background: #e6ecf8; }
.bulle p {
  margin: 0;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 4px;
  background: var(--fond);
  border: 1px solid var(--trait);
  box-shadow: var(--ombre);
  font-size: 1rem;
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1.5px solid var(--orange);
  border-radius: var(--rayon);
  background: #fff6ec;
  box-shadow: var(--ombre);
  color: var(--bleu-nuit);
  font-size: .98rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s var(--ressort), box-shadow .3s var(--ressort);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--ombre-haute); }
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.btn:active { transform: translateY(0); }
.btn-wa .icone { color: var(--whatsapp); width: 22px; height: 22px; }

.btn-bientot { border: 1.5px dashed var(--bleu-clair); background: var(--fond-doux); box-shadow: none; color: var(--gris); cursor: default; }
.btn-bientot:hover { transform: none; box-shadow: none; }

/* ---------- Pied de page ---------- */

.pied {
  margin-top: 72px;
  padding: 22px 20px 30px;
  border-top: 1px solid var(--trait);
  text-align: center;
  font-size: .85rem;
  color: var(--gris);
}
.pied a { color: var(--bleu-nuit); text-underline-offset: 3px; text-decoration-color: var(--bleu-clair); }
.pied a:hover { text-decoration-color: var(--orange); }
.pied a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.pied .point { margin: 0 6px; color: var(--bleu-clair); }

/* ---------- Page d'une histoire ---------- */

.outil-tete { position: relative; text-align: center; padding: 0 16px; }
.outil-icone {
  display: block;
  width: 96px;
  height: 96px;
  margin: -58px auto 0;
  border-radius: 24px;
  border: 4px solid #fff;
  box-shadow: 0 10px 28px rgba(0, 92, 230, .28);
}
.outil-nom { margin: 10px 0 0; font-size: .9rem; color: var(--gris); }
.outil-nom strong { color: var(--bleu-caveat); font-family: "Poppins", sans-serif; font-weight: 600; }
.outil-tete .titre { margin-top: 18px; }

.bloc { margin-top: 48px; }
.recit {
  margin: 0;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--orange);
  font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem);
  line-height: 1.75;
  color: #22325c;
  text-wrap: pretty;
}
.recit + .recit { margin-top: 28px; }   /* deux paragraphes du récit bien séparés */
.solution {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.solution strong { color: var(--bleu-caveat); font-weight: 600; }

.etapes { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: etape; }
.etape { margin-top: 40px; counter-increment: etape; }
.etape-tete { display: flex; align-items: center; gap: 12px; }
.etape-tete::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bleu-caveat);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: .85rem;
  font-weight: 600;
}
.etape h3 { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.etape p { margin: 8px 0 16px 42px; color: var(--gris); line-height: 1.6; text-wrap: pretty; }
.capture {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 800;
  border-radius: 14px;
  border: 1px solid var(--trait);
  box-shadow: var(--ombre-haute);
  background: var(--fond-doux);
}

.video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #0b1a3a;
  box-shadow: var(--ombre-haute);
}

.installer { display: flex; justify-content: center; margin-top: 48px; }
.installer .badge { margin-left: 4px; align-self: center; }

.donnees { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.donnees li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.donnees .icone { width: 18px; height: 18px; margin-top: 2px; color: var(--bleu-caveat); }
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  color: var(--bleu-caveat);
  font-weight: 600;
  text-decoration: none;
}
.lien-fleche .icone { width: 14px; height: 14px; transition: transform .3s var(--ressort); }
.lien-fleche:hover .icone { transform: translateX(3px); }
.lien-fleche:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Mentions légales ---------- */

.mention { margin: 14px 0 0; font-size: 1.02rem; line-height: 1.75; color: #22325c; text-wrap: pretty; }
.mention.doux { font-size: .92rem; line-height: 1.6; color: var(--gris); }
.mention a { color: var(--bleu-caveat); text-underline-offset: 3px; }
.mention a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Apparition au chargement ---------- */

.monte { animation: monte .8s var(--ressort) backwards; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
@keyframes monte { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Rideau de vagues entre les pages (piloté par rideau.js) ----------
   Trois étages aux couleurs de l'en-tête. Au départ, le turquoise tombe en premier et l'orange
   finit de couvrir l'écran ; à l'arrivée, l'orange remonte en premier et le turquoise découvre la page.
   La vague orange de l'en-tête (.vague-dessus) reste devant : le rideau glisse derrière elle. */

.rideau { position: fixed; inset: 0; z-index: 1000; pointer-events: none; visibility: hidden; }
.rideau-pan {
  position: absolute;
  inset: 0;
  background: var(--c);
  transform: translateY(calc(-100% - 64px));
}
.rideau-pan svg { position: absolute; top: calc(100% - 1px); left: 0; display: block; width: 100%; height: 64px; fill: var(--c); }
.rideau-part .rideau, .rideau-arrive .rideau { visibility: visible; }
.rideau-part .rideau-pan { animation: rideau-tombe .56s cubic-bezier(.6, 0, .3, 1) calc(var(--n) * 80ms) both; }
.rideau-arrive .rideau-pan { animation: rideau-monte .7s cubic-bezier(.6, 0, .3, 1) calc((2 - var(--n)) * 80ms + 120ms) both; }
.vague-dessus { z-index: 1001; }
@keyframes rideau-tombe { from { transform: translateY(calc(-100% - 64px)); } to { transform: none; } }
@keyframes rideau-monte { from { transform: none; } to { transform: translateY(calc(-100% - 64px)); } }
/* Le contenu monte pendant que le rideau se relève, pas caché dessous */
.rideau-arrive .monte { animation-delay: calc(var(--i, 0) * 70ms + 620ms); }

@media (prefers-reduced-motion: reduce) {
  .monte, .nom::after, .panneau::before, .ecran, .onde i, .panneau.change .fenetre, .panneau.change .panneau-legende { animation: none; }
  .btn, .retour, .lien-fleche .icone, .rayon-corps, .plus::before, .plus::after, .panneau, .projet-pret, .projet-lien .icone { transition: none; }
}
