/*
 * Feuille de style du site public eziom.fr.
 *
 * Portage fidèle des styles des composants SvelteKit. En Svelte, chaque
 * composant avait des styles isolés ; ici tout partage une seule feuille, donc
 * chaque page et chaque composant a sa propre classe racine (.page-about,
 * .product-card…) sous laquelle ses règles sont imbriquées.
 *
 * Imbrication CSS native, sans préprocesseur ni étape de build : c'est déjà ce
 * que servait le site SvelteKit, les navigateurs concernés sont les mêmes.
 */

@import url('fonts.css');

/* ========================================================================== */
/* Base                                                                       */
/* ========================================================================== */

* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: white;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  top: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100vw - 80px);
  left: 40px;
  gap: 10px;
  background: hsla(0, 0%, 100%, 0.8);
  padding: 10px 10px;
  z-index: 1000;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: hsla(0, 0%, 0%, 0.05) 1px solid;

  .logomark {
    width: 25px;
    height: 25px;
    color: #3b52ed;
  }
  .links {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .about {
    color: #3b52ed;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
  }
  .contact {
    color: white;
    background: #3b52ed;
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 9px 18px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s;
    &:hover {
      background: #2c3fc9;
    }
  }
}

@media (max-width: 700px) {
  .site-header {
    width: calc(100vw - 30px);
    left: 15px;
    top: 15px;
    .contact {
      font-size: 11px;
      padding: 8px 14px;
    }
  }
}

/* Logos SVG */
.icon-logomark svg,
.icon-logo svg,
.icon-agency svg {
  width: 100%;
  height: 100%;
}
.icon-logomark svg {
  fill: currentColor;
}

/* ========================================================================== */
/* Pied de page                                                               */
/* ========================================================================== */

.site-footer {
  margin: auto;
  margin-bottom: 20px;
  padding: 20px;
  width: calc(100% - 40px);
  max-width: 1200px;
  border-radius: 15px;
  background: rgb(38, 38, 44);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  .logomark {
    width: 25px;
    height: 25px;
    margin-right: 20px;
    color: hsla(0, 0%, 100%, 0.9);
  }
  .slogan {
    color: hsla(0, 0%, 100%, 0.8);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
  }
  .liens {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    a {
      color: hsla(0, 0%, 100%, 0.55);
      font-size: 12px;
      text-decoration: none;
      transition: color 0.2s;
      &:hover {
        color: hsla(0, 0%, 100%, 0.95);
      }
    }
  }
}

/* ========================================================================== */
/* Pastilles de statut, partagées                                             */
/* ========================================================================== */

.dot {
  border-radius: 50%;
  &.actif {
    background: hsl(150, 60%, 40%);
  }
  &.standby {
    background: hsl(35, 80%, 50%);
  }
  &.exploration {
    background: hsl(252, 60%, 55%);
  }
}

/* ========================================================================== */
/* Accueil — hero                                                             */
/* ========================================================================== */

._hero {
  width: 100%;
  height: 100vh;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;

  .hero {
    overflow: hidden;
    background: #583fc8;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2000;

    .content {
      position: relative;
      z-index: 3;
      color: white;
      text-align: center;
      font-family: Arial, sans-serif;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0 25px;

      .icon-logo {
        display: block;
        width: 328px;
        max-width: 100%;
      }

      .baseline {
        margin-top: 28px;
        max-width: 520px;
        font-family: 'Poppins', sans-serif;
        font-size: 17px;
        font-weight: 400;
        line-height: 1.55;
        color: hsla(0, 0%, 100%, 0.9);
      }
      .hero-actions {
        margin-top: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
      }
      .hero-cta {
        text-decoration: none;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: hsl(252, 78%, 45%);
        background: hsla(0, 0%, 100%, 0.92);
        font-family: 'Poppins', sans-serif;
        padding: 12px 28px;
        border-radius: 10px;
        transition: all 0.2s;
        &:hover {
          background: white;
        }
        &.secondaire {
          color: hsla(0, 0%, 100%, 0.95);
          background: hsla(0, 0%, 100%, 0.12);
          border: 1px solid hsla(0, 0%, 100%, 0.4);
          &:hover {
            background: hsla(0, 0%, 100%, 0.22);
          }
        }
      }
    }
  }

  .head {
    position: absolute;
    top: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 80px);
    gap: 10px;
    z-index: 3;
    .logomark {
      width: 25px;
      height: 25px;
      color: white;
    }
    .links {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .about {
      color: white;
      font-size: 14px;
      text-decoration: none;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: all 0.2s;
    }
    .contact {
      color: hsl(252, 78%, 45%);
      background: hsla(0, 0%, 100%, 0.92);
      font-size: 12px;
      text-decoration: none;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 9px 18px;
      border-radius: 8px;
      white-space: nowrap;
      transition: all 0.2s;
      &:hover {
        background: white;
      }
    }
  }

  .hint {
    display: flex;
    align-items: center;
    gap: 7px;
    position: absolute;
    bottom: 20px;
    font-family: inherit;
    color: white;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.35);
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    cursor: pointer;
    z-index: 3;
    .icon {
      height: 15px;
      width: 15px;
      display: inline-flex;
      svg {
        width: 100%;
        height: 100%;
      }
    }
    &:hover {
      background: rgba(255, 255, 255, 0.5);
    }
    &.districtsOpened {
      transform: translateY(calc(100% + 20px));
    }
  }

  .tools {
    position: absolute;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 10px;
    bottom: 10px;
    padding: 0 50px;
    transform: translateY(calc(100% + 10px));
    transition: all 0.2s;
    z-index: 3;
    &.districtsOpened {
      transform: translateY(0);
    }
    max-width: 1200px;
    background: rgba(242, 242, 242, 0.4);
    border-radius: 5px;
    border: 1px solid rgba(230, 230, 230, 0.5);

    .close {
      position: absolute;
      top: 0;
      font-family: inherit;
      font-size: 14px;
      color: white;
      cursor: pointer;
      padding: 5px 5px 7px 5px;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 15px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      height: 30px;
      width: 30px;
      transition: all 0.2s;
      &:hover {
        background: rgba(255, 255, 255, 0.7);
      }
      &.districtsOpened {
        top: -45px;
      }
    }

    .tool {
      height: 100px;
      width: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 5;
      transition: all 0.2s;

      .icon-agency {
        transition: all 0.2s;
        height: 45px;
        width: 165px;
        color: rgba(255, 255, 255, 0.8);
        cursor: pointer;
        svg {
          fill: currentColor;
        }
      }
      .text-icon {
        transition: all 0.2s;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
      }
      &:hover {
        .icon-agency,
        .text-icon {
          color: rgba(255, 255, 255, 1);
        }
      }
    }
  }
}

/* Animation Aurora du hero */
#auroraCanvas,
#grainCanvas {
  height: 100%;
}
#auroraCanvas {
  width: 100%;
  background: #6d3fc8;
  filter: blur(0px) saturate(170%);
  position: absolute;
  top: 0;
  left: 0;
}
#grainCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ========================================================================== */
/* Accueil — projets phares et portfolio                                      */
/* ========================================================================== */

.phares {
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 0 25px;
  h2 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-top: 60px;
  }
  .phares-intro {
    max-width: 560px;
    margin: 15px auto 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: hsla(0, 0%, 0%, 0.6);
  }
  .phares-cards {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
  }
}

.projects {
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 0 25px 100px;
  h2 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-top: 50px;
  }
  .portfolio-intro {
    max-width: 560px;
    margin: 15px auto 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: hsla(0, 0%, 0%, 0.6);
  }
  .legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0 10px;
    .legend-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: hsla(0, 0%, 0%, 0.55);
    }
    .dot {
      width: 8px;
      height: 8px;
    }
  }
  .category {
    margin-top: 45px;
    .category-head {
      display: flex;
      align-items: baseline;
      gap: 12px;
      flex-wrap: wrap;
      h3 {
        font-size: 20px;
        font-weight: 700;
        color: hsla(0, 0%, 0%, 0.8);
      }
      .tagline {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: hsla(0, 0%, 0%, 0.4);
      }
    }
    .category-desc {
      margin-top: 6px;
      font-size: 13px;
      color: hsla(0, 0%, 0%, 0.55);
      max-width: 620px;
    }
  }
  .cards {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 45px;
    row-gap: 10px;
  }
}

@media (max-width: 700px) {
  ._hero .hero .content .icon-logo {
    width: 200px;
  }
  .projects .cards {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================== */
/* Carte produit                                                              */
/* ========================================================================== */

.product-card {
  border-top: 1px solid hsla(0, 0%, 0%, 0.1);
  padding: 20px 0 4px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 9px;

  .head {
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    .name {
      font-size: 17px;
      font-weight: 700;
      color: #2a2a32;
    }
  }
  .meta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsla(0, 0%, 0%, 0.4);
  }
  .dot {
    width: 6px;
    height: 6px;
  }
  .pitch {
    font-size: 14px;
    line-height: 1.55;
    color: hsla(0, 0%, 0%, 0.65);
  }
  .target,
  .note {
    font-size: 12.5px;
    line-height: 1.45;
    color: hsla(0, 0%, 0%, 0.45);
    strong {
      font-weight: 500;
      color: hsla(0, 0%, 0%, 0.6);
    }
  }
  .link {
    margin-top: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsl(252, 78%, 55%);
    transition: opacity 0.2s;
    &:hover {
      opacity: 0.65;
    }
  }
}

/* ========================================================================== */
/* Carte « projet phare »                                                     */
/* ========================================================================== */

.featured {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 14px;
  padding: 45px 0;

  & + .featured {
    border-top: 1px solid hsla(0, 0%, 0%, 0.08);
  }

  .meta {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsla(0, 0%, 0%, 0.45);
  }
  .dot {
    width: 7px;
    height: 7px;
  }
  h3 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    color: #2a2a32;
    margin-top: -4px;
  }
  .accroche {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    color: #4e4e57;
    max-width: 620px;
  }
  .pitch {
    font-size: 14.5px;
    line-height: 1.65;
    color: hsla(0, 0%, 0%, 0.6);
    max-width: 620px;
  }
  .note {
    font-size: 12.5px;
    color: hsla(0, 0%, 0%, 0.4);
  }
  .actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
  }
  .cta {
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsl(252, 78%, 55%);
    background: hsla(252, 74%, 82%, 0.3);
    padding: 9px 22px;
    border-radius: 10px;
    transition: all 0.2s;
    &:hover {
      background: hsla(252, 74%, 82%, 0.55);
    }
  }
  .link {
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsla(0, 0%, 0%, 0.5);
    transition: color 0.2s;
    &:hover {
      color: hsl(252, 78%, 55%);
    }
  }
}

@media (max-width: 700px) {
  .featured {
    padding: 32px 0;
    h3 {
      font-size: 26px;
    }
    .accroche {
      font-size: 15px;
    }
  }
}

/* ========================================================================== */
/* Bloc de conversion de fin de page                                          */
/* ========================================================================== */

.cta-bloc {
  width: calc(100% - 50px);
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 45px 35px;
  border-radius: 15px;
  background: hsla(252, 74%, 82%, 0.18);
  border: 1px solid hsla(252, 60%, 60%, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;

  h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2a2a32;
  }
  p {
    max-width: 460px;
    font-size: 14.5px;
    line-height: 1.55;
    color: hsla(0, 0%, 0%, 0.6);
  }
  .actions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 30px;
    border-radius: 10px;
    transition: all 0.2s;
  }
  .principal {
    color: white;
    background: #3b52ed;
    &:hover {
      background: #2c3fc9;
    }
  }
  .secondaire {
    color: hsl(252, 78%, 45%);
    background: white;
    border: 1px solid hsla(252, 60%, 60%, 0.3);
    &:hover {
      border-color: hsl(252, 60%, 60%);
    }
  }
}

@media (max-width: 700px) {
  .cta-bloc {
    padding: 35px 25px;
    h2 {
      font-size: 19px;
    }
  }
}

/* ========================================================================== */
/* Lien de retour, partagé par les pages intérieures                          */
/* ========================================================================== */

.back {
  font-size: 13px;
  color: hsla(0, 0%, 0%, 0.5);
  text-decoration: none;
  &:hover {
    color: #3b52ed;
  }
}

/* ========================================================================== */
/* À propos                                                                   */
/* ========================================================================== */

.page-about {
  padding-top: 150px;
  padding-bottom: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  h2 {
    font-size: 24px;
    font-weight: 700;
    color: #585867;
    width: 100%;
    max-width: 650px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .about {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 25px;

    h1 {
      font-size: 52px;
      font-weight: 700;
      color: #2a2a32;
      text-transform: uppercase;
      width: 100%;
      max-width: 650px;
    }
    .desc {
      font-size: 15px;
      color: #4e4e57;
      font-weight: 500;
      margin-bottom: 50px;
      max-width: 650px;
      &:after {
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        background-color: #c4c4cc;
        margin-top: 15px;
      }
    }
  }

  .foreword {
    padding: 25px;
    background: #f5f5f5;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    .story {
      max-width: 650px;
      font-size: 15px;
      color: #4a4a4e;
      margin-top: 20px;
      /* Le texte d'origine se terminait par une ligne vide (<br><br>). */
      margin-bottom: 1lh;
      position: relative;
      p,
      p * {
        font-family: 'Noto Serif', serif;
        font-optical-sizing: auto;
        font-weight: 500;
      }
      /* À l'origine, un seul paragraphe découpé par des <br><br> : l'écart
         entre deux paragraphes vaut exactement une ligne vide. */
      p + p {
        margin-top: 1lh;
      }
    }
    .author {
      font-size: 18px;
      color: #5252d3;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      width: 100%;
      max-width: 650px;
    }
  }

  .word {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
  }

  .vision {
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    h2 {
      font-size: 36px;
    }
    p {
      font-size: 15px;
      color: #4a4a4e;
      margin-top: 20px;
    }
    /* Même règle que l'avant-propos : une ligne vide entre paragraphes. */
    p + p {
      margin-top: 1lh;
    }
    .point {
      width: 100%;
      max-width: 650px;
      display: flex;
      flex-direction: column;
      align-items: start;
      margin-top: 25px;
      .engagement {
        color: #5252d3;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1px;
      }
      h3 {
        font-size: 20px;
        font-weight: 700;
        color: #585867;
        width: 100%;
        max-width: 650px;
        text-transform: uppercase;
        letter-spacing: 1px;
      }
      p {
        font-size: 15px;
        color: #4a4a4e;
        margin-top: 20px;
      }
      p + p {
        margin-top: 1lh;
      }
    }
  }

  /* Liens et gras éventuels saisis en Markdown dans le back-office. */
  a {
    color: #5252d3;
  }
}

@media (max-width: 768px) {
  .page-about {
    .about {
      h1 {
        font-size: 36px;
      }
      .desc {
        font-size: 14px;
      }
    }
    .foreword {
      .story {
        font-size: 14px;
      }
      .author {
        font-size: 16px;
      }
    }
    .vision {
      h2 {
        font-size: 24px;
      }
      p {
        font-size: 14px;
      }
      .point {
        .engagement {
          font-size: 12px;
        }
        h3 {
          font-size: 18px;
        }
        p {
          font-size: 14px;
        }
      }
    }
  }
}

/* ========================================================================== */
/* Pages de département : Labs, Souverain                                     */
/* ========================================================================== */

.page-dept {
  padding: 150px 25px 100px;
  width: 100%;
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: start;

  .back {
    margin-bottom: 25px;
  }

  /* Enfant direct : les cartes produit ont aussi un .head. */
  > .head {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
    max-width: 620px;
    .eyebrow {
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: hsl(252, 60%, 55%);
    }
    h1 {
      font-size: 42px;
      font-weight: 700;
      color: #2a2a32;
      text-transform: uppercase;
    }
    .tagline {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: hsla(0, 0%, 0%, 0.4);
    }
    .desc {
      font-size: 15px;
      line-height: 1.6;
      color: #4a4a4e;
      margin-top: 5px;
    }
  }

  &.souverain > .head .eyebrow {
    color: hsl(35, 80%, 45%);
  }

  .cards {
    width: 100%;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 45px;
    row-gap: 10px;
  }
}

@media (max-width: 700px) {
  .page-dept {
    padding-top: 120px;
    > .head h1 {
      font-size: 30px;
    }
    .cards {
      grid-template-columns: 1fr;
    }
  }
}

/* ========================================================================== */
/* Contact                                                                    */
/* ========================================================================== */

.page-contact {
  padding: 150px 25px 100px;
  width: 100%;
  max-width: 560px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 40px;

  .intro {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
    .contexte {
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: hsl(252, 78%, 55%);
    }
    h1 {
      font-size: 38px;
      font-weight: 700;
      color: #2a2a32;
      text-transform: uppercase;
    }
    .subtitle {
      font-size: 15px;
      color: #4e4e57;
      line-height: 1.5;
    }
    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      .chip {
        font-size: 12px;
        font-weight: 500;
        color: hsl(252, 78%, 55%);
        background: hsla(252, 74%, 82%, 0.3);
        padding: 6px 14px;
        border-radius: 50px;
      }
    }
  }

  .reserver {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 14px;
    .bouton {
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 13px;
      font-weight: 600;
      color: white;
      background: #3b52ed;
      padding: 16px 38px;
      border-radius: 10px;
      transition: all 0.2s;
      &:hover {
        background: #2c3fc9;
      }
    }
    .precision {
      font-size: 13px;
      line-height: 1.5;
      color: hsla(0, 0%, 0%, 0.5);
    }
  }

  .attendre {
    width: 100%;
    padding-top: 25px;
    border-top: 1px solid hsla(0, 0%, 0%, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    h2 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: hsla(0, 0%, 0%, 0.5);
      margin-bottom: 4px;
    }
    p {
      font-size: 14px;
      line-height: 1.55;
      color: #4a4a4e;
    }
  }
}

@media (max-width: 700px) {
  .page-contact {
    padding-top: 120px;
    .intro h1 {
      font-size: 28px;
    }
  }
}

/* ========================================================================== */
/* Fiche produit                                                              */
/* ========================================================================== */

.page-product {
  padding: 150px 25px 100px;
  width: 100%;
  max-width: 650px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: start;

  .back {
    margin-bottom: 25px;
  }

  > .head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  .category-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: hsla(0, 0%, 0%, 0.45);
  }
  .status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsla(0, 0%, 0%, 0.45);
    .dot {
      width: 6px;
      height: 6px;
    }
  }

  h1 {
    font-size: 38px;
    font-weight: 700;
    color: #2a2a32;
    text-transform: uppercase;
  }
  .accroche {
    font-size: 17px;
    font-weight: 500;
    color: #4e4e57;
    margin-top: 12px;
    max-width: 560px;
    &:after {
      content: '';
      display: block;
      width: 50px;
      height: 2px;
      background-color: #c4c4cc;
      margin-top: 20px;
    }
  }

  .body {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    h2 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #5252d3;
    }
    p,
    .pitch {
      font-size: 15px;
      line-height: 1.6;
      color: #4a4a4e;
    }
    ul {
      list-style: none;
      padding: 0;
      margin-left: 5px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      li {
        font-size: 15px;
        line-height: 1.5;
        color: #4a4a4e;
        position: relative;
        padding-left: 18px;
        &:before {
          content: '•';
          position: absolute;
          left: 0;
          color: #5252d3;
        }
      }
    }
  }

  .note {
    font-size: 13px;
    font-style: italic;
    color: hsla(0, 0%, 0%, 0.45);
  }

  .actions {
    margin-top: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .cta-secondaire {
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: hsla(0, 0%, 0%, 0.5);
    transition: color 0.2s;
    &:hover {
      color: #3b52ed;
    }
  }
  .cta {
    align-self: start;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsl(252, 78%, 55%);
    background: hsla(252, 74%, 82%, 0.3);
    padding: 12px 28px;
    border-radius: 10px;
    transition: all 0.2s;
    &:hover {
      background: hsla(252, 74%, 82%, 0.5);
    }
  }
}

@media (max-width: 700px) {
  .page-product {
    padding-top: 120px;
    h1 {
      font-size: 28px;
    }
  }
}

/* ========================================================================== */
/* Liste d'attente                                                            */
/* ========================================================================== */

.waitlist {
  width: 100%;
  margin-top: 10px;
  padding: 25px;
  border-radius: 12px;
  background: hsla(252, 74%, 82%, 0.15);
  border: 1px solid hsla(252, 60%, 60%, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Ancre de retour après envoi : laisse la place à l'en-tête fixe. */
  scroll-margin-top: 110px;

  h2 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5252d3;
  }
  .intro {
    font-size: 14.5px;
    line-height: 1.55;
    color: #4a4a4e;
  }
  .ok {
    font-size: 15px;
    line-height: 1.55;
    color: hsl(150, 45%, 28%);
  }
  .erreur {
    font-size: 13px;
    line-height: 1.5;
    color: hsl(0, 60%, 45%);
  }
  form {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  input[type='email'] {
    flex: 1 1 220px;
    min-width: 0;
    font-family: inherit;
    font-size: 15px;
    color: #2a2a32;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid hsla(0, 0%, 0%, 0.12);
    background: white;
    &:focus {
      outline: none;
      border-color: #5252d3;
    }
    &[aria-invalid='true'] {
      border-color: hsl(0, 65%, 55%);
    }
  }
  button {
    flex: 0 0 auto;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: #3b52ed;
    border: none;
    padding: 12px 26px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    &:hover {
      background: #2c3fc9;
    }
  }
  .mention {
    font-size: 12px;
    line-height: 1.5;
    color: hsla(0, 0%, 0%, 0.45);
    a {
      color: #5252d3;
    }
  }
}

@media (max-width: 700px) {
  .waitlist {
    padding: 20px;
    button {
      width: 100%;
    }
  }
}

/* Piège à robots : masqué sans display:none, que certains robots détectent. */
.pot-de-miel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ========================================================================== */
/* Pages légales : mentions légales, confidentialité                          */
/* ========================================================================== */

.page-legal {
  padding: 150px 25px 100px;
  width: 100%;
  max-width: 650px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 32px;

  &.confidentialite {
    gap: 30px;
  }

  h1 {
    font-size: 38px;
    font-weight: 700;
    color: #2a2a32;
    text-transform: uppercase;
  }
  .chapeau {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #4e4e57;
  }

  section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    h2 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #5252d3;
    }
    p {
      font-size: 15px;
      line-height: 1.65;
      color: #4a4a4e;
    }
    a {
      color: #5252d3;
      text-decoration: none;
      &:hover {
        text-decoration: underline;
      }
    }
  }
  &.confidentialite section {
    gap: 10px;
  }

  dl {
    display: flex;
    flex-direction: column;
    gap: 8px;
    div {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      font-size: 15px;
      line-height: 1.6;
    }
    dt {
      min-width: 190px;
      color: hsla(0, 0%, 0%, 0.5);
    }
    dd {
      color: #4a4a4e;
    }
  }
}

@media (max-width: 700px) {
  .page-legal {
    padding-top: 120px;
    h1 {
      font-size: 28px;
    }
    dl dt {
      min-width: 0;
      font-size: 13px;
    }
    dl div {
      flex-direction: column;
      gap: 2px;
    }
  }
}

/* ========================================================================== */
/* Désinscription                                                             */
/* ========================================================================== */

.page-unsub {
  padding: 150px 25px 100px;
  width: 100%;
  max-width: 560px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 18px;

  h1 {
    font-size: 34px;
    font-weight: 700;
    color: #2a2a32;
    text-transform: uppercase;
  }
  .chapeau {
    font-size: 15px;
    line-height: 1.55;
    color: #4e4e57;
  }
  .erreur {
    font-size: 13.5px;
    line-height: 1.5;
    color: hsl(0, 60%, 45%);
  }
  .note {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid hsla(0, 0%, 0%, 0.08);
    width: 100%;
    font-size: 12.5px;
    line-height: 1.5;
    color: hsla(0, 0%, 0%, 0.45);
    a {
      color: #5252d3;
    }
  }
  .ok {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    background: hsla(150, 60%, 40%, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    p {
      font-size: 15px;
      line-height: 1.5;
      color: #2a2a32;
    }
    .hint {
      font-size: 13px;
      color: hsla(0, 0%, 0%, 0.55);
    }
  }
  form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    label {
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #5252d3;
    }
    .ligne {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    input[type='email'] {
      flex: 1 1 220px;
      min-width: 0;
      font-family: inherit;
      font-size: 15px;
      color: #2a2a32;
      padding: 12px 14px;
      border-radius: 8px;
      border: 1px solid hsla(0, 0%, 0%, 0.12);
      background: white;
      &:focus {
        outline: none;
        border-color: #5252d3;
      }
      &[aria-invalid='true'] {
        border-color: hsl(0, 65%, 55%);
      }
    }
    button {
      flex: 0 0 auto;
      font-family: inherit;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 12px;
      font-weight: 600;
      color: white;
      background: #3b52ed;
      border: none;
      padding: 12px 26px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s;
      &:hover {
        background: #2c3fc9;
      }
    }
  }
}

@media (max-width: 700px) {
  .page-unsub {
    padding-top: 120px;
    h1 {
      font-size: 26px;
    }
    form button {
      width: 100%;
    }
  }
}
