/* ============================================================================
   SIGMA-TIC — feuille de style du site vitrine
   Palette dérivée du logo : bleu marine → cyan, accent VERT (croissance).
   Thèmes clair + sombre. Aucune dépendance externe.
   ============================================================================ */

:root {
  --bg:        #F6F8FB;
  --surface:   #FFFFFF;
  --surface-2: #EEF3F9;
  --ink:       #17273D;
  --ink-soft:  #51617A;
  --ink-faint: #8695A8;
  --line:      #E2E8F1;
  --line-soft: #EDF1F7;

  --navy:  #1C3D8F;
  --blue:  #1E6FC0;
  --cyan:  #22A3DD;
  --green: #6E9A3B;
  --green-br: #83B24A;

  --grad:  linear-gradient(120deg, #1C3D8F 0%, #1E6FC0 45%, #22A3DD 100%);
  --grad-soft: linear-gradient(120deg, rgba(28,61,143,.08), rgba(34,163,221,.08));
  --ring: rgba(34,163,221,.35);
  --shadow: 0 30px 60px -34px rgba(20,45,90,.42);
  --radius: 16px;

  --display: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body:    "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono:    "SFMono-Regular", "Cascadia Mono", Consolas, "Roboto Mono", ui-monospace, monospace;
}
:root:not([data-theme="light"]) {
  @media (prefers-color-scheme: dark) {
    --bg: #0B1524; --surface: #101F38; --surface-2: #16294A;
    --ink: #E8EEF6; --ink-soft: #A7B6CC; --ink-faint: #6F8199;
    --line: #213450; --line-soft: #192942;
    --navy: #4E7CDA; --blue: #3E8FDC; --cyan: #45B5E9;
    --green: #8FC155; --green-br: #A3D06B;
    --grad: linear-gradient(120deg, #2E5BC4 0%, #2E86D6 50%, #45B5E9 100%);
    --grad-soft: linear-gradient(120deg, rgba(70,120,220,.14), rgba(69,181,233,.12));
    --ring: rgba(69,181,233,.4);
    --shadow: 0 30px 60px -34px rgba(0,0,0,.65);
  }
}
:root[data-theme="dark"] {
  --bg: #0B1524; --surface: #101F38; --surface-2: #16294A;
  --ink: #E8EEF6; --ink-soft: #A7B6CC; --ink-faint: #6F8199;
  --line: #213450; --line-soft: #192942;
  --navy: #4E7CDA; --blue: #3E8FDC; --cyan: #45B5E9;
  --green: #8FC155; --green-br: #A3D06B;
  --grad: linear-gradient(120deg, #2E5BC4 0%, #2E86D6 50%, #45B5E9 100%);
  --grad-soft: linear-gradient(120deg, rgba(70,120,220,.14), rgba(69,181,233,.12));
  --ring: rgba(69,181,233,.4);
  --shadow: 0 30px 60px -34px rgba(0,0,0,.65);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; margin: 0; }

.wrap { width: min(1160px, 92vw); margin-inline: auto; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.green-text { color: var(--green); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: 15.5px;
  padding: .82em 1.5em; border-radius: 11px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -12px var(--ring); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px var(--ring); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { transform: translateY(-2px); background: var(--green-br); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
:focus-visible { outline: 2.5px solid var(--cyan); outline-offset: 3px; border-radius: 5px; }

/* header */
header.top { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(12px);
  background: color-mix(in srgb, var(--bg) 84%, transparent); border-bottom: 1px solid var(--line-soft); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { height: 66px; width: auto; transition: transform .3s ease, filter .3s ease;
  filter: drop-shadow(0 4px 12px rgba(30,111,192,.22)); }
.brand:hover img { transform: scale(1.05); filter: drop-shadow(0 6px 18px rgba(34,163,221,.4)); }
@media (max-width: 560px){ .top .wrap { height: 74px; } .brand img { height: 52px; } }
.brand .wm { font-weight: 800; font-size: 20px; letter-spacing: .01em; color: var(--ink); }
.brand .wm span { color: var(--cyan); }
.nav-cluster { display: flex; align-items: center; gap: .9rem; }
.top nav { display: flex; align-items: center; gap: 1.5rem; }
.top nav a.lnk { font-size: 14.5px; color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.top nav a.lnk:hover { color: var(--cyan); }
.nav-cta { padding: .6em 1.15em; }
.toggle { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); border-radius: 9px; width: 40px; height: 40px; min-width: 40px; cursor: pointer; display: grid; place-items: center; font-size: 15px; }
.toggle:hover { border-color: var(--cyan); color: var(--cyan); }

/* hamburger : caché sur desktop */
.burger { display: none; width: 44px; height: 44px; min-width: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.burger span:nth-child(1){ top: 14px; }
.burger span:nth-child(2){ top: 21px; }
.burger span:nth-child(3){ top: 28px; }
.burger.open span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* ===== NAV MOBILE (menu déroulant plein largeur) =====
   Méthode robuste : on bascule display (none/flex) — jamais de transition
   sur max-height/visibility, qui peut rester « collée » sur certains moteurs.
   L'animation de descente joue une seule fois à l'ouverture. */
@media (max-width: 860px){
  .top .wrap { position: relative; }
  .burger { display: block; }
  .top nav {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -22px rgba(20,45,90,.5);
    padding: .4rem 0 1rem;
    max-height: calc(100vh - 75px); overflow-y: auto;
  }
  .top nav.open { display: flex; animation: navdrop .26s ease both; }
  @keyframes navdrop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
  .top nav a.lnk { display: block; font-size: 16.5px; font-weight: 600; color: var(--ink);
    padding: 1rem 6vw; border-bottom: 1px solid var(--line-soft); }
  .top nav a.lnk:active { background: var(--surface-2); }
  .nav-cta { margin: 1rem 6vw 0; justify-content: center; padding: .9em 1.2em; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce){ .top nav.open { animation: none; } .burger span { transition: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem,7vw,6.5rem) 0 clamp(3rem,6vw,5rem); }
.hero::before { content:""; position:absolute; inset:0; z-index:0; background: var(--grad-soft);
  -webkit-mask-image: radial-gradient(120% 80% at 78% 8%, #000 0%, transparent 60%);
  mask-image: radial-gradient(120% 80% at 78% 8%, #000 0%, transparent 60%); }
.hero::after { content:""; position:absolute; z-index:0; right:-8%; top:-14%; width:520px; height:520px; border-radius:50%;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--cyan) 26%, transparent), transparent 62%); filter: blur(6px); pointer-events:none; }
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .6em; }
.hero .eyebrow::before { content:""; width: 26px; height: 2px; border-radius: 2px; background: var(--green); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); margin-top: 1.1rem; max-width: 15ch; }
.hero p.lede { font-size: clamp(1.06rem,1.5vw,1.28rem); color: var(--ink-soft); max-width: 54ch; margin: 1.5rem 0 0; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero .kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.4rem; margin-top: 3.2rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
@media (max-width: 640px){ .hero .kpis { grid-template-columns: 1fr; gap: 1rem; } }
.kpi .n { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.kpi .l { font-size: 13.5px; color: var(--ink-faint); margin-top: .4rem; max-width: 24ch; }

/* sections */
section { padding: clamp(3.4rem,6vw,5.6rem) 0; }
.sec-head { max-width: 64ch; margin: 0 auto 3rem; text-align: center; }
.sec-head .eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: .6em; }
.sec-head .eyebrow::before,
.sec-head .eyebrow::after { content: ""; flex: 0 0 auto; width: 22px; height: 2px; border-radius: 2px; background: var(--green); }
.sec-head h2 { font-size: clamp(1.9rem,3.4vw,2.75rem); margin-top: .7rem; text-wrap: balance; }
.sec-head p { color: var(--ink-soft); font-size: 1.07rem; margin: 1rem auto 0; max-width: 58ch; text-wrap: pretty; }
.divider { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }
.band { background: var(--surface-2); }

/* services */
.services { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.15rem; }
@media (max-width: 820px){ .services { grid-template-columns: 1fr; } }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.8rem; display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; align-items: start;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.svc:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: var(--shadow); }
.svc .ic { width: 48px; height: 48px; border-radius: 12px; color: #fff; background: var(--grad); display: grid; place-items: center; }
.svc .num { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .08em; }
.svc h3 { font-size: 1.28rem; margin-top: .15rem; }
.svc p { margin: .5rem 0 0; color: var(--ink-soft); font-size: .98rem; }

/* products */
.products { display: grid; gap: 1.15rem; }
.prod { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 6px 1fr; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--cyan) 50%, var(--line)); }
.prod .rail { background: var(--grad); }
.prod[data-accent="green"] .rail { background: linear-gradient(180deg, var(--green), var(--green-br)); }
.prod[data-accent="cyan"] .rail { background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.prod .body { padding: 1.7rem 1.9rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: center; }
@media (max-width: 780px){ .prod .body { grid-template-columns: 1fr; gap: 1rem; } }
.prod .badge { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); background: color-mix(in srgb, var(--cyan) 12%, transparent); padding: .35em .7em; border-radius: 20px; font-weight: 700; }
.prod[data-accent="green"] .badge { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); }
.prod h3 { font-size: 1.5rem; margin: .7rem 0 .25rem; }
.prod .tag { color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.prod .desc { color: var(--ink-soft); font-size: .97rem; margin: .55rem 0 0; }
.prod ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.prod li { display: flex; gap: .6rem; align-items: baseline; font-size: .93rem; color: var(--ink-soft); }
.prod li .t { width: 15px; height: 15px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 9px; flex: none; transform: translateY(2px); }

/* approach */
.appr { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
@media (max-width: 720px){ .appr { grid-template-columns: 1fr; } }
.appr .cell { padding: 1.7rem 1.9rem; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.appr .cell:nth-child(2n){ border-right: 0; }
@media (max-width: 720px){ .appr .cell { border-right: 0; } }
.appr h3 { font-size: 1.2rem; margin: 0 0 .45rem; }
.appr h3 .m { color: var(--cyan); font-family: var(--mono); font-size: 12px; margin-right: .55em; font-weight: 700; }
.appr p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* sectors */
.sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.chip { border: 1px solid var(--line); border-radius: 40px; padding: .6em 1.2em; font-size: 14.5px; background: var(--surface); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,3vw,3rem); align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: .35rem; }
.field input, .field textarea, .field select { width: 100%; padding: .8em 1em; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-size: 15px; font-family: inherit; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px var(--ring); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px){ .form-row { grid-template-columns: 1fr; } }
.contact-aside h2 { font-size: clamp(1.8rem,3.2vw,2.4rem); }
.contact-aside p { color: var(--ink-soft); margin: 1rem 0 1.6rem; max-width: 42ch; }
.cline { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line-soft); }
.cline:first-of-type { border-top: 0; }
.cline .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--cyan); flex: none; }
.cline .sub { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.cline:hover .ic { border-color: var(--cyan); }

/* flash */
.flash { padding: .9em 1.1em; border-radius: 11px; margin-bottom: 1rem; font-size: 14.5px; font-weight: 500; }
.flash.success { background: color-mix(in srgb, var(--green) 15%, transparent); color: var(--green); border: 1px solid color-mix(in srgb, var(--green) 40%, transparent); }
.flash.error { background: color-mix(in srgb, #d9534f 14%, transparent); color: #d9534f; border: 1px solid color-mix(in srgb,#d9534f 40%, transparent); }

/* footer */
footer.site { padding: clamp(3rem,5vw,4.6rem) 0 1.8rem; border-top: 1px solid var(--line); margin-top: 2rem; background: var(--surface-2); }
footer.site .wrap { display: block; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 2.6rem; align-items: start; }
.foot-brand { max-width: 42ch; }
.foot-logo { display: inline-flex; }
.foot-logo img { height: 62px; width: auto; }
.foot-brand p { color: var(--ink-soft); font-size: 14px; line-height: 1.65; margin: 1rem 0 1.2rem; }
.foot-social { display: flex; gap: .55rem; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  color: var(--ink-soft); border: 1px solid var(--line); background: var(--surface);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.foot-social a:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-2px); }

.foot-col { display: grid; gap: .62rem; align-content: start; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; margin: 0 0 .35rem; }
.foot-col a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; width: fit-content;
  transition: color .15s ease, transform .15s ease; }
.foot-col a:hover { color: var(--cyan); transform: translateX(3px); }

.foot-contact .fc-line { display: flex; align-items: flex-start; gap: .6rem; min-width: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.foot-contact a.fc-line { text-decoration: none; }
.foot-contact a.fc-line:hover { color: var(--cyan); transform: none; }
.foot-contact .fc-line svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--cyan); }

.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem;
  margin-top: clamp(2rem,4vw,3rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.foot-bottom span { font-size: 12.5px; color: var(--ink-faint); }
.foot-made { font-family: var(--mono); letter-spacing: .03em; }

/* ── Footer responsive (en fin de section : gagne la cascade sur les bases) ── */
/* Tablette : bandeau marque pleine largeur + 3 colonnes de liens */
@media (max-width: 900px){
  .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.6rem; }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
}
/* Mobile : marque pleine largeur, Navigation+Produits sur 2 colonnes,
   Contact pleine largeur (le téléphone ne déborde jamais) */
@media (max-width: 560px){
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.4rem; }
  .foot-brand, .foot-contact { grid-column: 1 / -1; }
  .foot-logo img { height: 54px; }
  .foot-brand p { margin-bottom: .3rem; }
  .foot-bottom { justify-content: flex-start; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* ============================================================================
   ANIMATIONS « HAUT DE GAMME » — héros technologique
   ============================================================================ */

/* canvas réseau de particules, en fond du héros */
#netcanvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero { min-height: min(88vh, 780px); display: flex; align-items: center; }

/* héros en deux colonnes : texte + emblème animé */
.hero .grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem,5vw,4rem); align-items: center; width: 100%; }
@media (max-width: 900px){
  .hero { min-height: 0; padding-top: clamp(2.2rem,7vw,3.5rem); }
  .hero .grid { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
  .hero .eyebrow { justify-content: center; }
  .hero h1, .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .hero .kpis { justify-items: center; }
  .kpi .l { margin-inline: auto; }
  .hero .hero-emblem { order: 2; margin: 0 auto; width: clamp(210px, 62vw, 300px); }
}
@media (max-width: 640px){
  /* sur téléphone : le MESSAGE d'abord, l'emblème animé juste en dessous */
  .hero .hero-emblem { order: 2; width: clamp(200px, 58vw, 260px); margin: .4rem auto 0; }
  .hero .kpis { gap: 1rem; margin-top: 2rem; padding-top: 1.4rem; }
}
@media (max-width: 560px){
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
}

/* entrée orchestrée au chargement */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.anim-in > * { opacity: 0; animation: riseIn .8s cubic-bezier(.2,.7,.2,1) both; }
.anim-in > *:nth-child(1){ animation-delay: .05s; }
.anim-in > *:nth-child(2){ animation-delay: .18s; }
.anim-in > *:nth-child(3){ animation-delay: .32s; }
.anim-in > *:nth-child(4){ animation-delay: .46s; }
.anim-in > *:nth-child(5){ animation-delay: .60s; }

/* texte dégradé qui « respire » */
.grad-text { background-size: 220% 100%; animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }

/* emblème : logo + anneaux en rotation + halo pulsant */
.hero-emblem { position: relative; width: clamp(240px, 34vw, 380px); aspect-ratio: 1; display: grid; place-items: center; }
.hero-emblem .glow { position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--cyan) 40%, transparent), transparent 62%);
  filter: blur(14px); animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ transform: scale(.94); opacity: .7; } 50%{ transform: scale(1.06); opacity: 1; } }
.hero-emblem .ring { position: absolute; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--cyan) 55%, transparent); }
.hero-emblem .ring.r1 { inset: 0; border-color: color-mix(in srgb, var(--navy) 55%, transparent); animation: spin 26s linear infinite; }
.hero-emblem .ring.r2 { inset: 11%; border-style: solid; border-color: color-mix(in srgb, var(--cyan) 30%, transparent); animation: spin 40s linear infinite reverse; }
.hero-emblem .ring.r3 { inset: 22%; border-color: color-mix(in srgb, var(--green) 55%, transparent); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* un satellite en orbite */
.hero-emblem .orbit { position: absolute; inset: 0; animation: spin 12s linear infinite; }
.hero-emblem .orbit::after { content:""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--green); box-shadow: 0 0 14px 2px color-mix(in srgb, var(--green) 70%, transparent); }
.hero-emblem .orbit.o2 { inset: 11%; animation-duration: 20s; animation-direction: reverse; }
.hero-emblem .orbit.o2::after { background: var(--cyan); box-shadow: 0 0 14px 2px color-mix(in srgb, var(--cyan) 70%, transparent); width: 9px; height: 9px; margin-left: -4.5px; }
/* disque de fond : unifie la forme carrée du logo avec le cercle, aux couleurs de marque */
.hero-emblem .disc { position: absolute; inset: 26%; border-radius: 50%; z-index: 1;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--surface) 96%, var(--cyan)) 0%, var(--surface) 70%);
  box-shadow: 0 18px 46px -18px rgba(20,45,90,.5), inset 0 0 0 1px color-mix(in srgb, var(--cyan) 22%, transparent);
  border: 3px solid color-mix(in srgb, var(--cyan) 16%, transparent); }
/* le logo, flottant, posé sur le disque */
.hero-emblem .emblem-logo { position: relative; z-index: 2; width: 46%; height: auto;
  filter: drop-shadow(0 8px 20px rgba(20,45,90,.28)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }

@media (prefers-reduced-motion: reduce){
  .anim-in > * { opacity: 1; animation: none; }
  .grad-text, .hero-emblem .glow, .hero-emblem .ring, .hero-emblem .orbit, .hero-emblem .emblem-logo { animation: none !important; }
}

/* bouton « remonter en haut » */
.to-top { position: fixed; right: clamp(16px, 4vw, 34px); bottom: clamp(16px, 4vw, 34px); z-index: 60;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 12px 28px -10px var(--ring);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px var(--ring); }
.to-top svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce){ .to-top { transition: opacity .2s ease; transform: none !important; } }
