/* Page « Goodies sur mesure » */
.footer {
  margin-top: 0;
}
.mesure {
  h1 {
    font-size: 29px;
    line-height: 1.25;
    color: var(--noir);
    .accent {
      color: var(--orange);
    }
  }
  h2 {
    font-size: 19px;
    color: var(--noir);
    margin-bottom: 25px;
  }
  h3 {
    font-size: 25px;
    font-weight: 700;
    color: var(--noir);
    line-height: 1.2;
    margin-bottom: 14px;
  }
  p {
    color: var(--gris-texte);
    line-height: 1.72;
    margin-bottom: 13px;
    font-size: 15px;
  }
  .surtitre {
    letter-spacing: 0.14em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
  }
  /* En-tête de section (marquage, méthode) : comme l'en-tête des critères et des conseils de la page Personnalisation. */
  .entete {
    margin-bottom: 30px;
    p {
      max-width: 620px;
      margin-top: 8px;
      line-height: 1.74;
    }
  }
  .accroche {
    padding: 20px 0 50px;
    img {
      border-radius: 16px;
    }
  }
  .intro {
    margin-top: 15px;
    font-size: 16px;
  }
  .pastilles {
    gap: 8px;
    margin: 15px 0;
  }
  .pastille {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gris-texte);
    background: var(--blanc);
    border: 1px solid var(--gris-bord);
    border-radius: 20px;
    &::before {
      content: "";
      flex-shrink: 0;
      width: 7px;
      height: 7px;
      background: var(--vert);
      border-radius: 50%;
    }
  }
  .boutons {
    gap: 12px;
    .btn-primary {
      padding: 12px 26px;
      font-size: 14px;
      font-weight: 700;
      color: var(--blanc);
      background: var(--orange);
      border-radius: var(--r);
      transition: background 0.18s;
      &:hover {
        background: var(--orange-dark);
      }
    }
    .btn-ghost {
      padding: 11px 24px;
      font-size: 14px;
      font-weight: 700;
      color: var(--orange);
      border: 1.5px solid var(--orange);
      border-radius: var(--r);
      transition: 0.18s;
      &:hover {
        color: var(--blanc);
        background: var(--orange);
      }
    }
  }
  .chiffres {
    background: var(--peche-clair);
    border-top: 1px solid var(--orange-20);
    border-bottom: 1px solid var(--orange-20);
    padding: 26px 0px;
    text-align: center;
    .valeurs {
      row-gap: 18px;
      @media (min-width: 768px) {
        column-gap: 18px;
      }
    }
    strong {
      display: block;
      font-size: 27px;
      color: var(--orange);
    }
    span {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--gris-texte);
      font-weight: 400;
    }
  }
  .pitch,
  .choix {
    margin-top: 50px;
    h2 {
      margin-bottom: 16px;
    }
  }
  .pitch strong {
    color: black;
  }
  /* Section « La personnalisation au niveau supérieur » : 130 px au-dessus. */
  .choix {
    margin-top: 130px;
  }
  /* Techniques de marquage : même section que les critères de choix de la page Personnalisation. */
  .marquage {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
    padding: 60px 22px;
    .surtitre {
      margin-bottom: 30px;
    }
  }
  .encadre {
    height: 100%;
    background: var(--ivoire);
    border: 1px solid var(--gris-bord);
    border-radius: 8px;
    padding: 24px 22px;
    h3 {
      font-size: 12px;
      letter-spacing: 0.11em;
      text-transform: uppercase;
      color: var(--orange);
      margin-bottom: 16px;
    }
  }
  .coches {
    list-style: none;
    li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-size: 14px;
      color: var(--gris-texte);
      margin-bottom: 11px;
      line-height: 1.55;
    }
    li::before {
      content: "\2713";
      flex-shrink: 0;
      margin-top: 1px;
      font-weight: 800;
      color: var(--vert);
    }
  }
  .bloc {
    margin-bottom: 20px;
    padding: 50px 0;
    border: none;
    border-top: 1px solid var(--gris-bord);
  }
  /* Premier bloc (« De bord à bord ») : pas de filet au-dessus. */
  .choix > .col-12:nth-child(2) .bloc {
    border-top: none;
  }
  .puce {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--orange-dark);
    background: var(--orange-10);
    border-radius: 20px;
    svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentcolor;
      stroke-width: 2;
    }
  }
  .gammes {
    margin-top: 30px;
    padding: 60px 22px;
    background: var(--ivoire);
    h2 {
      margin-bottom: 20px;
    }
    p {
      margin-bottom: 40px;
    }
  }
  .carte {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--blanc);
    border: 1px solid var(--gris-bord);
    border-radius: 8px;
    overflow: hidden;
    transition:
      box-shadow 0.2s,
      border-color 0.2s;
    &:hover {
      box-shadow: 0 5px 22px rgba(0, 0, 0, 0.09);
      border-color: var(--orange);
      .carte-photo img {
        transform: scale(1.05);
      }
    }
  }
  .carte-photo {
    height: 170px;
    background: var(--gris-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s;
    }
  }
  .carte-titre {
    padding: 14px 20px 12px;
    border-bottom: 1px solid var(--gris-bord);
    h3 {
      margin: 0;
      font-size: 15px;
      font-weight: 400;
    }
  }
  .carte-corps {
    padding: 14px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    p {
      margin: 0;
      font-size: 14px;
    }
  }
  .cartes-rse .carte {
    padding: 20px 18px;
    background: var(--blanc);
    border: 1px solid var(--gris-bord);
    border-radius: 8px;
    &:hover {
      border-color: var(--gris-bord);
      box-shadow: none;
    }
    h3 {
      margin-bottom: 8px;
      font-size: 15px;
      font-weight: 400;
      color: var(--noir);
    }
    p {
      margin: 0;
      font-size: 13px;
      line-height: 1.62;
      color: var(--gris-texte);
    }
  }
  /* Techniques de marquage : même style que les critères de choix de la page Personnalisation. */
  .marquage .carte {
    display: block;
    height: 100%;
    background: var(--ivoire);
    border: 1px solid var(--gris-bord);
    border-left: 3px solid var(--vert);
    border-radius: 0 var(--r) var(--r) 0;
    padding: 18px 16px;
    overflow: visible;
    &:hover {
      border-color: var(--gris-bord);
      border-left-color: var(--vert);
      box-shadow: none;
    }
    h3 {
      margin-bottom: 7px;
      font-size: 15px;
      font-weight: 500;
      color: #333;
    }
    p {
      font-size: 13px;
      line-height: 1.66;
    }
  }
  .etiquettes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .etiquette {
    color: var(--gris-texte);
    background: var(--gris-bg);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
  }
  .minimum {
    margin-right: 100%;
    white-space: nowrap;
    color: var(--blanc);
    background: var(--orange);
  }
  .processus {
    padding: 60px 22px;
    background: var(--peche-clair);
    .surtitre {
      margin-bottom: 30px;
    }
    .etapes {
      max-width: 960px;
      margin: 0 auto;
    }
  }
  .etape {
    position: relative;
    z-index: 1;
    @media (min-width: 992px) {
      &:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 21px;
        left: 50%;
        width: 100%;
        height: 2px;
        background: var(--orange-20);
        z-index: -1;
      }
    }
    padding: 0 8px 24px;
    text-align: center;
    h3 {
      margin: 0;
      font-size: 14px;
      font-weight: 400;
    }
    p {
      font-size: 12px;
      line-height: 1.52;
    }
  }
  .num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 13px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 5px var(--peche-clair);
  }
  .rse {
    padding: 60px 22px;
    background: var(--ivoire);
    border-top: 1px solid var(--gris-bord);
    border-bottom: 1px solid var(--gris-bord);
    .cartes-rse {
      --bs-gutter-x: 14px;
      --bs-gutter-y: 14px;
    }
    /* Introduction : titre et texte d'un côté, certification de l'autre, 36 px avant les cartes. */
    .intro {
      --bs-gutter-x: 40px;
      margin-bottom: 36px;
      p {
        font-size: 15px;
        line-height: 1.74;
        color: var(--gris-texte);
      }
      /* Colonne de la certification : logo au-dessus, texte plus petit. */
      img {
        display: block;
        margin-bottom: 14px;
      }
      .certification p {
        font-size: 9px;
        line-height: 1.74;
        color: var(--gris-texte);
      }
    }
  }
  .badge-rse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--vert-dark);
    background: var(--vert-10);
    border: 1px solid var(--vert);
    border-radius: 40px;
    svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }
  }
  .mot {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--vert-dark);
  }
  .questions {
    max-width: 740px;
    margin: 60px auto;
    .surtitre {
      margin-bottom: 30px;
      font-size: 14px;
    }
    h2 {
      font-weight: bold;
      color: #333;
      margin-bottom: 38px;
    }
    details {
      padding: 18px 0;
    }
    .reponse {
      font-size: 14px;
      color: var(--gris-texte);
      line-height: 1.76;
      padding-top: 12px;
      font-weight: 400;
      strong {
        color: black;
      }
    }
  }
  .btn-blanc:hover {
    opacity: 0.92;
  }
  .appel-final {
    padding: 50px 16px;
    text-align: center;
    background: var(--orange);
    h2 {
      margin-bottom: 15px;
      font-size: 32px;
      color: var(--blanc);
    }
    p {
      max-width: 480px;
      margin: 0 auto 30px;
      font-size: 16px;
      font-weight: 300;
      line-height: 1.7;
      color: rgba(255, 255, 255, 0.88);
    }
  }
  /* Tablette : l'image du bandeau passe sous le texte, avec de l'espace au-dessus. */
  @media (max-width: 992px) {
    .accroche img {
      margin-top: 24px;
    }
  }
  /* Mobile : marges de sections réduites, comme sur la page Personnalisation. */
  @media (max-width: 768px) {
    .marquage,
    .processus,
    .rse {
      padding-top: 40px;
      padding-bottom: 40px;
    }
    h1 {
      font-size: 22px;
    }
  }
}
