:root {
    --fond: #ffffff;
    --carte: #d0d0d0;
    --cadre: #cbcbcb;
    --bordure: #2b2b2b;
    --texte: #111111;
    --rouge: #e3001b;
    --vert: #25d366;
    --footer: #5f5f5f;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
  body {
    background: var(--fond);
    color: var(--texte);
    font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  /* En-tête */
  header {
    text-align: center;
    padding: 28px 16px 8px;
  }
  header img {
    width: clamp(120px, 28vw, 190px);
    height: auto;
    display: block;
    margin: 0 auto 14px;
  }
  header h1 {
    font-family: "Graduate", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1rem, 4.6vw, 2.2rem);
    letter-spacing: .02em;
    white-space: nowrap;
  }
  header h1 .r { color: var(--rouge); }

  /* Grille produits */
  main {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 12px 50px;
    flex: 1;
  }
  .grille {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .carte {
    min-width: 0;
    background: var(--carte);
    border: 3px solid var(--bordure);
    padding: 8px 8px 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,.28);
    display: flex;
    flex-direction: column;
  }
  .cadre {
    background: var(--cadre);
    border: 2px solid #8d8d8d;
    box-shadow: 0 4px 8px rgba(0,0,0,.3);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  .cadre img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .nom {
    text-align: center;
    font-weight: 400;
    font-size: clamp(1.1rem, 5.4vw, 2.2rem);
    line-height: 1.05;
    padding: 10px 0 4px;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }
  .prix {
    font-size: clamp(1.2rem, 5.6vw, 2.7rem);
    line-height: 1;
    white-space: nowrap;
  }
  .commander {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    color: var(--texte);
    text-decoration: none;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: clamp(.8rem, 3.6vw, 1.7rem);
    line-height: 1.1;
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .commander:hover { transform: translateY(-1px); box-shadow: 0 4px 9px rgba(0,0,0,.3); }
  .commander:active { transform: translateY(0); }
  .commander:focus-visible, footer a:focus-visible {
    outline: 3px solid var(--rouge);
    outline-offset: 3px;
  }
  .commander svg { width: 1.25em; height: 1.25em; flex: none; stroke: var(--vert); }

  /* Pied de page */
  footer {
    background: var(--footer);
    color: #fff;
    text-align: center;
    padding: 34px 16px 30px;
  }
  footer img {
    width: 84px;
    height: auto;
    display: block;
    margin: 0 auto 18px;
  }
  .contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
  }
  .contacts a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: var(--texte);
    text-decoration: none;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 1.35rem;
    letter-spacing: .02em;
    transition: transform .15s ease;
  }
  .contacts a:hover { transform: translateY(-2px); }
  .contacts svg { width: 1.2em; height: 1.2em; flex: none; }
  .contacts .wa svg { stroke: var(--vert); }
  .contacts .tt svg, .contacts .ig svg { stroke: var(--texte); }
  footer small {
    display: block;
    font-family: system-ui, sans-serif;
    font-size: .78rem;
    opacity: .85;
  }

  @media (min-width: 700px) {
    .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .commander, .contacts a { transition: none; }
  }
