/* Normalize (abrégé) */
*, *:before, *:after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }

:root {
  --ardoise: #1F2326;
  --ardoise-2: #2B3034;
  --sauge: #6F8B6E;
  --sauge-clair: #B9CBB6;
  --rouille: #A8481F;
  --ecru: #EBE4D6;
  --texte: #1B1D1E;
  --gris: #5B6064;
  --slab: "Zilla Slab", Rockwell, "Courier New", serif;
  --texte-sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

body {
    background: #FFF;
    color: var(--texte);
    font-family: var(--texte-sans);
    font-size: 17px;
    line-height: 1.5;
}

a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skiplink { position: absolute; left: 16px; top: -60px; z-index: 90; padding: 8px 12px; background: #FFF; color: #111; }
.skiplink:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--sauge); outline-offset: 3px; }
body.no-scroll { overflow: hidden; }

/* Changement de couleur du header quand il devient fixe */
.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: #FFF;
  background: transparent;
  transition: background .25s ease, color .25s ease;
}
.masthead.is-solid, .masthead.menu-open, body:not(.is-home) .masthead {
  background: #FFF;
  color: #111;
  border-bottom: 1px solid #E3E0DA;
}
.masthead__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1280px;
    height: 68px;
    margin: 0 auto;
    padding: 0 16px;
}
.masthead__logo { width: 150px; height: auto; }
.masthead__logo--dark { display: none; }
.masthead.is-solid .masthead__logo--light,
.masthead.menu-open .masthead__logo--light,
body:not(.is-home) .masthead__logo--light { display: none; }
.masthead.is-solid .masthead__logo--dark,
.masthead.menu-open .masthead__logo--dark,
body:not(.is-home) .masthead__logo--dark { display: block; }

.masthead__nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  padding: 8px 16px 20px;
  background: #FFF;
  color: #111;
  border-bottom: 1px solid #E3E0DA;
}
.masthead__nav.is-open { display: flex; }
.masthead__link {
  padding: 12px 0;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-decoration: none;
  border-bottom: 1px solid #EEE;
}
.masthead__link:hover, .masthead__link[aria-current="page"] { color: var(--rouille); }

.masthead__cart {
    position: relative;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}
.masthead__count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50px;
  background: var(--rouille);
  color: #FFF;
  font-size: 11px;
  line-height:18px;
  font-weight: 600;
}
.masthead__burger { position: relative; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
.masthead__burger-lines, .masthead__burger-lines:before, .masthead__burger-lines:after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; content: "";
}
.masthead__burger-lines { top: 21px; }
.masthead__burger-lines:before { left: 0; top: -7px; }
.masthead__burger-lines:after { left: 0; top: 7px; }

@media (min-width: 992px) {
  .masthead__bar { height: 80px; padding: 0 30px; }
  .masthead__logo { width: 170px; }
  .masthead__burger { display: none; }
  .masthead__nav, .masthead__nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 26px;
    margin-left: auto;
    padding: 0;
    background: none;
    color: inherit;
    border: 0;
  }
  .masthead__link { padding: 6px 0; font-size: 14px; border: 0; }
  .masthead__cart { margin-left: 10px; }
}

/* Intro */
.intro {
  min-height: 640px;
  height: 100vh;
  height: 100dvh;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1F2326;
  color: #FFF;
  text-align: center;
}
.intro__inner { padding: 90px 16px 40px; }
.intro__logo { width: 280px; margin: 0 auto 22px; }
.intro__title {
  margin: 0 0 40px;
  font-family: var(--slab);
  font-weight: 600;
  font-size:28px;
  line-height: 1.2;
}
.intro__down { display: inline-flex; padding: 8px; color: #FFF; }
.intro__down svg { animation: bounce 2.2s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (min-width: 768px) {
  .intro__logo { width: 520px; }
  .intro__title { font-size: 40px; }
}

/* Blocs */
.block { padding: 4.4rem 1rem; text-align: center; }
.block--light { background: #FFF; }
.block--left { text-align: left; }
.block--left .heading, .block--left .lead { margin-left: 0; }
.block--tight { padding-top: 3rem; padding-bottom: 3.5rem; }
.block--dark { background: #1F2326; color: #FFF; }
.block--flush { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.kicker {
  margin: 0 0 6px;
  font-family: var(--slab);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: .04em;
  color: #4B6A4A;
  text-transform: uppercase;
}
.kicker--mint { color: var(--sauge-clair); }
.heading {
  margin: 0 auto 18px;
  max-width: 900px;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.heading__mark {
  background-image: linear-gradient(transparent 82%, #6F8B6E 82%);
}
.lead { max-width: 820px; margin: 0 auto 50px; font-size: 18px; color: #3A3E41; }
.block--dark .lead { color: #D8DCDC; }

@media (min-width: 768px) {
  .block { padding: 100px 30px; }
  .block--flush { padding-left: 0; padding-right: 0; padding-bottom: 0; }
  .heading { font-size: 36px; line-height: 43px; }
}

/* steps with big numbers */
.steps { display: grid; gap: 50px; max-width: 1240px; margin: 0 auto; text-align: left; }
.steps > * { min-width: 0; }
.step__media { position: relative; margin-bottom: 70px; }
.step__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(100%) contrast(1.05); }
.step__title {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 34px;
  color: #FFF;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.step__num {
  position: absolute;
  left: 50%;
  bottom: -62px;
  z-index: 1;
  transform: translateX(-50%);
  font-family: var(--slab);
  font-weight: 700;
  font-size: 130px;
  line-height: 1;
  color: rgba(111,139,110,.38);
  pointer-events: none;
}
.step p { margin: 0; font-size: 16px; }

@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; } }

/* dark two columns */
.two-col { display: grid; gap: 30px; max-width: 1080px; margin: 40px auto 0; text-align: left; }
.two-col__h { margin: 0 0 18px; font-family: var(--slab); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.two-col p { margin: 0; color: #E4E6E6; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 90px; } }

/* letter cards */
.letters { display: grid; gap: 24px; max-width: 1180px; margin: 0 auto; }
.letters > * { min-width: 0; }
.letter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 26px;
  transition: background-color .3s ease;
}
.letter-card--sauge { background: #55704F; color: #FFF; }
.letter-card--rouille { background: #A8481F; color: #FFF; }
.letter-card--ecru { background: #EBE4D6; color: #1B1D1E; }
.letter-card--ardoise { background: #3C4347; color: #FFF; }
.letter-card--sauge:hover { background: #48613F; }
.letter-card--rouille:hover { background: #943D18; }
.letter-card--ecru:hover { background: #E2D9C6; }
.letter-card--ardoise:hover { background: #2F3538; }
.letter-card__glyph {
  display: block;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 230px;
  line-height: .95;
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.letter-card__name { margin: 12px 0 4px; font-family: var(--slab); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.letter-card__info { margin: 0 0 8px; font-size: 15px; }
.letter-card__price { margin: 0 0 16px; font-family: var(--slab); font-size: 26px; font-weight: 700; }
.letter-card__buy { display: flex; gap: 8px; width: 100%; max-width: 280px; }
.letter-card__select {
  flex: 1;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 0;
  background: #FFF;
  color: #1B1D1E;
  font-size: 16px;
}
.letter-card__add {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 50px;
  background: #1F2326;
  color: #FFF;
  font-weight: 600;
  cursor: pointer;
}
.letter-card__add:hover { background: #000; }
@media (min-width: 768px) { .letters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .letters { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; } }

.extra-row { display: grid; gap: 20px; max-width: 1180px; margin: 30px auto 0; }
.extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid #E3E0DA;
  text-align: left;
}
.extra__name { flex: 1 1 260px; margin: 0; font-family: var(--slab); font-size: 19px; }
.extra__price { margin: 0; font-family: var(--slab); font-size: 22px; font-weight: 700; }
.extra__price small { font-family: var(--texte-sans); font-size: 14px; font-weight: 400; color: #5B6064; }
.extra .letter-card__select { flex: 0 0 130px; }
.extra--set { background: #F4F0E8; border-color: #F4F0E8; }
@media (min-width: 992px) { .extra-row { grid-template-columns: 1fr 1fr; } }
.add-note { min-height: 24px; margin: 20px 0 0; font-weight: 600; color: var(--rouille); }

/* checker grid */
.checker { display: grid; grid-template-columns: 1fr; margin-top: 50px; }
.checker__tile { position: relative; min-height: 320px; overflow: hidden; text-align: left; }
.checker__tile--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.checker__tile--img:hover img { transform: scale(1.1); filter: brightness(.5); }
.checker__over {
  position: absolute;
  left: 30px;
  bottom: 28px;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 30px;
  color: #FFF;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.checker__tile--dark { display: flex; flex-direction: column; justify-content: center; padding: 34px 30px; background: #000; color: #FFF; }
.checker__h { margin: 0 0 14px; font-family: var(--slab); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.checker__txt { margin: 0 0 20px; font-size: 15px; letter-spacing: .02em; color: #E6E6E6; }
.checker__link {
  align-self: flex-start;
  padding: 6px 0 6px 14px;
  border-left: 3px solid #6F8B6E;
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
}
.checker__link:hover { color: var(--sauge-clair); }
@media (min-width: 768px) { .checker { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .checker { grid-template-columns: repeat(3, 1fr); } }

/* baskets */
.block--sand { background: #F4F0E8; }
.baskets { display: grid; gap: 24px; max-width: 1180px; margin: 30px auto 0; text-align: left; }
.basket { padding: 26px 24px; background: #FFF; }
.basket__h { margin: 0 0 4px; font-family: var(--slab); font-weight: 700; font-size: 21px; text-transform: uppercase; }
.basket__ctx { margin: 0 0 16px; font-size: 15px; color: #5B6064; }
.basket__list { margin: 0; padding: 0; list-style: none; }
.basket__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EEE; }
.basket__list li:nth-child(2) span:last-child { white-space: nowrap; }
.basket__total { font-weight: 700; border-bottom: 0 !important; border-top: 2px solid #1F2326; }
@media (min-width: 992px) { .baskets { grid-template-columns: repeat(3, 1fr); } }

/* exposure table */
.expo { max-width: 1080px; margin: 30px auto 0; text-align: left; }
.expo td:first-child { font-family: var(--slab); font-weight: 700; font-size: 19px; }

/* pickup */
.block--pickup { background: #55704F; color: #FFF; }
.pickup { max-width: 760px; margin: 0 auto; }
.pickup__h { margin: 0 0 14px; font-family: var(--slab); font-weight: 700; font-size: 30px; text-transform: uppercase; }
.pickup p { margin: 0 0 12px; }
.pickup__addr { font-family: var(--slab); font-size: 20px; }

/* swatches */
.swatches { display: grid; gap: 26px; max-width: 1080px; margin: 30px auto 0; text-align: left; }
.swatch__chip { display: block; height: 90px; margin-bottom: 14px; }
.swatch__chip--ecru { background: #EBE4D6; }
.swatch__chip--sauge { background: #6F8B6E; }
.swatch__chip--rouille { background: #A8481F; }
.swatch__chip--ardoise { background: #4A5258; }
.swatch__name { margin: 0 0 6px; font-family: var(--slab); font-weight: 700; font-size: 20px; text-transform: uppercase; }
.swatch p { margin: 0; font-size: 15px; }
@media (min-width: 768px) { .swatches { grid-template-columns: repeat(4, 1fr); } }

/* care */
.care { display: grid; gap: 30px; max-width: 1080px; margin: 30px auto 0; }
.care__item { padding-top: 18px; border-top: 3px solid #1F2326; text-align: left; }
.care__no { display: block; margin-bottom: 8px; font-family: var(--slab); font-weight: 700; font-size: 34px; color: var(--rouille); }
.care__item p { margin: 0; }
@media (min-width: 768px) { .care { grid-template-columns: repeat(3, 1fr); } }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #1F2326;
  border-radius: 50px;
  background: #1F2326;
  color: #FFF;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: #000; }
.btn--ghost { background: #FFF; color: #1F2326; }
.btn--ghost:hover { background: #F4F0E8; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* Tiroir panier */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.55); }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  overflow-y: auto;
  padding: 22px 22px 40px;
  background: #FFF;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__title { margin: 0; font-family: var(--slab); font-weight: 700; font-size: 26px; text-transform: uppercase; }
.drawer__close { width: 44px; height: 44px; border: 0; background: none; font-size: 30px; cursor: pointer; }
.drawer__steps { display: flex; gap: 18px; margin: 10px 0 20px; padding: 0 0 12px; list-style: none; border-bottom: 1px solid #E3E0DA; font-size: 14px; color: #5B6064; }
.drawer__step.is-on { color: #111; font-weight: 600; border-bottom: 3px solid #6F8B6E; }
.drawer__line { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #EEE; }
.drawer__name { margin: 0; font-weight: 600; }
.drawer__meta { margin: 2px 0 0; font-size: 14px; color: #5B6064; }
.drawer__qty { display: inline-flex; align-items: center; border: 1px solid #CCC; border-radius: 50px; }
.drawer__qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.drawer__qty span { min-width: 20px; text-align: center; }
.drawer__price { margin: 0; font-weight: 600; white-space: nowrap; }
.drawer__empty { padding: 20px 0; color: #5B6064; }
.drawer__sum { margin: 16px 0 22px; }
.drawer__sum p { display: flex; justify-content: space-between; margin: 6px 0; }
.drawer__sum .is-total { padding-top: 10px; border-top: 1px solid #1F2326; font-size: 19px; font-weight: 700; }
.drawer__hint { color: var(--rouille); font-size: 14px; }
.drawer__ship { margin: 0 0 16px; padding: 0; border: 0; }
.drawer__pay { font-size: 14px; color: #5B6064; }
.drawer__btns { display: flex; gap: 10px; }
.drawer__state { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid #6F8B6E; background: #F4F0E8; font-weight: 600; }
.drawer__state.is-bad { border-left-color: #A8261D; }

.field { display: block; margin-bottom: 14px; }
.field-label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.field-label em { font-style: normal; text-transform: none; font-weight: 400; color: #5B6064; }
.field-input { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #B8B4AC; border-radius: 0; background: #FFF; font-size: 16px; }
.field-input:focus { outline: 2px solid #6F8B6E; outline-offset: 0; }
.field-input.is-bad { border-color: #A8261D; box-shadow: inset 0 0 0 1px #A8261D; }
.field-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.opt { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 15px; }
.opt input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; accent-color: #6F8B6E; }
.opt.is-bad span { color: #A8261D; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.underline-block { padding: 60px 16px 30px; background: #111; color: #FFF; }
.underline-block__inner { display: grid; gap: 34px; max-width: 1240px; margin: 0 auto; }
.underline-block__logo { width: 180px; margin-bottom: 16px; }
.underline-block__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 15px; }
.underline-block__col p { margin: 0; color: #CFD2D2; }
.underline-block__col a { padding: 3px 0; text-decoration: none; }
.underline-block__col a:hover { color: var(--sauge-clair); }
.underline-block__h { margin-bottom: 8px !important; font-family: var(--slab); font-weight: 700; font-size: 17px; text-transform: uppercase; color: #FFF !important; }
.underline-block__cookies { padding: 3px 0; border: 0; background: none; color: #FFF; font-size: 15px; text-decoration: underline; cursor: pointer; }
.underline-block__copy { max-width: 1240px; margin: 40px auto 0; padding-top: 18px; border-top: 1px solid #333; font-size: 13px; color: #B9BDBD; }
@media (min-width: 768px) { .underline-block__inner { grid-template-columns: 1.4fr 1fr 1fr; } }

/* cookies */
.cookiebar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  max-width: 420px;
  padding: 22px;
  background: #FFF;
  color: #111;
  border-top: 4px solid #6F8B6E;
  font-size: 15px;
}
.cookiebar__t { margin: 0 0 6px; font-family: var(--slab); font-weight: 700; font-size: 20px; text-transform: uppercase; }
.cookiebar__txt { margin: 0 0 14px; }
.cookiebar__prefs { display: grid; gap: 8px; margin-bottom: 14px; padding: 12px 0; border-top: 1px solid #EEE; border-bottom: 1px solid #EEE; }
.cookiebar__prefs label { display: flex; gap: 8px; align-items: center; }
.cookiebar__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookiebar__more { grid-column: 1 / -1; padding: 8px; border: 0; background: none; text-decoration: underline; cursor: pointer; }

/* Pages intérieures */
.page-head { padding: 130px 16px 60px; background: #1F2326; color: #FFF; text-align: center; }
.page-head__title { margin: 0 auto 14px; max-width: 900px; font-family: var(--slab); font-weight: 700; font-size: 34px; line-height: 1.15; text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
.page-head__lead { margin: 0 auto; max-width: 720px; font-size: 19px; color: #D8DCDC; }
.page { max-width: 1180px; margin: 0 auto; padding: 60px 16px 90px; }
.page h2 { margin: 40px 0 14px; font-family: var(--slab); font-weight: 700; font-size: 26px; text-transform: uppercase; }
.page h2:first-child { margin-top: 0; }
.page p, .page li { max-width: 760px; }
.page-split { display: grid; gap: 40px; }
.page-split > * { min-width: 0; }
.page-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tbl { width: 100%; border-collapse: collapse; margin: 10px 0 24px; }
.tbl th, .tbl td { padding: 12px 8px; border-bottom: 1px solid #E3E0DA; text-align: left; vertical-align: top; font-weight: 400; }
.tbl thead th { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid #1F2326; }
.tbl-wrap { overflow-x: auto; }
.legal { max-width: 880px; overflow-wrap: break-word; hyphens: auto; }
.legal h2 { padding-top: 22px; border-top: 1px solid #E3E0DA; font-size: 21px; }
.legal h2:first-child { padding-top: 0; border-top: 0; }
@media (min-width: 768px) {
  .page-head { padding: 160px 30px 80px; }
  .page-head__title { font-size: 48px; }
  .page { padding: 80px 30px 110px; }
  .page-split { grid-template-columns: 1fr 1fr; gap: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
}

/* Changement de taille du titre d'intro, avant il restait à 40px */
@media (min-width: 768px) {
  .block--tight { padding-top: 70px; padding-bottom: 80px; }
  .block--left { padding-left: 8%; padding-right: 8%; }
  .intro__title { font-size: 3.5rem; line-height: 1.1; }
}
