/* Cubelo — le site.
   Les couleurs, les arrondis et les ombres sont ceux de l'application
   (palette d'origine, relevée sur les maquettes). Une retouche se fait ici. */

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  --fond: #f1f1fe;
  --carte: #ffffff;
  --surface-douce: #f0f1fd;
  --violet-doux: #eceffe;
  --texte: #101b5c;
  --texte-doux: #3a4a9c;
  --secondaire: #5562a8;
  --indigo: #4f56e8;
  --indigo-clair: #6e6cf9;
  --teinte: #d3d6fc;
  --bord: #e3e5f6;
  --vert: #2fb56c;
  --vert-doux: #e9f8ee;
  --vert-texte: #0b6b33;
  --orange: #f2994a;
  --orange-doux: #fef1e0;
  --orange-texte: #b25a12;
  --flamme: #f7622a;
  --verrou: #414be9;

  --r-carte: 22px;
  --r-bouton: 18px;
  --r-pastille: 999px;
  --ombre-carte: 0 4px 16px rgba(79, 86, 232, 0.07);
  --ombre-flottante: 0 8px 20px rgba(79, 86, 232, 0.24);
  --ombre-barre: 0 6px 24px rgba(16, 27, 92, 0.1);

  --largeur: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--indigo);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 8px;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 20px;
}

.icone {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lien-evitement {
  position: absolute;
  left: -9999px;
}
.lien-evitement:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--carte);
  padding: 10px 16px;
  border-radius: 12px;
}

/* --- Boutons : ceux de l'app ------------------------------------------------ */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: var(--r-bouton);
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.bouton:hover {
  transform: translateY(-1px);
}
.bouton-principal {
  color: #fff;
  background: linear-gradient(180deg, var(--indigo-clair), var(--indigo));
  box-shadow: var(--ombre-flottante);
}
.bouton-principal:hover {
  box-shadow: 0 10px 26px rgba(79, 86, 232, 0.32);
}
.bouton-secondaire {
  color: var(--indigo);
  background: var(--violet-doux);
}
.bouton-petit {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 15px;
  border-radius: 14px;
}

.pastille {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pastille);
  background: var(--carte);
  color: var(--texte-doux);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--ombre-carte);
}
.pastille .icone {
  color: var(--indigo);
}

.carte {
  background: var(--carte);
  border-radius: var(--r-carte);
  box-shadow: var(--ombre-carte);
  padding: 24px;
}

/* --- En-tête ---------------------------------------------------------------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(241, 241, 254, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.entete .conteneur {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--texte);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.marque img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: var(--ombre-carte);
}
.navigation {
  display: none;
  gap: 26px;
  margin-left: auto;
}
.navigation a {
  color: var(--texte-doux);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.navigation a:hover {
  color: var(--indigo);
}
.entete .bouton {
  margin-left: auto;
}
@media (min-width: 860px) {
  .navigation {
    display: flex;
  }
  .entete .bouton {
    margin-left: 0;
  }
}

/* --- Accroche ---------------------------------------------------------------- */

.accroche {
  padding: 36px 0 56px;
  overflow: hidden;
}
.accroche .conteneur {
  display: grid;
  gap: 40px;
  align-items: center;
}
.accroche h1 {
  font-size: clamp(36px, 6.4vw, 58px);
  margin: 18px 0 18px;
}
.accroche h1 em {
  font-style: normal;
  color: var(--indigo);
}
.accroche .chapeau {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--texte-doux);
  max-width: 34em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
/* Le troisième geste, en retrait : un lien, pas un bouton de plus. */
.suite {
  margin: 16px 0 0;
}
.suite a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--indigo);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}
.suite a:hover {
  text-decoration: underline;
}
.suite .icone {
  width: 18px;
  height: 18px;
}
.garanties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--secondaire);
  font-weight: 700;
  font-size: 15px;
}
.garanties li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.garanties .icone {
  color: var(--vert);
}

.scene {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 10px 0 30px;
}
.scene .telephone {
  width: 60%;
  margin: 0 10% 0 auto;
}
.scene .mascotte {
  position: absolute;
  width: 30%;
  right: -5%;
  bottom: -1%;
  filter: drop-shadow(0 14px 22px rgba(79, 86, 232, 0.28));
}
/* Les tuiles mordent à peine sur le bord du téléphone : elles ne cachent rien. */
.scene .tuile {
  position: absolute;
  left: 0;
  top: 15%;
}
.scene .tuile + .tuile {
  top: 36%;
  left: 3%;
}

@media (min-width: 900px) {
  .accroche {
    padding: 56px 0 84px;
  }
  .accroche .conteneur {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
  }
}

/* Le téléphone : un cadre blanc aux coins ronds, comme une carte de l'app. */
.telephone {
  background: var(--carte);
  padding: 7px;
  border-radius: 36px;
  box-shadow:
    var(--ombre-flottante),
    0 0 0 1px var(--bord);
}

/* Les tuiles de chiffres de l'accueil de l'app. */
.tuile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--carte);
  border-radius: 18px;
  box-shadow: var(--ombre-barre);
  padding: 12px 18px 12px 14px;
  line-height: 1.1;
}
.tuile img {
  width: 34px;
}
.tuile .icone {
  width: 30px;
  height: 30px;
  color: var(--flamme);
}
.tuile strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
}
.tuile span {
  font-size: 13px;
  color: var(--secondaire);
  font-weight: 700;
}

/* --- Sections ---------------------------------------------------------------- */

.section {
  padding: 64px 0;
}
.section-blanche {
  background: var(--carte);
}
.surtitre {
  display: block;
  color: var(--indigo);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(28px, 4.4vw, 40px);
  max-width: 20em;
}
.section .intro {
  color: var(--texte-doux);
  font-size: 19px;
  max-width: 38em;
  margin-top: 16px;
}
.centre {
  text-align: center;
}
.centre h2,
.centre .intro {
  margin-left: auto;
  margin-right: auto;
}

/* Le constat : deux phrases de parent, côte à côte. */
.constat {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}
.constat .carte h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.constat .carte p {
  color: var(--texte-doux);
}
.constat .resolu {
  background: var(--surface-douce);
  box-shadow: none;
}
.constat .resolu h3 {
  color: var(--secondaire);
}
.constat .nous {
  outline: 2px solid var(--teinte);
}
.constat .etiquette {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: var(--r-pastille);
  font-size: 13px;
  font-weight: 800;
  background: var(--carte);
  color: var(--secondaire);
}
.constat .nous .etiquette {
  background: var(--violet-doux);
  color: var(--indigo);
}
@media (min-width: 760px) {
  .constat {
    grid-template-columns: 1fr 1fr;
  }
}

/* Les étapes d'une séance : un téléphone, un numéro, une phrase. */
.etapes {
  display: grid;
  gap: 44px 28px;
  margin-top: 44px;
  counter-reset: etape;
  padding: 0;
  list-style: none;
}
.etapes li {
  counter-increment: etape;
  text-align: center;
}
.etapes .telephone {
  width: min(250px, 82%);
  margin: 0 auto 22px;
}
.etapes h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.etapes h3::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-size: 16px;
}
.etapes p {
  color: var(--texte-doux);
  font-size: 16px;
  max-width: 19em;
  margin: 0 auto;
}
@media (min-width: 620px) {
  .etapes {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .etapes {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Les écrans de l'app, refaits en HTML ------------------------------------
   Mêmes mesures que dans le code de l'app (écran de 390 de large). `--u` vaut
   un point de cet écran : tout suit la largeur du cadre, à n'importe quelle
   taille. Aucune balise de texte du site (p, h3) n'est utilisée à l'intérieur,
   pour que ses styles n'y entrent pas. */
.app {
  container-type: inline-size;
  aspect-ratio: 390 / 875;
  border-radius: 30px;
  overflow: hidden;
  background: var(--fond);
  color: var(--texte);
  text-align: left;
  line-height: 1.25;
  font-weight: 500;
  user-select: none;
}
.app .vue {
  --u: calc(100cqw / 390);
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: calc(var(--u) * 16);
}
.app .icone {
  width: calc(var(--u) * 16);
  height: calc(var(--u) * 16);
}
.app .defile {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 16);
  padding: calc(var(--u) * 38) calc(var(--u) * 20) 0;
}
.app .phase {
  font-size: calc(var(--u) * 28);
  font-weight: 700;
  text-align: center;
}
.app .chrono {
  align-self: center;
  min-width: calc(var(--u) * 250);
  padding: calc(var(--u) * 6) calc(var(--u) * 28);
  border-radius: calc(var(--u) * 26);
  background: #fff;
  box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 16) rgba(79, 86, 232, 0.07);
  text-align: center;
  font-size: calc(var(--u) * 60);
  line-height: calc(var(--u) * 74);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.app .blocs {
  color: var(--secondaire);
  text-align: center;
}
.app .suite {
  color: var(--texte-doux);
  font-size: calc(var(--u) * 15);
  font-weight: 600;
  text-align: center;
  margin-top: calc(var(--u) * -8);
}
.app .avance {
  display: grid;
  gap: calc(var(--u) * 8);
  padding: 0 calc(var(--u) * 4);
  font-size: calc(var(--u) * 15);
  font-weight: 700;
}
.app .avance > div:first-child {
  display: flex;
  justify-content: space-between;
}
.app .avance b {
  color: var(--vert-texte);
  font-weight: 700;
}
.app .barre {
  height: calc(var(--u) * 8);
  border-radius: 99px;
  background: #fff;
  overflow: hidden;
}
.app .barre i {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: 99px;
  background: var(--vert);
}
/* La carte de l'étape en cours. */
.app .etape {
  flex: none;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 16);
  padding: calc(var(--u) * 18);
  background: #fff;
  border-radius: calc(var(--u) * 22);
  box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 16) rgba(79, 86, 232, 0.07);
}
.app .rond {
  flex: none;
  width: calc(var(--u) * 60);
  height: calc(var(--u) * 60);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.app .rond .icone {
  width: calc(var(--u) * 28);
  height: calc(var(--u) * 28);
}
.app .etape small {
  display: block;
  font-size: calc(var(--u) * 13);
  color: var(--secondaire);
}
.app .etape strong {
  display: block;
  font-size: calc(var(--u) * 17);
  font-weight: 700;
  margin: calc(var(--u) * 3) 0;
}
.app .duree {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 6);
  font-size: calc(var(--u) * 14);
  color: var(--secondaire);
}
.app .indice {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 6);
  margin-top: calc(var(--u) * 8);
  padding: calc(var(--u) * 7) calc(var(--u) * 12);
  border-radius: 99px;
  background: var(--violet-doux);
  color: var(--indigo);
  font-size: calc(var(--u) * 14);
  font-weight: 700;
}
/* Le démarrage : la carte « Tes devoirs sont prêts ». */
.app .prets {
  flex: none;
  display: grid;
  justify-items: center;
  gap: calc(var(--u) * 12);
  padding: calc(var(--u) * 22) calc(var(--u) * 18);
  background: #fff;
  border-radius: calc(var(--u) * 22);
  box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 16) rgba(79, 86, 232, 0.07);
  text-align: center;
}
.app .prets .rond {
  background: var(--violet-doux);
  color: var(--indigo);
}
.app .prets strong {
  font-size: calc(var(--u) * 19);
  font-weight: 800;
}
.app .prets .texte-app {
  margin-bottom: 0;
}
.app .prets .btn {
  justify-self: stretch;
}
/* Le second bouton de la carte : fond doux, comme dans l'app. */
.app .prets .btn.second {
  background: var(--violet-doux);
  box-shadow: none;
}
/* Le parcours : des jalons qui serpentent, reliés par un chemin en pointillés. */
.app .chemin {
  position: relative;
  flex: none;
  height: calc(var(--u) * 312);
}
.app .chemin > svg {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--u) * 180);
  height: calc(var(--u) * 312);
}
.app .jalon {
  position: relative;
  height: calc(var(--u) * 104);
  display: flex;
  align-items: center;
}
.app .case {
  position: relative;
  flex: none;
  width: calc(var(--u) * 76);
  margin-left: calc(var(--u) * var(--x));
  display: grid;
  place-items: center;
}
.app .txt {
  position: relative;
  flex: 1;
  min-width: 0;
  margin-left: calc(var(--u) * 14);
  padding-right: calc(var(--u) * 12);
  display: grid;
  gap: calc(var(--u) * 2);
}
.app .txt b {
  font-weight: 700;
  white-space: nowrap;
}
.app .txt > span:not(.duree) {
  font-size: calc(var(--u) * 14);
  color: var(--secondaire);
}
.app .txt .icone {
  width: calc(var(--u) * 15);
  height: calc(var(--u) * 15);
}
.app .plus-tard .txt {
  opacity: 0.6;
}
.app .bande {
  position: absolute;
  left: calc(var(--u) * 126);
  right: 0;
  top: calc(var(--u) * 8);
  bottom: calc(var(--u) * 8);
  border-radius: calc(var(--u) * 20);
  background: #e9ebfb;
}
.app .fait {
  width: calc(var(--u) * 56);
  height: calc(var(--u) * 56);
  border-radius: 50%;
  background: #dbf6e9;
  display: grid;
  place-items: center;
}
.app .fait i {
  width: calc(var(--u) * 38);
  height: calc(var(--u) * 38);
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  display: grid;
  place-items: center;
}
.app .fait .icone {
  width: calc(var(--u) * 20);
  height: calc(var(--u) * 20);
  stroke-width: 3;
}
.app .encours {
  width: calc(var(--u) * 72);
  height: calc(var(--u) * 72);
  border-radius: 50%;
  border: calc(var(--u) * 3) solid var(--indigo);
  display: grid;
  place-items: center;
}
.app .encours .icone {
  width: calc(var(--u) * 30);
  height: calc(var(--u) * 30);
}
.app .avenir {
  width: calc(var(--u) * 60);
  height: calc(var(--u) * 60);
  border-radius: 50%;
  border: calc(var(--u) * 4) solid #fff;
  background: #e5e7fc;
  color: var(--secondaire);
  display: grid;
  place-items: center;
  box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 16) rgba(79, 86, 232, 0.07);
}
.app .avenir .icone {
  width: calc(var(--u) * 24);
  height: calc(var(--u) * 24);
}
.app .marcheur {
  position: absolute;
  left: calc(var(--u) * 44);
  top: calc(var(--u) * 130);
  width: calc(var(--u) * 64);
}
/* Le bas de l'écran : le bouton, puis ce qui règle le temps. */
.app .pied-app {
  flex: none;
  display: grid;
  gap: calc(var(--u) * 10);
  padding: calc(var(--u) * 8) calc(var(--u) * 20) calc(var(--u) * 18);
  text-align: center;
}
.app .btn {
  flex: none;
  height: calc(var(--u) * 56);
  border-radius: calc(var(--u) * 18);
  background: linear-gradient(180deg, var(--indigo-clair), var(--indigo));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--u) * 10);
  font-size: calc(var(--u) * 17);
  font-weight: 800;
  box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 20) rgba(79, 86, 232, 0.24);
}
.app .btn .icone {
  width: calc(var(--u) * 20);
  height: calc(var(--u) * 20);
}
.app .btn.second {
  background: #fff;
  color: var(--indigo);
  font-weight: 700;
  font-size: calc(var(--u) * 16);
  box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 16) rgba(79, 86, 232, 0.07);
}
.app .btn.blanc {
  align-self: stretch;
  background: #fff;
  color: var(--verrou);
  box-shadow: none;
}
.app .lien {
  color: var(--indigo);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: calc(var(--u) * 3);
}
.app .temps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--u) * 22);
}
.app .plus {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 4);
  padding: calc(var(--u) * 6) calc(var(--u) * 12);
  border-radius: 99px;
  background: var(--violet-doux);
  color: var(--indigo);
  font-size: calc(var(--u) * 14);
  font-weight: 700;
}
.app .plus .icone {
  width: calc(var(--u) * 15);
  height: calc(var(--u) * 15);
}
.app .stop {
  color: var(--secondaire);
  font-size: calc(var(--u) * 14);
  text-decoration: underline;
  text-underline-offset: calc(var(--u) * 3);
}
/* Agenda et pause : la mascotte, une phrase. */
.app .defile.haut {
  padding-top: calc(var(--u) * 64);
  gap: calc(var(--u) * 12);
}
.app .perso {
  align-self: center;
  width: calc(var(--u) * 150);
}
.app .perso.repos {
  width: calc(var(--u) * 190);
  margin-top: calc(var(--u) * 28);
}
.app .grand {
  font-size: calc(var(--u) * 24);
  font-weight: 800;
  text-align: center;
}
.app .texte-app {
  color: var(--secondaire);
  font-size: calc(var(--u) * 15);
  line-height: 1.4;
  text-align: center;
  margin-bottom: calc(var(--u) * 8);
}
.app .dit {
  font-size: calc(var(--u) * 19);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.app .dit.doux {
  color: var(--texte-doux);
  font-weight: 500;
  font-size: calc(var(--u) * 20);
  margin-top: calc(var(--u) * 8);
}
/* L'écran de blocage : celui que l'enfant voit en ouvrant une autre application. */
.app.verrou {
  background: var(--verrou);
  color: #fff;
}
.app .vue.milieu {
  align-items: center;
  justify-content: center;
  gap: calc(var(--u) * 24);
  padding: 0 calc(var(--u) * 34);
}
.app .socle {
  position: relative;
  width: calc(var(--u) * 170);
}
.app .socle::before {
  content: '';
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -4%;
  height: 42%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.app .socle img {
  position: relative;
}
.app .note {
  font-size: calc(var(--u) * 13);
  line-height: 1.4;
  text-align: center;
  opacity: 0.88;
}

/* --- Pour les parents : le rapport, tel que l'app l'affiche ----------------- */

.duo {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .duo {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.liste {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}
.liste li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}
.liste .rond {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--violet-doux);
  color: var(--indigo);
}
.liste .rond .icone {
  width: 22px;
  height: 22px;
}
.liste strong {
  display: block;
  font-weight: 800;
  font-size: 18px;
}
.liste span {
  color: var(--texte-doux);
  font-size: 16px;
}

.rapport {
  background: var(--fond);
  border-radius: 28px;
  padding: 18px;
  display: grid;
  gap: 14px;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}
.notification {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--carte);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--ombre-barre);
  font-size: 14.5px;
  line-height: 1.35;
}
.notification img {
  width: 40px;
  border-radius: 11px;
}
.notification b {
  display: block;
  font-weight: 800;
  font-size: 13px;
  color: var(--secondaire);
}
.rapport .effort {
  background: var(--vert-doux);
  border-radius: var(--r-carte);
  padding: 18px;
  display: grid;
  gap: 10px;
}
.rapport .effort h3 {
  color: var(--vert-texte);
  font-size: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.rapport .effort p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--vert-texte);
  font-weight: 700;
  font-size: 15px;
}
.rapport .effort p .icone {
  margin-top: 2px;
}
.rapport .effort p.flamme .icone {
  color: var(--flamme);
}
.semaine {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--secondaire);
  padding: 14px 10px;
}
.semaine span {
  display: grid;
  gap: 8px;
  justify-items: center;
}
.semaine i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--bord);
  display: grid;
  place-items: center;
}
.semaine .fait i {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}
.semaine .fait .icone {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trio .carte {
  padding: 14px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--secondaire);
  font-weight: 700;
}
.trio .icone {
  width: 24px;
  height: 24px;
  color: var(--indigo);
  margin: 0 auto 6px;
  display: block;
}
.trio b {
  color: var(--texte);
  font-size: 20px;
  font-weight: 800;
}

/* --- Grilles de cartes ------------------------------------------------------- */

.grille {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}
@media (min-width: 700px) {
  .grille {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .grille.par-trois {
    grid-template-columns: repeat(3, 1fr);
  }
}
.grille .carte h3 {
  font-size: 20px;
  margin: 16px 0 8px;
}
.grille .carte p {
  color: var(--texte-doux);
  font-size: 16px;
}
.grille .rond {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--violet-doux);
  color: var(--indigo);
}
.grille .rond .icone {
  width: 25px;
  height: 25px;
}
.grille .rond img {
  width: 30px;
}
.section-blanche .carte {
  background: var(--fond);
  box-shadow: none;
}

/* Ce que Cubelo ne fait pas : une liste, des croix sobres. */
.jamais {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 14px;
}
.jamais li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--carte);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--ombre-carte);
}
.jamais .rond {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange-doux);
  color: var(--orange-texte);
}
.jamais .rond .icone {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}
.jamais strong {
  font-weight: 800;
}
.jamais span {
  color: var(--texte-doux);
  font-size: 16px;
}
@media (min-width: 800px) {
  .jamais {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Questions --------------------------------------------------------------- */

.questions {
  max-width: 760px;
  margin: 36px auto 0;
  display: grid;
  gap: 12px;
}
.questions details {
  background: var(--fond);
  border-radius: 18px;
  padding: 0 20px;
}
.questions summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 800;
  font-size: 18px;
}
.questions summary::-webkit-details-marker {
  display: none;
}
.questions summary::after {
  content: '+';
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--carte);
  color: var(--indigo);
  font-size: 22px;
  line-height: 1;
}
.questions details[open] summary::after {
  content: '–';
}
.questions details p {
  color: var(--texte-doux);
  padding-bottom: 18px;
  max-width: 40em;
}

/* --- Appel final ------------------------------------------------------------- */

.appel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--indigo-clair), var(--verrou));
  color: #fff;
  border-radius: 30px;
  padding: 44px 26px;
  text-align: center;
  box-shadow: var(--ombre-flottante);
}
.appel img {
  width: 132px;
  margin: 0 auto 10px;
  filter: drop-shadow(0 10px 18px rgba(16, 27, 92, 0.3));
}
.appel h2 {
  font-size: clamp(26px, 4vw, 36px);
  max-width: 18em;
  margin: 0 auto;
}
.appel p {
  max-width: 32em;
  margin: 14px auto 26px;
  font-size: 18px;
  opacity: 0.95;
}
.appel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.appel .bouton {
  background: #fff;
  color: var(--verrou);
  box-shadow: 0 8px 20px rgba(16, 27, 92, 0.25);
}
.appel .bouton-discret {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}
.appel small {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.85;
}
/* « Être prévenu » : un champ et un bouton, envoyés sans script. */
.prevenir {
  max-width: 30em;
  margin: 28px auto 0;
}
.prevenir label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}
.prevenir-ligne {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.prevenir input[type='email'] {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 56px;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--r-bouton);
  background: #fff;
  color: var(--texte);
  font: inherit;
  font-size: 17px;
}
.prevenir input[type='email']::placeholder {
  color: var(--secondaire);
  opacity: 0.75;
}
.prevenir .piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

.pied {
  padding: 44px 0 36px;
  color: var(--secondaire);
  font-size: 15px;
}
.pied .conteneur {
  display: grid;
  gap: 22px;
}
.pied nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.pied a {
  color: var(--texte-doux);
  font-weight: 700;
  text-decoration: none;
}
.pied a:hover {
  color: var(--indigo);
  text-decoration: underline;
}
@media (min-width: 800px) {
  .pied .conteneur {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .pied nav {
    justify-content: center;
  }
}

/* --- Pages de texte : confidentialité, suppression, mentions --------------- */

.page {
  padding: 36px 0 72px;
}
.page .conteneur {
  max-width: 800px;
}
.page h1 {
  font-size: clamp(30px, 5vw, 42px);
  margin-bottom: 8px;
}
.page .date {
  color: var(--secondaire);
  font-weight: 700;
  margin-bottom: 28px;
}
.texte {
  background: var(--carte);
  border-radius: var(--r-carte);
  box-shadow: var(--ombre-carte);
  padding: 28px 24px;
}
@media (min-width: 700px) {
  .texte {
    padding: 40px 44px;
  }
}
.texte h2 {
  font-size: 23px;
  margin: 36px 0 12px;
}
.texte h2:first-child {
  margin-top: 0;
}
.texte h3 {
  font-size: 18px;
  margin: 22px 0 8px;
}
.texte p,
.texte ul,
.texte ol {
  color: var(--texte-doux);
  margin: 0 0 14px;
}
.texte ul,
.texte ol {
  padding-left: 22px;
}
.texte li {
  margin-bottom: 6px;
}
.texte strong {
  color: var(--texte);
  font-weight: 800;
}
.texte .chapeau {
  font-size: 19px;
  color: var(--texte);
}
.texte .encadre {
  background: var(--violet-doux);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--texte);
  font-weight: 700;
}
.texte table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 14px;
  font-size: 16px;
}
.texte th,
.texte td {
  text-align: left;
  padding: 11px 10px;
  border-bottom: 1px solid var(--bord);
  vertical-align: top;
}
.texte th {
  color: var(--secondaire);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.texte td {
  color: var(--texte-doux);
}
.texte .etapes-app {
  counter-reset: pas;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.texte .etapes-app li {
  counter-increment: pas;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
}
.texte .etapes-app li::before {
  content: counter(pas);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--indigo);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
/* Ce qui reste à remplir avant la mise en ligne : impossible à manquer. */
.a-completer {
  background: #fff3a8;
  color: #5a4500;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 6px;
}

/* --- Page introuvable -------------------------------------------------------- */

.introuvable {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
}
.introuvable img {
  width: 190px;
  margin: 0 auto 8px;
}
.introuvable h1 {
  font-size: 34px;
  margin-bottom: 10px;
}
.introuvable p {
  color: var(--texte-doux);
  margin-bottom: 24px;
}
/* Après « Être prévenu » : le merci, ou le souci quand l'adresse n'a pas pu
   être gardée (merci.html#souci). */
.souci {
  display: none;
}
.souci:target {
  display: block;
}
.souci:target ~ .merci {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .bouton {
    transition: none;
  }
}
