/* ============================================================
   T-life — pages publiques (Home / About / Contact)
   Feuille partagée : une seule grammaire visuelle pour les trois pages
   (avant : trois <style> inline avec trois palettes différentes et une
   police « Montserrat » jamais chargée). Aucune ressource distante :
   polices système, icônes SVG inline — utilisable hors ligne (O07).
   ============================================================ */

/* Pages vitrine : toujours en clair (palette marketing propre, non prévue
   pour le mode sombre). Les tokens du thème sont re-déclarés sur <body>, ce
   qui l'emporte sur l'héritage des valeurs sombres posées sur :root ; le
   bouton de bascule du thème est masqué ici. */
.site-page {
  color-scheme: light;
  --primary-color: #2c3e50;
  --secondary-color: #1f6fa8;
  --secondary-color-dark: #185783;
  --accent-color: #c63f35;
  --text-color: #2c3e50;
  --text-muted: #5b6573;
  --border-color: #d8dee6;
  --bg-color: #ffffff;
  --bg-soft: #f4f7fb;
  --surface: #ffffff;
  --surface-inverse: #2c3e50;
  --app-bg: #f6f8fb;
  --header-bg: rgba(255, 255, 255, .96);
}

.site-page {
  --tl-navy: #0b1f3a;
  --tl-navy-2: #13315c;
  --tl-blue: #1f6fa8;
  --tl-blue-2: #3b8fd9;
  --tl-teal: #17a397;
  --tl-coral: #e8735a;
  --tl-ink: #16233a;
  --tl-muted: #5b6573;
  --tl-bg: #f6f8fb;
  --tl-surface: #ffffff;
  --tl-border: #e3e9f1;
  --tl-radius: 20px;
  --tl-radius-sm: 12px;
  --tl-shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --tl-shadow-lg: 0 24px 60px rgba(11, 31, 58, .16);
  --tl-grad: linear-gradient(120deg, var(--tl-blue) 0%, var(--tl-teal) 100%);
  --tl-max: 1180px;
  background: var(--tl-bg);
  color: var(--tl-ink);
}

/* Le <main> des pages publiques est pleine largeur : chaque section gère
   son conteneur pour permettre les bandeaux bord à bord. */
.site-page .site-main { max-width: none; width: 100%; margin: 0; padding: 0; }
.tl-container { width: min(100% - 2rem, var(--tl-max)); margin-inline: auto; }
.tl-container--narrow, .tl-container-narrow { width: min(100% - 2rem, 860px); margin-inline: auto; }

/* En-tête : léger flou au défilement (base.html garde sa structure). */
.site-page > header {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow .25s ease;
}
.site-page > header.is-scrolled { box-shadow: 0 10px 30px rgba(11, 31, 58, .12); }

/* ----- Typographie ----- */
.tl-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .32rem .8rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(31, 111, 168, .1); color: var(--tl-blue);
}
.tl-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tl-title {
  font-family: var(--font-heading);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.08;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  color: var(--tl-navy); margin: .9rem 0 .8rem;
}
.tl-title .tl-grad-text {
  background: var(--tl-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tl-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.7; color: var(--tl-muted); max-width: 62ch; }
.tl-section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.tl-section-head .tl-lead { margin-inline: auto; }
.tl-section-head--left { margin-inline: 0; text-align: left; }

/* ----- Sections ----- */
.tl-section { padding: clamp(3.25rem, 7vw, 5.75rem) 0; }
.tl-section--surface { background: var(--tl-surface); border-block: 1px solid var(--tl-border); }
.tl-section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

/* ----- Boutons ----- */
.tl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.45rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.tl-btn svg { width: 18px; height: 18px; flex: none; }
.tl-btn--primary { background: var(--tl-grad); color: #fff; box-shadow: 0 12px 26px rgba(31, 111, 168, .32); }
.tl-btn--primary:hover, .tl-btn--primary:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31, 111, 168, .4); color: #fff; }
.tl-btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); }
.tl-btn--ghost:hover, .tl-btn--ghost:focus-visible { background: rgba(255, 255, 255, .22); color: #fff; }
.tl-btn--outline { background: transparent; color: var(--tl-blue); border-color: var(--tl-blue); }
.tl-btn--outline:hover, .tl-btn--outline:focus-visible { background: var(--tl-blue); color: #fff; }
.tl-btn--light { background: #fff; color: var(--tl-navy); }
.tl-btn--light:hover, .tl-btn--light:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }

/* ----- Hero ----- */
.tl-hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff;
  background:
    radial-gradient(60% 80% at 85% 15%, rgba(59, 143, 217, .55), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(23, 163, 151, .45), transparent 60%),
    linear-gradient(135deg, var(--tl-navy) 0%, var(--tl-navy-2) 60%, #0e3a6a 100%);
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.tl-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
}
.tl-hero .tl-eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.tl-hero .tl-title { color: #fff; }
.tl-hero .tl-lead { color: rgba(255, 255, 255, .84); }
.tl-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tl-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.tl-hero--center { text-align: center; }
.tl-hero--center .tl-lead { margin-inline: auto; }
.tl-hero--center .tl-hero-actions { justify-content: center; }
.tl-hero--compact { padding: clamp(2.75rem, 6vw, 4.5rem) 0; }

.tl-hero-visual { position: relative; }
.tl-hero-frame {
  position: relative; border-radius: var(--tl-radius); overflow: hidden;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38); padding: .6rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform: rotate(-1.2deg);
}
.tl-hero-frame img { display: block; width: 100%; height: auto; border-radius: calc(var(--tl-radius) - 6px); }
.tl-hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .85rem; border-radius: 14px; background: #fff; color: var(--tl-navy);
  font-size: .82rem; font-weight: 700; box-shadow: var(--tl-shadow-lg);
}
.tl-hero-chip svg { width: 18px; height: 18px; color: var(--tl-teal); }
.tl-hero-chip--tl { top: -1rem; left: -1rem; }
.tl-hero-chip--br { bottom: -1rem; right: -.5rem; }

.tl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2.2rem; }
.tl-stat {
  padding: 1rem 1.1rem; border-radius: var(--tl-radius-sm);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
}
.tl-stat strong { display: block; font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tl-stat span { font-size: .84rem; color: rgba(255, 255, 255, .78); }

/* ----- Bandeau de confiance ----- */
.tl-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem; }
.tl-trust-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tl-muted); }
.tl-trust-item {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem;
  border-radius: 999px; background: var(--tl-surface); border: 1px solid var(--tl-border);
  font-weight: 700; color: var(--tl-navy); font-size: .92rem;
}
.tl-trust-item small { font-weight: 600; color: var(--tl-muted); }

/* ----- Grilles & cartes ----- */
.tl-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tl-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.tl-card {
  position: relative; display: flex; flex-direction: column; gap: .6rem;
  padding: 1.6rem 1.5rem; border-radius: var(--tl-radius);
  background: var(--tl-surface); border: 1px solid var(--tl-border); box-shadow: var(--tl-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--tl-shadow-lg); border-color: rgba(31, 111, 168, .35); }
.tl-card h3 { font-size: 1.15rem; margin: 0; color: var(--tl-navy); }
.tl-card p { margin: 0; color: var(--tl-muted); line-height: 1.65; }
.tl-card--soft { background: linear-gradient(180deg, #fbfdff, #f3f7fc); }
.tl-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--tl-grad); color: #fff; box-shadow: 0 10px 22px rgba(31, 111, 168, .3);
}
.tl-icon svg { width: 26px; height: 26px; }
.tl-icon--coral { background: linear-gradient(120deg, var(--tl-coral), #f0a06a); box-shadow: 0 10px 22px rgba(232, 115, 90, .3); }
.tl-icon--navy { background: linear-gradient(120deg, var(--tl-navy-2), var(--tl-blue)); }
.tl-list { margin: .4rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem; color: var(--tl-muted); }
.tl-list li { position: relative; padding-left: 1.45rem; line-height: 1.55; }
.tl-list li::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--tl-grad);
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12'/></svg>");
}
.tl-pill {
  display: inline-block; padding: .2rem .6rem; border-radius: 999px; margin-left: .35rem; vertical-align: middle;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(31, 111, 168, .1); color: var(--tl-blue);
}
.tl-kicker { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tl-teal); }

/* ----- Étapes (comment ça marche) ----- */
.tl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; position: relative; counter-reset: step; }
.tl-steps::before {
  content: ''; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--tl-blue-2), var(--tl-teal), transparent); opacity: .6;
}
.tl-step { text-align: center; padding: 0 .5rem; }
.tl-step-num {
  counter-increment: step; width: 68px; height: 68px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.35rem; color: #fff;
  background: var(--tl-grad); box-shadow: 0 0 0 8px var(--tl-bg), 0 12px 26px rgba(31, 111, 168, .35);
  position: relative;
}
.tl-step-num::before { content: counter(step); }
.tl-step h3 { font-size: 1.1rem; margin: 0 0 .35rem; color: var(--tl-navy); }
.tl-step p { margin: 0; color: var(--tl-muted); }

/* ----- Produits ----- */
.tl-product { padding: 0; overflow: hidden; }
.tl-product-media {
  height: 200px; display: grid; place-items: center; padding: 1.25rem;
  background: radial-gradient(70% 90% at 50% 100%, rgba(31, 111, 168, .18), transparent), linear-gradient(180deg, #eef4fb, #f8fbff);
  border-bottom: 1px solid var(--tl-border);
}
.tl-product-media img { max-height: 100%; max-width: 78%; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(11, 31, 58, .18)); transition: transform .3s ease; }
.tl-card:hover .tl-product-media img { transform: scale(1.04); }
.tl-product-body { padding: 1.35rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; }

/* ----- Bandeau de métriques ----- */
.tl-metrics { background: linear-gradient(135deg, var(--tl-navy), var(--tl-navy-2)); color: #fff; }
.tl-metrics .tl-grid { text-align: center; }
.tl-metric strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  background: linear-gradient(120deg, #fff, #9fd6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-metric span { display: block; margin-top: .4rem; color: rgba(255, 255, 255, .8); line-height: 1.5; }

/* ----- Manifeste (Ambition & impact) ----- */
.tl-manifesto { background: linear-gradient(135deg, var(--tl-navy), var(--tl-navy-2)); color: #fff; }
.tl-manifesto .tl-eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.tl-manifesto-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tl-manifesto-title {
  font-family: var(--font-heading); font-weight: 800; letter-spacing: -.02em; line-height: 1.12;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: #fff; margin: 1rem 0 1rem; text-wrap: balance;
}
.tl-manifesto-text { font-size: 1.05rem; line-height: 1.75; color: rgba(255, 255, 255, .84); margin: 0; max-width: 58ch; }
.tl-manifesto-note { margin: 1.4rem 0 0; padding-left: 1rem; border-left: 3px solid var(--tl-teal); font-size: .92rem; line-height: 1.6; color: rgba(255, 255, 255, .7); max-width: 52ch; }
.tl-impact { list-style: none; margin: 0; padding: 0; }
.tl-impact li { display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; align-items: start; padding: 1.35rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.tl-impact li:first-child { border-top: 0; padding-top: 0; }
.tl-impact li:last-child { padding-bottom: 0; }
.tl-impact h3 { font-size: 1.08rem; margin: .15rem 0 .3rem; color: #fff; }
.tl-impact p { margin: 0; color: rgba(255, 255, 255, .76); line-height: 1.6; }
.tl-impact-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
}
.tl-impact-icon svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .tl-manifesto-grid { grid-template-columns: 1fr; } }

/* ----- Sous-titre du hero ----- */
.tl-hero-tagline { font-family: var(--font-heading); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; color: rgba(255, 255, 255, .92); margin: 0 0 .8rem; letter-spacing: -.005em; }

/* ----- Chiffres du problème ----- */
.tl-figures { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
.tl-figures li { display: grid; gap: .2rem; padding-left: .9rem; border-left: 3px solid var(--tl-teal); }
.tl-figures strong { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: var(--tl-navy); font-variant-numeric: tabular-nums; }
.tl-figures span { font-size: .9rem; color: var(--tl-muted); line-height: 1.5; }
.tl-grid--center { align-items: center; }

/* ----- Figures (images légendées) ----- */
.tl-figure { margin: 0; }
.tl-figure img { display: block; width: 100%; height: auto; border-radius: var(--tl-radius); box-shadow: var(--tl-shadow-lg); border: 1px solid var(--tl-border); background: #fff; }
.tl-figure figcaption { margin-top: .75rem; font-size: .88rem; color: var(--tl-muted); line-height: 1.55; }
.tl-figure--diagram { max-width: 760px; margin: 0 auto 2rem; }
.tl-figure--diagram img { box-shadow: none; border: 0; background: transparent; padding: .5rem 1rem; }

/* ----- Étapes à quatre colonnes ----- */
.tl-steps--4 { grid-template-columns: repeat(4, 1fr); }
.tl-steps--4::before { left: 10%; right: 10%; }

/* ----- Maladies ciblées ----- */
.tl-diseases { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.tl-diseases li { padding: 1rem 1.2rem; border-radius: var(--tl-radius-sm); background: var(--tl-bg); border: 1px solid var(--tl-border); display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: baseline; }
.tl-diseases h3 { margin: 0; font-size: 1.05rem; color: var(--tl-navy); }
.tl-diseases p { margin: 0; color: var(--tl-muted); font-size: .92rem; }

/* ----- Tableau comparatif ----- */
.tl-table-wrap { overflow-x: auto; border-radius: var(--tl-radius-sm); border: 1px solid var(--tl-border); background: #fff; }
.tl-compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tl-compare th, .tl-compare td { padding: .8rem 1rem; text-align: left; border-top: 1px solid var(--tl-border); }
.tl-compare thead th { border-top: 0; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tl-muted); background: var(--tl-bg); }
.tl-compare tbody th { font-weight: 600; color: var(--tl-navy); }
.tl-compare td { color: var(--tl-muted); }
.tl-compare td.yes { color: var(--tl-teal); font-weight: 800; }

/* ----- Faits clés (About) ----- */
.tl-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tl-facts li { display: grid; gap: .25rem; padding: 1.2rem 1.3rem; border-radius: var(--tl-radius); background: var(--tl-surface); border: 1px solid var(--tl-border); box-shadow: var(--tl-shadow); }
.tl-facts strong { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: var(--tl-navy); font-variant-numeric: tabular-nums; }
.tl-facts span { font-size: .9rem; color: var(--tl-muted); line-height: 1.5; }

/* ----- Partenaires ----- */
.tl-partners { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tl-partners li { padding: .6rem 1rem; border-radius: 999px; background: var(--tl-bg); border: 1px solid var(--tl-border); font-weight: 700; color: var(--tl-navy); font-size: .92rem; }

@media (max-width: 960px) {
  .tl-steps--4 { grid-template-columns: 1fr; }
  .tl-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tl-figures { grid-template-columns: 1fr; }
  .tl-facts { grid-template-columns: 1fr; }
}

/* ----- Bandeau d'appel à l'action ----- */
.tl-cta {
  position: relative; overflow: hidden; border-radius: calc(var(--tl-radius) + 6px);
  padding: clamp(2.25rem, 5vw, 3.5rem); color: #fff; text-align: center;
  background: radial-gradient(70% 120% at 90% 0%, rgba(23, 163, 151, .55), transparent 60%), linear-gradient(135deg, var(--tl-blue), var(--tl-navy-2));
  box-shadow: var(--tl-shadow-lg);
}
.tl-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .6rem; }
.tl-cta p { color: rgba(255, 255, 255, .84); max-width: 60ch; margin: 0 auto 1.5rem; }
.tl-cta .tl-hero-actions { justify-content: center; margin-top: 0; }

/* ----- Chronologie ----- */
.tl-timeline { position: relative; display: grid; gap: 1.1rem; padding-left: 2.1rem; }
.tl-timeline::before { content: ''; position: absolute; left: 11px; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(180deg, var(--tl-blue-2), var(--tl-teal)); }
.tl-timeline-item { position: relative; }
.tl-timeline-item::before {
  content: ''; position: absolute; left: -2.1rem; top: 1.25rem; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 4px solid var(--tl-blue); box-shadow: 0 0 0 4px var(--tl-bg);
}
.tl-timeline-item .tl-card { padding: 1.2rem 1.35rem; }

/* ----- Contact ----- */
.tl-contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; align-items: start; }
.tl-form { display: grid; gap: 1rem; }
.tl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tl-field { display: grid; gap: .35rem; }
.tl-field label { font-weight: 700; font-size: .92rem; color: var(--tl-navy); }
.tl-field label .req { color: var(--tl-coral); }
.site-page .tl-field :where(input, textarea) {
  width: 100%; min-height: 48px; padding: .75rem .95rem; border-radius: var(--tl-radius-sm);
  border: 1.5px solid var(--tl-border); background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background .2s;
}
.site-page .tl-field textarea { min-height: 150px; resize: vertical; }
.site-page .tl-field :where(input, textarea):focus { outline: none; border-color: var(--tl-blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 111, 168, .15); }
.tl-check { display: flex; align-items: flex-start; gap: .65rem; font-size: .9rem; color: var(--tl-muted); }
.tl-check input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--tl-blue); }
.tl-contact-line { display: flex; align-items: center; gap: .8rem; padding: .85rem 0; border-top: 1px solid var(--tl-border); }
.tl-contact-line:first-of-type { border-top: 0; }
.tl-contact-line a { color: var(--tl-blue); font-weight: 700; text-decoration: none; word-break: break-all; }
.tl-contact-line a:hover { text-decoration: underline; }
.tl-contact-line .tl-icon { width: 42px; height: 42px; border-radius: 12px; }
.tl-contact-line .tl-icon svg { width: 20px; height: 20px; }
.tl-form-note { font-size: .85rem; color: var(--tl-muted); }

/* ----- Pied de page public ----- */
.tl-footer { background: var(--tl-navy); color: rgba(255, 255, 255, .8); padding: 3.25rem 0 1.5rem; margin-top: auto; }
.tl-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tl-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .9rem; }
.tl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.tl-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; margin: 0; transition: color .2s; }
.tl-footer a:hover { color: #fff; }
.tl-footer-brand img { height: 42px; width: auto; background: #fff; border-radius: 10px; padding: 4px; }
.tl-footer-brand p { margin: .9rem 0 0; max-width: 40ch; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.tl-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* ----- Apparition au défilement -----
   Caché seulement sous .js-reveal, posée par public.js une fois le suivi du
   défilement en place : un script bloqué, retardé ou en erreur (navigateur
   Norton, 2026-10-21 : pages publiques vides) laisse tout le contenu affiché. */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal.is-static { opacity: 1; transform: none; }

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .tl-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .tl-hero-grid .tl-lead { margin-inline: auto; }
  .tl-hero-actions { justify-content: center; }
  .tl-hero-visual { max-width: 560px; margin: 1rem auto 0; }
  .tl-steps { grid-template-columns: 1fr; gap: 2rem; }
  .tl-steps::before { display: none; }
  .tl-contact-grid { grid-template-columns: 1fr; }
  .tl-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tl-stats { grid-template-columns: 1fr; }
  .tl-form-row { grid-template-columns: 1fr; }
  .tl-footer-grid { grid-template-columns: 1fr; }
  .tl-hero-chip { display: none; }
  .tl-hero-frame { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .tl-card, .tl-btn, .tl-product-media img { transition: none; }
}

/* ----- Photographie, figures scientifiques et illustrations publiques ----- */
.site-page :where(.tl-hero-grid, .tl-contact-hero-grid, .tl-grid, .tl-contact-grid) > * { min-width: 0; }
.site-page :where(h1, h2, h3, [id]) { scroll-margin-top: 100px; }
.site-page .tl-hero .tl-grad-text,
.site-page .tl-manifesto .tl-grad-text {
  background: none; color: #9adcd0;
}
.tl-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tl-hero-grid--home { row-gap: 2.2rem; }
.tl-hero-grid--home > .tl-showcase { grid-column: 2; grid-row: 1; }
.tl-hero-visual { width: 100%; margin: 0; }
.tl-showcase {
  overflow: hidden; border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px; background: #fff; color: var(--tl-ink);
  box-shadow: 0 28px 65px rgba(0, 12, 28, .28); text-align: left;
}
.tl-showcase-topline {
  display: flex; align-items: center; gap: .55rem; padding: 1rem 1.25rem;
  color: #456170; font-size: .69rem; font-weight: 750; letter-spacing: .08em;
  text-transform: uppercase; background: #f7fafb;
}
.tl-status-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #168478; }
.tl-image-link { position: relative; display: block; overflow: hidden; cursor: zoom-in; color: #fff; }
.tl-image-link img { display: block; width: 100%; height: auto; }
.tl-image-link:focus-visible { outline-offset: -4px; outline-color: #e8b45d; }
.tl-image-zoom {
  position: absolute; bottom: .85rem; right: .85rem; display: flex; align-items: center;
  gap: .45rem; padding: .55rem .7rem; border-radius: 7px; color: #fff;
  background: rgba(11, 31, 58, .9); border: 1px solid rgba(255, 255, 255, .25);
  font-size: .73rem; font-weight: 650; line-height: 1.2;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .14); transition: background .2s ease;
}
.tl-image-zoom svg { width: 15px; height: 15px; flex: 0 0 15px; }
.tl-image-link:hover .tl-image-zoom { background: #185e65; }
.tl-showcase-caption {
  display: grid; gap: .3rem; padding: 1.3rem 1.4rem; background: #fff;
}
.tl-showcase-caption .tl-kicker { color: #26766d; font-size: .68rem; }
.tl-showcase-caption strong { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.35; font-weight: 650; }
.tl-showcase-caption > span:last-child { color: var(--tl-muted); font-size: .8rem; }
.tl-showcase-flow {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0; margin: 0; border-top: 1px solid var(--tl-border); background: #f7faf9;
}
.tl-showcase-flow li {
  padding: 1rem 1.15rem; display: grid; grid-template-columns: auto 1fr;
  gap: .12rem .55rem; align-items: baseline;
}
.tl-showcase-flow li + li { border-left: 1px solid var(--tl-border); }
.tl-showcase-flow li > span { grid-row: span 2; color: #40857d; font-size: .66rem; font-weight: 750; }
.tl-showcase-flow strong { font-size: .86rem; font-weight: 650; }
.tl-showcase-flow small { color: #65757e; font-size: .71rem; }
.tl-photo-story, .tl-contact-photo {
  overflow: hidden; border: 1px solid var(--tl-border); border-radius: 16px;
  background: #fff; box-shadow: 0 14px 40px rgba(11, 31, 58, .08);
}
.tl-photo-story img { border: 0; border-radius: 0; box-shadow: none; }
.tl-photo-story figcaption, .tl-contact-photo figcaption {
  display: grid; gap: .4rem; margin: 0; padding: 1.15rem 1.35rem;
  font-size: .86rem; line-height: 1.6; color: var(--tl-muted);
}
.tl-photo-story .tl-kicker, .tl-contact-photo .tl-kicker { color: #26766d; font-size: .69rem; }
.tl-hero--editorial { padding-block: clamp(3rem, 5.5vw, 5rem); }
.tl-hero--editorial .tl-title { font-size: clamp(2rem, 3.35vw, 2.9rem); line-height: 1.15; }
.tl-text-link {
  display: inline-flex; gap: .8rem; align-items: center; padding-block: .7rem;
  margin-top: .8rem; color: #d3ece7; font-size: .91rem; font-weight: 650;
  text-decoration: none; border-bottom: 1px solid rgba(211, 236, 231, .42);
}
.tl-text-link:hover { color: #fff; border-color: #fff; }
.tl-text-link span { font-size: 1.2rem; }
.tl-story-grid .tl-card { box-shadow: none; border-radius: 8px; border-top: 3px solid #b4d9d0; }

/* DOM-based captions keep the optical principle readable at every size. */
.tl-twin-figure {
  margin: 0 0 2rem; padding: clamp(1.15rem, 3vw, 2.4rem);
  background: #fff; border: 1px solid #dce8e8; border-radius: 18px;
}
.tl-twin-heading, .tl-figure-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tl-twin-heading .tl-kicker { color: #466c70; font-size: .72rem; }
.tl-figure-ref { color: #77868f; font-size: .65rem; letter-spacing: .12em; white-space: nowrap; }
.tl-twin-equation {
  display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
  gap: .6rem; align-items: center; padding-block: 1.5rem;
}
.tl-twin-channel { text-align: center; min-width: 0; }
.tl-cell-stage { display: grid; place-items: center; width: 100%; max-width: 230px; margin: 0 auto .8rem; }
.tl-cell-stage svg { display: block; width: 100%; height: auto; }
.tl-twin-channel h3 { font-size: 1.2rem; font-weight: 650; margin: 0 0 .3rem; color: #24485e; }
.tl-twin-channel p { color: #647681; margin: 0; font-size: .86rem; }
.tl-twin-channel--result h3 { color: #1b756b; }
.tl-twin-operator { font-size: 2rem; color: #a48b5c; text-align: center; padding-bottom: 2.8rem; font-weight: 300; }
.tl-twin-figure > figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem;
  padding-top: 1rem; border-top: 1px solid #e4edec; font-size: .82rem; color: #5c7078;
}
.tl-twin-figure > figcaption span { color: #70828b; font-size: .75rem; }
.tl-science-figure { margin-top: 2.5rem; padding: clamp(.9rem, 2.5vw, 1.8rem); border: 1px solid #dce6e8; border-radius: 18px; background: #fff; }
.tl-figure-heading { margin-bottom: 1.35rem; }
.tl-figure-heading .tl-kicker { color: #34786f; font-size: .7rem; }
.tl-figure-heading h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; margin: .3rem 0 0; }
.tl-science-image { border-radius: 5px; background: #fff; }
.tl-science-image img { border: 0; box-shadow: none; border-radius: 0; }
.tl-science-image .tl-image-zoom { position: static; width: fit-content; margin: .85rem 0 0 auto; }
.tl-science-caption { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid var(--tl-border); padding-top: 1.2rem; }
.tl-science-caption > span { display: grid; gap: .3rem; font-size: .8rem; }
.tl-science-caption strong { font-size: .92rem; font-weight: 650; color: #24485e; }

/* Product visuals use a common frame without cropping the scientific images. */
.tl-product-media { position: relative; height: 230px; }
.tl-product-media--photo { padding: 0; background: #eceeea; }
.tl-product-media--photo img { width: 100%; max-width: 100%; height: 100%; object-fit: contain; filter: none; }
.tl-product-media--software { padding: 2.8rem 1rem 1rem; background: #e9f0f3; }
.tl-product-media--software img { width: 100%; height: 100%; max-width: 320px; object-fit: contain; filter: none; }
.tl-product-number {
  position: absolute; top: .75rem; left: .85rem; z-index: 1; padding: .15rem .45rem;
  border: 1px solid rgba(66, 91, 100, .18); border-radius: 4px;
  background: rgba(255, 255, 255, .93); color: #49616c; font-size: .65rem; font-weight: 750; letter-spacing: .09em;
}
.tl-product-media--analysis { background: #102c40; padding: 1rem; }
.tl-product-media--analysis .tl-product-number { color: #bdddd7; background: #193b4e; border-color: #496574; }
.tl-analysis-art { width: 100%; display: grid; text-align: center; align-content: center; gap: .3rem; }
.tl-analysis-art svg { display: block; width: 100%; max-height: 175px; }
.tl-analysis-art > span { color: #bfdcd9; font-size: .67rem; letter-spacing: .025em; }
.tl-card:hover .tl-product-media img { transform: none; }

/* The ecosystem is a conceptual illustration, independent of partner logos. */
.tl-ecosystem-panel { padding: 1.75rem; border: 1px solid #dce7e5; border-radius: 16px; background: #f7faf9; }
.tl-ecosystem-figure { padding-bottom: 1.5rem; margin-bottom: 1.6rem; border-bottom: 1px solid #dce7e5; }
.tl-ecosystem-orbits { position: relative; width: 240px; height: 190px; max-width: 100%; margin: 0 auto; display: grid; place-items: center; }
.tl-ecosystem-orbits > span { position: absolute; width: 185px; height: 90px; border: 1px solid #75aca4; border-radius: 50%; transform: rotate(-30deg); }
.tl-ecosystem-orbits > span:nth-child(2) { border-color: #9db5c7; transform: rotate(30deg); }
.tl-ecosystem-orbits > span:nth-child(3) { border-color: #baa171; transform: rotate(90deg); }
.tl-ecosystem-orbits > strong { position: relative; width: 83px; height: 83px; display: grid; place-content: center; border-radius: 50%; text-align: center; background: #15384a; color: #e3efeb; font-size: .9rem; line-height: 1.3; font-weight: 550; box-shadow: 0 0 0 7px #f7faf9; }
.tl-ecosystem-figure figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.15rem; color: #486471; font-size: .72rem; }
.tl-ecosystem-figure figcaption span::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: .4rem; border-radius: 50%; background: #75aca4; }
.tl-ecosystem-figure figcaption span:nth-child(2)::before { background: #9db5c7; }
.tl-ecosystem-figure figcaption span:nth-child(3)::before { background: #baa171; }

/* Contact: a compact illustration leaves the actual form close to the hero. */
.tl-hero--contact { padding-block: clamp(2.5rem, 4.5vw, 4rem); }
.tl-contact-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tl-hero--contact .tl-title { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.tl-conversation { padding: 1.3rem; margin: 0; border: 1px solid rgba(186, 223, 220, .3); border-radius: 16px; background: rgba(10, 32, 48, .48); text-align: left; }
.tl-conversation-label { display: flex; align-items: center; gap: .5rem; font-size: .67rem; letter-spacing: .055em; color: #c3dfdc; }
.tl-conversation-label .tl-status-dot { background: #9adcd0; }
.tl-conversation-scene { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; padding: 1.35rem 0; }
.tl-conversation-note { background: #f3f8f6; border-radius: 10px; padding: .85rem .65rem; color: #33576a; text-align: center; }
.tl-conversation-note--team { background: #e0eeea; }
.tl-conversation-note > span { font-size: .83rem; font-weight: 700; }
.tl-conversation-note svg { display: block; width: 100%; max-width: 120px; height: auto; margin: .25rem auto; }
.tl-conversation-note small { display: block; color: #58727a; font-size: .62rem; line-height: 1.5; }
.tl-conversation-connection { color: #b9a16c; padding-inline: 3px; }
.tl-conversation-connection svg { display: block; width: 100%; }
.tl-conversation figcaption { color: #c5dbdc; font-size: .85rem; text-align: center; font-weight: 400; }
.tl-conversation figcaption strong { color: #fff; font-weight: 600; }
.tl-contact-photo { margin: 0 0 1.25rem; }
.tl-contact-form-card:hover { transform: none; box-shadow: var(--tl-shadow); border-color: var(--tl-border); }

/* Accessible native dialog. Links still open the image without JavaScript. */
.tl-image-dialog {
  position: fixed; inset: 0; width: min(1400px, calc(100vw - 3rem));
  height: calc(100vh - 3rem); height: calc(100dvh - 3rem); max-width: none; max-height: none;
  margin: auto; padding: 0; border: 1px solid #4c6374; border-radius: 14px;
  background: #102333; color: #f3f7fa; box-shadow: 0 30px 100px rgba(0, 0, 0, .4);
}
.tl-image-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.tl-image-dialog::backdrop { background: rgba(4, 13, 22, .86); }
.tl-image-dialog-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid #324858; }
.tl-image-dialog-title { margin: 0 auto 0 0; font-size: .9rem; font-weight: 600; color: #f3f7fa; }
.tl-image-dialog button, .tl-image-original-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .85rem; border: 1px solid #6b8190; border-radius: 6px; color: #eef4f7; background: #233d50; font: inherit; font-size: .81rem; cursor: pointer; text-decoration: none; }
.tl-image-dialog button:hover, .tl-image-original-link:hover { background: #35586d; color: #fff; }
.tl-image-dialog button:focus-visible, .tl-image-original-link:focus-visible { outline-color: #a8ded0; outline-offset: 3px; }
.tl-image-dialog-viewport { min-height: 0; overflow: auto; padding: 1rem; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; background: #0c1a26; overscroll-behavior: contain; }
.tl-image-dialog-viewport img { display: block; min-width: 0; min-height: 0; width: 100%; height: 100%; object-fit: scale-down; }
.tl-image-dialog.is-full-size .tl-image-dialog-viewport { display: block; }
.tl-image-dialog.is-full-size .tl-image-dialog-viewport img { width: auto; height: auto; max-width: none; max-height: none; margin: 0 auto; }
.tl-image-dialog-caption { padding: .9rem 1.1rem; color: #d1dee5; font-size: .84rem; line-height: 1.5; }
.tl-image-dialog-error { color: #e9d0ac; padding: 1rem; text-align: center; }
.tl-image-dialog [hidden] { display: none !important; }
.site-page.has-image-dialog { overflow: hidden; }

@media (max-width: 960px) {
  .tl-hero-grid, .tl-contact-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .tl-hero-grid--home > .tl-showcase { grid-column: 1; grid-row: auto; }
  .tl-hero-visual { max-width: 640px; margin: 0 auto; }
  .tl-contact-hero-grid .tl-hero-text { text-align: center; }
  .tl-contact-hero-grid .tl-lead { margin-inline: auto; }
  .tl-conversation { width: 100%; max-width: 480px; margin-inline: auto; }
  .tl-contact-grid { max-width: 720px; }
  .tl-hero-grid .tl-stats { margin-bottom: .8rem; }
}
@media (max-width: 600px) {
  .tl-showcase-topline { padding: .8rem 1rem; font-size: .62rem; }
  .tl-showcase-caption { padding: 1.1rem; }
  .tl-showcase-flow li { padding: .85rem .65rem; gap: .1rem .3rem; }
  .tl-showcase-flow strong { font-size: .8rem; }
  .tl-twin-heading { align-items: flex-start; }
  .tl-twin-heading .tl-figure-ref { display: none; }
  .tl-twin-equation { grid-template-columns: minmax(0, 1fr); gap: .75rem; padding-block: 1.3rem; }
  .tl-twin-channel { display: grid; grid-template-columns: 100px minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 1.1rem; text-align: left; align-items: end; }
  .tl-cell-stage { grid-row: 1 / 3; margin: 0; }
  .tl-twin-channel h3 { font-size: 1.15rem; margin: 0; }
  .tl-twin-channel p { align-self: start; padding-top: .25rem; font-size: .8rem; }
  .tl-twin-operator { padding: 0; margin: -.7rem 0; width: 100px; font-size: 1.8rem; }
  .tl-twin-operator--arrow { transform: rotate(90deg); }
  .tl-science-caption { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  .tl-science-caption > span { grid-template-columns: 95px minmax(0, 1fr); align-items: baseline; }
  .tl-figure-heading { gap: .7rem; }
  .tl-figure-ref { font-size: .58rem; }
  .tl-ecosystem-panel { padding: 1.25rem; }
  .tl-contact-grid { gap: 1.25rem; }
  .tl-image-dialog { width: calc(100vw - 1rem); height: calc(100vh - 1rem); height: calc(100dvh - 1rem); border-radius: 10px; }
  .tl-image-dialog-toolbar { gap: .5rem; padding: .65rem; }
  .tl-image-dialog-title { flex-basis: 100%; }
  .tl-image-dialog button, .tl-image-original-link { padding-inline: .65rem; }
  .tl-image-dialog-viewport { padding: .5rem; }
  .tl-image-dialog-caption { font-size: .78rem; padding: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-image-zoom { transition: none; }
}

/* Contact honeypot (audit 2026-09-22 C.6): off-screen, never shown to people. */
.tl-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
