/* Couleurs et polices du guide (relevées dans le PDF d'impression). */
:root {
  --ivory: #FEFBF4;      /* fond des cartes */
  --blush: #F6E9DF;      /* encadrés de dou'a */
  --sand: #E6D2C2;       /* filets */
  --gold: #C9A27E;       /* ornements */
  --terracotta: #A9532F; /* accent */
  --terracotta-dark: #8E4425;
  --brick: #9B3D2E;
  --cocoa: #3B2A22;      /* titres */
  --ink: #4A3A31;        /* texte */
  --muted: #7A6A58;
  --white: #FFFFFF;
  --desk: #EFE3D7;       /* fond autour de la page sur ordinateur */

  --font-title: "El Messiri", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-text: "Noto Naskh Arabic", "Segoe UI", Tahoma, serif;
  --font-mark: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --radius: 18px;
  --gutter: 18px;
  color-scheme: light;
}

*, *::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(--desk);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-title); color: var(--cocoa); line-height: 1.4; margin: 0; text-wrap: balance; }
h2 { font-size: 27px; font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--terracotta); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 8px; }
.nw { white-space: nowrap; }

/* La page reste une colonne de téléphone, centrée sur ordinateur. */
.page {
  max-width: 520px;
  margin-inline: auto;
  background: var(--ivory);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgb(59 42 34 / 0.04), 0 30px 60px -30px rgb(59 42 34 / 0.25);
}

.topbar {
  background: var(--cocoa);
  color: var(--blush);
  font: 500 14px/1.4 var(--font-title);
  text-align: center;
  padding: 9px var(--gutter);
}

/* Boutons */
.btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-cta {
  background: var(--terracotta);
  color: var(--white);
  font-size: 23px;
  padding: 16px 20px 14px;
  box-shadow: 0 12px 24px -12px rgb(169 83 47 / 0.8);
  transition: background-color .15s ease, transform .15s ease;
}
.btn-cta:hover { background: var(--terracotta-dark); }
.btn-cta:active { transform: translateY(1px); }

.mark {
  display: inline-block;
  font: 600 15px/1 var(--font-mark);
  letter-spacing: 0.32em;
  color: var(--cocoa);
  direction: ltr;
}
a.mark { text-decoration: none; }
.stars { color: #D9A33B; letter-spacing: 2px; }

/* Ornement : losange entre deux filets, comme sur la couverture */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--gold);
}
.ornament::before, .ornament::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: .7; }
.ornament i { width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }

/* ---------- 1. En-tête ---------- */
.hero { position: relative; text-align: center; padding: 26px var(--gutter) 30px; }
.hero-arch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 94%; height: auto; z-index: 0; }
.hero > :not(.hero-arch):not(.hero-photo) { position: relative; z-index: 2; }
.hero .mark { border: 1px solid var(--gold); border-radius: 999px; padding: 9px 18px 9px 24px; background: rgb(254 251 244 / 0.75); }
.hero h1 { font-size: 31px; font-weight: 700; line-height: 1.45; margin: 18px 0 10px; }
.hero h1 .acc { color: var(--terracotta); }
.hero h1 svg { width: 25px; height: 25px; vertical-align: -3px; margin-inline-start: 4px; }
.hero .lead { font-size: 17px; color: #5B4A40; max-width: 20em; margin-inline: auto; text-wrap: balance; }
.hero-photo {
  position: relative; z-index: 1;
  width: calc(100% + 2 * var(--gutter));
  max-width: none;
  margin: -34% calc(-1 * var(--gutter)) 0;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / .35) 16%, #000 34%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / .35) 16%, #000 34%, #000 90%, transparent 100%);
}
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: -8px; }
.badges li {
  border: 1px solid var(--sand); background: rgb(255 255 255 / 0.7); border-radius: 16px;
  padding: 10px 4px 9px; display: grid; justify-items: center; gap: 5px;
  font: 600 13.5px/1.35 var(--font-title); color: var(--cocoa);
}
.badges svg { width: 26px; height: 26px; color: var(--terracotta); }
.scarce { margin: 20px 0 12px; font: 600 16px/1.4 var(--font-title); color: var(--cocoa); }
.scarce::before, .scarce::after { width: 30px; }
.offer-price s { color: var(--muted); font-weight: 400; margin-inline-start: 6px; }
.rating { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* Commande rapide dans l'en-tête : même carte claire que le reste de la page */
.quick {
  background: rgb(255 255 255 / 0.88); border: 1px solid var(--sand); border-radius: 20px;
  padding: 16px 14px 14px; display: grid; gap: 12px; text-align: start;
  box-shadow: 0 18px 40px -26px rgb(59 42 34 / 0.45);
}
.quick-title { text-align: center; font: 700 18px/1.4 var(--font-title); color: var(--cocoa); }
.quick-offers { border: 0; margin: 0; padding: 8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pill {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 64px;
  padding: 12px 4px 8px; border: 1.5px solid var(--sand); border-radius: 14px; background: var(--white);
  text-align: center; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.pill input { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; }
.pill:has(input:checked) { border-color: var(--terracotta); background: #FFF8F2; box-shadow: inset 0 0 0 1px var(--terracotta); }
.pill:has(input:focus-visible) { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.pill-name { font: 700 14.5px/1.3 var(--font-title); color: var(--cocoa); }
.pill-price { font: 600 14px/1.3 var(--font-title); color: var(--terracotta); }
.pill-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--terracotta); color: var(--white); font: 600 11px/1 var(--font-title); padding: 5px 8px 3px; border-radius: 999px;
}
.quick-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick .field { gap: 3px; }
.quick .field-wide { grid-column: 1 / -1; }
.quick .field input { padding: 11px 12px; font-size: 16px; }
.quick .field-error { font-size: 12.5px; }
.quick .btn-cta { font-size: 21px; padding: 14px 16px 12px; }
.quick-note { text-align: center; font-size: 13.5px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Sections ---------- */
.sec { padding: 44px var(--gutter); display: grid; gap: 18px; text-align: center; }
.sec-blush { background: var(--blush); }
.eyebrow { font: 600 15px/1.4 var(--font-title); color: var(--terracotta); }
.sec-lead { color: #5B4A40; max-width: 24em; margin-inline: auto; text-wrap: balance; }
.photo { border-radius: var(--radius); width: 100%; object-fit: cover; }

/* ---------- 2. Omra + Hajj ---------- */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--ivory); border: 1px solid var(--sand); border-radius: 999px; }
.tabs button {
  border: 0; background: transparent; border-radius: 999px; padding: 9px 6px 7px; cursor: pointer;
  font: 700 17px/1.3 var(--font-title); color: var(--cocoa);
}
.tabs button small { display: block; font: 500 13px/1.3 var(--font-title); color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--terracotta); color: var(--white); }
.tabs button[aria-selected="true"] small { color: var(--blush); }
.panel { display: grid; gap: 16px; }
.panel .photo { aspect-ratio: 1; }
.steps { counter-reset: step; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; text-align: start; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--sand);
  font: 600 15px/1.35 var(--font-title); color: var(--cocoa);
}
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--terracotta); color: var(--white); font: 600 14px/1 var(--font-title);
}
.extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.extras li { font: 600 14px/1.3 var(--font-title); color: var(--cocoa); background: var(--ivory); border: 1px solid var(--sand); border-radius: 999px; padding: 7px 14px 5px; }
.extras li::before { content: "+ "; color: var(--terracotta); }

/* ---------- 3. Avant / après ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-card { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--sand); display: grid; align-content: start; }
.ba-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-before img { object-position: right center; }
.ba-after img { object-position: left center; }
.ba-chip {
  position: absolute; top: 10px; inset-inline-start: 50%; transform: translateX(50%);
  font: 700 17px/1 var(--font-title); padding: 8px 18px 6px; border-radius: 999px; color: var(--white); z-index: 1;
}
.ba-before .ba-chip { background: var(--muted); }
.ba-after .ba-chip { background: var(--terracotta); }
.ba-list { padding: 6px 10px 10px; text-align: start; }
.ba-list li { display: grid; grid-template-columns: 22px 1fr; gap: 7px; align-items: start; padding: 8px 0; font-size: 14.5px; line-height: 1.5; color: var(--cocoa); }
.ba-list li + li { border-top: 1px solid var(--blush); }
.ba-list svg { width: 22px; height: 22px; margin-top: 1px; }
.ba-before svg { color: var(--brick); }
.ba-after svg { color: var(--terracotta); }
.banner { background: var(--cocoa); color: var(--blush); border-radius: var(--radius); padding: 16px 18px 14px; font: 600 19px/1.6 var(--font-title); }

/* ---------- 4. Intérieur du guide ---------- */
.gallery {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 16px; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  flex: none; width: 66%; scroll-snap-align: center; border-radius: 14px; background: var(--ivory);
  box-shadow: 0 1px 0 var(--sand), 0 14px 28px -14px rgb(59 42 34 / 0.35);
}
.swipe-hint { font-size: 14px; color: var(--muted); margin-top: -8px; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: start; }
.points li { background: var(--ivory); border: 1px solid var(--sand); border-radius: 14px; padding: 12px; display: grid; gap: 4px; align-content: start; }
.points b { font: 700 15.5px/1.4 var(--font-title); color: var(--cocoa); }
.points span { font-size: 14px; line-height: 1.6; color: var(--muted); }
.points svg { width: 24px; height: 24px; color: var(--terracotta); }

/* ---------- 5. Sources ---------- */
.sources { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 24px 20px; display: grid; gap: 12px; text-align: start; }
.sources h2 { text-align: center; }
.sources > p { text-align: center; color: var(--muted); }
.sources ul { display: grid; gap: 0; }
.sources li { padding: 10px 0; border-bottom: 1px solid var(--blush); display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: var(--cocoa); font-weight: 500; }
.sources li::before { content: ""; width: 8px; height: 8px; margin-top: 10px; background: var(--terracotta); transform: rotate(45deg); justify-self: center; }
.sources .note { font-size: 14.5px; color: var(--muted); text-align: start; }

/* ---------- 6. Pratique ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duo .photo { aspect-ratio: 4 / 5; }
.highlight { margin: 0; background: var(--ivory); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; display: grid; text-align: start; }
.highlight .photo { aspect-ratio: 1; border-radius: 0; }
.highlight figcaption { padding: 14px 16px 16px; display: grid; gap: 2px; }
.highlight b { font: 700 19px/1.4 var(--font-title); color: var(--cocoa); }
.highlight span { font-size: 15px; line-height: 1.6; color: var(--muted); }
.features { display: grid; gap: 10px; text-align: start; }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; background: var(--ivory); border-radius: 14px; padding: 12px; }
.features svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--blush); color: var(--terracotta); }
.features b { display: block; font: 700 16.5px/1.4 var(--font-title); color: var(--cocoa); }
.features span { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- 7. Avis ---------- */
.rating-big { font: 600 17px/1.4 var(--font-title); color: var(--cocoa); }
.chat { display: grid; gap: 10px; padding: 16px 12px; border-radius: var(--radius); background: #EFE6DA; }
.msg {
  justify-self: end; max-width: 88%; background: var(--white); border-radius: 14px; border-start-end-radius: 4px;
  padding: 8px 12px 6px; text-align: start; box-shadow: 0 1px 1px rgb(59 42 34 / 0.12);
  direction: ltr; font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; font-size: 15px; line-height: 1.5;
}
.msg b { display: block; color: var(--terracotta); font-size: 13.5px; }
.msg .time { display: block; text-align: end; font-size: 11.5px; color: var(--muted); }
.msg .time::after { content: " ✓✓"; color: #53BDEB; }

/* ---------- 8. Produit ---------- */
.product-photo { aspect-ratio: 1; }
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.callouts li { display: grid; justify-items: center; gap: 6px; background: var(--ivory); border: 1px solid var(--sand); border-radius: 14px; padding: 12px 8px; font: 600 15px/1.4 var(--font-title); color: var(--cocoa); }
.callouts svg { width: 26px; height: 26px; color: var(--terracotta); }
.specs { margin: 0; display: grid; text-align: start; background: var(--ivory); border-radius: 14px; padding: 4px 16px; }
.specs div { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--sand); }
.specs div:last-child { border-bottom: 0; }
.specs dt { font: 600 15px/1.6 var(--font-title); color: var(--muted); }
.specs dd { margin: 0; color: var(--cocoa); font-weight: 500; }

/* ---------- 9. Cadeau ---------- */
.gift-photo { aspect-ratio: 1; }
.tagged { margin: 0; position: relative; }
.tagged img { aspect-ratio: 1; }
.tagged figcaption { position: absolute; bottom: 10px; inset-inline-start: 10px; background: rgb(59 42 34 / 0.78); color: var(--ivory); font: 500 13px/1 var(--font-title); padding: 7px 12px 5px; border-radius: 999px; }
.btn-soft { background: var(--ivory); color: var(--terracotta); border: 1.5px solid var(--terracotta); font-size: 19px; padding: 13px 18px 11px; }

/* ---------- 10. Commande ---------- */
.order { background: var(--cocoa); padding: 40px var(--gutter) 44px; color: var(--blush); }
.order-card { background: var(--ivory); color: var(--ink); border-radius: 22px; padding: 22px 16px 20px; display: grid; gap: 16px; }
.order-card h2 { text-align: center; }
.order-sub { text-align: center; color: var(--muted); font-size: 15px; margin-top: -10px; }
.offers { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.offers legend { font: 700 16px/1.4 var(--font-title); color: var(--cocoa); margin-bottom: 8px; padding: 0; }
.offer {
  position: relative; display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center;
  background: var(--white); border: 1.5px solid var(--sand); border-radius: 16px; padding: 14px 12px; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.offer input { appearance: none; -webkit-appearance: none; margin: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--sand); display: grid; place-items: center; }
.offer input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); transform: scale(0); transition: transform .15s ease; }
.offer input:checked { border-color: var(--terracotta); }
.offer input:checked::after { transform: scale(1); }
.offer:has(input:checked) { border-color: var(--terracotta); background: #FFF8F2; }
.offer-name { display: block; font: 700 17px/1.35 var(--font-title); color: var(--cocoa); }
.offer-save { display: block; font: 500 13.5px/1.4 var(--font-title); color: var(--terracotta); }
.offer-price { text-align: end; font: 700 18px/1.3 var(--font-title); color: var(--cocoa); white-space: nowrap; }
.offer-price s { display: block; font-size: 14px; }
.offer-badge {
  position: absolute; top: -12px; inset-inline-end: 14px; background: var(--terracotta); color: var(--white);
  font: 600 12.5px/1 var(--font-title); padding: 6px 10px 4px; border-radius: 999px;
}
.field { display: grid; gap: 5px; }
.field label { font: 600 15px/1.4 var(--font-title); color: var(--cocoa); }
.field input {
  font: 500 17px/1.4 var(--font-text); color: var(--cocoa); background: var(--white);
  border: 1.5px solid var(--sand); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.field input::placeholder { color: #B5A493; }
.field input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgb(169 83 47 / 0.15); }
.field input[aria-invalid="true"] { border-color: var(--brick); background: #FFF5F2; }
.field-error { font-size: 14px; color: var(--brick); }
.field input[name="phone"] { text-align: right; letter-spacing: 0.04em; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.form-error { background: #FFF1EC; color: var(--brick); border-radius: 12px; padding: 10px 12px; font-size: 15px; text-align: center; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.assure li { display: grid; justify-items: center; gap: 4px; font: 500 12.5px/1.35 var(--font-title); color: var(--muted); }
.assure svg { width: 22px; height: 22px; color: var(--terracotta); }
.test-note { background: #FFF6D8; color: #6B5500; border-radius: 10px; padding: 8px 10px; font-size: 13.5px; text-align: center; }

/* ---------- 11. Questions ---------- */
.faq { display: grid; gap: 10px; text-align: start; }
.faq details { background: var(--white); border: 1px solid var(--sand); border-radius: 14px; padding: 0 16px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 0 12px; display: grid; grid-template-columns: 1fr 22px; gap: 10px; align-items: center;
  font: 600 16.5px/1.45 var(--font-title); color: var(--cocoa);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--font-title); color: var(--terracotta); text-align: center; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 14px; color: var(--ink); font-size: 16px; }

/* ---------- Pied de page ---------- */
.foot { padding: 32px var(--gutter) 110px; text-align: center; display: grid; gap: 8px; justify-items: center; background: var(--ivory); border-top: 1px solid var(--sand); color: var(--muted); font-size: 14.5px; }
.foot .mark { color: var(--terracotta); }
.foot p { direction: ltr; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; font-size: 14px; }
.foot-links a { color: var(--muted); }
.foot .foot-note { direction: rtl; max-width: 36em; font-size: 13px; line-height: 1.7; }
.foot-note a { color: inherit; text-decoration: underline; }

/* Mention sous les formulaires de commande */
.legal-note { text-align: center; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.legal-note a { color: inherit; }

/* ---------- Pages légales ---------- */
.legal-head { padding: 22px var(--gutter) 0; text-align: center; }
.legal { padding: 18px var(--gutter) 40px; display: grid; gap: 12px; font-size: 16px; line-height: 1.85; }
.legal h1 { font-size: 28px; text-align: center; }
.legal h2 { font-size: 20px; margin-top: 14px; }
.legal-date { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.legal-info { display: grid; gap: 4px; padding: 12px 14px; background: var(--blush); border-radius: 12px; }
.legal-list { display: grid; gap: 6px; list-style: disc; padding-inline-start: 1.3em; }
.legal-list li::marker { color: var(--gold); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { padding: 8px 6px; border-bottom: 1px solid var(--sand); text-align: start; }
.legal-table th { font-family: var(--font-title); color: var(--cocoa); }

/* ---------- Bouton fixe en bas ---------- */
.sticky {
  position: fixed; inset: auto 0 0; z-index: 20; display: flex; justify-content: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgb(254 251 244 / 0.98) 70%, rgb(254 251 244 / 0));
  transition: transform .25s ease, opacity .25s ease;
}
.sticky .btn { max-width: 484px; font-size: 20px; padding: 13px 16px 11px; }
.sticky.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .sticky, .btn-cta { transition: none; } }

/* ---------- Page de remerciement ---------- */
.thanks { padding: 48px var(--gutter) 40px; display: grid; gap: 18px; text-align: center; justify-items: center; }
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--blush); color: var(--terracotta); display: grid; place-items: center; }
.thanks-icon svg { width: 40px; height: 40px; }
.thanks h1 { font-size: 30px; }
.insta {
  position: relative; cursor: pointer;
  width: 100%; display: grid; gap: 6px; justify-items: center; padding: 20px 16px;
  background: var(--blush); border: 1px solid var(--sand); border-radius: var(--radius);
}
.insta-icon { width: 38px; height: 38px; color: var(--terracotta); }
.insta-title { font: 700 20px/1.4 var(--font-title); color: var(--cocoa); }
.insta-text { color: var(--ink); font-size: 16px; }
.btn-insta { margin-top: 6px; font-size: 19px; padding: 13px 18px 11px; }
.btn-insta::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.btn-insta:active { transform: none; } /* sinon le lien étendu se replie sur le bouton pendant l'appui */
.recap { width: 100%; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 6px 16px; text-align: start; }
.recap div { display: grid; grid-template-columns: 7em 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--blush); }
.recap div:last-child { border-bottom: 0; }
.recap dt { font: 600 15px/1.6 var(--font-title); color: var(--muted); }
.recap dd { margin: 0; color: var(--cocoa); font-weight: 500; overflow-wrap: anywhere; }
.next { width: 100%; display: grid; gap: 10px; text-align: start; }
.next li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.next li span:first-child { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--terracotta); color: var(--white); font: 600 14px/1 var(--font-title); }

@media (min-width: 560px) {
  body { padding-block: 24px; }
  .page { border-radius: 28px; }
}
