/* Relooky – design system inspiré des sites d'architectes d'intérieur : photos plein cadre,
   fond blanc, trame pointillée, vert sauge, Montserrat --------------------------------- */
:root {
  --cream: #FFFFFF;
  --sand: #F4F5F2;
  --sand-dark: #DDE1DA;
  --ink: #2E2E2E;
  --taupe: #6B6B6B;
  --terracotta: #7E9079;        /* accent principal : vert sauge */
  --terracotta-dark: #66775F;
  --sage: #7E9079;
  --line: #E6E8E3;
  --white: #FFFFFF;
  --radius: 4px;
  --shadow: 0 10px 30px -18px rgba(0, 0, 0, .35);
  --serif: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
.example, .examples > * { min-width: 0; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
h1 em { font-style: normal; color: var(--sage); }
p { margin: 0 0 1em; }
.muted { color: var(--taupe); }
.lead { font-size: 1.1rem; }
.eyebrow { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: .8rem; }
.container { width: min(1240px, 100% - 2rem); margin-inline: auto; padding-inline: 0; }
.link { text-decoration: underline; text-underline-offset: 3px; }
.price { font-weight: 700; white-space: nowrap; }

/* Sections */
.section { padding: 3.5rem 0; }
.section--dots { background-color: #FBFBFA; background-image: radial-gradient(#D9DDD6 1px, transparent 1px); background-size: 14px 14px; }
.section__title { color: var(--sage); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: .06em; padding-bottom: .5rem; border-bottom: 1px solid var(--sand-dark); margin-bottom: 1.6rem; }
.section__lead { max-width: 820px; margin-bottom: 1.8rem; color: var(--taupe); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--sage); color: var(--white); border: 0; border-radius: 3px;
  padding: .8rem 1.5rem; font: 700 .9rem var(--sans); cursor: pointer; text-decoration: none;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--terracotta-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--sand-dark); color: var(--taupe); cursor: not-allowed; }
.btn--large { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--small { padding: .55rem 1rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--sand-dark); }
.btn--ghost:hover { background: var(--sand); }
form.button_to { display: inline; }

.test-banner { background: #C0392B; color: #fff; text-align: center; font-weight: 600; font-size: .9rem; padding: .55rem 1rem; }

/* Header / footer */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__mark { width: 24px; height: 24px; border-radius: 6px 6px 6px 2px; background: linear-gradient(135deg, var(--sage), #A9B7A4); }
.brand__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 3rem 0; background: var(--sand); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__links a { text-decoration: none; color: var(--taupe); }

.flash { margin: 1rem 0 0; padding: .9rem 1.2rem; border-radius: 12px; font-size: .95rem; }
.flash--alert { background: #FBE9E1; color: #8A3A1B; }
.flash--notice { background: #E8EFE3; color: #3F5232; }

/* Hero */
.hero { padding: clamp(2.5rem, 7vw, 6rem) 0 3rem; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.hero__points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.hero__points li { padding-left: 1.6rem; position: relative; }
.hero__points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }

/* Upload form */
.upload { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.upload__title { font-size: 1.6rem; margin-bottom: .2rem; }
.upload__hint { margin-bottom: 1rem; }
.dropzone {
  display: block; position: relative; border: 2px dashed var(--sand-dark); border-radius: 14px; background: var(--cream);
  min-height: 220px; cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s;
}
.dropzone.is-over, .dropzone:hover { border-color: var(--terracotta); background: #FFF9F3; }
.dropzone.has-file { border-style: solid; background: var(--ink); }
.dropzone__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; text-align: center; padding: 1rem; pointer-events: none; }
.dropzone__icon { color: var(--terracotta); margin-bottom: .4rem; }
.dropzone__preview { width: 100%; max-height: 360px; object-fit: contain; pointer-events: none; }
.upload__options { margin: 1rem 0; }
.upload__options summary { cursor: pointer; color: var(--taupe); font-size: .9rem; }
.upload__options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .8rem; }
.upload__options-grid label, .form-grid label { display: grid; gap: .3rem; font-size: .85rem; color: var(--taupe); }
select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"] {
  font: 400 1rem var(--sans); color: var(--ink); padding: .65rem .8rem; border: 1px solid var(--sand-dark); border-radius: 10px; background: var(--white); width: 100%;
}
select:focus, input:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; border-color: transparent; }
.upload .btn { margin-top: .5rem; }
.upload__quota { font-size: .85rem; text-align: center; margin: .8rem 0 0; }

/* Before / after */
.demo { padding: 2rem 0 0; }
.demo__frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.compare { position: relative; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.compare.is-dragging { cursor: grabbing; }
.compare img { pointer-events: none; -webkit-user-drag: none; }
.compare img { width: 100%; height: auto; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.compare__after img { width: 100%; height: 100%; object-fit: cover; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.compare__handle span::before, .compare__handle span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.compare__handle span::before { left: 11px; transform: translateY(-50%) rotate(-45deg); }
.compare__handle span::after { right: 11px; transform: translateY(-50%) rotate(135deg); }
/* Keyboard-only control: visually hidden but focusable */
.compare__range { position: absolute; left: 50%; bottom: 8px; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
.compare__range:focus-visible + .compare__label--before { outline: 2px solid var(--terracotta); }
.compare__label { position: absolute; bottom: 14px; padding: .3rem .7rem; border-radius: 999px; background: rgba(42,36,32,.7); color: var(--white); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.compare__label--before { left: 14px; }
.compare__label--after { right: 14px; }
.demo__caption { text-align: center; margin-top: 1rem; font-size: .9rem; }

/* Steps */
.steps { padding: 5rem 0 2rem; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step__num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sand); font-family: var(--serif); font-size: 1.2rem; margin-bottom: 1rem; color: var(--terracotta); }

/* Catalog */
.catalog-peek { padding: 4rem 0 1rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2rem; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.product-card__img { aspect-ratio: 1; background: var(--white); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card h4, .product-card p { margin: 0; padding: 0 1rem; }
.product-card h4 { padding-top: .9rem; }
.product-card p.muted { font-size: .8rem; }
.product-card .price { padding-bottom: 1rem; padding-top: .3rem; }

/* Reassurance / FAQ / CTA */
.reassurance { padding: 4rem 0 0; }
.reassurance__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.5rem 0; }
.faq { padding: 4rem 0; }
.faq__inner { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--terracotta); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: var(--taupe); }
.cta-final { text-align: center; padding: 3rem 0 1rem; }
.cta-final h2 { margin-bottom: 1.5rem; }

/* Result page */
.result { padding: 2.5rem 0; }
.result__head { max-width: 760px; margin-bottom: 1.8rem; }
.result__tip { text-align: center; margin-top: 1rem; font-size: .9rem; }
.progress { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.progress__photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.progress__shimmer { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%); background-size: 250% 100%; animation: shimmer 2.2s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.progress__panel--center { text-align: center; max-width: 560px; margin: 3rem auto; }
.progress__steps { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; }
.progress__steps li { padding-left: 2rem; position: relative; color: var(--taupe); }
.progress__steps li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--sand-dark); }
.progress__steps li.is-done { color: var(--ink); }
.progress__steps li.is-done::before { background: var(--sage); border-color: var(--sage); }
.progress__steps li.is-current { color: var(--ink); font-weight: 600; }
.progress__steps li.is-current::before { border-color: var(--terracotta); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.basket { margin-top: 3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.basket__intro { max-width: 720px; margin-bottom: 1.5rem; }
.basket__list { display: grid; gap: 1rem; }
.basket__item { display: grid; grid-template-columns: auto 96px 1fr auto; gap: 1.2rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; transition: opacity .15s; }
.basket__item.is-unselected { opacity: .45; }
.basket__check input { width: 22px; height: 22px; accent-color: var(--terracotta); cursor: pointer; }
.btn.is-disabled { pointer-events: none; background: var(--sand-dark); color: var(--taupe); }
.basket__img { width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--sand); }
.basket__img img { width: 100%; height: 100%; object-fit: cover; }
.basket__body h3 { font-size: 1.1rem; margin-bottom: .1rem; }
.basket__body p { margin: 0; font-size: .9rem; }
.basket__note { margin-top: .3rem !important; }
.qty { font-family: var(--sans); font-size: .85rem; color: var(--terracotta); font-weight: 600; margin-left: .3rem; }
.basket__footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.basket__footer > div:first-child { display: grid; font-size: .9rem; }
.basket__total { font-family: var(--serif); font-size: 2rem; }
.basket__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Checkout */
.checkout { padding: 2.5rem 0; }
.checkout__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.checkout__aside { position: sticky; top: 84px; }
.checkout__aside img { border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: .8rem; }
.checkout__form fieldset { border: 0; padding: 0; margin: 1.5rem 0; }
.checkout__form legend { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .8rem; }
.checkout__items { display: grid; gap: .6rem; }
.checkout__item { display: grid; grid-template-columns: auto 64px 1fr auto; gap: 1rem; align-items: center; padding: .7rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.checkout__item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.checkout__item-name small { display: block; }
.checkout__item input { width: 18px; height: 18px; accent-color: var(--terracotta); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-grid .span-2 { grid-column: span 2; }
.checkout__soon { font-size: .9rem; margin-top: .8rem; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1.5rem; }
.summary__row { display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.summary__row img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.summary__row small { display: block; }
.summary__row--muted, .summary__row--total { grid-template-columns: 1fr auto; }
.summary__row--muted { color: var(--taupe); }
.summary__row--total { border: 0; font-family: var(--serif); font-size: 1.4rem; }
.summary__address { margin-bottom: 1.5rem; }
.page { padding: 3rem 0; }
.page__narrow { max-width: 720px; }
.page h3 { margin-top: 2rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero__grid, .progress, .checkout__grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps__grid, .reassurance__grid { grid-template-columns: 1fr; gap: 1rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav a:not(.btn) { display: none; }
  .checkout__aside { position: static; }
}
@media (max-width: 520px) {
  .basket { padding: 1.2rem; }
  .basket__item { grid-template-columns: auto 72px 1fr; }
  .basket__item .price { grid-column: 3; }
  .basket__img { width: 72px; height: 72px; }
  .form-grid, .upload__options-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .upload { padding: 1.2rem; }
}

/* Admin */
.admin__main { padding: 1.5rem 0 4rem; }
.admin__filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: 1rem 0; }
.admin__filters input[type="text"], .admin__filters select { width: auto; }
.admin__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; }
.admin__card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: .85rem; }
.admin__card--approved { border-color: var(--sage); }
.admin__card--rejected { opacity: .55; }
.admin__img { aspect-ratio: 1; background: var(--sand); }
.admin__img img { width: 100%; height: 100%; object-fit: cover; }
.admin__body { padding: .6rem; display: grid; gap: .2rem; }
.admin__actions { display: flex; gap: .4rem; margin-top: .4rem; }
.admin__actions .btn { padding: .35rem .7rem; font-size: .75rem; }
.admin__pager { display: flex; gap: 1rem; justify-content: center; margin: 2rem 0; }
.admin__detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.admin__detail-img { border-radius: 10px; margin-bottom: .6rem; }
.admin__dl { display: grid; grid-template-columns: 120px 1fr; gap: .3rem 1rem; font-size: .9rem; }
.admin__dl dt { color: var(--taupe); }
.admin__dl dd { margin: 0; }
.admin__form { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.admin__form select, .admin__form input { width: auto; }
.admin__table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin__table th, .admin__table td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
pre { white-space: pre-wrap; font-size: .8rem; background: var(--white); padding: 1rem; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 900px) { .admin__detail { grid-template-columns: 1fr; } }

/* Curation swipe */
.curate__head { display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.curate__head h1 { margin: 0; }
.curate__card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-top: 1rem; }
.curate__images { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.curate__main { grid-column: span 3; border-radius: 12px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.curate__thumb { border-radius: 8px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.curate__actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }
@media (max-width: 900px) { .curate__card { grid-template-columns: 1fr; } }

/* Taste swipe */
.swipe { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center; }
.swipe__head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.swipe__remember { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; margin-top: 1rem; font-size: .95rem; }
.swipe__legend { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.swipe__legend li { display: flex; align-items: center; gap: .6rem; }
.swipe__dot { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .9rem; background: var(--white); box-shadow: var(--shadow); }
.swipe__dot--like { color: #fff; background: var(--terracotta); }
.swipe__dot--nope { color: #8A3A1B; }
.swipe__stage { position: relative; }
.swipe__deck { position: relative; aspect-ratio: 4 / 3; max-width: 560px; margin: 0 auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.swipe__card { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); cursor: grab; will-change: transform; touch-action: none; }
.swipe__card[hidden] { display: none; }
.swipe__card:active { cursor: grabbing; }
.swipe__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.swipe__card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem 1.1rem; background: linear-gradient(transparent, rgba(30, 24, 20, .75)); color: #fff; pointer-events: none; }
.swipe__card-body h3 { color: #fff; margin: 0 0 .1rem; font-size: 1.3rem; }
.swipe__card-body p { margin: 0; opacity: .85; font-size: .9rem; }
.swipe__stamp { position: absolute; top: 22px; padding: .35rem .8rem; border: 3px solid; border-radius: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; opacity: 0; transform: rotate(-12deg); transition: opacity .15s; pointer-events: none; }
.swipe__stamp--like { left: 22px; color: #6FA37A; border-color: #6FA37A; }
.swipe__stamp--nope { right: 22px; color: #D9534F; border-color: #D9534F; transform: rotate(12deg); }
.swipe__card.is-liking .swipe__stamp--like, .swipe__card.is-liked .swipe__stamp--like { opacity: 1; }
.swipe__card.is-noping .swipe__stamp--nope, .swipe__card.is-noped .swipe__stamp--nope { opacity: 1; }
.swipe__actions { display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin-top: 1.2rem; }
.swipe__btn { width: 64px; height: 64px; border-radius: 50%; border: 0; font-size: 1.6rem; cursor: pointer; box-shadow: var(--shadow); background: var(--white); transition: transform .15s; }
.swipe__btn:hover { transform: scale(1.06); }
.swipe__btn--like { color: #fff; background: var(--terracotta); }
.swipe__btn--nope { color: #8A3A1B; }
.swipe__count { font-family: var(--serif); font-size: 1.2rem; min-width: 4rem; text-align: center; }
.swipe__skip { text-align: center; margin-top: .8rem; font-size: .9rem; }
.swipe__skip a { color: var(--taupe); }
.swipe__done { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; background: var(--cream); }
.swipe__done[hidden] { display: none; }
.swipe.is-finished .swipe__actions, .swipe.is-finished .swipe__skip { visibility: hidden; }

/* Styles gallery on the home page */
.styles-peek { padding: 4rem 0 1rem; }
.styles-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2rem; }
.style-card { margin: 0; border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.style-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.style-card figcaption { padding: .7rem .9rem .9rem; display: grid; gap: .1rem; font-size: .9rem; }
.style-card figcaption .muted { font-size: .8rem; }
@media (max-width: 900px) {
  .swipe { grid-template-columns: 1fr; gap: 1.5rem; }
  .styles-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Home – hero photo with highlighted caption (référence : sites d'archi d'intérieur) */
.hero-photo { position: relative; height: clamp(420px, 62vh, 640px); overflow: hidden; background: var(--sand); }
.hero-photo__img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo__inner { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 3rem; }
.hero-photo__caption { max-width: 680px; }
.hero-photo__caption h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.4; margin-bottom: .6rem; }
.hl { display: inline; background: #fff; color: var(--ink); padding: .12em .5em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl--small { font-size: .95rem; font-weight: 500; line-height: 1.9; }
.hero-photo__caption .btn { margin-top: .8rem; }
.intro { padding: 2.5rem 0 .5rem; }
.intro__text { max-width: 900px; font-weight: 500; font-size: 1.05rem; }

/* Start block */
.start { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .7rem; }
.checklist li { padding-left: 1.8rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sage); font-weight: 700; }

/* Before/after tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.tile { cursor: pointer; }
.tile__photos { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.tile__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.tile__before { opacity: 0; }
.tile.is-before .tile__before { opacity: 1; }
.tile__badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; }
.tile__caption { background: #fff; box-shadow: var(--shadow); margin: -2rem 1.2rem 0; position: relative; padding: .9rem 1rem; display: grid; gap: .2rem; text-align: center; font-size: .9rem; }
.tile__caption span { color: var(--taupe); font-size: .82rem; }

/* How it works */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.how__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.how__steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.how__steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "num title" "num text"; gap: .1rem 1rem; align-items: start; }
.how__steps li::before { grid-area: num; }
.how__steps li > strong { grid-area: title; }
.how__steps li > span { grid-area: text; }
.how__steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: #fff; font-weight: 700; }
.how__steps strong { display: block; font-size: 1.05rem; color: var(--sage); }
.how__steps span { color: var(--taupe); }

.styles-peek { padding: 0; }
.style-card { border-radius: 0; }
.style-card figcaption strong { color: var(--sage); }
.reassurance__grid { border: 0; padding: 0; }
.reassurance__grid h3 { color: var(--sage); }
.faq__inner { max-width: 820px; }
.faq details { background: #fff; padding: 1rem 1.2rem; margin-bottom: .6rem; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--sage); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: var(--taupe); }
.cta-final { text-align: center; padding: 3rem 0 1rem; }
@media (max-width: 900px) {
  .start, .how, .tiles { grid-template-columns: 1fr; }
  .hero-photo { height: 70vh; }
  .hero-photo__inner { padding-bottom: 1.5rem; }
  .site-nav a:not(.btn) { display: none; }
}

/* Share */
.share { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: 1.2rem; }
.share__btn { background: var(--ink); }
.share__btn:hover { filter: brightness(1.15); background: var(--ink); }
.share__ig { width: 18px; height: 18px; border: 2px solid #fff; border-radius: 5px; position: relative; display: inline-block; }
.share__ig::after { content: ""; position: absolute; inset: 3px; border: 2px solid #fff; border-radius: 50%; }
.share__hint { max-width: 560px; text-align: center; font-size: .85rem; }

/* Progress bar */
.pbar { margin: 1rem 0 1.2rem; }
.pbar__track { height: 10px; background: var(--sand-dark); border-radius: 999px; overflow: hidden; }
.pbar__fill { height: 100%; background: linear-gradient(90deg, var(--sage), #A9B7A4); border-radius: 999px; transition: width .5s linear; }
.pbar__eta { margin: .5rem 0 0; font-size: .9rem; }
.paint-chip { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: .4rem; border: 1px solid rgba(0,0,0,.15); }
.checkout__terms { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--taupe); margin: 1rem 0; }
.checkout__terms input { margin-top: .2rem; accent-color: var(--sage); }
.legal h2 { font-size: 1.2rem; margin-top: 2rem; color: var(--sage); }
.legal h3 { font-size: 1rem; margin-top: 1.2rem; }
.legal p, .legal li { font-size: .95rem; }
.legal .muted { font-size: .85rem; }

/* Waiting screen ------------------------------------------------------- */
.wait { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "photo status" "photo panel"; gap: 1.2rem 2.5rem; align-items: start; }
.wait__status { grid-area: status; }
.wait__photo { grid-area: photo; }
.wait__panel { grid-area: panel; }
.wait__photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.wait__photo img { display: block; width: 100%; height: auto; }
.wait__scan { position: absolute; left: 0; right: 0; top: -20%; height: 20%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.35) 60%, rgba(126,144,121,.55)); animation: scan 3.2s ease-in-out infinite; pointer-events: none; }
.wait__photo[data-status="rendering"] .wait__scan { background: linear-gradient(180deg, transparent, rgba(255,240,220,.5) 60%, rgba(210,140,100,.5)); animation-duration: 2.2s; }
.wait__corner { position: absolute; width: 28px; height: 28px; border: 3px solid #fff; opacity: .9; }
.wait__corner--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.wait__corner--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.wait__corner--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.wait__corner--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.wait__badge { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; padding: .45rem .9rem; border-radius: 999px; background: rgba(20,20,20,.72); color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; backdrop-filter: blur(4px); }
.wait__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 0 rgba(210,140,100,.7); animation: pulse 1.6s ease-out infinite; }
.wait__panel h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .2rem 0 1rem; }
.progress__steps--inline { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: .6rem 0 1.4rem; }
.wait__concept { border-left: 3px solid var(--sage); padding: .2rem 0 .2rem 1.1rem; margin: 1.2rem 0; animation: fadeup .6s ease both; }
.wait__concept .lead { margin: .3rem 0 .8rem; }
.wait__chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .4rem 0; font-size: .92rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem; border-radius: 999px; background: var(--sand-dark); color: var(--ink); font-size: .85rem; }
.chip--fix { background: #F1E3D8; }
.wait__tips { margin: 1.2rem 0; }
.wait__tiplist { list-style: none; padding: 0; margin: .4rem 0 0; position: relative; min-height: 3.6em; }
.wait__tiplist li { position: absolute; inset: 0; opacity: 0; animation: tips 16s linear infinite; font-size: 1.02rem; line-height: 1.5; }
.wait__tiplist li:nth-child(2) { animation-delay: 4s; }
.wait__tiplist li:nth-child(3) { animation-delay: 8s; }
.wait__tiplist li:nth-child(4) { animation-delay: 12s; }
.wait__counter { margin: 1.2rem 0; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.wait__counter strong { font-size: 2rem; font-variant-numeric: tabular-nums; color: var(--sage); letter-spacing: -.02em; }
.wait__likes { margin: 1.2rem 0 .6rem; }
.wait__thumbs { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .3rem; }
.wait__thumbs figure { margin: 0; flex: 0 0 96px; }
.wait__thumbs img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; display: block; }
.wait__thumbs figcaption { font-size: .72rem; color: var(--taupe); margin-top: .25rem; text-align: center; }
.wait__small { font-size: .9rem; margin: .5rem 0; }
@keyframes scan { 0% { top: -20%; } 100% { top: 100%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(210,140,100,.7); } 100% { box-shadow: 0 0 0 12px rgba(210,140,100,0); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tips { 0% { opacity: 0; transform: translateY(6px); } 5% { opacity: 1; transform: none; } 22% { opacity: 1; } 27% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 0; } }
@media (max-width: 800px) {
  .wait { grid-template-columns: 1fr; grid-template-areas: "status" "photo" "panel"; gap: 1rem; }
  .wait__status h1 { font-size: 1.35rem; margin: .1rem 0 .6rem; }
  .wait__photo img { max-height: 42vh; object-fit: cover; }
  .wait__corner { width: 20px; height: 20px; }
  .progress__steps--inline { margin-bottom: .4rem; }
}

/* Intensity picker --------------------------------------------------- */
.intensity { border: 0; padding: 0; margin: 1rem 0 0; }
.intensity legend { font-size: .9rem; margin-bottom: .5rem; }
.intensity__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.intensity__card { position: relative; display: block; cursor: pointer; }
.intensity__card input { position: absolute; opacity: 0; inset: 0; }
.intensity__body { display: grid; gap: .2rem; padding: .7rem .8rem; border: 1.5px solid var(--sand-dark); border-radius: 12px; background: var(--white); transition: border-color .15s, box-shadow .15s; height: 100%; }
.intensity__body strong { font-size: .95rem; }
.intensity__body small { font-size: .78rem; color: var(--taupe); line-height: 1.35; }
.intensity__card input:checked + .intensity__body { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(126,144,121,.18); }
.intensity__card input:focus-visible + .intensity__body { outline: 2px solid var(--terracotta); outline-offset: 2px; }
@media (max-width: 800px) { .intensity__grid { grid-template-columns: 1fr; } }

/* One-click checkout block ------------------------------------------- */
.basket__footer { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.basket__sum { display: grid; gap: .2rem; font-size: .92rem; }
.basket__free { color: var(--sage); font-weight: 600; }
.paybox { display: grid; gap: .6rem; }
.paybtn { width: 100%; height: 50px; border-radius: 12px; border: 0; cursor: pointer; font: 600 1rem var(--sans); }
.paybtn--apple { -webkit-appearance: -apple-pay-button; appearance: -apple-pay-button; -apple-pay-button-type: buy; -apple-pay-button-style: black; }
.paybtn--google { background: #000; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; letter-spacing: .01em; }
.paybtn__g { font-weight: 800; font-size: 1.15rem; background: linear-gradient(90deg, #4285F4, #34A853, #FBBC05, #EA4335); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paybtn--card { width: 100%; }
.paybtn__sep { margin: 0 .5rem; opacity: .6; }
.paybtn[disabled], .paybtn--card[disabled] { opacity: .45; cursor: not-allowed; }
.trust { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .35rem; font-size: .85rem; color: var(--taupe); }
.trust li { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.35; }
.trust__ico { flex: 0 0 1.2em; text-align: center; }
.paybox__legal { font-size: .78rem; margin: .2rem 0 0; }
.basket__more { grid-column: 1 / -1; display: flex; justify-content: center; }
.paybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
.paybar div { display: grid; line-height: 1.1; }
.paybar strong { font-family: var(--serif); font-size: 1.3rem; }
.paybar.is-hidden { display: none !important; }
@media (max-width: 800px) {
  .basket__footer { grid-template-columns: 1fr; }
  .paybar { display: flex; }
  .basket { padding-bottom: 5rem; }
}

.wallets { display: grid; gap: .5rem; }
.wallets.is-empty { opacity: .45; pointer-events: none; }
.paybox__or { text-align: center; color: var(--taupe); font-size: .85rem; margin: 0; }
.paybox__error { color: #A23B2A; font-size: .9rem; margin: 0; }

.changes { margin: .6rem 0 0; font-size: .92rem; color: var(--taupe); }
.changes summary { cursor: pointer; color: var(--ink); font-weight: 600; }
.changes p { margin: .5rem 0 0; }
.result__tip { margin-top: .6rem; }

.basket__img--art img { object-fit: cover; border: 6px solid #E9DDCB; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.art-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: var(--sand); color: var(--taupe); font-size: .8rem; }

/* Share menu ------------------------------------------------------------ */
.share { position: relative; }
.share__ico { font-weight: 700; margin-right: .4rem; }
.share__menu { position: absolute; left: 50%; transform: translateX(-50%); top: calc(100% + .5rem); z-index: 20; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .4rem; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; min-width: 280px; }
.share__item { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.share__item:hover { background: var(--sand); }
.share__dot { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 14px; }
.share__dot--ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.share__dot--fb { background: #1877F2; }
.share__dot--wa { background: #25D366; }
.share__dot--sms { background: #34C759; }
.share__dot--mail { background: var(--taupe); }
.share__dot--link { background: var(--sage); }
@media (max-width: 800px) { .share__menu { position: static; transform: none; margin-top: .6rem; min-width: 0; } }
.share__menu[hidden] { display: none; }

/* Paint suggestion with RAL ------------------------------------------- */
.paint { display: flex; gap: 1rem; align-items: flex-start; margin: 1rem 0 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.paint__swatch { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.paint__title { margin: 0 0 .25rem; }
.paint__how { margin: 0; font-size: .88rem; line-height: 1.45; }

/* Landing 2 ---------------------------------------------------------- */
.hero2 { position: relative; background: var(--ink); overflow: hidden; }
.hero2__media { position: relative; height: clamp(520px, 86vh, 860px); }
.hero2__media .compare { height: 100%; }
.hero2__media .compare img, .hero2__media .compare__before { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero2__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.62) 100%); pointer-events: none; }
.hero2__inner { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 3.2rem; pointer-events: none; }
/* The caption text lets touches through to the slider; only the buttons and links catch them. */
.hero2__caption { max-width: 640px; color: #fff; pointer-events: none; }
.hero2__caption a { pointer-events: auto; }
.hero2__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: #F1E3D8; margin-bottom: .6rem; }
.hero2__caption h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 0 0 .8rem; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero2__sub { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 560px; color: rgba(255,255,255,.92); margin-bottom: 1.2rem; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.hero2__actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.hero2__link { color: #fff; text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.hero2 .compare__label { top: 18px; bottom: auto; }
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2rem; padding: .8rem 0; font-size: .85rem; color: var(--taupe); }
.trustbar__inner span::before { content: "✓"; color: var(--sage); font-weight: 700; margin-right: .4rem; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.example__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: var(--sand); }
.example__media .compare { height: 100%; }
.example__media .compare img, .example__media .compare__before { width: 100%; height: 100%; object-fit: cover; display: block; }
.example__caption { padding: .9rem .2rem 0; display: grid; gap: .15rem; }
.example__caption span { color: var(--taupe); font-size: .9rem; }
.steps4 { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.steps4 li { counter-increment: step; display: grid; gap: .3rem; }
.steps4 li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: #fff; font-weight: 700; margin-bottom: .3rem; }
.steps4 strong { font-size: 1.05rem; color: var(--ink); }
.steps4 span { color: var(--taupe); font-size: .95rem; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why__item h3 { margin-bottom: .4rem; }
.why__item p { color: var(--taupe); margin: 0; }
@media (max-width: 800px) {
  .hero2__media { height: clamp(460px, 78vh, 640px); }
  .hero2__inner { padding-bottom: 1.6rem; }
  .hero2__caption h1 { font-size: 2rem; }
  .examples, .steps4, .why { grid-template-columns: 1fr; }
  .trustbar__inner { gap: .3rem 1rem; font-size: .8rem; }
}

/* Email capture ---------------------------------------------------------- */
.capture { margin: 1rem 0 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.capture__title { margin: 0 0 .5rem; font-weight: 600; }
.capture__form { display: flex; gap: .5rem; }
.capture__form input { flex: 1; min-width: 0; }
.capture__hint { margin: .45rem 0 0; font-size: .8rem; }
.capture__done { margin: 0; color: var(--sage); font-weight: 500; }
.capture--compact { margin-top: .8rem; padding: .7rem .9rem; }
.capture--compact .capture__title { font-size: .95rem; }

/* Guarantee, my relookings, price folding, photo tips ------------------ */
.guarantee { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 14px; background: #F1F4EF; border: 1px solid #DCE3D8; }
.guarantee__title { margin: 0 0 .25rem; font-weight: 700; color: var(--sage); }
.guarantee__text { margin: 0; font-size: .9rem; color: var(--ink); line-height: 1.45; }
.guarantee--compact { margin-top: .6rem; padding: .7rem .9rem; }
.guarantee--compact .guarantee__text { font-size: .85rem; }
.basket .basket__price { display: block; font-weight: 700; }
.paybox__art { margin: .1rem 0 0; text-align: center; font-size: .9rem; }
.paybox__art a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.phototips { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .35rem; font-size: .85rem; color: var(--taupe); }
.phototips li { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.35; }
.phototips li span { flex: 0 0 1.4em; text-align: center; }
.mine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
.mine__card { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); color: var(--ink); text-decoration: none; }
.mine__img { aspect-ratio: 3 / 2; background: var(--sand); }
.mine__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mine__body { padding: .8rem 1rem; display: grid; gap: .2rem; }
@media (max-width: 800px) { .mine { grid-template-columns: 1fr; } .basket__item { grid-template-columns: auto 72px 1fr; } .basket.is-prices-shown .basket__price { grid-column: 3; } }

.compare__hint { position: absolute; left: 50%; top: calc(50% + 34px); transform: translateX(-50%); background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; letter-spacing: .04em; padding: .25rem .6rem; border-radius: 999px; pointer-events: none; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.compare.is-ready .compare__hint { opacity: 1; }
.compare.is-dragging .compare__hint, .compare.is-touched .compare__hint { opacity: 0; }

/* ---- Gift boxes & pools ---- */
.narrow { max-width: 720px; }
.gift-hero { background: var(--sand); padding: 3rem 0 2.5rem; }
.gift-hero--noel { background: linear-gradient(135deg, #1F3A2E, #2E5240); color: #F6F1E7; }
.gift-hero--noel .eyebrow { color: #D9B46A; }
.gift-hero--noel h1 em { color: #D9B46A; }
.gift-hero--noel .muted { color: #C9D2C6; }
.gift-hero--noel a { color: #F6F1E7; }
.gift-hero--noel .checklist li::before { color: #D9B46A; }
.gift-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.gift-hero__lead { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.2rem; }
.gift-hero__img img { width: 100%; border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.gift-quote { margin: 0 0 1rem; padding: .9rem 1.2rem; border-left: 3px solid #D9B46A; background: rgba(255,255,255,.08); border-radius: 0 12px 12px 0; font-size: 1.05rem; line-height: 1.5; }
.gift-quote small { display: block; margin-top: .4rem; opacity: .8; }
.gift-messages summary { cursor: pointer; }
.gift-messages ul { padding-left: 1.2rem; }
.gift-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; }
.gift-form fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.gift-form legend { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: .8rem; }
.gift-form input[type=text], .gift-form input[type=email], .gift-form input[type=date], .gift-form input[type=number], .gift-form select, .gift-form textarea { width: 100%; padding: .7rem .8rem; border: 1px solid var(--sand-dark); border-radius: 8px; font: inherit; background: var(--white); }
.gift-form textarea { resize: vertical; }
.gift-form__hint { font-size: .85rem; margin-top: .6rem; }
.gift-form__legal { font-size: .8rem; text-align: center; margin-top: .8rem; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.amounts--small { grid-template-columns: repeat(5, 1fr); margin-bottom: 1rem; }
.amount { position: relative; display: block; cursor: pointer; }
.amount input[type=radio] { position: absolute; opacity: 0; inset: 0; }
.amount__body { display: grid; gap: .25rem; padding: .9rem .8rem; border: 1.5px solid var(--sand-dark); border-radius: 12px; background: var(--white); min-height: 100%; }
.amount__body strong { font-size: 1.25rem; }
.amount__body small { color: var(--taupe); font-size: .78rem; line-height: 1.3; }
.amount input:checked + .amount__body { border-color: var(--terracotta); box-shadow: 0 0 0 2px rgba(126,144,121,.25); background: #F6F8F4; }
.amount--star .amount__body::after { content: "Le plus offert"; position: absolute; top: -.6rem; right: .6rem; background: var(--terracotta); color: #fff; font-size: .65rem; font-weight: 700; padding: .15rem .5rem; border-radius: 99px; }
.amount--free .amount__body input { width: 100%; padding: .3rem .4rem; border: 1px solid var(--sand-dark); border-radius: 6px; font: inherit; }
.gift-physical { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; padding: .9rem 1rem; border: 1.5px solid var(--sand-dark); border-radius: 12px; background: var(--white); cursor: pointer; margin-bottom: .8rem; }
.gift-physical input { width: 20px; height: 20px; accent-color: var(--terracotta); margin-top: .15rem; }
.gift-physical small { display: block; margin-top: .2rem; line-height: 1.4; }
.gift-aside { position: sticky; top: 84px; }
.gift-aside__img { width: 100%; border-radius: 12px; margin-bottom: 1.2rem; }
.steps { padding-left: 1.3rem; display: grid; gap: .7rem; margin: 0 0 1.5rem; line-height: 1.5; }
.giftcode { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.2rem 0; display: grid; gap: .3rem; }
.giftcode__label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); }
.giftcode__code { font-size: 1.8rem; letter-spacing: .08em; }
.giftcode__code--url { font-size: 1rem; letter-spacing: 0; word-break: break-all; }
.gift-recent { margin-top: 2.5rem; }
.gift-cancel { margin-top: 2rem; }
.pool-progress { margin: 1rem 0; }
.pool-progress__nums { margin-bottom: .4rem; }
.pool-progress__nums strong { font-size: 1.4rem; }
.pool-progress__bar { height: 10px; background: rgba(0,0,0,.12); border-radius: 99px; overflow: hidden; }
.pool-progress__bar span { display: block; height: 100%; background: #D9B46A; border-radius: 99px; transition: width .6s ease; }
.gift-hero:not(.gift-hero--noel) .pool-progress__bar span { background: var(--terracotta); }
.contributors { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.contributors li { padding: .6rem .8rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; }
.pool-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pool-table td { padding: .5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pool-table .num { text-align: right; white-space: nowrap; }
.pool-table .total td { font-weight: 700; border: 0; }
.giftpay { background: var(--sand); border-radius: 12px; padding: .9rem 1rem; margin-bottom: .9rem; display: grid; gap: .4rem; }
.giftpay__row { display: flex; justify-content: space-between; gap: 1rem; }
.giftpay__row--due { font-size: 1.15rem; }
.giftpay__hint { font-size: .85rem; margin: 0; }
.gift-teaser { background: linear-gradient(135deg, #1F3A2E, #2E5240); color: #F6F1E7; }
.gift-teaser .eyebrow { color: #D9B46A; }
.gift-teaser h2 { color: #fff; }
.gift-teaser .muted { color: #C9D2C6; }
.gift-teaser .btn--ghost { color: #F6F1E7; border-color: rgba(255,255,255,.4); }
.gift-teaser .btn--ghost:hover { background: rgba(255,255,255,.1); }
.gift-teaser__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.gift-teaser__img img { width: 100%; border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.gift-lookup { margin-top: 1.4rem; }
.gift-lookup__row { display: flex; gap: .6rem; margin-top: .4rem; max-width: 460px; }
.gift-lookup__row input { flex: 1; padding: .7rem .8rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font: inherit; letter-spacing: .06em; text-transform: uppercase; }
.gift-lookup__row input::placeholder { color: rgba(255,255,255,.5); text-transform: none; letter-spacing: 0; }
.site-nav__gift { color: var(--terracotta); font-weight: 600; }
@media (max-width: 900px) {
  .gift-hero__inner, .gift-grid, .gift-teaser__inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .gift-aside { position: static; }
  .amounts { grid-template-columns: 1fr 1fr; }
  .amounts--small { grid-template-columns: repeat(3, 1fr); }
  .gift-hero__img { order: -1; }
}

/* ---- Printable gift card ---- */
body.print { background: #fff; margin: 0; font-family: var(--sans); color: var(--ink); }
.giftcard-page { max-width: 210mm; margin: 0 auto; padding: 10mm; }
.giftcard-page__tools { display: flex; gap: 1rem; align-items: center; justify-content: space-between; font-size: .9rem; color: var(--taupe); margin-bottom: 1rem; }
.giftcard { display: grid; grid-template-columns: 1fr 1fr; border: 1px dashed #bbb; min-height: 130mm; }
.giftcard__front { background: var(--sand); padding: 14mm 12mm; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: .5rem; }
.giftcard--noel .giftcard__front { background: linear-gradient(160deg, #1F3A2E, #2E5240); color: #F6F1E7; }
.giftcard__brand { font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin: 0 0 1.5rem; }
.giftcard--noel .giftcard__brand, .giftcard--noel .giftcard__kicker { color: #D9B46A; }
.giftcard__kicker { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0; color: var(--sage); }
.giftcard__title { font-size: 1.9rem; margin: .3rem 0; font-weight: 700; line-height: 1.15; }
.giftcard__for { font-size: 1.2rem; margin: 0; }
.giftcard__from { font-size: .9rem; margin: 0; opacity: .8; }
.giftcard__back { padding: 10mm 10mm; display: grid; grid-template-rows: auto 1fr auto; gap: .8rem; font-size: .8rem; line-height: 1.45; }
.giftcard__message { font-style: italic; font-size: .95rem; margin: 0; }
.giftcard__how p { margin: 0 0 .3rem; }
.giftcard__how ol { margin: 0; padding-left: 1.1rem; }
.giftcard__qrbox { display: grid; grid-template-columns: 34mm 1fr; gap: .8rem; align-items: center; }
.giftcard__qr { width: 34mm; height: 34mm; }
.giftcard__code { font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; margin: 0; }
.giftcard__valid { margin: .2rem 0 0; color: var(--taupe); }
@media print { .noprint { display: none; } .giftcard-page { padding: 0; } .giftcard { border: 0; } @page { size: A4 landscape; margin: 10mm; } }
.gift-ship[hidden] { display: none; }

/* ---- Alternatives & re-render ---- */
.alts { grid-column: 1 / -1; min-width: 0; margin-top: .2rem; }
.alts summary { cursor: pointer; font-size: .85rem; color: var(--terracotta); font-weight: 600; list-style: none; padding: .3rem 0; }
.alts summary::-webkit-details-marker { display: none; }
.alts summary::before { content: "↻ "; }
.alts[open] summary { margin-bottom: .5rem; }
.alts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.alt__form { min-width: 0; }
.alt { display: grid; gap: .3rem; width: 100%; min-width: 0; padding: .45rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.alt:hover, .alt:focus-visible { border-color: var(--terracotta); }
.alt img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.alt__name { font-size: .74rem; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.alt__price { font-size: .82rem; font-weight: 700; }
@media (max-width: 520px) { .alts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .alt { padding: .4rem; } }
.stale { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-top: 1.2rem; padding: .9rem 1.1rem; background: #FFF6E5; border: 1px solid #F1DFB8; border-radius: 12px; font-size: .95rem; }
.stale__left { font-size: .8rem; }
.wait__photo--preview img { filter: saturate(.9); }
.wait__photo--preview .wait__scan { display: none; }

/* ---- Start wizard ---- */
.wizard__nav { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; gap: .4rem; }
.wizard__nav li { flex: 1; display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--taupe); padding-bottom: .4rem; border-bottom: 2px solid var(--line); }
.wizard__nav li span { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .7rem; font-weight: 700; background: var(--sand); }
.wizard__nav li.is-current { color: var(--ink); border-color: var(--terracotta); }
.wizard__nav li.is-current span { background: var(--terracotta); color: #fff; }
.wizard__nav li.is-done { color: var(--sage); border-color: var(--sage); }
.wizard__nav li.is-done span { background: var(--sage); color: #fff; }
.wizard__panel[hidden] { display: none; }
.wizard__hint { font-size: .82rem; text-align: center; margin: .6rem 0 0; }
.wizard__back { font-size: .85rem; text-align: center; margin: .8rem 0 0; }
.intensity legend { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: .7rem; }
.intensity__grid--stack { grid-template-columns: 1fr; }
.intensity__grid--stack .intensity__body { padding: .9rem 1rem; }
.intensity__grid--stack .intensity__body strong { font-size: 1.05rem; }
.intensity__grid--stack .intensity__body small { font-size: .85rem; }

/* ---- Review 2026: hero mobile, motion, small things ---- */
@media (max-width: 700px) {
  .hero2__media { height: clamp(560px, 92vh, 820px); }
  .hero2__media .compare__handle span { top: 28%; }   /* the handle sits above the caption, never over the words */
  .hero2__inner { padding-bottom: 1.6rem; }
  .hero2__media::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .wait__scan, .wait__pulse { animation: none !important; }
  .compare.is-auto .compare__after, .compare.is-auto .compare__handle { transition: none !important; animation: none !important; }
  * { scroll-behavior: auto !important; }
}
.intensity__body--star { position: relative; }
.intensity__body--star::after { content: "Le plus choisi"; position: absolute; top: -.6rem; right: .8rem; background: var(--terracotta); color: #fff; font-size: .65rem; font-weight: 700; padding: .15rem .5rem; border-radius: 99px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--terracotta); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.basket__more { display: grid; gap: .3rem; justify-items: center; text-align: center; font-size: .85rem; margin-top: 1.4rem; }
.swipe__skip { text-align: center; margin: .8rem 0 0; }
.swipe__remember { display: grid; gap: .6rem; justify-items: start; padding: 1rem 1.1rem; background: var(--sand); border-radius: 12px; margin-top: 1rem; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: #0E0F0E; display: grid; grid-template-rows: auto 1fr; }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; padding-top: calc(.7rem + env(safe-area-inset-top)); color: #fff; }
.lightbox__toggle { display: inline-flex; background: rgba(255,255,255,.12); border-radius: 99px; padding: 3px; }
.lightbox__toggle button { border: 0; background: transparent; color: #fff; font: inherit; font-weight: 600; padding: .4rem .9rem; border-radius: 99px; cursor: pointer; }
.lightbox__toggle button.is-on { background: #fff; color: var(--ink); }
.lightbox__hint { color: rgba(255,255,255,.6); font-size: .8rem; }
.lightbox__close { border: 0; background: rgba(255,255,255,.12); color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }
.lightbox__stage { overflow: hidden; touch-action: none; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; will-change: transform; user-select: none; }

/* ---- Inline first alternative ---- */
.alt-inline__form { margin-top: .5rem; }
.alt-inline { display: grid; grid-template-columns: auto 44px 1fr auto; gap: .5rem; align-items: center; width: 100%; padding: .35rem .5rem .35rem .6rem; border: 1px dashed var(--sand-dark); border-radius: 10px; background: var(--sand); font: inherit; font-size: .82rem; color: var(--ink); text-align: left; cursor: pointer; }
.alt-inline:hover { border-color: var(--terracotta); border-style: solid; }
.alt-inline img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.alt-inline__or { color: var(--taupe); font-style: italic; }
.alt-inline__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alt-inline__cta { color: var(--terracotta); font-weight: 700; }
@media (max-width: 520px) { .alt-inline { grid-template-columns: auto 40px 1fr; } .alt-inline__cta { grid-column: 2 / -1; justify-self: end; } .alt-inline__name { white-space: normal; } }

/* ---- Push, zoom, sticky wallet ---- */
.pushme { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .8rem; }
.pushme__hint { font-size: .82rem; }
.basket__img--zoom { position: relative; cursor: zoom-in; }
.basket__zoomhint { position: absolute; right: 4px; bottom: 4px; font-size: .7rem; background: rgba(255,255,255,.9); border-radius: 99px; padding: 1px 5px; }
.paybar__wallet { flex: 0 0 auto; width: 160px; }
.paybar__wallet[hidden] { display: none; }

/* ---- Reviews, returns, recap ---- */
.stars { display: inline-flex; flex-direction: row-reverse; gap: .2rem; font-size: 2rem; }
.stars input { position: absolute; opacity: 0; width: 0; }
.stars label { color: var(--sand-dark); cursor: pointer; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #D9A441; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1.2rem; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.review__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.review__body { padding: 1rem 1.1rem; }
.review__stars { color: #D9A441; letter-spacing: .1em; margin: 0 0 .4rem; }
.review__meta { font-size: .82rem; margin: .5rem 0 0; }
.returnbox { margin-top: 1.4rem; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; }
.returnbox summary { cursor: pointer; font-weight: 600; }
.returnbox__form { display: grid; gap: .6rem; margin-top: .8rem; }
.returnbox__item { display: flex; gap: .5rem; align-items: center; }
.returnbox__reason { display: grid; gap: .3rem; font-size: .85rem; color: var(--taupe); }
.returnbox__reason select, .returnbox__reason textarea { width: 100%; padding: .55rem .7rem; border: 1px solid var(--sand-dark); border-radius: 8px; font: inherit; }
.recap-render { position: relative; }
.recap-render img { width: 100%; border-radius: var(--radius); display: block; }
.recap-render__box { position: absolute; border: 2px solid #fff; outline: 2px solid var(--terracotta); border-radius: 6px; box-shadow: 0 0 0 999px rgba(0,0,0,.0); pointer-events: none; }
.mine__expired { display: grid; place-items: center; height: 100%; min-height: 140px; color: var(--taupe); font-size: .85rem; background: var(--sand); }
.admin__inline { display: inline-flex; gap: .4rem; align-items: center; }
.intensity__card--pic .intensity__body { grid-template-columns: 96px 1fr; gap: .8rem; align-items: center; }
.intensity__pic img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.intensity__text { display: grid; gap: .2rem; }

/* ---- Relooky: portrait media, sizes ---- */
.hero2--portrait .hero2__media { height: clamp(600px, 90vh, 900px); }
.hero2--portrait .hero2__media .compare img, .hero2--portrait .hero2__media .compare__before { object-position: center 20%; }
/* Portrait examples: the box owns the ratio, the slider fills it absolutely (Safari otherwise sizes the
   slider from the 1024 px picture and the whole page ends up 4× wider than the phone). */
.examples--portrait .example__media { aspect-ratio: 2 / 3; position: relative; }
.examples--portrait .example__media .compare { position: absolute; inset: 0; height: auto; }
.examples--portrait .example__media .compare img, .examples--portrait .example__media .compare__before { width: 100%; height: 100%; object-fit: cover; }
.styles-grid--portrait .style-card img { aspect-ratio: 2 / 3; object-fit: cover; }
.sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.sizes label { display: grid; gap: .3rem; font-size: .85rem; color: var(--taupe); }
.sizes select, .sizes input { width: 100%; padding: .65rem .7rem; border: 1px solid var(--sand-dark); border-radius: 8px; font: inherit; background: var(--white); color: var(--ink); }
.sizes label:first-child { grid-column: span 2; }
.sizepick { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .4rem; font-size: .85rem; }
.sizepick select { padding: .3rem .5rem; border: 1px solid var(--sand-dark); border-radius: 6px; font: inherit; margin-left: .3rem; }
.sizepick__hint { font-size: .78rem; }

/* ---- Mobile zoom fixes ----
   iOS zooms the page when a focused field is under 16 px, and double-tap zooms on any tap target.
   Fields keep 16 px on phones whatever their container's font-size; tap targets opt out of double-tap zoom. */
@media (max-width: 700px) {
  input, select, textarea { font-size: 16px !important; }
}
a, button, label, input, select, textarea, summary, .btn, .compare, .swipe__deck, .alt, .amount, .intensity__card { touch-action: manipulation; }
.compare { touch-action: pan-y; }
.swipe__deck, .swipe__card, .lightbox__stage { touch-action: none; }
