/* Stockmen & Co — charte du 26/11/2026 : deux polices, bleu nuit, blanc cassé, un seul accent sable. */
:root {
  --nuit: #1b2430;
  --nuit-2: #222d3b;
  --casse: #f6f3ee;
  --blanc: #fffdfa;
  --sable: #b89466;
  --encre: #1a1a1a;
  --gris: #6b6f76;
  --filet: rgba(26, 26, 26, 0.12);
  --titres: "DM Serif Text", Georgia, "Times New Roman", serif;
  --textes: Montserrat, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --large: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--casse);
  color: var(--encre);
  font-family: var(--textes);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--titres); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
p { margin: 0; }

/* Bandeau */
.bandeau {
  background: var(--nuit);
  color: var(--casse);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 1rem;
}

/* En-tête */
.entete { background: var(--blanc); border-bottom: 1px solid var(--filet); position: sticky; top: 0; z-index: 20; }
.entete-int {
  max-width: var(--large); margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.logo img { width: clamp(170px, 22vw, 250px); }
.menu { display: flex; gap: 1.75rem; margin-left: auto; }
.menu a, .menu-mobile nav a {
  text-decoration: none; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.menu a:hover { border-color: var(--sable); }
.outils { display: flex; align-items: center; gap: 1.1rem; }
.outils > a { display: grid; place-items: center; }
.outils > a:hover { color: var(--sable); }
.menu-mobile { display: none; position: relative; }
.menu-mobile summary { list-style: none; cursor: pointer; display: grid; gap: 4px; padding: 6px 0; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile summary span { display: block; width: 22px; height: 1.5px; background: currentColor; }
.menu-mobile nav {
  position: absolute; right: -1.5rem; top: calc(100% + 1rem); background: var(--blanc);
  border: 1px solid var(--filet); padding: 1rem 1.5rem; display: grid; gap: 0.9rem; min-width: 240px;
}

/* Blocs */
.bloc { padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem; }
.bloc-int { max-width: var(--large); margin: 0 auto; }
.bloc.sombre { background: var(--nuit); color: var(--casse); }
.bloc:not(.sombre) + .bloc:not(.sombre) { padding-top: 0; }
.colonne { max-width: 680px; margin: 0 auto; text-align: center; }
.colonne h2 { margin-bottom: 1.6rem; }
.colonne h2::after, .univers h2::after {
  content: ""; display: block; width: 44px; height: 1px; background: var(--sable); margin: 1.2rem auto 0;
}
.texte { white-space: pre-line; color: inherit; }
.bloc:not(.sombre) .texte, .bloc:not(.sombre) .duo-texte > p:not(.surtitre) { color: #3a3d42; }

/* Boutons */
.bouton {
  display: inline-block; text-decoration: none; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.95rem 1.9rem; border: 1px solid var(--nuit); background: var(--nuit); color: var(--casse);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bouton:hover { background: var(--sable); border-color: var(--sable); color: var(--nuit); }
.bouton.clair { background: var(--casse); border-color: var(--casse); color: var(--nuit); }
.bouton.clair:hover { background: var(--sable); border-color: var(--sable); }
.bouton.contour { background: transparent; border-color: currentColor; color: inherit; }
.bouton.contour:hover { background: var(--sable); border-color: var(--sable); color: var(--nuit); }
.boutons { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2rem; }

/* Ouverture */
.ouverture { padding-top: clamp(3rem, 6vw, 5rem); }
.ouverture-texte { text-align: center; max-width: 820px; margin: 0 auto; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.ouverture-texte p { margin: 1.2rem 0 2.2rem; color: rgba(246, 243, 238, 0.82); font-size: 1.05rem; }
.ouverture-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; max-height: 78vh; }

/* Univers */
.univers h2 { text-align: center; margin-bottom: 3rem; }
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.carte { text-decoration: none; text-align: center; }
.carte-image {
  display: block; background: #fff; border: 1px solid var(--filet); overflow: hidden; aspect-ratio: 886 / 522;
}
.carte-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.carte:hover .carte-image img { transform: scale(1.03); }
.carte-nom { display: inline-block; margin-top: 1.1rem; font-family: var(--titres); font-size: 1.3rem; }

/* Sélection */
.selection-tete { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.75rem; }
.produits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.75rem; }
.produit { text-decoration: none; text-align: center; }
.produit-image { display: block; position: relative; aspect-ratio: 1; }
.produit-image img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.35s; }
.produit-image .dos { position: absolute; inset: 0; opacity: 0; }
.produit:hover .produit-image .dos { opacity: 1; }
.produit:hover .produit-image img:first-child:not(:only-child) { opacity: 0; }
.produit-nom { display: block; margin-top: 1rem; font-size: 0.85rem; letter-spacing: 0.04em; color: rgba(246, 243, 238, 0.9); }
.produit:hover .produit-nom { color: var(--sable); }

/* Duo photo + texte (produit vedette, photo + texte) */
.duo { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.duo.inverse .duo-image { order: 2; }
.duo-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.duo-image.detoure { background: var(--nuit); display: block; }
.duo-image.detoure img { object-fit: contain; padding: 1.5rem; }
.duo-texte h2 { margin-bottom: 1rem; }
.duo-texte .bouton { margin-top: 2rem; }
.surtitre { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sable); margin-bottom: 0.9rem; }

/* Contact */
.contact p { color: rgba(246, 243, 238, 0.82); }

/* Pied */
.pied { background: var(--nuit-2); color: rgba(246, 243, 238, 0.7); font-size: 0.8rem; padding: 2.5rem 1.5rem; }
.pied-int { max-width: var(--large); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.pied nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--sable); }

/* Page boutique */
.boutique-corps { background: var(--blanc); }
.boutique-cadre { max-width: var(--large); margin: 0 auto; padding: 2rem 1.5rem 5rem; min-height: 60vh; }

@media (max-width: 900px) {
  .menu { display: none; }
  .menu-mobile { display: block; }
  .outils { margin-left: auto; }
  .cartes { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .produits { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .duo { grid-template-columns: 1fr; }
  .duo.inverse .duo-image { order: 0; }
  .selection-tete { flex-direction: column; align-items: flex-start; }
  .pied-int { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
