/* ══════════════════════════════════════════════════════════
   ALCHIMIE FAMILY — Site vitrine v7
   Structure : tokens → base → layout → sections → mobile
   ══════════════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

a {
  text-decoration: none;
}

/* ── Tokens light ──────────────────────────────────────── */
:root {
  --bg: #FAF8FD;
  --bg-2: #F3F0FA;
  --bg-3: #EAE5F5;
  --surface: #FFFFFF;
  --border: rgba(120, 100, 180, 0.1);
  --border-v: rgba(159, 138, 200, 0.3);

  --text: #1A1525;
  --text-2: #5A5070;
  --text-3: #9A95AA;

  --violet: #9F8AC8;
  --violet-d: #7B67B8;
  --violet-dd: #5C48A0;
  --violet-l: #C4B8E8;
  --violet-ll: #DDD6F5;
  --violet-xl: #EDE8FB;
  --violet-glow: rgba(159, 138, 200, 0.12);

  --grad-hero: linear-gradient(135deg, #FAF8FD 0%, #F0EAFA 50%, #E8E0F5 100%);
  --grad-feat: linear-gradient(160deg, #F5F2FD 0%, #EDE8FB 100%);
  --grad-profil: linear-gradient(135deg, #EDE8FB 0%, #F5F2FD 60%, #FAF8FD 100%);
  --grad-dl: linear-gradient(135deg, #7B67B8 0%, #9F8AC8 50%, #C4B8E8 100%);

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --r-xl: 40px;

  --sh-s: 0 2px 8px rgba(100, 80, 160, 0.08);
  --sh-m: 0 8px 32px rgba(100, 80, 160, 0.12);
  --sh-l: 0 24px 64px rgba(100, 80, 160, 0.15);
}

/* ── Tokens dark ───────────────────────────────────────── */
[data-theme="dark"] {
  --bg: #0E0C14;
  --bg-2: #15111E;
  --bg-3: #1C1828;
  --surface: #1A1624;
  --border: rgba(159, 138, 200, 0.1);
  --border-v: rgba(159, 138, 200, 0.22);
  --text: #F0ECF8;
  --text-2: #A098B8;
  --text-3: #605878;
  --violet-xl: rgba(159, 138, 200, 0.1);
  --violet-ll: rgba(159, 138, 200, 0.15);
  --violet-glow: rgba(159, 138, 200, 0.07);
  --grad-hero: linear-gradient(135deg, #0E0C14 0%, #14102A 50%, #1A1430 100%);
  --grad-feat: linear-gradient(160deg, #15111E 0%, #1C1828 100%);
  --grad-profil: linear-gradient(135deg, #1C1828 0%, #15111E 60%, #0E0C14 100%);
  --grad-dl: linear-gradient(135deg, #5C48A0 0%, #7B67B8 50%, #9F8AC8 100%);
  --sh-m: 0 8px 32px rgba(0, 0, 0, 0.35);
  --sh-l: 0 24px 64px rgba(0, 0, 0, 0.5);
}

/* ── Dark mode — corrections lisibilité ─────────────────── */
/* Hero tag et lang pills : fond sombre visible au lieu de blanc transparent */
[data-theme="dark"] .hero-tag {
  background: rgba(159, 138, 200, 0.18);
  color: #C4B8E8;
  border-color: rgba(159, 138, 200, 0.35);
}

[data-theme="dark"] .lang-pill {
  background: rgba(159, 138, 200, 0.15);
  color: #C4B8E8;
  border-color: rgba(159, 138, 200, 0.3);
}

[data-theme="dark"] .lang-pill.more {
  background: rgba(159, 138, 200, 0.2);
}

/* Profils tags */
[data-theme="dark"] .profils-tags span {
  background: rgba(159, 138, 200, 0.15);
  color: #C4B8E8;
}

/* Feat cards */
[data-theme="dark"] .feat-card {
  background: rgba(26, 22, 36, .8);
}

[data-theme="dark"] .feat-card:hover {
  background: rgba(32, 26, 44, .95);
}

/* App feat */
[data-theme="dark"] .app-feat {
  background: rgba(26, 22, 36, .7);
}

/* Profil cards */
[data-theme="dark"] .profil-card {
  background: rgba(26, 22, 36, .8);
}

[data-theme="dark"] .profil-card:hover {
  background: rgba(32, 26, 44, .95);
}

/* Store buttons sur fond violet — toujours ok */
/* Tarif coming badge */
[data-theme="dark"] .tarif-coming-badge {
  color: #C4B8E8;
  background: rgba(159, 138, 200, 0.15);
}

/* ── Base ──────────────────────────────────────────────── */
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
  transition: background .3s, color .3s;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

em {
  font-style: normal;
  font-family: 'Lora', Georgia, serif;
  background: linear-gradient(135deg, var(--violet-dd), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title em {
  font-style: italic;
}

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--violet-d);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-top: 4px;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 100px 0;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--r-xl);
  transition: all .2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 4px 18px rgba(159, 138, 200, .35);
}

.btn-primary:hover {
  background: var(--violet-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(159, 138, 200, .45);
}

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border-v);
}

.btn-outline:hover {
  color: var(--violet-d);
  background: var(--violet-xl);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(159, 138, 200, .3);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-alchimie {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.nav-logo-family {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--violet);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 14px;
  border-radius: var(--r-s);
  transition: color .2s, background .2s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--violet-xl);
}

.nav-cta {
  background: var(--violet) !important;
  color: #fff !important;
  border-radius: var(--r-xl) !important;
  padding: 7px 18px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--violet-d) !important;
  color: #fff !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--r-s);
  border: 1px solid var(--border-v);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transition: background .2s;
}

.theme-icon {
  position: absolute;
  transition: opacity .2s, transform .2s;
}

[data-theme="light"] .theme-icon.sun {
  opacity: 0;
  transform: scale(.5);
}

[data-theme="light"] .theme-icon.moon {
  opacity: 1;
  transform: scale(1);
}

[data-theme="dark"] .theme-icon.moon {
  opacity: 0;
  transform: scale(.5);
}

[data-theme="dark"] .theme-icon.sun {
  opacity: 1;
  transform: scale(1);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--r-s);
  transition: background .2s;
}

.nav-burger:hover {
  background: var(--violet-xl);
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav overlay ────────────────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-v);
  padding: 12px 16px 20px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile-link {
  display: block;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-m);
  transition: background .2s, color .2s;
}

.nav-mobile-link:hover {
  background: var(--violet-xl);
  color: var(--violet-d);
}

.nav-mobile-cta {
  background: var(--violet) !important;
  color: #fff !important;
  text-align: center;
  margin-top: 6px;
  font-weight: 600 !important;
}

body.nav-open {
  overflow: hidden;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 68px;
  background: var(--grad-hero);
  position: relative;
  /* PAS de overflow:hidden ici — ça bloque les carrousels mobiles */
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 138, 200, .22) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  pointer-events: none;
  /* Contenu dans le pseudo-element — clippé par le parent si besoin */
  overflow: hidden;
}

/* Container spécifique hero pour contrôler l'overflow sans bloquer le carrousel */
.hero-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: hidden;
  /* bloque les blobs desktop */
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  min-width: 0;
}

/* crucial pour grid */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--violet-d);
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--border-v);
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.06;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 420px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-langs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--violet-d);
  background: rgba(255, 255, 255, .65);
  border: 1px solid var(--border-v);
  border-radius: 50px;
  padding: 4px 12px;
  backdrop-filter: blur(4px);
}

.lang-pill.more {
  background: var(--violet-xl);
  font-style: italic;
}

/* Screens desktop */
.hero-screens {
  display: flex;
  justify-content: center;
  align-items: center;
}

.screen-stack {
  position: relative;
  width: 260px;
  height: 520px;
}

.screen {
  position: absolute;
  border-radius: 32px;
  object-fit: cover;
}

.screen-front {
  width: 210px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow: 0 32px 80px rgba(100, 80, 160, .22), 0 0 0 1px rgba(255, 255, 255, .2);
}

.screen-mid {
  width: 190px;
  left: calc(50% + 68px);
  top: 50%;
  transform: translate(-50%, -54%) rotate(7deg);
  z-index: 2;
  opacity: .82;
  box-shadow: 0 16px 48px rgba(100, 80, 160, .15);
}

.screen-back {
  width: 180px;
  left: calc(50% - 68px);
  top: 50%;
  transform: translate(-50%, -46%) rotate(-7deg);
  z-index: 1;
  opacity: .72;
  box-shadow: 0 12px 36px rgba(100, 80, 160, .12);
}

/* Screens mobile — INDÉPENDANT du hero-container, pas de overflow:hidden parent */
.hero-screens-mobile {
  display: none;
  width: 100%;
  margin-top: 20px;
}

.mob-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 20px 4px;
}

.mob-track::-webkit-scrollbar {
  display: none;
}

.screen-mobile {
  flex: 0 0 170px;
  width: 170px;
  border-radius: 22px;
  object-fit: cover;
  scroll-snap-align: center;
  box-shadow: 0 14px 36px rgba(100, 80, 160, .18);
  pointer-events: none;
}

/* Dots partagés */
.mob-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet-ll);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .25s, background .25s, border-radius .25s;
}

.dot.active {
  background: var(--violet);
  width: 22px;
  border-radius: 4px;
}

/* ── STATS ──────────────────────────────────────────────── */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}

.stat:last-child {
  border-right: none;
}

.stat:hover {
  background: var(--violet-xl);
}

.stat-n {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -2px;
  font-family: 'Lora', serif;
  background: linear-gradient(135deg, var(--violet-dd), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-l {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.45;
}

/* ── POURQUOI EXISTER ───────────────────────────────────── */
.pourquoi-exister {
  background: var(--bg);
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.pe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.pe-intro {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 440px;
}

.mission-quote {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--violet-xl);
  border: 1.5px solid var(--border-v);
  border-radius: var(--r-m);
  padding: 18px 20px;
  margin-bottom: 20px;
  font-style: normal;
}

.mission-quote span {
  font-size: 22px;
  flex-shrink: 0;
}

.mission-quote p {
  font-size: 14px;
  color: var(--violet-dd);
  line-height: 1.7;
  font-style: italic;
}

[data-theme="dark"] .mission-quote p {
  color: var(--violet-l);
}

.mission-mantra {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.75;
}

.pe-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pe-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1.5px solid var(--border-v);
  border-radius: var(--r-m);
  padding: 18px 20px;
  transition: transform .2s, box-shadow .2s;
}

.pe-card:hover {
  transform: translateX(4px);
  box-shadow: var(--sh-s);
}

.pe-icon {
  font-size: 20px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--violet-xl);
  border-radius: 10px;
  flex-shrink: 0;
}

.pe-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.pe-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── FEATURES ───────────────────────────────────────────── */
.features {
  background: var(--grad-feat);
}

/* Grille 3 colonnes desktop — cards identiques et compactes */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-card {
  background: rgba(255, 255, 255, .72);
  border: 1.5px solid var(--border-v);
  border-radius: var(--r-l);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, background .2s;
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .feat-card {
  background: rgba(26, 22, 36, .7);
}

.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-m);
  background: rgba(255, 255, 255, .92);
}

[data-theme="dark"] .feat-card:hover {
  background: rgba(30, 24, 40, .9);
}

.feat-card:nth-child(1) {
  border-top: 3px solid var(--violet-dd);
}

.feat-card:nth-child(2) {
  border-top: 3px solid var(--violet);
}

.feat-card:nth-child(3) {
  border-top: 3px solid var(--violet-l);
}

.feat-card:nth-child(4) {
  border-top: 3px solid var(--violet-dd);
}

.feat-card:nth-child(5) {
  border-top: 3px solid var(--violet);
}

.feat-card:nth-child(6) {
  border-top: 3px solid var(--violet-l);
}

.feat-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}

.feat-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* Section conteneur pour grille + dots mobile */
.cards-section {
  position: relative;
}

/* App features */
.app-feats-section {
  margin-top: 72px;
}

.app-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.app-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, .6);
  border: 1.5px solid var(--border-v);
  border-radius: var(--r-m);
  padding: 20px;
  backdrop-filter: blur(8px);
  transition: transform .2s, box-shadow .2s;
}

[data-theme="dark"] .app-feat {
  background: rgba(26, 22, 36, .6);
}

.app-feat:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-s);
}

.app-feat-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-feat h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}

.app-feat p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── PROFILS ────────────────────────────────────────────── */
.profils {
  background: var(--grad-profil);
}

.profils-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.profils-content>p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 380px;
}

.profils-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.profils-tags span {
  font-size: 12px;
  font-weight: 500;
  color: var(--violet-d);
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--border-v);
  border-radius: 50px;
  padding: 5px 12px;
  backdrop-filter: blur(4px);
}

[data-theme="dark"] .profils-tags span {
  background: rgba(30, 24, 40, .6);
}

.profils-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profil-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .75);
  border: 1.5px solid var(--border-v);
  border-radius: var(--r-m);
  padding: 14px 18px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .profil-card {
  background: rgba(26, 22, 36, .7);
}

.profil-card:hover {
  transform: translateX(5px);
  box-shadow: var(--sh-s);
  background: rgba(255, 255, 255, .95);
}

[data-theme="dark"] .profil-card:hover {
  background: rgba(30, 24, 40, .95);
}

.profil-em {
  font-size: 26px;
  flex-shrink: 0;
}

.profil-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.profil-card p {
  font-size: 12px;
  color: var(--text-3);
}

/* ── TARIFS ─────────────────────────────────────────────── */
.tarifs {
  background: var(--grad-feat);
}

.tarifs-label {
  margin-bottom: 24px;
}

.tarifs-label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--violet-d);
  background: var(--violet-xl);
  border: 1px solid var(--border-v);
  border-radius: 50px;
  padding: 6px 16px;
}

/* Grille 3 colonnes */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tarif-card {
  background: var(--surface);
  border: 1.5px solid var(--border-v);
  border-radius: var(--r-l);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

.tarif-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-m);
}

.tarif-premium {
  border-color: var(--violet);
  border-width: 2px;
  box-shadow: 0 0 0 1px var(--violet-ll), var(--sh-m);
}

.tarif-badge-top {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--violet-dd), var(--violet));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.tarif-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tarif-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--violet-xl);
  border-radius: 12px;
  flex-shrink: 0;
}

.tarif-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.tarif-sub {
  font-size: 11px;
  color: var(--text-3);
}

.tarif-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tarif-amount {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -2px;
  font-family: 'Lora', serif;
  background: linear-gradient(135deg, var(--violet-dd), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tarif-period {
  font-size: 14px;
  color: var(--text-3);
}

.tarif-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tarif-features li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

.tarif-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tarif-tags span {
  font-size: 11px;
  font-weight: 500;
  color: var(--violet-d);
  background: var(--violet-xl);
  border: 1px solid var(--border-v);
  border-radius: 50px;
  padding: 3px 9px;
}

.tarif-ideal {
  font-size: 12px;
  color: var(--violet-d);
  font-style: italic;
  line-height: 1.5;
}

/* Card "à venir" — titre visible, contenu flouté */
.tarif-coming {
  overflow: hidden;
}

.tarif-coming .tarif-head {
  /* toujours visible */
  position: relative;
  z-index: 2;
}

.tarif-coming-blur {
  filter: blur(4px);
  opacity: .5;
  pointer-events: none;
  user-select: none;
}

.tarif-coming-badge-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 4px;
}

.tarif-coming-badge {
  background: var(--violet-xl);
  border: 1.5px solid var(--border-v);
  color: var(--violet-dd);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: var(--sh-s);
}

[data-theme="dark"] .tarif-coming-badge {
  color: var(--violet-l);
}

/* ── VALEURS ────────────────────────────────────────────── */
.valeurs {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.valeur-card {
  background: var(--grad-feat);
  border: 1.5px solid var(--border-v);
  border-radius: var(--r-l);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s;
}

.valeur-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-m);
}

.valeur-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.valeur-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}

.valeur-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── DOWNLOAD ───────────────────────────────────────────── */
.download {
  background: var(--grad-dl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  top: -200px;
  left: -100px;
  pointer-events: none;
}

.download-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}

.download-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2), 0 0 0 3px rgba(255, 255, 255, .2);
}

.download .eyebrow {
  color: rgba(255, 255, 255, .7);
}

.download .section-title {
  color: #fff;
}

.download em {
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(221, 214, 245, .9));
  -webkit-background-clip: text;
  background-clip: text;
}

.download-inner>p {
  font-size: 17px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.7;
  margin-bottom: 40px;
}

.store-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .15);
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: var(--r-m);
  padding: 14px 24px;
  transition: all .2s;
  min-width: 160px;
  backdrop-filter: blur(8px);
}

.store-btn:hover {
  background: rgba(255, 255, 255, .25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.store-icon-wrap {
  font-size: 26px;
}

.store-info small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, .6);
}

.store-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.download-note {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border-v);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 240px;
  margin-top: 14px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-2);
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--violet-d);
}

.footer-bottom {
  border-top: 1px solid var(--border-v);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-3);
}

/* ── Reveal ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: .08s;
}

.reveal-d2 {
  transition-delay: .16s;
}

.reveal-d3 {
  transition-delay: .24s;
}

/* ── Doc pages (roadmap, privacy…) ─────────────────────── */
.doc-hero {
  padding: 140px 0 72px;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--border-v);
}

.doc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--violet-d);
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--border-v);
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.doc-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}

.doc-meta {
  font-size: 14px;
  color: var(--text-3);
}

.doc-body {
  padding: 72px 0;
}

.doc-body h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 52px 0 14px;
  padding-top: 52px;
  border-top: 1px solid var(--border-v);
}

.doc-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.doc-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 8px;
}

.doc-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 14px;
}

.doc-body ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.doc-body ul li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 6px;
}

.doc-body a {
  color: var(--violet-d);
}

.doc-body a:hover {
  text-decoration: underline;
}

.doc-body strong {
  color: var(--text);
  font-weight: 600;
}

.doc-highlight {
  background: var(--violet-xl);
  border: 1px solid var(--border-v);
  border-radius: var(--r-m);
  padding: 22px 26px;
  margin: 28px 0;
}

.doc-highlight p {
  margin: 0;
  color: var(--text-2);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */

/* ── Tablet 768–1023 ───────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 24px;
  }

  .hero-container {
    padding: 0 24px;
  }

  .nav {
    padding: 0 24px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-screens-mobile {
    display: none;
  }

  .hero-screens {
    display: flex;
    justify-content: center;
    margin-top: 32px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .pe-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profils-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profils-list {
    flex-direction: column;
  }

  .tarifs-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .valeurs-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  /* Jamais de carrousel sur tablette — dots cachés */
  .mob-dots {
    display: none !important;
  }
}

/* ── Mobile <768 ───────────────────────────────────────── */
@media (max-width: 767px) {

  /* Nav */
  .nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  /* Sections */
  section {
    padding: 64px 0;
  }

  .container {
    padding: 0 16px;
  }

  .container-narrow {
    padding: 0 16px;
  }

  .section-title {
    font-size: clamp(24px, 7vw, 34px);
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* Hero — overflow définitivement corrigé */
  .hero {
    min-height: auto;
    padding-top: 68px;
  }

  .hero::before {
    display: none;
  }

  .hero-container {
    padding: 0 16px;
    overflow: hidden;
    /* bloque les blobs, ne touche pas au carrousel qui est dehors */
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 28px 0 16px;
  }

  .hero-screens {
    display: none;
  }

  .hero-screens-mobile {
    display: block;
  }

  /* hero-content : s'assure que tout tient dans la colonne */
  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-tag {
    font-size: 11px;
    padding: 4px 10px;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(24px, 7vw, 36px);
    letter-spacing: -.3px;
  }

  /* max-width: 420px overridé ici */
  .hero-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
  }

  /* Boutons : colonne, pleine largeur, ne débordent pas */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 12px 16px;
    box-sizing: border-box;
  }

  .hero-langs {
    gap: 5px;
  }

  .lang-pill {
    font-size: 11px;
    padding: 3px 8px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 20px 12px;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat-n {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .stat-l {
    font-size: 12px;
  }

  /* Pourquoi exister */
  .pe-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pe-intro {
    max-width: 100%;
  }

  /* Features carrousel */
  .feat-grid.mob-scroll {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 16px 8px;
    gap: 12px;
  }

  .feat-grid.mob-scroll::-webkit-scrollbar {
    display: none;
  }

  .feat-grid.mob-scroll .feat-card {
    flex: 0 0 240px;
    width: 240px;
    scroll-snap-align: start;
    min-height: 0;
  }

  /* App features carrousel */
  .app-feat-grid.mob-scroll {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 16px 8px;
    gap: 12px;
  }

  .app-feat-grid.mob-scroll::-webkit-scrollbar {
    display: none;
  }

  .app-feat-grid.mob-scroll .app-feat {
    flex: 0 0 240px;
    width: 240px;
    scroll-snap-align: start;
    flex-direction: column;
    gap: 10px;
  }

  /* Profils — on passe en colonne sur mobile, carrousel */
  .profils-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profils-content>p {
    max-width: 100%;
  }

  .profils-cards-section {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  /* Liste profils — carrousel mobile */
  .profils-list:not(.mob-scroll) {
    flex-direction: column;
  }

  .profils-list.mob-scroll {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 16px 8px;
    gap: 10px;
    width: 100%;
  }

  .profils-list.mob-scroll::-webkit-scrollbar {
    display: none;
  }

  .profils-list.mob-scroll .profil-card {
    flex: 0 0 200px;
    width: 200px;
    min-width: 0;
    scroll-snap-align: start;
  }

  /* Tarifs carrousel */
  .tarifs-grid.mob-scroll {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 12px 16px 8px;
    gap: 12px;
    align-items: stretch;
  }

  .tarifs-grid.mob-scroll::-webkit-scrollbar {
    display: none;
  }

  .tarifs-grid.mob-scroll .tarif-card {
    flex: 0 0 280px;
    width: 280px;
    scroll-snap-align: center;
  }

  /* Valeurs */
  .valeurs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .valeur-card {
    padding: 22px 18px;
  }

  /* Footer */
  .footer {
    padding-top: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 16px 0;
  }

  /* Download */
  .store-btns {
    flex-direction: column;
    align-items: center;
  }

  .download-inner>p {
    font-size: 14px;
    margin-bottom: 24px;
  }
}