/* ==========================================================================
   SCEALIA — MASTER STYLESHEET
   ========================================================================== */

/* ─── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
  --nuit: #12263E;
  --profond: #224460;
  --turquoise: #78B4CD;
  --teal: #148287;
  --cream: #F8F5EE;
  /* card white (cool cream) */
  --cream-2: #ECE7DC;
  /* surfaces */
  --cream-3: #E1DAC9;
  /* panel */
  --border: #DAD4C6;
  --text: #12263E;
  --muted: #65686B;
  --sub: #8A8B8A;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --r-lg: 16px;
  --r-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* Page légale (mentions légales) : interligne de base hérité de la page d'origine */
body.legal-page {
  line-height: 1.7;
}

a {
  color: inherit;
}

/* Reset img propre à la page légale uniquement (les pages index/À propos
   n'avaient pas de reset img global — le mockup téléphone d'index fixe sa
   propre largeur de 390px qu'un max-width global casserait). */
.legal-page img {
  max-width: 100%;
  display: block;
}

/* ─── SCROLL PROGRESS BAR ────────────────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--turquoise), var(--teal));
  width: 0%;
  z-index: 200;
  transition: width .1s linear;
}

/* ─── HEADER & NAVIGATION ────────────────────────────────────────────────── */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 238, 0.85);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

/* Nom de marque en texte (police titre premium), point du « i » en bleu */
.brand-wordmark {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  color: var(--nuit);
  font-weight: 400;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

/* « ı » sans point (dans le HTML), surmonté d'une pastille bleue */
.brand-i {
  position: relative;
}

.brand-i::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0.30em;
  width: 0.14em;
  height: 0.14em;
  border-radius: 50%;
  background: #4a8b8b;
  transform: translateX(-50%);
}

.brand-text h1 {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--nuit);
  font-weight: 400;
  margin: 0;
}

.brand-text p {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--profond);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 3px;
}

nav.top ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav.top ul a {
  color: var(--profond);
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav.top ul a:hover {
  color: var(--nuit);
}

nav.top ul a.active {
  color: var(--teal);
}

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

.lang-toggle {
  display: flex;
  background: var(--cream-2);
  border-radius: 100px;
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-toggle button {
  background: none;
  border: none;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 100px;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--sans);
  transition: all 0.2s;
}

.lang-toggle button.active {
  background: var(--nuit);
  color: var(--cream);
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--nuit);
  color: var(--cream);
  padding: 11px 22px;
  border-radius: 100px;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(18, 38, 62, 0.18);
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--profond);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(18, 38, 62, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--nuit);
  padding: 11px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--nuit);
  background: var(--cream-2);
}

/* ─── BREADCRUMBS ────────────────────────────────────────────────────────── */
.breadcrumb {
  background: var(--cream-2);
  border-bottom: 1px solid var(--border);
  padding: 10px 48px;
}

.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.breadcrumb-inner a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.breadcrumb-inner a:hover {
  color: var(--teal);
}

.breadcrumb-inner .sep {
  color: var(--sub);
  font-size: 10px;
}

.breadcrumb-inner .current {
  color: var(--nuit);
  font-weight: 600;
}

/* ─── LANDING PAGE: HERO & PHONE MOCKUP ──────────────────────────────────── */
.hero {
  position: relative;
  padding: 72px 48px 120px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

.hero .hero-text {
  grid-column: 2;
}

.hero .phone-wrap {
  grid-column: 1;
  grid-row: 1;
  margin-top: 56px;
  align-self: start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: none;
}

.hero>*:not(.hero-bg) {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--profond);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(120, 180, 205, 0.15);
  border-radius: 100px;
  border: 1px solid rgba(120, 180, 205, 0.35);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.hero h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--nuit);
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero h2 em {
  color: var(--teal);
  font-style: italic;
}

.hero p.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero .cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero .trust {
  display: flex;
  gap: 28px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 520px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-item .big {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--nuit);
  line-height: 1;
}

.trust-item .sm {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub);
  font-weight: 500;
}

/* PHONE MOCKUP DETAILS */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
}

.phone-frame {
  width: 320px;
  height: 660px;
  background: #1a1a1a;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 50px 80px -20px rgba(18, 38, 62, 0.38),
    0 20px 40px -10px rgba(18, 38, 62, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(-4deg);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #000;
  border-radius: 14px;
  z-index: 4;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}

.phone-screen iframe,
.phone-screen img.phone-img {
  width: 390px;
  height: 844px;
  border: 0;
  display: block;
  transform-origin: top left;
  transform: scale(0.759);
  pointer-events: none;
}

.phone-screen img.phone-img {
  object-fit: contain;
}

.ps-hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 290px;
  background: linear-gradient(165deg, #12263E 0%, #1c3650 100%);
  border-radius: 36px 36px 26px 26px;
  overflow: hidden;
}

.ps-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(120, 180, 205, 0.18) 0%, transparent 55%);
}

.ps-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 28px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #F8F5EE;
  z-index: 3;
}

.ps-status .dots {
  display: flex;
  gap: 5px;
  opacity: 0.85;
}

.ps-status .dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.ps-brand {
  position: absolute;
  top: 56px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ps-brand-mark {
  width: 18px;
  height: 21px;
  color: rgba(248, 245, 238, 0.9);
}

.ps-brand-text h6 {
  font-family: var(--serif);
  font-size: 14px;
  color: #F8F5EE;
  line-height: 1;
  font-weight: 400;
}

.ps-brand-text p {
  font-size: 6.5px;
  letter-spacing: 0.18em;
  color: rgba(120, 180, 205, 0.95);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 2px;
}

.ps-welcome {
  position: absolute;
  top: 96px;
  left: 22px;
  right: 22px;
}

.ps-welcome .eyebrow-mini {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--turquoise);
  margin-bottom: 8px;
}

.ps-welcome h2 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #F8F5EE;
  font-weight: 400;
  margin-bottom: 8px;
}

.ps-welcome h2 em {
  font-style: italic;
  color: var(--turquoise);
}

.ps-stats {
  position: absolute;
  top: 218px;
  left: 22px;
  right: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  z-index: 3;
}

.ps-stat {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(120, 180, 205, 0.25);
  border-radius: 14px;
  padding: 10px 8px;
}

.ps-stat .num {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: #F8F5EE;
  margin-bottom: 4px;
}

.ps-stat .lbl {
  font-size: 7px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(248, 245, 238, 0.7);
  font-weight: 500;
  line-height: 1.2;
}

.ps-body {
  position: absolute;
  top: 304px;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 20px;
  background: #F8F5EE;
  border-radius: 22px 22px 0 0;
  z-index: 2;
}

.ps-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.ps-action {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 11px 10px;
}

.ps-action.primary {
  background: var(--nuit);
  border-color: var(--nuit);
  color: var(--cream);
}

.ps-action .row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.ps-action .ico-sq {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 180, 205, 0.18);
}

.ps-action.primary .ico-sq {
  background: rgba(120, 180, 205, 0.22);
}

.ps-action h6 {
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  color: var(--nuit);
  margin: 0;
}

.ps-action.primary h6 {
  color: var(--cream);
}

.ps-action p {
  font-size: 8px;
  color: var(--sub);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.ps-action.primary p {
  color: rgba(248, 245, 238, 0.7);
}

.ps-section-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--profond);
  margin-bottom: 8px;
}

.ps-section-h .pill {
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px 7px;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.ps-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ps-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.ps-item .it-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-item .it-text {
  flex: 1;
  min-width: 0;
}

.ps-item h6 {
  font-size: 10px;
  font-weight: 600;
  color: var(--nuit);
  line-height: 1.2;
  margin-bottom: 2px;
}

.ps-item p {
  font-size: 7.5px;
  color: var(--sub);
  letter-spacing: 0.02em;
}

.ps-item .it-cta {
  background: var(--nuit);
  color: var(--cream);
  border-radius: 100px;
  padding: 4px 9px;
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.phone-glow {
  display: none;
}

.phone-tag {
  position: absolute;
  top: 20%;
  left: -40px;
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(18, 38, 62, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  animation: float 5s ease-in-out infinite;
}

.phone-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.phone-tag .txt {
  font-size: 11px;
}

.phone-tag .txt strong {
  display: block;
  color: var(--nuit);
  font-weight: 600;
}

.phone-tag .txt span {
  color: var(--sub);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.phone-tag2 {
  position: absolute;
  bottom: 18%;
  right: -30px;
  background: var(--nuit);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(18, 38, 62, 0.35);
  z-index: 2;
  animation: float 5s ease-in-out infinite 1.5s;
}

.phone-tag2 .eyebrow-sm {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--turquoise);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 3px;
}

.phone-tag2 .title {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ─── LANDING PAGE: SECTIONS COMMUNE ─────────────────────────────────────── */
section {
  padding: 100px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.sec-head .eyebrow {
  margin-bottom: 20px;
}

.sec-head h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--nuit);
  margin-bottom: 16px;
  text-wrap: balance;
}

.sec-head h3 em {
  color: var(--teal);
  font-style: italic;
}

.sec-head p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: balance;
}

/* HOW IT WORKS SECTION */
section.how {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(120, 180, 205, 0.18) 0%, transparent 70%),
    var(--cream-2);
  color: var(--text);
  max-width: none;
  padding: 110px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  max-width: 1280px;
  margin: 0 auto;
}

section.how .sec-head h3 {
  color: var(--nuit);
}

section.how .sec-head h3 em {
  color: var(--teal);
}

section.how .sec-head p {
  color: var(--muted);
}

section.how .eyebrow {
  color: var(--profond);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
}

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

.how-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px 30px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.how-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 180, 205, 0.5);
  box-shadow: 0 20px 40px rgba(18, 38, 62, 0.08);
}

.how-step {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--turquoise);
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.65;
}

.how-card h4 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--nuit);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  font-weight: 400;
}

.how-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.how-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(120, 180, 205, 0.18);
  border: 1px solid rgba(120, 180, 205, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 28px;
  right: 28px;
}

/* LANDING PAGE: USE CASES GRID */
section.cases {
  background: var(--cream);
  padding: 110px 48px;
  max-width: none;
}

.cases-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.cases .sec-head {
  margin-bottom: 48px;
}

.case-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.case-feature:hover {
  border-color: rgba(120, 180, 205, 0.5);
  box-shadow: 0 20px 40px rgba(18, 38, 62, 0.08);
}

.case-feature-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.case-shot {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-2);
}

.case-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-shot .tag-corner {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px 10px;
  color: var(--profond);
  font-weight: 500;
}

.case-shot .date-corner {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 11px;
  background: var(--cream);
  border-radius: 100px;
  padding: 2px 8px;
  color: var(--muted);
}

.case-feature-body {
  padding: 36px 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-feature-body h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--nuit);
  line-height: 1.12;
  margin: 14px 0 8px;
}

.case-feature-body>p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 20px;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.reliability {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.reliability .bar {
  width: 7px;
  height: 15px;
  border-radius: 2px;
  background: var(--teal);
}

.reliability .label {
  font-size: 12px;
  color: var(--muted);
  margin-left: 5px;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--teal);
  font-weight: 500;
}

.cert-badge svg {
  width: 15px;
  height: 15px;
}

.case-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--profond);
  background: rgba(120, 180, 205, 0.15);
  border: 1px solid rgba(120, 180, 205, 0.35);
  border-radius: 100px;
  padding: 4px 12px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.case-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  text-decoration: none;
  display: block;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 180, 205, 0.5);
  box-shadow: 0 16px 32px rgba(18, 38, 62, 0.08);
}

.case-card .thumb {
  aspect-ratio: 3/2;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--cream-2);
}

.case-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-card h5 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  color: var(--nuit);
  line-height: 1.15;
  margin: 12px 0 4px;
}

.case-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

.case-card--exclu {
  border: 1px solid var(--teal);
  background: var(--cream);
  /* Carte vedette : occupe 2 colonnes, mise en page horizontale (visuel | texte) */
  grid-column: span 2;
  display: flex;
  gap: 18px;
}

.case-card--exclu .thumb {
  flex: 0 0 46%;
  aspect-ratio: auto;
  margin-bottom: 0;
}

.case-card--exclu .exclu-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}

/* Texte valorisé pour remplir l'espace de la carte vedette (2 colonnes) */
.case-card--exclu .exclu-flag {
  font-size: 10.5px;
  padding: 5px 13px;
  margin-bottom: 12px;
}

.case-card--exclu .case-tag {
  font-size: 11px;
  padding: 5px 13px;
  margin-bottom: 14px;
}

.case-card--exclu h5 {
  font-size: 21px;
  margin: 0 0 10px;
}

.case-card--exclu p {
  font-size: 15px;
  line-height: 1.6;
}

.case-card--exclu .exclu-flag {
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--teal);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 14px;
  align-self: flex-start;
  box-shadow: 0 2px 6px rgba(20, 130, 135, 0.15);
}

.case-card--more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  background: var(--cream-2);
  border-style: dashed;
}

.case-card--more .more-ico svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.case-card--more strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--nuit);
}

.case-card--more .sub {
  font-size: 13px;
  color: var(--muted);
}

.case-card--more .more-link {
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.case-card--more .more-link svg {
  width: 14px;
  height: 14px;
}

/* SECURITY DETAILS SECTION */
.security {
  background: linear-gradient(160deg, var(--profond), var(--nuit));
  color: var(--cream);
  max-width: none;
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
}

.security::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.5;
}

.security::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 180, 205, 0.25) 0%, transparent 60%);
  filter: blur(50px);
}

.security-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.security .sec-head h3,
.security .sec-head h3 em {
  color: var(--cream);
}

.security .sec-head h3 em {
  color: var(--turquoise);
}

.security .sec-head p {
  color: rgba(248, 245, 238, 0.7);
}

.security .eyebrow {
  color: var(--turquoise);
  background: rgba(120, 180, 205, 0.15);
  border-color: rgba(120, 180, 205, 0.35);
}

.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.sec-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(120, 180, 205, 0.2);
  border-radius: 18px;
  padding: 24px 22px 22px;
  transition: background 0.3s, border-color 0.3s;
}

.sec-tile:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(120, 180, 205, 0.45);
}

.sec-tile .sec-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(120, 180, 205, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sec-tile h5 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.sec-tile p {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(248, 245, 238, 0.65);
}

.sec-chain {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(120, 180, 205, 0.2);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.sec-chain .left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sec-chain .left .badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--turquoise), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(20, 130, 135, 0.35);
}

.sec-chain .left h5 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream);
  font-weight: 400;
}

.sec-chain .left p {
  font-size: 13px;
  color: rgba(248, 245, 238, 0.65);
  margin-top: 2px;
}

.chain-networks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chain-pill {
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(120, 180, 205, 0.12);
  border: 1px solid rgba(120, 180, 205, 0.3);
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--turquoise);
  text-transform: uppercase;
}

/* FAQ STYLING */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--profond);
  box-shadow: 0 8px 24px rgba(18, 38, 62, 0.08);
}

.faq-item summary {
  padding: 22px 26px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--nuit);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.005em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 26px;
  color: var(--muted);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--teal);
}

.faq-item .answer {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 640px;
}

.faq-item .answer strong {
  color: var(--nuit);
}

/* CONTACT STYLING */
#contact {
  padding: 100px 48px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.contact-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 10px 40px rgba(18, 38, 62, 0.05);
  transition: all 0.3s;
}

.contact-wrap:hover {
  box-shadow: 0 20px 45px rgba(18, 38, 62, 0.08);
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--profond);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  outline: none;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--nuit);
  transition: all 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--sub);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--cream);
  box-shadow: 0 0 0 4px rgba(20, 130, 135, 0.1);
}

.contact-form .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
}

.contact-status {
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  display: none;
  text-align: center;
}

.contact-status.success {
  display: block;
  background: rgba(20, 130, 135, 0.1);
  color: var(--teal);
  border: 1px solid rgba(20, 130, 135, 0.25);
}

.contact-status.error {
  display: block;
  background: rgba(211, 47, 47, 0.1);
  color: #D32F2F;
  border: 1px solid rgba(211, 47, 47, 0.25);
}

/* FINAL CTA & WAITLIST FORM */
.cta-final {
  background: linear-gradient(180deg, var(--cream) 0%, #E6DECC 100%);
  padding: 110px 48px;
  text-align: center;
  max-width: none;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 130, 135, 0.12) 0%, transparent 70%);
  filter: blur(50px);
}

.cta-final-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.cta-final h3 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--nuit);
  margin-bottom: 18px;
  font-weight: 400;
  text-wrap: balance;
}

.cta-final h3 em {
  color: var(--teal);
  font-style: italic;
}

.cta-final p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 5px 5px 22px;
  box-shadow: 0 8px 20px rgba(18, 38, 62, 0.08);
}

.gdpr-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--sub);
  text-align: left;
  cursor: pointer;
  width: 100%;
  padding: 0 10px;
}

.gdpr-checkbox input {
  margin-top: 2.5px;
  flex-shrink: 0;
}

.gdpr-checkbox a {
  color: var(--teal);
  text-decoration: none;
}

.gdpr-checkbox a:hover {
  text-decoration: underline;
}

.newsletter-form input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--nuit);
}

.newsletter-form input::placeholder {
  color: var(--sub);
}

.newsletter-form button {
  background: var(--nuit);
  color: var(--cream);
  border: none;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: var(--profond);
}

.cta-small {
  font-size: 12px;
  color: var(--sub);
  margin-top: 20px;
  letter-spacing: 0.02em;
}

/* ─── TWO-COLUMN ARTICLE LAYOUT FRAMEWORK ───────────────────────────────── */
.layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 48px 64px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* SIDEBAR Sommaire */
.toc-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--profond);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-left: 12px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-list li {
  margin: 0;
}

.toc-list a {
  display: block;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 1.4;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.toc-list a:hover {
  background: var(--cream-2);
  color: var(--nuit);
}

.toc-list a.active {
  background: var(--cream-2);
  color: var(--nuit);
  font-weight: 600;
  border-left-color: var(--teal);
  padding-left: 12px;
}

/* SIDEBAR CARDS */
.sidebar-card {
  background: linear-gradient(150deg, var(--nuit) 0%, var(--profond) 100%);
  border-radius: 20px;
  padding: 24px;
  color: var(--cream);
  box-shadow: 0 10px 30px rgba(18, 38, 62, 0.15);
}

.sidebar-card .sc-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--turquoise);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.sidebar-card .sc-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 10px;
  font-weight: 400;
}

.sidebar-card .sc-body {
  font-size: 14.5px;
  color: var(--cream-2);
  line-height: 1.5;
  margin-bottom: 18px;
}

.btn-sidebar {
  display: block;
  text-align: center;
  background: var(--turquoise);
  color: var(--nuit);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(120, 180, 205, 0.25);
}

.btn-sidebar:hover {
  background: var(--cream);
  color: var(--nuit);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

.sidebar-info {
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
}

.sidebar-info .si-title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--nuit);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.sidebar-info a {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-info a:hover {
  color: var(--nuit);
}

/* ─── ABOUT PAGE SPECIFIC LAYOUT STYLING ─────────────────────────────────── */
.about-body {
  min-width: 0;
}

.about-body section {
  padding: 0;
  margin: 0 0 44px;
  max-width: none;
}

.about-hero {
  margin-bottom: 40px;
}

.about-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--nuit);
  margin: 16px 0 18px;
}

.about-hero h1 em {
  color: var(--teal);
  font-style: italic;
}

.about-hero .lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
}

.about-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(120, 180, 205, 0.15);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(120, 180, 205, 0.3);
}

.about-block {
  margin: 0 0 44px;
}

.about-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--nuit);
  margin: 0 0 16px;
  scroll-margin-top: 100px;
}

.about-block p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 16px;
}

.about-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pullquote {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.4;
  font-style: italic;
  color: var(--nuit);
  border-left: 3px solid var(--teal);
  padding: 6px 0 6px 24px;
  margin: 16px 0 44px;
}

.team-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.team-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--profond);
  background: rgba(120, 180, 205, 0.15);
  border: 1px solid rgba(120, 180, 205, 0.35);
  border-radius: 100px;
  padding: 6px 14px;
}

.team-tag svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.value-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 180, 205, 0.5);
  box-shadow: 0 16px 32px rgba(18, 38, 62, 0.07);
}

.value-card .ico svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.value-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--nuit);
  margin: 14px 0 6px;
}

.value-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.ethics-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.ethics-note .ico svg {
  width: 24px;
  height: 24px;
  color: var(--profond);
  flex-shrink: 0;
}

.ethics-note h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--nuit);
  margin: 0 0 8px;
}

.ethics-note p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* ─── MENTIONS LEGALES SPECIFIC DETAILS STYLING ─────────────────────────── */
.article-hero {
  background: linear-gradient(165deg, var(--nuit) 0%, var(--profond) 100%);
  color: var(--cream);
  padding: 64px 48px 56px;
  position: relative;
  overflow: hidden;
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(120, 180, 205, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.article-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(120, 180, 205, 0.15);
  color: var(--turquoise);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(120, 180, 205, 0.3);
}

.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  max-width: 800px;
  margin-bottom: 16px;
}

.article-hero p.lead {
  font-size: 16px;
  color: var(--cream-2);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.article-meta span {
  color: rgba(248, 245, 238, 0.7);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-verified {
  background: rgba(120, 180, 205, 0.2);
  color: var(--turquoise);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(120, 180, 205, 0.3);
}

.legal-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal-section {
  scroll-margin-top: 100px;
}

.legal-section h2 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--nuit);
  margin-bottom: 16px;
  font-weight: 400;
}

.legal-section p {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.legal-section ul,
.legal-section ol {
  margin-left: 20px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15.5px;
}

.legal-section li {
  margin-bottom: 8px;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 24px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.legal-table th,
.legal-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  background: var(--cream-2);
  font-weight: 600;
  color: var(--nuit);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

/* MENTIONS LEGALES — ARTICLE BODY TYPOGRAPHY (scoped to .legal-page only,
   because the À propos page reuses the .article-body class). */
.legal-page .article-body h2 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--nuit);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  line-height: 1.3;
  font-weight: 400;
  scroll-margin-top: 100px;
}

.legal-page .article-body h2:first-of-type {
  margin-top: 0;
}

.legal-page .article-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--profond);
  margin: 32px 0 14px;
  font-weight: 400;
  scroll-margin-top: 100px;
}

.legal-page .article-body p {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

.legal-page .article-body strong {
  font-weight: 600;
  color: var(--nuit);
}

.legal-page .article-body ul,
.legal-page .article-body ol {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 17px;
}

.legal-page .article-body li {
  margin-bottom: 8px;
}

.legal-page .article-body li::marker {
  color: var(--teal);
}

.legal-page .article-body a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px dashed var(--teal);
  transition: all 0.2s;
}

.legal-page .article-body a:hover {
  color: var(--nuit);
  border-bottom-style: solid;
}

/* MENTIONS LEGALES — CONTENT BOXES (info / warning) */
.legal-page .box {
  border-radius: 0 16px 16px 0;
  padding: 18px 24px;
  margin: 28px 0;
  border-left: 4px solid;
}

.legal-page .box-info {
  background: rgba(120, 180, 205, 0.12);
  border-color: var(--turquoise);
}

.legal-page .box-info .box-title {
  color: var(--profond);
}

.legal-page .box-warning {
  background: rgba(20, 130, 135, 0.08);
  border-color: var(--teal);
}

.legal-page .box-warning .box-title {
  color: var(--teal);
}

.legal-page .box-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-page .box p {
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 0;
  color: var(--text);
}

.legal-page .box ol {
  margin-bottom: 0;
  margin-top: 10px;
}

/* MENTIONS LEGALES — layout spacing override (preserve original legal page rhythm) */
.layout.layout-legal {
  padding: 64px 48px;
}

/* CGU — tableaux de contenu + badge (page CGU, scopé .legal-page) */
.legal-page .cgu-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
  text-align: left;
}

.legal-page .cgu-table th,
.legal-page .cgu-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
}

.legal-page .cgu-table th {
  background-color: var(--cream-2);
  color: var(--nuit);
  font-weight: 600;
}

.legal-page .cgu-table tr:nth-child(even) {
  background-color: rgba(236, 231, 220, 0.3);
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--nuit);
  color: var(--cream);
  padding: 70px 48px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand-text h1 {
  color: var(--cream);
}

.footer-brand .brand-text p {
  color: rgba(120, 180, 205, 0.8);
}

.footer-brand .tagline {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream);
  margin-top: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 280px;
}

.footer-brand .tagline em {
  color: var(--turquoise);
  font-style: italic;
}

.footer-col h6 {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(248, 245, 238, 0.72);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--cream);
}

.footer-bottom {
  max-width: 1280px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(120, 180, 205, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(248, 245, 238, 0.5);
  font-size: 12px;
}

.footer-bottom .legal {
  display: flex;
  gap: 24px;
}

.footer-bottom .legal a {
  color: rgba(248, 245, 238, 0.6);
  text-decoration: none;
}

/* ─── RESPONSIVE BREAKPOINTS MEDIA QUERIES ───────────────────────────────── */
@media (max-width: 1200px) {
  .hero {
    gap: 40px;
    padding: 72px 40px;
  }

  .hero h2 {
    font-size: 60px;
  }
}

@media (max-width: 1100px) {
  .hero {
    padding: 56px 32px 96px;
    gap: 24px;
  }

  .phone-frame {
    transform: rotate(-3deg) scale(0.85);
    transform-origin: top center;
  }

  .hero .phone-wrap {
    margin-top: 24px;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }

  .hero .hero-text {
    grid-column: 1;
    grid-row: 1;
    margin: 0 auto;
  }

  .hero .phone-wrap {
    grid-column: 1;
    grid-row: 2;
    margin-top: 40px;
  }

  .hero p.lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .cta-row {
    justify-content: center;
  }

  .hero .trust {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .phone-frame {
    transform: rotate(0) scale(0.9);
    margin: 0 auto;
  }

  .phone-tag {
    left: 10px;
  }

  .phone-tag2 {
    right: 10px;
  }

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

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

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
    padding: 24px 24px;
    gap: 32px;
  }

  .layout.layout-legal {
    padding: 40px 24px;
    gap: 48px;
  }

  .sidebar {
    position: static;
    width: 100%;
    gap: 24px;
  }

  /* Page légale : la barre de nav et le pied de page se replient dès 960px
     (les pages index / À propos, elles, se replient à 768px — d'où le scope). */
  .legal-page nav.top {
    padding: 14px 24px;
  }

  .legal-page nav.top ul {
    display: none;
  }

  .legal-page nav.top .btn-primary {
    display: none;
  }

  .legal-page .breadcrumb {
    padding: 10px 24px;
  }

  .legal-page footer {
    padding: 48px 24px 32px;
  }

  .legal-page .footer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .legal-page .footer-brand .tagline {
    margin: 24px auto 0;
  }

  .legal-page .footer-bottom {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 40px;
  }

  .legal-page .footer-bottom .legal {
    gap: 16px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  nav.top {
    padding: 14px 20px;
  }

  nav.top ul {
    display: none;
  }

  nav.top .btn-primary {
    display: none;
  }

  .phone-tag,
  .phone-tag2 {
    display: none;
  }

  .hero h2 {
    font-size: clamp(40px, 10vw, 54px);
  }

  .hero p.lede {
    font-size: 16px;
  }

  section {
    padding: 64px 20px;
  }

  section.cases {
    padding: 72px 24px;
  }

  .case-feature {
    grid-template-columns: 1fr;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .sec-grid {
    grid-template-columns: 1fr;
  }

  .sec-chain {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .sec-chain .left {
    flex-direction: column;
  }

  .chain-networks {
    justify-content: center;
  }

  .faq-item summary {
    font-size: 17px;
    padding: 18px 20px;
  }

  .faq-item .answer {
    padding: 0 20px 20px;
    font-size: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-wrap {
    padding: 32px 24px;
  }

  .cta-final h3 {
    font-size: 34px;
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: 24px;
    padding: 8px;
    gap: 12px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .newsletter-form input {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 14px 20px;
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
    padding: 14px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .footer-brand .tagline {
    margin: 24px auto 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 40px;
  }

  .footer-bottom .legal {
    gap: 16px;
    justify-content: center;
  }

  .about-grid2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 32px 16px 64px;
  }

  .hero h2 {
    font-size: 38px;
  }

  .phone-frame {
    width: 280px;
    height: 580px;
  }

  .phone-screen img.phone-img {
    transform: scale(0.66);
  }

  .phone-tag,
  .phone-tag2 {
    display: none;
  }

  .hero .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .hero .cta-row .btn-primary,
  .hero .cta-row .btn-ghost {
    width: 100%;
    justify-content: center;
  }

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

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-card--exclu {
    grid-column: span 1;
    flex-direction: column;
    gap: 0;
  }

  .case-card--exclu .thumb {
    flex: none;
    width: 100%;
    aspect-ratio: 3/2;
    margin-bottom: 14px;
  }

  .case-feature-body {
    padding: 24px;
  }

  .case-feature-body h4 {
    font-size: 21px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .ethics-note {
    flex-direction: column;
    gap: 12px;
  }
}

/* ─── NOS OFFRES ─────────────────────────────────────────────────────────── */
section.offers {
  background: var(--cream);
  padding: 110px 48px;
  max-width: none;
}

.offers-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.offers .sec-head {
  margin-bottom: 48px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.offer-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px 30px 24px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.offer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 180, 205, 0.5);
  box-shadow: 0 20px 40px rgba(18, 38, 62, 0.08);
}

.offer-card--feature {
  border: 2px solid var(--teal);
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(20, 130, 135, 0.07) 0%, transparent 55%),
    var(--cream);
  box-shadow: 0 14px 36px rgba(18, 38, 62, 0.07);
}

.offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  min-height: 46px;
}

.offer-head .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(120, 180, 205, 0.15);
  border: 1px solid rgba(120, 180, 205, 0.35);
  flex-shrink: 0;
}

.offer-head .ico svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.offer-card--feature .offer-head .ico {
  background: var(--teal);
  border-color: var(--teal);
}

.offer-card--feature .offer-head .ico svg {
  color: var(--cream);
}

.offer-badge {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 100px;
  padding: 5px 13px;
  box-shadow: 0 2px 8px rgba(20, 130, 135, 0.22);
}

.offer-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--nuit);
  margin: 0 0 8px;
}

.offer-card > p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 20px;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.offer-list li::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.offer-card .offer-socle {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--sub);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin: 16px 0 0;
}

.offers-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--sub);
  margin: 24px 0 0;
}

@media (max-width: 768px) {
  section.offers {
    padding: 72px 24px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }
}

/* TOAST NOTIFICATION STYLES */
.scealia-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 380px;
  width: calc(100% - 48px);
}

.scealia-toast {
  pointer-events: auto;
  background: rgba(248, 245, 238, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(20, 130, 135, 0.2);
  border-left: 4px solid var(--teal);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 36px rgba(18, 38, 62, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.scealia-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.scealia-toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(20, 130, 135, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.scealia-toast-icon svg {
  width: 14px;
  height: 14px;
}

.scealia-toast-content {
  flex: 1;
}

.scealia-toast-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--nuit);
  margin-bottom: 2px;
}

.scealia-toast-msg {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.scealia-toast-close {
  background: none;
  border: none;
  color: var(--sub);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.scealia-toast-close:hover {
  color: var(--nuit);
}

.scealia-toast-close svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 480px) {
  .scealia-toast-container {
    bottom: 16px;
    right: 16px;
    width: calc(100% - 32px);
  }
}

