/* ==========================================================================
   SankiSecure — site institutionnel
   ========================================================================== */

body { background: var(--ink-900); }

main { position: relative; z-index: 1; }

section { padding: clamp(64px, 9vw, 120px) 0; }

.section-head { max-width: 660px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head h2 { margin-top: 14px; font-size: clamp(28px, 4.2vw, 44px); }
.section-head p { margin-top: 16px; }

.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--hairline), transparent); }

/* ---------------------------------------------------------------- Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 12, 24, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 0;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-name { font-size: 16px; font-weight: 300; letter-spacing: .1em; color: #E9EDF5; }
.brand-name b { font-weight: 700; color: var(--gold-400); }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }

.nav-links a {
  font-size: 14px;
  color: #B8C1D1;
  text-decoration: none;
  transition: color .16s var(--ease);
}

.nav-links a:hover { color: var(--gold-400); }

@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: 10px; }
}

/* --------------------------------------------------------------------- Héros */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(115deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead { margin-top: 22px; max-width: 52ch; font-size: clamp(16px, 1.5vw, 18.5px); }

.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-proof {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proof b {
  display: block;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: -.02em;
}

.proof span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--mute-400); line-height: 1.5; }

/* Maquette de téléphone */
.device-wrap { display: grid; place-items: center; position: relative; }

.device-glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 52, 42, .3), transparent 66%);
  filter: blur(30px);
}

.device {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, #2b3550, #10182a 42%, #070c18);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .09),
    0 50px 90px -30px rgba(0, 0, 0, .9),
    0 0 60px -20px rgba(201, 162, 76, .3);
}

.device-screen {
  height: 100%;
  border-radius: 32px;
  background: radial-gradient(300px 220px at 50% 0%, rgba(229, 52, 42, .22), transparent 62%), #080e1b;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 18px 20px;
  overflow: hidden;
}

.device-notch {
  position: absolute;
  top: 17px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 21px;
  border-radius: 12px;
  background: #05080f;
  z-index: 2;
}

.dv-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--mute-400);
}

.dv-gps {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 99px;
  border: 1px solid rgba(52, 211, 153, .4);
  color: #6EE7A8;
}

.dv-gps i { width: 5px; height: 5px; border-radius: 50%; background: #34D399; }

.dv-sos {
  position: relative;
  margin: auto 0;
  width: 152px; height: 152px;
  display: grid;
  place-items: center;
}

.dv-sos span.r {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 68, 56, .5);
  animation: sonar 3s var(--ease) infinite;
}

.dv-sos span.r:nth-child(2) { animation-delay: 1s; }
.dv-sos span.r:nth-child(3) { animation-delay: 2s; }

@keyframes sonar {
  0% { transform: scale(.55); opacity: 0; }
  18% { opacity: .9; }
  100% { transform: scale(1.05); opacity: 0; }
}

.dv-btn {
  width: 104px; height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .1em;
  background: radial-gradient(circle at 34% 26%, #FF7A5F, #F04438 34%, #C92B20 70%, #8C1A12);
  box-shadow: 0 0 0 6px rgba(229, 52, 42, .12), 0 18px 40px -14px rgba(229, 52, 42, .85);
}

.dv-foot {
  width: 100%;
  margin-top: auto;
  display: grid;
  gap: 7px;
  font-size: 9px;
  text-align: center;
  color: var(--mute-400);
}

.dv-pill {
  padding: 9px;
  border-radius: 10px;
  border: 1px solid rgba(231, 196, 118, .28);
  background: rgba(231, 196, 118, .08);
  color: var(--gold-300);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .06em;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .device-wrap { order: -1; margin-bottom: 8px; }
  .device { width: min(230px, 62vw); }
  .hero-proof { grid-template-columns: 1fr; gap: 14px; }
  .proof { display: flex; align-items: baseline; gap: 12px; }
  .proof b { font-size: 21px; }
  .proof span { margin-top: 0; }
}

/* ------------------------------------------------------------------ Problème */

.problem { background: linear-gradient(180deg, transparent, rgba(229, 52, 42, .05), transparent); }

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

.pcard {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
}

.pcard-n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--alert-400);
}

.pcard h3 { margin-top: 14px; font-size: 18.5px; }
.pcard p { margin-top: 11px; font-size: 14.5px; color: #A8B1C2; }

@media (max-width: 820px) { .pcards { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- Étapes */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }

.stp {
  position: relative;
  padding: 34px 30px 34px 0;
  border-top: 1px solid var(--hairline-soft);
}

.stp + .stp { padding-left: 30px; border-left: 1px solid var(--hairline-soft); }

.stp-n {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  font-family: var(--mono);
  font-size: 15px;
  background: rgba(231, 196, 118, .08);
}

.stp h3 { margin-top: 20px; font-size: 20px; }
.stp p { margin-top: 11px; font-size: 14.5px; color: #A8B1C2; }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .stp { padding: 26px 0; }
  .stp + .stp { padding-left: 0; border-left: none; }
}

/* -------------------------------------------------------------- Côté secours */

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
}

@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist { margin-top: 26px; display: grid; gap: 15px; }

.chk { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; color: #C3CBDA; line-height: 1.6; }

.chk i {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(22, 163, 74, .18);
  border: 1px solid rgba(52, 211, 153, .45);
  color: #34D399;
  font-size: 11px;
  font-style: normal;
}

.chk b { color: var(--paper); font-weight: 600; }

/* Aperçu console */
.screen {
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, #0e1729, #080e1b);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline-soft);
  background: rgba(255, 255, 255, .025);
}

.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c3a56; }
.screen-bar span { margin-left: 10px; font-size: 11px; letter-spacing: .12em; color: var(--mute-500); }

.screen-body { padding: 16px; display: grid; gap: 10px; }

.mock-alert {
  --tint: var(--nat-accident);
  position: relative;
  padding: 14px 15px 14px 18px;
  border-radius: 13px;
  border: 1px solid var(--hairline-soft);
  background: rgba(255, 255, 255, .035);
  overflow: hidden;
}

.mock-alert::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--tint);
}

.mock-alert.live {
  border-color: rgba(229, 52, 42, .5);
  animation: livepulse 2.4s var(--ease) infinite;
}

@keyframes livepulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 52, 42, 0); }
  50% { box-shadow: 0 0 0 3px rgba(229, 52, 42, .22); }
}

.ma-top { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; }
.ma-top .ago { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--alert-400); font-weight: 400; }
.ma-sub { margin-top: 7px; font-size: 12px; color: var(--mute-400); }

.ma-foot { margin-top: 11px; display: flex; align-items: center; gap: 8px; }

.ma-btn {
  padding: 7px 13px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--ink-900);
}

.ma-ref { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--mute-500); }

/* --------------------------------------------------------------- Atouts grid */

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

.feat {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline-soft);
  background: rgba(255, 255, 255, .028);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.feat:hover { border-color: rgba(231, 196, 118, .35); transform: translateY(-3px); }

.feat-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(231, 196, 118, .1);
  border: 1px solid rgba(231, 196, 118, .26);
  color: var(--gold-400);
}

.feat h3 { margin-top: 17px; font-size: 16.5px; }
.feat p { margin-top: 9px; font-size: 13.8px; color: #A0AABC; }

@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feats { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- Appel */

.cta {
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(201, 162, 76, .16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  padding: clamp(34px, 5vw, 60px);
  text-align: center;
}

.cta h2 { font-size: clamp(26px, 3.6vw, 40px); }
.cta p { margin: 16px auto 0; max-width: 58ch; }
.cta .hero-cta { justify-content: center; }

/* --------------------------------------------------------------------- FAQ */

.faq { display: grid; gap: 0; max-width: 900px; }

.qa {
  border-bottom: 1px solid var(--hairline-soft);
}

.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-size: 16.5px;
  font-weight: 600;
}

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

.qa summary::after {
  content: '+';
  position: absolute;
  right: 6px; top: 20px;
  font-size: 22px;
  font-weight: 300;
  color: var(--gold-400);
  transition: transform .22s var(--ease);
}

.qa[open] summary::after { transform: rotate(45deg); }

.qa p { padding: 0 40px 24px 0; font-size: 14.8px; color: #A8B1C2; }

/* ------------------------------------------------------------------ Pied */

.foot {
  border-top: 1px solid var(--hairline-soft);
  padding: 52px 0 22px;
  background: var(--ink-950);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 40px;
}

.foot h4 {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute-500);
  font-weight: 600;
}

.foot ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px; }
.foot a { color: #A8B1C2; text-decoration: none; font-size: 14px; }
.foot a:hover { color: var(--gold-400); }
.foot .lead { margin-top: 16px; font-size: 14px; max-width: 42ch; }

.foot-bottom {
  border-top: 1px solid var(--hairline-soft);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--mute-500);
}

@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Bandeau d'urgence permanent */
.emergency-strip {
  background: linear-gradient(90deg, var(--alert-600), var(--alert-500) 50%, var(--alert-600));
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}

.emergency-strip a { color: #fff; }
