:root {
  --creme: #fff8ee;
  --blanc: #ffffff;
  --encre: #2b211a;
  --doux: #6b5b4e;
  --orange: #c95f0e;
  --orange-fort: #a84d08;
  --peche: #fde6cc;
  --ligne: #eedcc6;
  --ombre: 0 2px 4px rgba(73, 45, 15, .08), 0 10px 26px rgba(73, 45, 15, .10);
  --titre: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-fort); }
h1, h2, h3, h4 { font-family: var(--titre); line-height: 1.15; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.evitement { position: absolute; left: -999px; top: 8px; background: var(--blanc); padding: 8px 12px; z-index: 20; }
.evitement:focus { left: 16px; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.tete {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: var(--creme);
  border-bottom: 1px solid var(--ligne);
}
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font: 700 1.35rem var(--titre); }
.tete nav { display: flex; gap: clamp(14px, 3vw, 30px); }
.tete nav a { color: var(--encre); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; }
.tete nav a:hover { color: var(--orange-fort); }

.une {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1180px; margin: 0 auto;
  padding: clamp(36px, 7vw, 88px) clamp(16px, 4vw, 48px);
}
.surtitre { color: var(--orange-fort); font-weight: 700; margin-bottom: .5em; }
.une-texte h1 { margin-bottom: .45em; }
.une-texte > p:not(.surtitre) { font-size: 1.12rem; color: var(--doux); max-width: 34em; }
.une-image img {
  border: 10px solid var(--blanc); border-radius: 18px;
  box-shadow: var(--ombre); transform: rotate(1.5deg);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

.bouton {
  display: inline-block;
  padding: 13px 22px; border-radius: 999px;
  background: var(--orange-fort); color: #fff;
  font-weight: 700; text-decoration: none; text-align: center;
  transition: background-color .15s ease, transform .15s ease;
}
.bouton:hover { background: #8d3f05; }
.bouton:active { transform: scale(.98); }
.bouton.second { background: transparent; color: var(--orange-fort); box-shadow: inset 0 0 0 2px var(--orange-fort); }
.bouton.second:hover { background: var(--peche); }
.bouton.petit { padding: 10px 18px; font-size: .96rem; margin-top: auto; }

.creations { max-width: 1180px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 48px) 40px; }
.comment { color: var(--doux); max-width: 44em; margin-top: .6em; }
.groupe { padding-top: 34px; }
.intro { color: var(--doux); margin: .25em 0 1.1em; }
.grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.carte {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--blanc); border-radius: 18px; padding: 12px 12px 18px;
  box-shadow: var(--ombre);
}
.carte h4, .carte p, .carte .bouton { margin-left: 8px; margin-right: 8px; }
.carte h4 { margin-top: 14px; margin-bottom: .3em; }
.carte p { margin-bottom: .5em; }
.options { color: var(--doux); font-size: .94rem; }
.carte .options { margin-bottom: 1em; }
.visuel { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--peche); }
.visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.visuel.contain { background: var(--blanc); }
.visuel.contain img { object-fit: contain; }
.visuel .deux { opacity: 0; }
@media (hover: hover) {
  .carte:hover .visuel .deux { opacity: 1; }
}

.mesure {
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: center;
  gap: clamp(28px, 5vw, 72px);
  background: var(--peche);
  padding: clamp(40px, 7vw, 80px) max(clamp(16px, 4vw, 48px), calc((100vw - 1084px) / 2));
  margin-top: 40px;
}
.mesure-image img { border: 10px solid var(--blanc); border-radius: 18px; box-shadow: var(--ombre); transform: rotate(-1.5deg); }
.mesure h2 { margin-bottom: .5em; }
.mesure ol { margin: 0 0 1em; padding-left: 1.3em; }
.mesure li { margin-bottom: .25em; }

.contact { text-align: center; padding: clamp(44px, 7vw, 80px) 16px; }
.contact img { margin: 0 auto 10px; }
.contact h2 { margin-bottom: .3em; }
.liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-weight: 700; font-size: 1.08rem; }

.pied {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  border-top: 1px solid var(--ligne);
  padding: 18px clamp(16px, 4vw, 48px);
  color: var(--doux); font-size: .92rem;
}
.pied p { margin: 0; }

.texte { max-width: 760px; margin: 0 auto; padding: 40px 16px 60px; }
.texte h1 { font-size: 2.2rem; margin-bottom: .7em; }
.texte h2 { font-size: 1.35rem; margin: 1.4em 0 .4em; }
.a-completer { background: #fff0a8; padding: 0 4px; }

@media (max-width: 900px) {
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .une, .mesure { grid-template-columns: 1fr; }
  .une-image { order: -1; }
  .une-image img, .mesure-image img { transform: none; }
}
@media (max-width: 520px) {
  .grille { grid-template-columns: 1fr; }
  html { scroll-padding-top: 0; }
  .tete { position: static; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .bouton { width: 100%; }
  .bouton.petit { width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
