/* =========================================================
   NOVA PRIME — style.css
   All values trace to tokens defined in DESIGN.md
   ========================================================= */

:root {
  /* Color tokens */
  --navy-950: #050E1C;
  --navy-900: #081527;
  --navy-800: #0B1F3A;
  --navy-700: #12294A;
  --navy-600: #1B3A63;
  --ink-900: #0D1B2E;
  --ink-700: #2C3E52;
  --ink-500: #5A6B7E;
  --paper: #F7F9FC;
  --paper-2: #EEF3F9;
  --white: #FFFFFF;
  --teal-400: #34D8C7;
  --teal-500: #12BBA6;
  --teal-600: #0A8F84;
  --gold-400: #F2B84B;
  --line: #DCE5EF;
  --danger: #D64545;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-sans);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-card: 0 1px 2px rgba(8, 21, 39, .06), 0 12px 32px -12px rgba(8, 21, 39, .14);
  --shadow-card-dark: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 20px 44px -20px rgba(0, 0, 0, .55);
  --shadow-header: 0 10px 30px -14px rgba(5, 14, 28, .65);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink-900); font-weight: 700; }

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

ul { margin: 0; padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor;
      stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section--paper2 { background: var(--paper-2); }

.section__head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
.section__title--light { color: var(--white); }
.section__lead { margin: 16px 0 0; font-size: var(--fs-lead, clamp(1.05rem, 1.6vw, 1.2rem)); color: var(--ink-700); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; line-height: 1.4; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--teal-600); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--teal-500); border-radius: 2px; flex: none; }
.eyebrow--light { color: var(--teal-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: .875rem; font-weight: 600; letter-spacing: 0;
  padding: .8em 1.5em; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease),
                               border-color .2s var(--ease), transform .2s var(--ease),
                               box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .6em 1.15em; font-size: .8rem; }

.btn--primary { background: var(--teal-500); color: var(--navy-950); }
.btn--primary:hover { background: var(--teal-400); box-shadow: 0 12px 26px -12px rgba(18, 187, 166, .7); }

.btn--ghost-light { color: var(--white); border-color: rgba(255, 255, 255, .42); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }

.btn--ghost-dark { color: rgba(255, 255, 255, .86); border-color: rgba(255, 255, 255, .2); }
.btn--ghost-dark:hover { color: var(--white); border-color: var(--teal-400); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar__contact { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar__link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .72); transition: color .2s var(--ease); }
.topbar__link .ic { width: 15px; height: 15px; color: var(--teal-400); }
.topbar__link:hover { color: var(--white); }
.topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__addr { color: rgba(255, 255, 255, .5); }
.topbar__social { display: flex; align-items: center; gap: 6px; }
.topbar__social-link { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center;
                       border-radius: 7px; color: rgba(255, 255, 255, .6); transition: all .2s var(--ease); }
.topbar__social-link .ic { width: 15px; height: 15px; }
.topbar__social-link:hover { color: var(--navy-950); background: var(--teal-400); }

@media (max-width: 760px) {
  .topbar__addr { display: none; }
  .topbar__contact { gap: 14px; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: transparent; transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.header__logo { display: inline-flex; align-items: center; }
.header__logo-img { height: 46px; width: auto; }
.header__logo-img--white { display: none; }

.header.is-stuck {
  background: var(--navy-800);
  box-shadow: var(--shadow-header);
}
.header.is-stuck .header__logo-img--color { display: none; }
.header.is-stuck .header__logo-img--white { display: block; }
.header.is-stuck .nav__link { color: rgba(255, 255, 255, .82); }
.header.is-stuck .nav__link:hover { color: var(--white); }
.header.is-stuck .nav__link::after { background: var(--teal-400); }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-block; padding: .55em .9em;
  font-size: .9rem; font-weight: 600; color: var(--navy-800);
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: .9em; right: .9em; bottom: .3em; height: 2px;
  background: var(--teal-500); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease); border-radius: 2px;
}
.nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang__globe { width: 16px; height: 16px; color: currentColor; opacity: .6; }
.lang__btn {
  background: none; border: 0; padding: .35em .5em; cursor: pointer;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: inherit; opacity: .5;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.lang__btn:hover { opacity: .85; }
.lang__btn[aria-pressed="true"] { opacity: 1; color: var(--teal-600); }
.header.is-stuck .lang__btn[aria-pressed="true"] { color: var(--teal-400); }
.lang__sep { opacity: .3; font-size: .8rem; }

.burger { display: none; width: 42px; height: 42px; background: none; border: 1.5px solid var(--line);
          border-radius: 10px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
          flex-direction: column; gap: 5px; }
.header.is-stuck .burger { border-color: rgba(255, 255, 255, .28); }
.burger__line { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--navy-800); transition: all .25s var(--ease); }
.header.is-stuck .burger__line { background: var(--white); }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: inline-flex; }
}

/* ---------- Mobile sheet ---------- */
.sheet {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); z-index: 80;
  background: var(--navy-900); box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .7);
  transform: translateX(100%); transition: transform .35s var(--ease);
  padding: 26px; display: flex; flex-direction: column; gap: 22px;
  visibility: hidden;
}
.sheet.is-open { transform: translateX(0); visibility: visible; }
.sheet__list { display: flex; flex-direction: column; gap: 4px; margin-top: 34px; }
.sheet__link { display: block; padding: .85em .4em; font-size: 1.05rem; font-weight: 600;
               color: rgba(255, 255, 255, .88); border-bottom: 1px solid rgba(255, 255, 255, .08);
               transition: color .2s var(--ease); }
.sheet__link:hover { color: var(--teal-400); }
.sheet__cta { margin-top: auto; }

body.is-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: var(--white);
        padding-block: clamp(56px, 8vw, 104px) 0; }
.hero__glow {
  position: absolute; top: -18%; right: -6%; width: min(620px, 80vw); aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(52, 216, 199, .26), rgba(52, 216, 199, 0) 66%);
  filter: blur(4px); animation: drift 14s ease-in-out infinite alternate; pointer-events: none;
  /* le glow reste decoratif et ne doit jamais creer de defilement horizontal */
  contain: paint;
}
@keyframes drift { from { transform: scale(.92); opacity: .65; } to { transform: scale(1.1); opacity: 1; } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
               align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em;
               font-weight: 800; color: var(--white); margin: 0 0 20px; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .76);
              margin: 0 0 32px; max-width: 52ch; }
.hero__eyebrow { color: var(--teal-400); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero__trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: .875rem;
                    color: rgba(255, 255, 255, .72); }
.hero__trust-item .ic { width: 17px; height: 17px; color: var(--teal-400); }

.hero__art { position: relative; }
.hero__svg { width: 100%; height: auto; border-radius: var(--r-xl);
             box-shadow: 0 40px 90px -34px rgba(0, 0, 0, .75); }
.hero__wave { position: relative; margin-top: -2px; line-height: 0; }
.hero__wave svg { width: 100%; height: auto; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 520px; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(32px, 5vw, 76px); }
.about__svg { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.about .eyebrow { color: var(--teal-600); }
.about p { margin: 0 0 18px; max-width: 60ch; }

.about__signature { margin: 30px 0 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.about__signature-name { font-size: 1.1rem; font-weight: 700; color: var(--ink-900); }
.about__signature-role { font-size: .875rem; color: var(--ink-500); }

.about__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: .5em 1em; border-radius: 999px;
         background: var(--white); border: 1px solid var(--line); font-size: .8rem; font-weight: 600;
         color: var(--ink-700); }
.badge .ic { width: 15px; height: 15px; color: var(--teal-600); }

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

/* ---------- Offers ---------- */
.offers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 22px; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px -16px rgba(8, 21, 39, .24); border-color: #C6D5E6; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(140deg, rgba(52, 216, 199, .16), rgba(18, 187, 166, .06));
  color: var(--teal-600);
}
.card__icon .ic { width: 24px; height: 24px; }
.card__title { font-size: 1.15rem; line-height: 1.3; margin-bottom: 10px; }
.card__text { margin: 0; font-size: .925rem; color: var(--ink-700); }

/* ---------- Stats ---------- */
.stats { background: var(--navy-900); padding-block: clamp(48px, 7vw, 80px);
         border-block: 1px solid var(--navy-700); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
.stat { text-align: left; }
.stat__num { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; font-weight: 800; letter-spacing: -.03em;
            color: var(--white); font-variant-numeric: tabular-nums; }
.stat__suffix { color: var(--teal-400); }
.stat__label { margin-top: 10px; font-size: .875rem; color: rgba(255, 255, 255, .6); }

@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.acc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
       overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.acc[open] { border-color: var(--teal-500); box-shadow: var(--shadow-card); }
.acc__head { display: flex; align-items: center; gap: 18px; padding: 20px 24px; cursor: pointer;
             font-size: 1.05rem; font-weight: 700; color: var(--ink-900); list-style: none; }
.acc__head::-webkit-details-marker { display: none; }
.acc__num { font-size: .8rem; font-weight: 700; color: var(--teal-600); letter-spacing: .06em; }
.acc__name { flex: 1; }
.acc__chev { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-500);
             stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
             transition: transform .3s var(--ease), color .2s var(--ease); }
.acc[open] .acc__chev { transform: rotate(180deg); color: var(--teal-600); }
.acc__body { padding: 0 24px 22px; }
.acc__list { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.acc__list li { position: relative; padding-left: 24px; font-size: .925rem; color: var(--ink-700); }
.acc__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px;
                        border-radius: 50%; background: var(--teal-500); }

/* ---------- Highlights ---------- */
.highlights__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 22px; }
.card--art { padding: 0; overflow: hidden; }
.card__art { line-height: 0; }
.card__art svg { width: 100%; height: auto; }
.card--art .card__title,
.card--art .card__text { padding-inline: 24px; }
.card--art .card__title { margin-top: 22px; }
.card--art .card__text { margin-bottom: 24px; }

/* ---------- Vision / Mission ---------- */
.vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__card {
  position: relative; padding: 40px; border-radius: var(--r-xl);
  background: var(--navy-800); border: 1px solid var(--navy-700); color: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-card-dark); overflow: hidden;
}
.vm__card--vision { background: linear-gradient(150deg, var(--navy-800), var(--navy-900)); }
.vm__card--mission { background: linear-gradient(150deg, var(--navy-700), var(--navy-800)); }
.vm__mark { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
            border-radius: 15px; background: rgba(52, 216, 199, .14); color: var(--teal-400); margin-bottom: 22px; }
.vm__mark--gold { background: rgba(242, 184, 75, .14); color: var(--gold-400); }
.vm__mark .ic { width: 26px; height: 26px; }
.vm__title { font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.18; color: var(--white); margin-bottom: 14px; }
.vm__text { margin: 0; font-size: .975rem; line-height: 1.7; }

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

/* ---------- Clients ---------- */
.clients__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.client {
  display: flex; align-items: center; justify-content: center; padding: 26px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.client__mark { height: 34px; width: auto; }

/* ---------- Contact ---------- */
.contact { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__lead { margin: 16px 0 34px; max-width: 46ch; color: rgba(255, 255, 255, .72); }

.contact__list { display: grid; gap: 22px; margin-bottom: 34px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item .ic { width: 22px; height: 22px; color: var(--teal-400); margin-top: 3px; }
.contact__item-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
                       text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 4px; }
.contact__item a:hover { color: var(--teal-400); }

.contact__map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--navy-700); }
.contact__map svg { width: 100%; height: auto; }

.form { background: var(--white); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px);
        box-shadow: var(--shadow-card-dark); }
.form__field { margin-bottom: 18px; }
.form__label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.form__optional { font-weight: 400; color: var(--ink-500); }
.form__input {
  width: 100%; font: inherit; font-size: .925rem; color: var(--ink-900);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  padding: .8em 1em; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__input::placeholder { color: var(--ink-500); }
.form__input:focus { outline: none; background: var(--white);
                     border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(18, 187, 166, .22); }
.form__input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(214, 69, 69, .14); }
.form__error { display: none; margin: 7px 0 0; font-size: .8rem; color: var(--danger); }
.form__error.is-visible { display: block; }
.form__submit { width: 100%; margin-top: 6px; }
.form__success { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 16px 18px;
                 border-radius: 12px; background: rgba(18, 187, 166, .12); border: 1px solid rgba(18, 187, 166, .4);
                 color: var(--teal-600); font-size: .9rem; font-weight: 600; }
.form__success .ic { width: 22px; height: 22px; }

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

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .6); padding-top: clamp(48px, 6vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr .8fr .9fr .9fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { height: 44px; width: auto; margin-bottom: 20px; }
.footer__about { margin: 0 0 24px; font-size: .9rem; max-width: 38ch; }
.footer__profile { flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: .9em 1.2em; }
.footer__profile .ic { width: 20px; height: 20px; color: var(--teal-400); }
.footer__profile-meta { font-size: .72rem; font-weight: 500; opacity: .6; }
.footer__title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
                 color: var(--white); margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; font-size: .9rem; }
.footer__links a:hover { color: var(--teal-400); }
.footer__contact { display: grid; gap: 11px; font-size: .9rem; }
.footer__contact a:hover { color: var(--teal-400); }

.footer__bar { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; }
.footer__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__copyright { margin: 0; font-size: .78rem; letter-spacing: .04em; color: rgba(255, 255, 255, .45); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .78rem; }
.footer__legal a:hover { color: var(--teal-400); }

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

/* ---------- Back to top ---------- */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--navy-800); color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(5, 14, 28, .8);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease), visibility .3s;
  display: inline-flex; align-items: center; justify-content: center;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--teal-500); color: var(--navy-950); }
.totop .ic { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px);
          transition: opacity .7s var(--ease), transform .7s var(--ease);
          transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
