/* ==========================================================
   Janna Pâtisserie — feuille de style
   ========================================================== */

:root {
  --bg: #FCFCFC;
  --ink: #2B1D14;
  --ink-soft: #4A3A2E;
  --muted: #6B5647;
  --line: #E3D6C8;
  --field: #CDB9A5;
  --crust: #EBDDCB;
  --accent: #E49A68;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); }
a:hover { color: #1C120B; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.serif {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  z-index: 10;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease;
}
.btn:hover { background: #1C120B; color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ---------- En-tête ---------- */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-header__logo img { height: 60px; width: auto; }

.site-nav { position: relative; }
.site-nav__toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.lang-switch {
  order: 2;
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
}
.lang-switch:hover { border-color: var(--ink); }
.site-nav ul {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }

/* ---------- Hero ---------- */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  padding-top: 48px;
  padding-bottom: clamp(88px, 10vw, 128px);
}
.hero__text { display: flex; flex-direction: column; gap: 36px; }

.hero__audience {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}
.hero__audience::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.hero__titles { display: flex; flex-direction: column; gap: 20px; }

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6.4vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero h1 em {
  display: inline-block;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-skip-ink: none;
  text-decoration-thickness: .095em;
  text-underline-offset: .14em;
}
@media (min-width: 600px) {
  .hero h1 em { white-space: nowrap; }
}

.hero__benefits {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.hero__sub {
  margin: 0;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  color: var(--muted);
}

.hero .btn { align-self: flex-start; }

.trust { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.trust__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust__logos {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust__logos img { height: 52px; width: auto; }
.trust__logos li:first-child img { height: 36px; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  height: clamp(420px, 50vw, 640px);
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--crust);
}
.hero__badge {
  position: absolute;
  left: -36px;
  bottom: 48px;
  margin: 0;
  padding: 20px 26px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
}
.hero__badge em { display: block; font-style: italic; }

/* ---------- Deux publics ---------- */
.paths .wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: clamp(96px, 11vw, 144px);
}
.path {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.path img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--crust);
}
.path__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: 28px;
}
.path__kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.path__title {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.05;
}
.path__title em { font-style: italic; }
.path__arrow { font-size: 40px; line-height: 1; transition: transform .2s ease; }
.path:hover .path__arrow { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) { .path__arrow, .btn { transition: none; } }

/* ---------- La différence Janna ---------- */
.difference .wrap {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-top: clamp(88px, 11vw, 144px);
  padding-bottom: clamp(88px, 11vw, 144px);
}
.difference h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.difference h2 em { font-style: italic; }

.difference__intro { display: contents; }
.difference h2 { order: 1; }
.difference__grid { order: 2; }
.signature { order: 3; }

.difference__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.pillar img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--crust);
}
.pillar__body {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1.5px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pillar__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.pillar h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.3vw, 1.875rem);
  line-height: 1.15;
}
.pillar__wheat { flex-shrink: 0; width: 34px; height: 19px; color: var(--accent); margin-top: 6px; }
.pillar h3 { text-wrap: balance; }

.pillar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.pillar li {
  position: relative;
  padding-left: 18px;
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.signature {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.signature li + li::before {
  content: "";
  display: inline-block;
  width: 48px;
  height: 1px;
  margin-right: 40px;
  vertical-align: middle;
  background: var(--accent);
}

/* ---------- Produits ---------- */
.products .wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-top: clamp(80px, 9vw, 120px);
  padding-bottom: clamp(96px, 11vw, 144px);
  border-top: 1px solid var(--ink);
}
.products__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.products h2 {
  margin: 0;
  font-size: clamp(2.75rem, 5.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.products h2 em { font-style: italic; }

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.product img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  padding: 10% 14%;
  box-sizing: border-box;
}
.product figcaption { font-size: 26px; line-height: 1.2; text-align: center; }
.is-unlocked .products__cta { display: none; }

/* L’offre détaillant (révélée après le formulaire) */
.offre[hidden] { display: none; }
.offre .wrap {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: clamp(80px, 9vw, 120px);
  padding-bottom: clamp(96px, 11vw, 144px);
  border-top: 1px solid var(--ink);
}
.offre__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.offre h2 {
  margin: 0;
  font-size: clamp(2.75rem, 5.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.offre h2 em { font-style: italic; }
.products__note { margin: 0; font-size: 17px; color: var(--muted); }

.cat { display: flex; flex-direction: column; gap: 24px; }
.cat__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cat__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.item__img { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.item__img img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 82%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.item__name { font-size: 19px; line-height: 1.2; }
.offre.is-revealed .cat { animation: offre-in .5s ease-out both; }
@keyframes offre-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .offre.is-revealed .cat { animation: none; } }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--ink); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 40px;
}
.site-footer__logo img { height: 72px; width: auto; }
.site-footer h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer p, .site-footer address { margin: 0; font-style: normal; }
.site-footer address a { text-decoration: none; }
.site-footer address a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.site-footer__legal { padding-bottom: 40px; font-size: 13px; color: var(--muted); }
.site-footer__legal a { color: var(--muted); }

/* ---------- Page formulaire ---------- */
.page-simple .site-header__back {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}

.request .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
  padding-top: 56px;
  padding-bottom: 120px;
}
.request__intro { display: flex; flex-direction: column; gap: 28px; }
.request h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.request h1 em { font-style: italic; }
.request__lead { margin: 0; font-size: 19px; color: var(--muted); }

.request__doc { display: flex; gap: 22px; align-items: center; }
.request__cover {
  flex-shrink: 0;
  width: 96px;
  height: 124px;
  padding: 12px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(43, 29, 20, .2);
}
.request__cover span { height: 4px; width: 60%; background: var(--accent); }
.request__meta { margin: 0; font-size: 15px; color: var(--muted); }

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.field input,
.field select {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--field);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}
.field select { padding-right: 40px; }
.field input:focus,
.field select:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.consent a { color: var(--ink); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.form .btn { grid-column: 1 / -1; width: 100%; }
.phone {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--field);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}
.phone:focus-within { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.phone__cc {
  display: flex;
  align-items: center;
  padding: 0 12px 0 14px;
  border-right: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}
.field .phone input { flex: 1; min-width: 0; border: 0; border-radius: 0; }
.field .phone input:focus { outline: none; }
.form-note { grid-column: 1 / -1; margin: -4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-note .linklike { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.field input::placeholder { color: #A89888; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Politique de confidentialité ---------- */
.legal__inner {
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 96px;
}
.legal .legal__title {
  margin: 0 0 8px;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.legal__title em { font-style: italic; }
.legal__updated { margin: 0 0 40px; font-size: 14px; color: var(--muted); }
.legal h2 {
  margin: 44px 0 12px;
  font-size: 1.5rem;
  line-height: 1.2;
}
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }

/* ---------- Page merci ---------- */
.thanks {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--gutter) 96px;
}
.thanks__inner {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.thanks__check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.thanks p { margin: 0; font-size: 20px; color: var(--muted); }
.thanks__next {
  width: 100%;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: left;
}
.thanks__next strong { color: var(--ink); }
.thanks__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap,
  .request .wrap { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__badge { left: 16px; bottom: 16px; font-size: 20px; }
  .difference__grid { grid-template-columns: 1fr; gap: 56px; }
  .products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .cat__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__logo { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  /* En-tête : logo + bouton Menu */
  .site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
  .site-header__logo img { height: 42px; }
  .site-nav__toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }
  .site-nav ul {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 20;
    min-width: 220px;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(43, 29, 20, .12);
  }
  .site-nav.is-open ul { display: flex; }
  .site-nav ul a {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    letter-spacing: .04em;
  }

  /* Hero : le message d’abord, la photo ensuite */
  .hero .wrap { padding-top: 24px; gap: 32px; padding-bottom: 72px; }
  .hero__media { order: 0; }
  .hero__text { gap: 22px; }
  .hero__audience { font-size: 15px; }
  .hero h1 { font-size: 2.6rem; }
  .hero__benefits { font-size: 1.45rem; }
  .hero__sub { font-size: 1.0625rem; }
  .hero .btn { align-self: stretch; }
  .hero__media img { height: 300px; }
  .hero__badge { left: 14px; bottom: 14px; padding: 14px 18px; font-size: 18px; }

  /* Deux publics : images moins hautes */
  .paths .wrap { grid-template-columns: 1fr; gap: 40px; padding-bottom: 80px; }
  .path img { aspect-ratio: 4 / 3; }
  .path__body { padding-top: 18px; }
  .path__arrow { font-size: 32px; }

  /* La différence */
  .difference .wrap { gap: 44px; padding-top: 72px; padding-bottom: 72px; }
  .difference__grid { gap: 44px; }
  .pillar img { aspect-ratio: 16 / 9; }
  .pillar__body { margin-top: 18px; padding-top: 18px; gap: 14px; }
  .signature {
    flex-direction: column;
    gap: 10px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: .26em;
  }
  .signature li + li::before { display: none; }

  /* Produits */
  .products .wrap { gap: 32px; padding-top: 64px; padding-bottom: 80px; }
  .products__head .btn { width: 100%; }
  .products__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .products__grid::-webkit-scrollbar { display: none; }
  .products__grid li { flex: 0 0 72%; scroll-snap-align: start; }
  .product figcaption { font-size: 22px; }
  .cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .item__name { font-size: 16px; }

  /* Formulaire et pied de page */
  .form { grid-template-columns: 1fr; }
  .request .wrap { padding-top: 24px; padding-bottom: 80px; gap: 40px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .site-footer__logo img { height: 56px; }
}

/* ==========================================================
   Mobile : un glissement du doigt = une section plein écran
   ========================================================== */
@media (max-width: 640px) {
  html { scroll-snap-type: y mandatory; }

  .home .site-header,
  .home .path,
  .home .difference__intro,
  .home .pillar,
  .home .products .wrap {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .home .site-footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Chaque panneau occupe exactement un écran */
  .home .hero .wrap,
  .home .path,
  .home .difference__intro,
  .home .pillar,
  .home .products .wrap {
    height: 100vh;
    height: 100svh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  /* En-tête + hero = premier écran */
  .home .site-header .wrap { height: 70px; padding-top: 0; padding-bottom: 0; }
  .home .hero .wrap {
    height: calc(100svh - 70px);
    padding-top: 12px;
    padding-bottom: 20px;
    gap: 20px;
  }
  .home .hero__text { gap: 16px; flex: 0 0 auto; }
  .home .trust { gap: 8px; }
  .home .trust__logos { gap: 22px; }
  .home .trust__logos img { height: 30px; }
  .home .trust__logos li:first-child img { height: 22px; }
  .home .hero__titles { gap: 12px; }
  .home .hero__media { flex: 1 1 0; min-height: 0; width: 100%; align-self: stretch; }
  .home .hero__media img { width: 100%; height: 100%; }

  /* Deux publics : un écran chacun */
  .home .paths .wrap { display: block; padding: 0; }
  .home .path {
    padding: 24px var(--gutter) 32px;
    justify-content: flex-end;
  }
  .home .path img { flex: 1 1 0; min-height: 0; height: auto; aspect-ratio: auto; }
  .home .path__body { flex: 0 0 auto; }

  /* La différence : un écran titre, puis un écran par pilier */
  .home .difference .wrap { display: block; padding: 0; }
  .home .difference__intro {
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 0 var(--gutter);
  }
  .home .difference h2 { font-size: 3.25rem; }
  .home .signature { border: 0; padding: 0; }
  .home .difference__grid { display: block; }
  .home .pillar { padding: 24px var(--gutter) 40px; }
  .home .pillar img { flex: 1 1 0; min-height: 0; height: auto; aspect-ratio: auto; }
  .home .pillar__body { flex: 0 0 auto; }

  /* Produits : un écran */
  .home .products .wrap {
    height: 100vh;
    height: 100svh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding-top: 32px;
    padding-bottom: 32px;
    border-top: 0;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  /* Offre détaillant : en-tête + croissants, puis un écran par catégorie */
  .home .offre .wrap { display: block; padding: 0; border-top: 0; }
  .home .offre__head {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    height: 112px;
    box-sizing: border-box;
    padding: 28px var(--gutter) 0;
    align-items: baseline;
  }
  .home .offre h2 { font-size: 2.2rem; }
  .home .products__note { font-size: 13px; }
  .home .cat {
    height: 100vh;
    height: 100svh;
    box-sizing: border-box;
    padding: 16px var(--gutter) 24px;
    justify-content: center;
    gap: 14px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .home .cat:nth-child(2) { height: calc(100svh - 112px); scroll-snap-align: none; scroll-snap-stop: normal; justify-content: flex-start; }
  .home .cat__title { font-size: 24px; padding-bottom: 10px; }
  .home .cat__grid { gap: 6px 16px; }
  .home .item { gap: 4px; }
  .home .cat__grid .item__img { aspect-ratio: auto; height: 17svh; }
}

/* ==========================================================
   Fenêtres (catalogue, confidentialité)
   ========================================================== */
.linklike {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent .linklike { color: var(--ink); }

body.modal-open { overflow: hidden; }
.modal [hidden] { display: none !important; }

.modal {
  width: min(960px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(43, 29, 20, .25);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(43, 29, 20, .55); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }

.modal__close {
  position: sticky;
  top: 12px;
  display: block;
  margin: 12px 12px -56px auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.modal__close:hover { border-color: var(--ink); }

.modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  padding: 56px;
}
.modal .request__intro h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.modal .request__intro h2 em { font-style: italic; }
.form-error { grid-column: 1 / -1; margin: 0; color: #8A2E12; font-weight: 600; font-size: 15px; }

.modal__thanks {
  max-width: 620px;
  margin: 0 auto;
  padding: 24px 40px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.modal__thanks h2 { margin: 0; font-size: 3rem; line-height: 1.05; }
.modal__thanks h2:focus { outline: none; }
.send-warning { padding: 14px 18px; border-radius: 12px; background: #FBEDE4; color: #6A2A10 !important; font-size: 16px !important; }
.send-warning a { color: inherit; font-weight: 700; }
.modal__thanks p { margin: 0; font-size: 18px; color: var(--muted); }

.modal--text { width: min(760px, calc(100% - 32px)); }
.modal--text .legal { padding: 40px 56px 56px; }

@media (max-width: 760px) {
  .modal {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }
  .modal__grid { grid-template-columns: 1fr; gap: 28px; padding: 20px 20px 40px; }
  .modal .request__intro h2, .modal--text .legal__title { padding-right: 52px; }
  .modal .request__doc { display: none; }
  .modal--text .legal { padding: 20px 20px 40px; }
  .modal__thanks { padding: 24px 20px 40px; }
  .form { grid-template-columns: 1fr; }
}

/* JANNA-03 home (case à cocher des nouvelles) */

/* JANNA-04 home (images) */

/* JANNA-06 home (lien de langue) */

/* JANNA-07 home (bandeau de témoins) */
