/* ==========================================================================
   Hyatna — landing page
   Polices auto-hébergées (aucune requête vers un service tiers), tokens
   alignés sur le design system de l'app (lib/core/theme/app_colors.dart).
   ========================================================================== */

@font-face { font-family: "Jakarta"; src: url("assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/PlusJakartaSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/PlusJakartaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("assets/fonts/Cairo-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("assets/fonts/Cairo-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("assets/fonts/Cairo-Bold.ttf") format("truetype"); font-weight: 700 800; font-display: swap; }

:root {
  --pin: #123D37;
  --pin-deep: #0C2A25;
  --ink-premium: #071C19;
  --action: #176658;
  --action-soft: #EDF6F1;
  --peach: #F4A58B;
  --peach-deep: #D9775D;
  --gold: #D9BA7A;
  --gold-light: #E9CB91;
  --gold-deep: #A9864A;
  --ivory: #FBF9F5;
  --sand: #F4F1EB;
  --line: #E7E1D7;
  --text: #192722;
  --text-2: #47473F;
  --text-3: #817B70;
  --white: #FFFFFF;

  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Cairo", "Jakarta", ui-sans-serif, system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(58, 46, 34, .05), 0 12px 32px -12px rgba(58, 46, 34, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); font-size: 18px; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; color: var(--pin); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; inset-inline-start: 12px; top: -48px; background: var(--pin); color: var(--ivory); padding: 10px 16px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* Libellé de section : filet doré + texte en capitales. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--action);
  margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow--gold { color: var(--gold-light); }
.rule { width: 32px; height: 2px; background: var(--gold); border-radius: 2px; }

.lead { font-size: 1.15rem; color: var(--text-2); max-width: 46ch; }

/* ---------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: 16px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:active { transform: scale(.98); }
.btn--small { height: 40px; padding: 0 16px; border-radius: 12px; font-size: .9rem; }
.btn--pin { background: var(--pin); color: var(--ivory); }
.btn--pin:hover { background: var(--action); }
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-deep)); color: var(--ink-premium); box-shadow: 0 10px 28px -10px rgba(169, 134, 74, .6); }
.btn--gold:hover { box-shadow: 0 14px 34px -10px rgba(169, 134, 74, .75); }

/* ---------------------------------------------------------------- En-tête */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; color: var(--pin); letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--text-2); position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover { color: var(--pin); }
.nav a:hover::after { transform: scaleX(1); }
.topbar__end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; padding: 3px; background: var(--white); }
.lang button { border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 700; color: var(--text-3); padding: 5px 9px; border-radius: 9px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--pin); color: var(--ivory); }

@media (max-width: 920px) { .nav { display: none; } .topbar__end { margin-inline-start: auto; } }
@media (max-width: 420px) { .topbar__end .btn { display: none; } }

/* ---------------------------------------------------------------- Héros */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 120px); overflow: hidden; }
.hero::before {
  /* Lumière chaude derrière les téléphones, sans motif décoratif. */
  content: ""; position: absolute; inset-inline-end: -10%; top: -20%; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(217, 186, 122, .22), rgba(217, 186, 122, 0));
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(3rem, 8.4vw, 6.4rem); line-height: .98; letter-spacing: -0.045em; margin-bottom: 26px; }
html[lang="ar"] .hero__title { line-height: 1.2; letter-spacing: 0; }
/* La ponctuation du titre XXL est rapprochée optiquement du mot. */
h1 .p, h2 .p { margin-inline-start: -0.08em; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 34em; margin-bottom: 34px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; scroll-margin-top: 120px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 16px;
  background: var(--text); color: var(--ivory); text-decoration: none;
  transition: transform .2s var(--ease), background .2s;
}
.store:hover { background: var(--pin); transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 1.05rem; }
.store small { font-size: .7rem; font-weight: 500; opacity: .75; letter-spacing: .02em; }
.store.is-soon { opacity: .55; pointer-events: none; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-3); font-size: .92rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero__visual { position: relative; height: clamp(520px, 56vw, 660px); }
.hero__bridge {
  /* La traverse dorée du symbole relie les deux téléphones. */
  position: absolute; top: 46%; inset-inline: 12% 8%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-deep));
  opacity: .9;
}
.phone {
  margin: 0; position: relative;
  border-radius: 46px; padding: 10px;
  background: #0E1E1B;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 40px 80px -30px rgba(18, 61, 55, .45), 0 18px 36px -18px rgba(25, 39, 34, .35);
}
.phone img { border-radius: 36px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--ivory); }
.phone--front, .phone--back { position: absolute; width: min(300px, 46%); }
.phone--front { inset-inline-start: 6%; top: 0; z-index: 2; animation: rise 1s var(--ease) both; }
.phone--back { inset-inline-end: 0; top: 13%; z-index: 1; transform: rotate(2.5deg); animation: rise 1s .15s var(--ease) both; }
html[dir="rtl"] .phone--back { transform: rotate(-2.5deg); }
@keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 560px; max-width: 480px; margin-inline: auto; width: 100%; }
  .phone--front, .phone--back { width: 56%; }
}

/* ---------------------------------------------------------------- Chiffres */
.ledger { border-block: 1px solid var(--line); background: var(--white); }
.ledger__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger__row > div { padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; border-inline-start: 1px solid var(--line); }
.ledger__row > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.ledger strong { font-size: 1.9rem; font-weight: 800; color: var(--pin); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ledger span { color: var(--text-3); font-size: .92rem; line-height: 1.4; }
@media (max-width: 760px) {
  .ledger__row { grid-template-columns: 1fr 1fr; }
  .ledger__row > div { padding: 20px 16px; border-inline-start: 0; }
  .ledger__row > div:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .ledger__row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ledger__row > div:first-child, .ledger__row > div:nth-child(3) { padding-inline-start: 0; }
}

/* ---------------------------------------------------------------- Sections */
.section { padding: clamp(72px, 10vw, 140px) 0; scroll-margin-top: 72px; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--narrow { max-width: 640px; }
.section__head .lead { margin-top: 20px; }
.section--sand { background: var(--sand); }
.section--ivory { background: var(--white); border-top: 1px solid var(--line); }

/* Fonctionnalités : liste numérotée + téléphone qui change d'écran. */
.features { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.features__list { list-style: none; margin: 0; padding: 0; }
.feature {
  display: grid; grid-template-columns: 56px 1fr; gap: 8px;
  padding: 28px 0; border-top: 1px solid var(--line); cursor: pointer;
  transition: opacity .3s;
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature__num { font-weight: 700; font-size: .85rem; color: var(--gold-deep); padding-top: 4px; font-variant-numeric: tabular-nums; }
.feature h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 8px; transition: color .3s; }
.feature p { color: var(--text-2); max-width: 52ch; }
.features__list:hover .feature:not(:hover):not(.is-active), .feature:not(.is-active) { opacity: .55; }
.feature.is-active, .feature:hover { opacity: 1; }
.features__stage { position: sticky; top: 110px; }
.phone--stage img { transition: opacity .35s var(--ease); }
.phone--stage img.is-swapping { opacity: 0; }
.features__strip { display: none; }
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .features__stage { display: none; }
  .feature { opacity: 1 !important; }
  /* Sur téléphone : les écrans défilent horizontalement au-dessus de la liste. */
  .features__strip {
    display: grid; grid-auto-flow: column; grid-auto-columns: 58%; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1) 40px; padding: 0 var(--gutter) 24px;
  }
  .features__strip::-webkit-scrollbar { display: none; }
  .features__strip .phone { scroll-snap-align: center; border-radius: 34px; padding: 7px; }
  .features__strip .phone img { border-radius: 28px; }
}

/* ---------------------------------------------------------------- Duo */
.section--pin {
  background: radial-gradient(900px 500px at 85% 0%, rgba(217, 186, 122, .14), transparent 60%), linear-gradient(180deg, var(--pin-deep), var(--ink-premium));
  color: rgba(246, 236, 214, .78);
}
.section--pin h2 { color: #F6ECD6; }
.section--pin .lead { color: rgba(246, 236, 214, .72); }
.duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.steps li > span {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(217, 186, 122, .45); color: var(--gold-light); font-weight: 700;
}
.steps strong { color: #F6ECD6; font-size: 1.05rem; display: block; margin-bottom: 2px; }
.steps p { font-size: .95rem; }
.duo__visual { position: relative; display: grid; justify-items: center; gap: 28px; }
.pair { display: flex; align-items: center; width: 100%; max-width: 420px; }
.pair__phone {
  flex: none; width: 92px; height: 150px; border-radius: 20px; display: grid; justify-items: center; align-content: center; gap: 8px; position: relative;
  background: #1A4A42; border: 1px solid rgba(217, 186, 122, .5);
}
.pair__phone em { position: absolute; top: calc(100% + 10px); width: 120px; text-align: center; font-style: normal; font-size: .72rem; line-height: 1.3; color: rgba(246,236,214,.6); }
.dot { width: 20px; height: 20px; border-radius: 50%; }
.bar { width: 9px; height: 40px; border-radius: 9px; }
.dot--ivory, .bar--ivory { background: #FFF9F0; }
.dot--peach, .bar--peach { background: var(--peach); }
.pair__link { flex: 1; height: 4px; margin: 0 14px; border-radius: 4px; background: rgba(217, 186, 122, .2); overflow: hidden; }
.pair__link span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-deep)); transform-origin: left; animation: link 2.4s var(--ease) infinite alternate; }
html[dir="rtl"] .pair__link span { transform-origin: right; }
@keyframes link { from { transform: scaleX(.15); } to { transform: scaleX(1); } }
.phone--duo { width: min(280px, 80%); margin-top: 28px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Confidentialité */
.privacy__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.privacy__grid article { background: var(--ivory); padding: clamp(28px, 4vw, 44px); }
.privacy__grid h3 { margin-bottom: 12px; font-size: 1.3rem; }
.privacy__grid p { color: var(--text-2); }
.fingerprint {
  display: inline-block; margin-top: 18px; padding: 8px 14px; border-radius: 10px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 1.05rem; letter-spacing: .12em;
  color: var(--pin); background: var(--action-soft); border: 1px solid #B9DACB;
}
@media (max-width: 760px) { .privacy__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Tarifs */
.plans { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.4rem; }
.plan__price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price span { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; color: var(--pin); font-variant-numeric: tabular-nums; line-height: 1; }
.plan__price small { font-size: 1.1rem; font-weight: 700; color: var(--pin); }
.plan__price em { font-style: normal; color: var(--text-3); }
.plan__note { color: var(--text-3); font-size: .95rem; margin-bottom: 26px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.plan li { position: relative; padding-inline-start: 30px; color: var(--text-2); }
.plan li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--action-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23176658' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan li strong { color: var(--text); }
.plan .btn { margin-top: auto; }

.plan--premium {
  background: radial-gradient(600px 300px at 100% 0%, rgba(217, 186, 122, .18), transparent 60%), linear-gradient(160deg, var(--pin-deep), var(--ink-premium));
  border-color: rgba(217, 186, 122, .45);
  color: rgba(246, 236, 214, .78);
}
.plan--premium h3 { color: #F6ECD6; }
.plan--premium .plan__price span, .plan--premium .plan__price small { color: #F6ECD6; }
.plan--premium .plan__price em, .plan--premium .plan__note { color: rgba(246, 236, 214, .6); }
.plan--premium li { color: rgba(246, 236, 214, .72); }
.plan--premium li strong { color: #F6ECD6; }
.plan--premium li::before { background-color: rgba(217, 186, 122, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23E9CB91' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cycle { display: inline-flex; padding: 3px; border-radius: 12px; border: 1px solid rgba(217, 186, 122, .35); }
.cycle button { border: 0; background: none; font: inherit; font-size: .82rem; font-weight: 700; color: rgba(246, 236, 214, .7); padding: 6px 12px; border-radius: 9px; cursor: pointer; }
.cycle button[aria-pressed="true"] { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink-premium); }
.fineprint { margin-top: 22px; font-size: .85rem; color: var(--text-3); max-width: 80ch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Galerie */
.gallery__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.gallery__row figure { margin: 0; }
.gallery__row .phone { border-radius: 40px; }
.gallery__row figcaption { text-align: center; margin-top: 16px; font-weight: 600; color: var(--text-2); font-size: .95rem; }
.gallery__row figure:nth-child(2) { transform: translateY(40px); }
@media (max-width: 760px) {
  .gallery__row { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .gallery__row figure { scroll-snap-align: center; }
  .gallery__row figure:nth-child(2) { transform: none; }
}

/* ---------------------------------------------------------------- Charte */
.bb { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.bb__label h3 { font-size: 1.4rem; margin-bottom: 12px; }
.bb__label p { color: var(--text-2); font-size: .98rem; }
.downloads { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 6px; }
.downloads a { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; color: var(--action); text-decoration: none; border-bottom: 1px solid rgba(23, 102, 88, .3); }
.downloads a:hover { border-bottom-color: var(--action); }
@media (max-width: 860px) { .bb { grid-template-columns: 1fr; } }

.logo-board { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.logo-tile { margin: 0; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 210px; border: 1px solid var(--line); }
.logo-tile figcaption { font-size: .8rem; color: var(--text-3); }
.logo-tile--ivory { background: var(--ivory); }
.logo-tile--ivory img { width: min(300px, 100%); height: auto; margin-block: auto; }
.logo-tile--pin { background: var(--pin); border-color: var(--pin); }
.logo-tile--pin figcaption { color: rgba(246, 236, 214, .6); }
.lockup { display: flex; align-items: center; gap: 14px; margin-block: auto; color: #FFF9F0; font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; }
.lockup img { border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.logo-tile--grid { background: var(--sand); align-items: flex-start; }
.construction { width: 150px; height: 150px; }
.logo-tile--gold { background: linear-gradient(160deg, var(--pin-deep), var(--ink-premium)); border-color: rgba(217, 186, 122, .45); align-items: flex-start; }
.logo-tile--gold figcaption { color: rgba(246, 236, 214, .6); }
.mark-premium { border-radius: 20px; box-shadow: 0 0 0 2px var(--gold), 0 0 0 7px rgba(217, 186, 122, .15); }
@media (max-width: 560px) { .logo-board { grid-template-columns: 1fr; } }

.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.swatch {
  border-radius: var(--radius); background: var(--c); color: var(--t);
  min-height: 148px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
}
.swatch--line { border: 1px solid var(--line); }
.swatch span { font-weight: 700; }
.swatch code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; opacity: .9; }
.swatch small { font-size: .78rem; opacity: .72; }
.colors { display: grid; gap: 18px; }
.semantic { display: flex; flex-wrap: wrap; gap: 10px; }
.semantic span { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.semantic span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
@media (max-width: 560px) { .swatches { grid-template-columns: 1fr 1fr; } }

.type { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.type__card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--ivory); }
.type__card--ar { font-family: var(--font-ar); }
.type__name { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.type__card--ar .type__name { letter-spacing: .14em; font-family: var(--font); }
.type__big { font-size: 5.5rem; font-weight: 800; color: var(--pin); line-height: 1.05; letter-spacing: -0.04em; margin: 8px 0 18px; }
.type__card--ar .type__big { font-weight: 700; letter-spacing: 0; font-size: 4.2rem; line-height: 1.5; }
.type__scale { display: grid; gap: 4px; color: var(--text-2); font-size: .95rem; margin-bottom: 18px; }
.type__amount { font-size: 1.8rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.type__card--ar .type__amount { letter-spacing: 0; }
@media (max-width: 560px) { .type { grid-template-columns: 1fr; } }

.ui-kit { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.ui-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.k-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: .92rem; }
.k-btn--primary { background: var(--action); color: var(--white); box-shadow: 0 8px 20px -10px rgba(23, 102, 88, .7); }
.k-btn--tonal { background: var(--action-soft); color: var(--action); }
.k-btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-deep)); color: var(--ink-premium); }
.k-badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.k-badge--ok { background: #DDF5EE; color: #06614B; }
.k-badge--warn { background: #FFF1D9; color: #7A4B00; }
.k-badge--premium { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink-premium); letter-spacing: .08em; font-size: .7rem; }
.k-card { border-radius: 24px; padding: 22px; color: var(--white); background: linear-gradient(135deg, #164A44, #176658); display: grid; gap: 16px; max-width: 360px; }
.k-card small { display: block; opacity: .8; font-size: .82rem; }
.k-card strong { font-size: 2rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.k-progress { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.k-progress span { display: block; height: 100%; background: var(--white); border-radius: 8px; }
.radii { display: flex; gap: 10px; flex-wrap: wrap; }
.radii span { width: 52px; height: 52px; display: grid; place-items: center; border: 1.5px solid var(--action); border-radius: var(--r); font-size: .75rem; font-weight: 700; color: var(--action); background: var(--white); }

.voice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.voice__col { border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.voice__col p:not(.voice__tag) { font-size: 1.02rem; color: var(--text); }
.voice__col--do { background: var(--action-soft); }
.voice__col--dont { background: #FFF4EF; }
.voice__col--dont p:not(.voice__tag) { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(217, 119, 93, .55); }
.voice__tag { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.voice__col--do .voice__tag { color: var(--action); }
.voice__col--dont .voice__tag { color: var(--peach-deep); }
@media (max-width: 560px) { .voice { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq .section__head { margin-bottom: 0; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-weight: 700; font-size: 1.1rem; color: var(--pin);
}
html[dir="rtl"] .faq__list summary { padding: 24px 0 24px 40px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; inset-inline-end: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--action), var(--action)) center / 14px 2px no-repeat, linear-gradient(var(--action), var(--action)) center / 2px 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 24px; color: var(--text-2); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Fin */
.closing { background: var(--pin); color: #F6ECD6; padding: clamp(72px, 10vw, 128px) 0; text-align: center; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); }
.closing__inner { display: grid; justify-items: center; gap: 28px; }
.closing img { border-radius: 16px; box-shadow: 0 0 0 1px rgba(217, 186, 122, .4); }
.closing h2 { color: #F6ECD6; max-width: 18ch; }

.footer { padding: 36px 0; background: var(--ink-premium); color: rgba(246, 236, 214, .6); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.brand--footer { color: #F6ECD6; font-size: 1rem; }
.footer nav { display: flex; gap: 20px; margin-inline-start: auto; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.footer__copy { width: 100%; font-size: .8rem; opacity: .7; }

/* Apparition au défilement (désactivée si l'utilisateur limite les animations). */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* Espacement titre → chapeau partout où ils se suivent. */
h2 + .lead { margin-top: 20px; }
