@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cyan: #27D3F5;
  --blue: #276CF5;
  --deep: #0A1F5C;
  --ink: #06123A;
  --white: #FFFFFF;
  --muted: rgba(255, 255, 255, .78);
  --glass: rgba(255, 255, 255, .08);
  --edge: rgba(39, 211, 245, .45);
  --radius: 20px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--white);
  background: var(--blue);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Animated background ─────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--blue) 0%, #1E54D6 45%, var(--deep) 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .7;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 46vmax; height: 46vmax; background: var(--cyan); top: -18vmax; left: -12vmax; opacity: .45; }
.orb-2 { width: 38vmax; height: 38vmax; background: #4C8DFF; bottom: -14vmax; right: -10vmax; animation-delay: -6s; }
.orb-3 { width: 24vmax; height: 24vmax; background: var(--cyan); top: 45%; left: 60%; opacity: .3; animation-delay: -12s; }
.grid {
  position: absolute;
  inset: 0;
  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: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(4vmax, 3vmax) scale(1.08); }
  66%      { transform: translate(-3vmax, 2vmax) scale(.95); }
}

/* ── Header ──────────────────────────────────────────── */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(39, 211, 245, .6));
}
.brand-mark .yois-symbole { fill: none; stroke: var(--cyan); stroke-width: 7; }
.brand-mark .yois-point { fill: var(--white); }
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: "Jost", Futura, "Century Gothic", sans-serif;
}
.brand-text b { font-size: 1.45rem; font-weight: 800; }
.brand-text small {
  margin-top: 3px;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .28em;
  margin-right: -.28em; /* compense l'espacement après la dernière lettre */
  color: var(--cyan);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-ig {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--edge);
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s, color .2s;
}
.top-ig svg { width: 20px; height: 20px; }
.top-ig:hover { background: var(--white); color: var(--blue); }

.top-mail {
  padding: 10px 18px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .9rem;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.top-mail:hover { background: var(--white); color: var(--blue); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  flex: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 20px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  width: 132px;
  height: 132px;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 28px rgba(39, 211, 245, .55));
  animation: rise .8s ease both, spin 40s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  animation: rise .8s ease both;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(39, 211, 245, .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(39, 211, 245, .7); }
  70%  { box-shadow: 0 0 0 10px rgba(39, 211, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 211, 245, 0); }
}

h1 {
  margin-top: 28px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 7.5vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  animation: rise .8s .1s ease both;
}
.grad {
  background: linear-gradient(90deg, var(--white) 0%, var(--cyan) 60%, #9BEFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
  animation: rise .8s .2s ease both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  animation: rise .8s .3s ease both;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--cyan);
  box-shadow: 0 10px 30px -8px rgba(39, 211, 245, .65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(39, 211, 245, .85); }
.btn-ghost {
  color: var(--white);
  border: 2px solid var(--cyan);
  background: rgba(39, 211, 245, .1);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(39, 211, 245, .22); }
.btn:focus-visible, .card:focus-visible, .top-mail:focus-visible, .top-ig:focus-visible, .wa-float:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* ── Contact cards ───────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 64px;
  animation: rise .8s .4s ease both;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px;
  text-align: left;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: rgba(255, 255, 255, .13);
}
.ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 0 0 3px rgba(39, 211, 245, .35);
}
.ico svg { width: 22px; height: 22px; }
.label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan);
  font-weight: 600;
}
.value {
  font-size: 1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ── Footer ──────────────────────────────────────────── */
.foot {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 20px 32px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
}

.foot a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(39, 211, 245, .5); }
.foot a:hover { color: var(--white); }

/* ── Pages légales ───────────────────────────────────── */
.legal {
  flex: 1;
  width: 100%;
  max-width: 820px;
  margin: 16px auto 48px;
  padding: 40px clamp(20px, 5vw, 56px);
  border-radius: 24px;
  background: rgba(6, 18, 58, .55);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  line-height: 1.7;
  color: var(--muted);
}
.legal h1 {
  margin: 0 0 6px;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  color: var(--white);
  animation: none;
}
.legal h2 {
  margin: 34px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  color: var(--cyan);
}
.legal p, .legal ul { margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal strong { color: var(--white); }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-size: .85rem; opacity: .8; }
.legal .data { list-style: none; padding: 0; }
.legal .data li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.legal .data li > span:first-child { min-width: 160px; font-weight: 600; color: var(--white); }
.pend {
  padding: 0 6px;
  border: 1px dashed #FFC857;
  border-radius: 6px;
  color: #FFC857;
}

/* ── WhatsApp flottant ──────────────────────────────── */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .45);
  animation: wa-pulse 2.4s infinite;
  transition: transform .2s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); animation: none; }
.wa-tip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--white);
  color: var(--blue);
  font-size: .85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .top { padding: 18px 16px; }
  .top-mail { display: none; }
  .hero-logo { width: 104px; height: 104px; margin-bottom: 22px; }
  .wa-tip { display: none; }
  .foot { padding-bottom: 100px; }
  .hero { padding: 24px 16px; }
  .cards { grid-template-columns: 1fr; margin-top: 44px; }
  .cta { flex-direction: column; width: 100%; }
  .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
