@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --papier: #eef1f4;
  --blanc: #ffffff;
  --encre: #14213d;
  --acier: #4a5a73;
  --trait: #c3ccd7;
  --ruban: #f2c230;
  --ruban-fonce: #d9a91a;
  --largeur: 72rem;
}

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

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

body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--papier);
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ruban);
  outline-offset: 3px;
}

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

/* Ruban adhésif en haut de page */
.ruban {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--ruban) 0 14px,
    var(--encre) 14px 28px
  );
}

/* En-tête */
.entete {
  padding: 1.25rem 0;
}
.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.marque {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-stretch: 75%;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .01em;
  line-height: 1;
}
.marque svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 1.5rem; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bouton-entete {
  background: var(--encre);
  color: var(--blanc);
  padding: .55rem 1rem;
  border-radius: 4px;
}
.bouton-entete:hover { text-decoration: none !important; background: var(--acier); }

/* Accueil */
.accueil {
  padding: 3.5rem 0 5rem;
}
.accueil .conteneur {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3.5rem;
  align-items: center;
}
.accueil h1 {
  font-stretch: 70%;
  font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.01em;
  margin: 0 0 1.5rem;
  max-width: 13ch;
}
.accueil p.intro {
  font-size: 1.2rem;
  color: var(--acier);
  max-width: 34rem;
  margin: 0 0 2rem;
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.bouton {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  padding: .85rem 1.4rem;
  border-radius: 4px;
  border: 2px solid var(--encre);
  cursor: pointer;
}
.bouton-plein { background: var(--ruban); border-color: var(--ruban); color: var(--encre); }
.bouton-plein:hover { background: var(--ruban-fonce); border-color: var(--ruban-fonce); }
.bouton-vide { background: transparent; }
.bouton-vide:hover { background: var(--encre); color: var(--blanc); }

/* Étiquette d'expédition */
.etiquette {
  background: var(--blanc);
  border: 2px solid var(--encre);
  border-radius: 6px;
  font-stretch: 85%;
  transform: rotate(1.8deg);
  box-shadow: 10px 12px 0 var(--encre);
  animation: pose .9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes pose {
  from { transform: translateY(-24px) rotate(-4deg); opacity: 0; }
  to   { transform: rotate(1.8deg); opacity: 1; }
}
.etiquette-ligne {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  border-bottom: 2px solid var(--encre);
}
.etiquette-ligne:last-child { border-bottom: 0; }
.etiquette-ligne > * { padding: .7rem .9rem; }
.etiquette dt {
  font-size: .8rem;
  color: var(--acier);
  border-right: 2px solid var(--encre);
}
.etiquette dd {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
}
.etiquette .grand {
  font-size: 1.6rem;
  font-weight: 800;
  font-stretch: 70%;
  line-height: 1.05;
}
.code-barres { padding: 1rem .9rem .8rem; }
.code-barres svg { width: 100%; height: 64px; }
.code-barres p {
  margin: .4rem 0 0;
  text-align: center;
  font-size: .85rem;
  letter-spacing: .3em;
  font-weight: 600;
}

/* Sections */
section { scroll-margin-top: 1rem; }
.section { padding: 5rem 0; }
.section-blanche { background: var(--blanc); border-top: 2px solid var(--encre); border-bottom: 2px solid var(--encre); }
.section h2, .contact h2 {
  font-stretch: 70%;
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.chapeau {
  color: var(--acier);
  font-size: 1.15rem;
  max-width: 40rem;
  margin: 0 0 3rem;
}

/* Rayons (catégories) */
.rayons { list-style: none; margin: 0; padding: 0; }
.rayon {
  display: grid;
  grid-template-columns: 4rem 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-top: 2px solid var(--encre);
}
.rayon:last-child { border-bottom: 2px solid var(--encre); }
.rayon svg { width: 52px; height: 52px; }
.rayon h3 {
  margin: 0;
  font-stretch: 75%;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.1;
}
.rayon p { margin: 0; color: var(--acier); max-width: 36rem; }
.rayon .exemples {
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.rayon .exemples li {
  font-size: .9rem;
  padding: .15rem .6rem;
  border: 1.5px solid var(--trait);
  border-radius: 3px;
  color: var(--encre);
}

/* Fonctionnement */
.etapes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: etape;
}
.etapes li { counter-increment: etape; }
.etapes li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ruban);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.etapes h3 {
  margin: 0 0 .5rem;
  font-stretch: 75%;
  font-weight: 800;
  font-size: 1.4rem;
}
.etapes p { margin: 0; color: var(--acier); }

/* Contact */
.contact {
  background: var(--encre);
  color: var(--blanc);
  padding: 5rem 0;
}
.contact .conteneur {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 4rem;
}
.contact h2 { color: var(--blanc); }
.contact .chapeau { color: #c9d3e2; margin-bottom: 2rem; }
.contact-mail {
  display: inline-block;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ruban);
  text-underline-offset: 4px;
  word-break: break-all;
}
.formulaire { display: grid; gap: 1.1rem; }
.formulaire .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.champ { display: grid; gap: .35rem; }
.champ label { font-weight: 600; font-size: .95rem; }
.champ input, .champ select, .champ textarea {
  font: inherit;
  color: var(--encre);
  background: var(--blanc);
  border: 2px solid var(--blanc);
  border-radius: 4px;
  padding: .7rem .8rem;
  width: 100%;
}
.champ textarea { min-height: 9rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none;
  border-color: var(--ruban);
}
.consentement { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: #c9d3e2; }
.consentement input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--ruban); }
.consentement a { color: var(--blanc); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .bouton { justify-self: start; }
.message-envoi {
  display: none;
  padding: .9rem 1rem;
  border-radius: 4px;
  font-weight: 600;
}
.message-envoi.ok { display: block; background: var(--ruban); color: var(--encre); }
.message-envoi.erreur { display: block; background: #fbe3e3; color: #7a1616; }

/* Pied de page */
.pied { padding: 2rem 0; font-size: .9rem; color: var(--acier); }
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.pied a { text-underline-offset: 3px; }

/* Page texte (mentions légales) */
.page-texte { padding: 3rem 0 5rem; }
.page-texte .conteneur { max-width: 46rem; }
.page-texte h1 {
  font-stretch: 70%;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
  margin: 0 0 2rem;
}
.page-texte h2 {
  font-stretch: 75%;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 2.5rem 0 .5rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--encre);
}
.page-texte p, .page-texte li { color: var(--encre); }
.a-completer { background: var(--ruban); padding: 0 .3rem; font-weight: 700; }

/* Responsive */
@media (max-width: 860px) {
  .accueil .conteneur, .contact .conteneur { grid-template-columns: 1fr; gap: 3rem; }
  .etiquette { max-width: 26rem; }
  .rayon { grid-template-columns: 3rem 1fr; gap: 1rem 1.25rem; }
  .rayon > div:last-child { grid-column: 2; }
  .rayon svg { width: 40px; height: 40px; }
  .etapes { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .nav a:not(.bouton-entete) { display: none; }
  .formulaire .duo { grid-template-columns: 1fr; }
  .accueil { padding: 2rem 0 4rem; }
  .section, .contact { padding: 3.5rem 0; }
  .etiquette { box-shadow: 6px 8px 0 var(--encre); }
}

@media (prefers-reduced-motion: reduce) {
  .etiquette { animation: none; }
}

/* Marque INSTM */
.instm { border-bottom: 2px solid var(--encre); }
.instm-tete {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 1rem;
}
.instm-logo {
  margin: 0;
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  line-height: .8;
  letter-spacing: -.02em;
  color: var(--encre);
  padding-bottom: .9rem;
  border-bottom: 12px solid var(--ruban);
}
.instm .chapeau { margin-bottom: 2rem; }
@media (max-width: 860px) {
  .instm-tete { grid-template-columns: 1fr; gap: 1.5rem; }
  .instm-logo { justify-self: start; }
}
