/* =========================================================================
   LANDING PAGE — VizoraMail
   Feuille de style dédiée à la page d'accueil publique (accueil.html).
   Reprend l'identité de l'application : marine + teal, Josefin Sans.
   ========================================================================= */
:root {
  --navy:        #1f3a5f;
  --navy-fonce:  #16293f;
  --navy-nuit:   #0e1c2e;
  --navy-clair:  #2c4f7c;
  --teal:        #2dd4bf;
  --teal-fonce:  #14b8a6;
  --texte:       #1f2937;
  --texte-doux:  #5b6675;
  --fond:        #f7f9fb;
  --carte:       #ffffff;
  --bordure:     #e3e8ee;
  --rayon:       16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.landing {
  font-family: "Inter", system-ui, "Segoe UI", Arial, sans-serif;
  background: var(--fond);
  color: var(--texte);
  line-height: 1.6;
  overflow-x: hidden;
}

.conteneur {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; }

/* Apparition douce au défilement (classe ajoutée par le petit script) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================================
   LOGO
   ========================================================================= */
.logo-landing {
  font-family: "Josefin Sans", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: #fff;
}
.logo-landing .v     { font-size: 34px; color: var(--teal); margin-right: 1px; }
.logo-landing .reste { font-size: 22px; font-weight: 300; color: #fff; }
.logo-landing .mail  { font-size: 22px; font-weight: 400; color: var(--teal); }

/* =========================================================================
   BOUTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn svg { width: 17px; height: 17px; }

.btn-principal {
  background: linear-gradient(135deg, var(--teal), var(--teal-fonce));
  color: var(--navy-nuit);
  box-shadow: 0 8px 24px rgba(45, 212, 191, .35);
}
.btn-principal:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 212, 191, .45);
}

.btn-secondaire {
  background: rgba(255, 255, 255, .08);
  color: #e6eef8;
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
}
.btn-secondaire:hover {
  background: rgba(255, 255, 255, .16);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 9px 20px;
  font-size: 14px;
  background: var(--teal);
  color: var(--navy-nuit);
}
.btn-nav:hover { background: #4ee0cd; transform: translateY(-1px); }

/* =========================================================================
   BARRE DE NAVIGATION
   ========================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.nav.scrolle {
  background: rgba(14, 28, 46, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-liens { display: flex; gap: 28px; }
.nav-liens a {
  color: #cfe0f5;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s;
}
.nav-liens a:hover { color: var(--teal); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-nuit) 0%, var(--navy-fonce) 55%, var(--navy) 100%);
  color: #e6eef8;
  padding: 150px 0 110px;
  overflow: hidden;
}

/* Décor : halos lumineux + grille discrète */
.hero-decor { position: absolute; inset: 0; pointer-events: none; }
.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
}
.halo-1 { width: 480px; height: 480px; background: var(--teal); top: -180px; right: -120px; }
.halo-2 { width: 420px; height: 420px; background: var(--navy-clair); bottom: -200px; left: -140px; opacity: .5; }
.grille {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, #000 35%, transparent 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(45, 212, 191, .12);
  border: 1px solid rgba(45, 212, 191, .35);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 26px;
}
.point-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45, 212, 191, .55); }
  100% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); }
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -.5px;
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--teal), #6ee7d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sous-titre {
  font-size: 17px;
  color: #b9c9dd;
  max-width: 540px;
  margin-bottom: 34px;
}
.sous-titre strong { color: #fff; font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #b9c9dd;
}
.hero-points svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

/* ------------------------------------------------------------------------
   Maquette du tableau de bord (dessinée en pur CSS)
   ------------------------------------------------------------------------ */
.hero-visuel { position: relative; }

.mockup {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

.mockup-barre {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.rouge { background: #f87171; }
.dot.jaune { background: #fbbf24; }
.dot.vert  { background: #34d399; }
.mockup-url {
  margin-left: 12px;
  font-size: 11.5px;
  color: #8fa3bd;
  background: rgba(255, 255, 255, .06);
  padding: 4px 14px;
  border-radius: 6px;
}

.mockup-corps { display: flex; min-height: 300px; }

.mockup-sidebar {
  width: 116px;
  flex-shrink: 0;
  background: rgba(14, 28, 46, .55);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.m-logo {
  font-family: "Josefin Sans", sans-serif;
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
}
.m-logo .v    { color: var(--teal); font-size: 19px; }
.m-logo .mail { color: var(--teal); }
.m-lien {
  height: 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .14);
}
.m-lien.actif { background: var(--teal); opacity: .85; }

.mockup-main { flex: 1; padding: 18px; }

.m-cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.m-carte {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.m-chiffre { font-size: 21px; font-weight: 700; color: #fff; }
.m-chiffre.teal { color: var(--teal); }
.m-label { font-size: 10px; color: #8fa3bd; }

.m-graph {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 130px;
  padding: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
}
.m-graph span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--teal), rgba(45, 212, 191, .25));
  animation: pousse 1.1s cubic-bezier(.25, .9, .3, 1.2) backwards;
}
.m-graph span:nth-child(2) { animation-delay: .1s; }
.m-graph span:nth-child(3) { animation-delay: .2s; }
.m-graph span:nth-child(4) { animation-delay: .3s; }
.m-graph span:nth-child(5) { animation-delay: .4s; }
.m-graph span:nth-child(6) { animation-delay: .5s; }
.m-graph span:nth-child(7) { animation-delay: .6s; }
@keyframes pousse { from { height: 0; } }

/* Notification flottante sous la maquette */
.notif-flottante {
  position: absolute;
  bottom: -26px;
  left: -18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--texte);
  border-radius: 14px;
  padding: 13px 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
  animation: flotte 4.5s ease-in-out infinite;
  max-width: 330px;
}
.notif-icone {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(45, 212, 191, .16);
  color: var(--teal-fonce);
}
.notif-icone svg { width: 19px; height: 19px; }
.notif-texte { font-size: 12px; line-height: 1.45; color: var(--texte-doux); }
.notif-texte strong { display: block; font-size: 12.5px; color: var(--texte); }
.notif-heure { font-size: 10.5px; color: #9aa6b5; align-self: flex-start; white-space: nowrap; }

/* Badge « 3 notifications » en haut à droite de la maquette */
.badge-flottant {
  position: absolute;
  top: -16px;
  right: -10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--teal);
  color: var(--navy-nuit);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(45, 212, 191, .4);
  animation: flotte 4.5s ease-in-out infinite reverse;
}
.badge-flottant svg { width: 15px; height: 15px; }

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

/* =========================================================================
   BANDE DES CHIFFRES CLÉS
   ========================================================================= */
.bande-chiffres {
  background: #fff;
  border-bottom: 1px solid var(--bordure);
  padding: 44px 0;
}
.chiffres-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.chiffre-item .grand {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.5px;
}
.chiffre-item .petit { font-size: 13.5px; color: var(--texte-doux); }

/* =========================================================================
   SECTIONS GÉNÉRIQUES
   ========================================================================= */
.section { padding: 96px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); }

.section-tete {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 58px;
}
.surtitre {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal-fonce);
  margin-bottom: 12px;
}
.surtitre.clair { color: var(--teal); }
.section-tete h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-tete p { color: var(--texte-doux); font-size: 16px; }

/* =========================================================================
   FONCTIONNALITÉS — grille de cartes
   ========================================================================= */
.grille-cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.carte {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.carte:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(31, 58, 95, .1);
  border-color: rgba(45, 212, 191, .5);
}

.carte-icone {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 212, 191, .16), rgba(31, 58, 95, .08));
  color: var(--teal-fonce);
  margin-bottom: 18px;
}
.carte-icone svg { width: 25px; height: 25px; }

.carte h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
}
.carte p { font-size: 14.5px; color: var(--texte-doux); }

/* =========================================================================
   COMMENT ÇA MARCHE — étapes
   ========================================================================= */
.etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.etape {
  position: relative;
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 34px 22px 26px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.etape:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(31, 58, 95, .09); }

.etape-num {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-fonce));
  color: var(--navy-nuit);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(45, 212, 191, .4);
}

.etape-icone {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--bordure);
  color: var(--navy);
}
.etape-icone svg { width: 25px; height: 25px; }

.etape h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.etape p  { font-size: 13.5px; color: var(--texte-doux); }

/* =========================================================================
   APERÇU GMAIL & OUTLOOK — maquettes de boîtes mail (dessinées en CSS)
   ========================================================================= */
.grille-boites {
  display: grid;
  /* minmax(0, 1fr) : empêche le contenu (textes en nowrap) d'élargir les colonnes */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
}

.boite-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.boite-fenetre {
  background: #fff;
  border: 1px solid var(--bordure);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(31, 58, 95, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.boite-mockup:hover .boite-fenetre {
  transform: translateY(-5px);
  box-shadow: 0 30px 65px rgba(31, 58, 95, .16);
}

/* Barre de navigateur (claire, contrairement à celle du hero) */
.boite-barre {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #f1f4f8;
  border-bottom: 1px solid var(--bordure);
}
.boite-url {
  margin-left: 10px;
  font-size: 11px;
  color: var(--texte-doux);
  background: #fff;
  border: 1px solid var(--bordure);
  padding: 3px 12px;
  border-radius: 6px;
}

/* En-tête du webmail (logo + barre de recherche) */
.boite-entete {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--bordure);
}
.logo-fournisseur {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}
.ic-gmail   { width: 21px; height: 16px; }
.ic-outlook { width: 21px; height: 21px; }

.boite-entete.gmail .logo-fournisseur { color: #5f6368; font-weight: 500; }
.boite-entete.outlook {
  background: #0f6cbd;
  border-bottom-color: #0f6cbd;
}
.boite-entete.outlook .logo-fournisseur { color: #fff; }

.boite-recherche {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
}
.boite-recherche svg { width: 13px; height: 13px; flex-shrink: 0; }
.boite-entete.gmail .boite-recherche { background: #eaf1fb; color: #5f6368; }
.boite-entete.outlook .boite-recherche {
  background: rgba(255, 255, 255, .22);
  color: #eaf3fc;
  border-radius: 6px;
}

/* Liste des emails */
.boite-liste { list-style: none; }

.mail-ligne {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid #eef2f6;
}
.mail-ligne:last-child { border-bottom: none; }

.mail-avatar {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c, #94a3b8);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.mail-infos {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mail-exp { font-size: 12.5px; font-weight: 700; color: var(--texte); line-height: 1.35; }
.mail-objet {
  font-size: 12px;
  color: var(--texte-doux);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mail-objet strong { color: var(--texte); font-weight: 600; }

.mail-heure { font-size: 10.5px; color: #9aa6b5; flex-shrink: 0; }

/* Ligne repérée par VizoraMail */
.mail-ligne.detecte {
  background: linear-gradient(90deg, rgba(45, 212, 191, .12), rgba(45, 212, 191, .03));
  border-left: 3px solid var(--teal);
  padding-left: 13px;
}
.mail-ligne.detecte .mail-exp { color: var(--navy); }

.tag-detecte {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(45, 212, 191, .15);
  border: 1px solid rgba(45, 212, 191, .45);
  color: #0d9488;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 999px;
}
.tag-detecte svg { width: 10px; height: 10px; }

/* Compteur flottant au-dessus de chaque fenêtre */
.boite-compteur {
  position: absolute;
  top: -14px;
  right: -8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: var(--navy-nuit);
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(45, 212, 191, .4);
}
.boite-compteur svg { width: 13px; height: 13px; }

/* Légende sous la fenêtre */
.boite-legende {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  color: var(--texte-doux);
}
.boite-legende svg { width: 15px; height: 15px; color: var(--teal-fonce); flex-shrink: 0; }

/* =========================================================================
   SÉCURITÉ — section sombre
   ========================================================================= */
.section-sombre {
  background: linear-gradient(150deg, var(--navy-nuit), var(--navy-fonce) 70%, var(--navy));
  color: #dbe6f3;
}

.securite-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}

.securite-texte h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.securite-texte > p { color: #a9bcd3; margin-bottom: 30px; max-width: 520px; }

.liste-securite { list-style: none; display: grid; gap: 18px; }
.liste-securite li { display: flex; gap: 14px; align-items: flex-start; }
.liste-securite svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}
.liste-securite span { font-size: 14.5px; color: #b9c9dd; }
.liste-securite strong { color: #fff; }

.securite-visuel { display: grid; place-items: center; }
.bouclier {
  width: 240px; height: 240px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(45, 212, 191, .22), rgba(45, 212, 191, .04) 65%);
  border: 1px solid rgba(45, 212, 191, .3);
  color: var(--teal);
  animation: flotte 5s ease-in-out infinite;
}
.bouclier svg { width: 110px; height: 110px; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.carte-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--bordure);
  border-radius: 22px;
  padding: 54px;
  box-shadow: 0 24px 60px rgba(31, 58, 95, .08);
}

.contact-texte h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-texte p { color: var(--texte-doux); }

.contact-canaux { display: grid; gap: 16px; }

.canal {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--bordure);
  border-radius: 14px;
  text-decoration: none;
  background: var(--fond);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.canal:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, .55);
  box-shadow: 0 12px 28px rgba(31, 58, 95, .1);
}

.canal-icone {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45, 212, 191, .18), rgba(31, 58, 95, .1));
  color: var(--teal-fonce);
}
.canal-icone svg { width: 21px; height: 21px; }

.canal-infos { display: flex; flex-direction: column; }
.canal-label  { font-size: 12px; color: var(--texte-doux); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.canal-valeur { font-size: 16px; font-weight: 700; color: var(--navy); }

.btn-contact { justify-content: center; margin-top: 6px; }

/* =========================================================================
   PIED DE PAGE
   ========================================================================= */
.pied {
  background: var(--navy-nuit);
  color: #a9bcd3;
  padding: 60px 0 0;
}
.pied-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.pied-marque p { margin-top: 14px; font-size: 14px; color: #8fa3bd; }

.pied-liens { display: flex; flex-direction: column; gap: 10px; }
.pied-titre {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: 6px;
}
.pied-liens a {
  color: #a9bcd3;
  text-decoration: none;
  font-size: 14px;
  transition: color .15s;
}
.pied-liens a:hover { color: #fff; }

.pied-bas {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 13px;
  color: #8fa3bd;
  text-align: center;
}
.pied-bas-lien {
  color: #8fa3bd;
  margin-left: 14px;
  text-decoration: underline;
  transition: color .15s;
}
.pied-bas-lien:hover { color: #fff; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero { padding-top: 130px; }
  .hero-texte { text-align: center; }
  .sous-titre { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .mockup { transform: none; max-width: 620px; margin: 0 auto; }
  .notif-flottante { left: 8px; }
  .badge-flottant { right: 8px; }

  .grille-cartes { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .grille-boites { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 620px; margin: 0 auto; }
  .securite-inner { grid-template-columns: 1fr; gap: 44px; }
  .securite-visuel { order: -1; }
  .bouclier { width: 180px; height: 180px; }
  .bouclier svg { width: 84px; height: 84px; }
  .carte-contact { grid-template-columns: 1fr; padding: 38px 30px; }
  .chiffres-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .pied-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-liens { display: none; }        /* liens d'ancrage masqués sur mobile */
  .section { padding: 70px 0; }
  .grille-cartes, .etapes { grid-template-columns: 1fr; }
  .etapes { row-gap: 36px; }
  .chiffres-inner { grid-template-columns: repeat(2, 1fr); }
  .chiffre-item .grand { font-size: 27px; }
  .hero { padding: 112px 0 90px; }
  .mockup-sidebar { display: none; }
  .notif-flottante { position: static; margin: 26px auto 0; animation: none; }
  .badge-flottant { top: -14px; }
  .pied-inner { grid-template-columns: 1fr; gap: 30px; }
  .carte-contact { padding: 30px 22px; }
  .canal-valeur { font-size: 14.5px; }

  /* Maquettes Gmail / Outlook : version compacte */
  .mail-extrait { display: none; }
  .mail-heure { display: none; }
  .boite-recherche { display: none; }
  .mail-ligne { padding: 10px 12px; gap: 10px; }
  .mail-ligne.detecte { padding-left: 9px; }
  .boite-compteur { right: 6px; }
}

/* =========================================================================
   SÉLECTEUR DE LANGUE (FR / EN / AR) — barre de navigation
   ========================================================================= */
.selecteur-langue {
  display: inline-flex;
  gap: 3px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 4px;
}
.selecteur-langue a {
  color: #cfe0f5;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  transition: background .15s, color .15s;
  line-height: 1.4;
}
.selecteur-langue a:hover { color: #fff; }
.selecteur-langue a.actif {
  background: var(--teal);
  color: var(--navy-nuit);
}

@media (max-width: 640px) {
  .selecteur-langue a { padding: 5px 9px; font-size: 12px; }
}

/* =========================================================================
   VERSION ARABE — ajustements droite-à-gauche (dir="rtl" sur <html>)
   Flexbox et grid se retournent automatiquement ; on ne corrige ici que
   les propriétés physiques (left/right) et la typographie.
   ========================================================================= */
[dir="rtl"] body.landing {
  font-family: "Tajawal", "Inter", system-ui, "Segoe UI", Arial, sans-serif;
}

/* L'arabe ne s'espace pas lettre à lettre (letter-spacing dégrade la liaison
   des caractères) : on neutralise les interlettrages décoratifs. */
[dir="rtl"] .badge-hero,
[dir="rtl"] .surtitre,
[dir="rtl"] .tag-detecte,
[dir="rtl"] .pied-titre { letter-spacing: 0; }

/* Bordure « email détecté » : côté droit en RTL. */
[dir="rtl"] .mail-ligne.detecte {
  border-left: none;
  padding-left: 0;
  border-right: 3px solid var(--teal);
  padding-right: 13px;
  background: linear-gradient(270deg, rgba(45, 212, 191, .12), rgba(45, 212, 191, .03));
}

/* Petits décalages physiques des maquettes. */
[dir="rtl"] .boite-url { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .boite-compteur { right: auto; left: -8px; }
[dir="rtl"] .notif-flottante { left: auto; right: -18px; }
[dir="rtl"] .badge-flottant { right: auto; left: -10px; }

@media (max-width: 640px) {
  [dir="rtl"] .mail-ligne.detecte { padding-right: 9px; }
  [dir="rtl"] .boite-compteur { left: 6px; }
  [dir="rtl"] .notif-flottante { position: static; margin: 26px auto 0; }
  [dir="rtl"] .badge-flottant { top: -14px; }
}
