/* ===================================================================
   Heulin Digital Services — Feuille de style
   Palette : bleu tech + cyan, thème sombre premium
=================================================================== */

:root {
  --navy-900: #061626;
  --navy-800: #0a2540;
  --navy-700: #0e3255;
  --blue-600: #1462d6;
  --blue-500: #2f7cf0;
  --cyan-400: #38bdf8;
  --cyan-300: #7dd3fc;

  --bg: #060d18;
  --bg-alt: #0a1526;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(56, 189, 248, 0.35);

  --text: #eaf1fb;
  --text-soft: #a9bad2;
  --text-muted: #7386a3;

  /* Accent doré "bling" */
  --gold-400: #f6c453;
  --gold-300: #ffe08a;
  --gold-600: #d4a12a;

  --gradient: linear-gradient(120deg, var(--cyan-400), var(--blue-500));
  --gradient-soft: linear-gradient(135deg, rgba(56,189,248,.16), rgba(47,124,240,.08));
  --gradient-gold: linear-gradient(120deg, var(--gold-300), var(--gold-400) 55%, var(--gold-600));
  --gradient-rainbow: linear-gradient(120deg, #38bdf8, #2f7cf0, #7c5cff, #38bdf8);

  --shadow: 0 24px 60px -20px rgba(4, 20, 45, 0.75);
  --shadow-glow: 0 0 40px -6px rgba(56, 189, 248, 0.45);
  --shadow-gold: 0 0 34px -8px rgba(246, 196, 83, 0.55);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.text-gradient {
  background: linear-gradient(100deg, var(--cyan-300), var(--blue-500), #7c5cff, var(--cyan-300));
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: sheen 6s linear infinite;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--gradient-gold); box-shadow: var(--shadow-gold);
}

/* ---------- Buttons ---------- */
.btn {
  --pad: .95rem 1.6rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--pad);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn { position: relative; overflow: hidden; isolation: isolate; }
/* balayage brillant sur tous les boutons */
.btn::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 45%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn:hover::after { left: 130%; }
.btn--primary {
  background: linear-gradient(120deg, var(--cyan-400), var(--blue-500), #7c5cff);
  background-size: 180% auto; color: #041018;
  box-shadow: 0 10px 30px -8px rgba(56,189,248,.6), 0 0 0 1px rgba(255,255,255,.12) inset;
  animation: sheen 5s linear infinite;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 45px -10px rgba(56,189,248,.85), var(--shadow-gold); }
.btn--ghost {
  background: var(--surface); color: var(--text); border-color: var(--border);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-2); }
.btn--full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(6, 13, 24, 0.82);
  backdrop-filter: blur(14px);
  padding: .7rem 0;
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.9);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: .7rem; }

/* Logo monochrome blanc directement sur le fond sombre, avec halo lumineux */
.brand__plate {
  display: inline-flex; align-items: center;
  position: relative;
  transition: transform .3s ease;
}
.brand:hover .brand__plate { transform: translateY(-2px); }
.brand__logo {
  height: 42px; width: auto; display: block; position: relative; z-index: 1;
  filter: drop-shadow(0 2px 12px rgba(56,189,248,.55));
  transition: filter .3s ease;
}
.brand:hover .brand__logo { filter: drop-shadow(0 3px 16px rgba(56,189,248,.9)); }
.brand__plate--footer .brand__logo { height: 60px; filter: drop-shadow(0 2px 14px rgba(56,189,248,.45)); }

/* Fallback texte si le fichier logo n'est pas encore déposé */
.brand__fallback { display: none; align-items: center; gap: .7rem; }
.brand--fallback .brand__plate { display: none; }
.brand--fallback .brand__fallback { display: flex; }
.brand__mark {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--gradient); color: #041018;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: -.02em;
  box-shadow: var(--shadow-glow);
}
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link { font-weight: 500; font-size: .95rem; color: var(--text-soft); position: relative; transition: color .2s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gradient); transition: width .3s ease;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  padding: .6rem 1.2rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--gradient); color: #041018; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2.5px; background: var(--text); border-radius: 3px; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 11rem 0 4rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: float 14s ease-in-out infinite; }
.orb--1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(56,189,248,.5), transparent 70%); top: -120px; right: -80px; }
.orb--2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(20,98,214,.5), transparent 70%); bottom: -160px; left: -120px; animation-delay: -6s; }
.orb--3 { width: 340px; height: 340px; background: radial-gradient(circle, rgba(246,196,83,.28), transparent 70%); top: 40%; left: 55%; animation-delay: -3s; }

/* Scintillements */
.sparkles { position: absolute; inset: 0; }
.sparkles span {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: #fff; opacity: 0;
  box-shadow: 0 0 8px 2px rgba(255,255,255,.9), 0 0 16px 5px rgba(56,189,248,.55);
  animation: twinkle 3.4s ease-in-out infinite; animation-delay: var(--d);
}
.sparkles span:nth-child(even) { box-shadow: 0 0 8px 2px rgba(255,224,138,.9), 0 0 16px 5px rgba(246,196,83,.55); }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .82rem; font-weight: 500; color: var(--text-soft); margin-bottom: 1.4rem;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); animation: pulse 2s infinite; }

.hero__title { font-size: clamp(2.5rem, 5.5vw, 4rem); margin-bottom: 1.3rem; }
.hero__lead { font-size: 1.12rem; color: var(--text-soft); max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero__stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num, .stat__suffix { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--text); display: inline; }
.stat__suffix { color: var(--cyan-400); }
.stat__label { font-size: .85rem; color: var(--text-muted); margin-top: .2rem; }

/* Hero visual cards */
.hero__visual { position: relative; }
.card-float {
  background: linear-gradient(160deg, rgba(20,40,70,.9), rgba(10,21,38,.9));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.card-float--main { padding: 1.2rem; animation: floatCard 7s ease-in-out infinite; }
.cf__header { display: flex; align-items: center; gap: .45rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.cf__dot { width: 10px; height: 10px; border-radius: 50%; background: #35405a; }
.cf__dot:nth-child(1) { background: #ff5f56; } .cf__dot:nth-child(2) { background: #ffbd2e; } .cf__dot:nth-child(3) { background: #27c93f; }
.cf__title { margin-left: auto; font-size: .8rem; color: var(--text-muted); font-family: var(--font-display); font-weight: 600; }
.cf__row { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; font-size: .92rem; color: var(--text-soft); }
.cf__pill { font-size: .72rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.cf__pill--ok { background: rgba(52,211,153,.15); color: #6ee7b7; border: 1px solid rgba(52,211,153,.3); }
.cf__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin: 1rem 0 .6rem; }
.cf__bar span { display: block; height: 100%; background: var(--gradient); border-radius: 999px; animation: grow 2s ease forwards; }
.cf__note { font-size: .8rem; color: var(--text-muted); }

.card-float--badge {
  position: absolute; bottom: -26px; left: -26px;
  display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem;
  animation: floatCard 6s ease-in-out infinite reverse;
}
.cf-badge__icon { font-size: 1.5rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gradient-soft); border: 1px solid var(--border-strong); }
.card-float--badge strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.card-float--badge span { font-size: .8rem; color: var(--text-muted); }

/* Marquee */
.marquee { position: relative; z-index: 1; margin-top: 4.5rem; overflow: hidden; border-block: 1px solid var(--border); padding: 1.1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: inline-flex; gap: 1.6rem; white-space: nowrap; animation: scroll 32s linear infinite; font-family: var(--font-display); font-weight: 600; color: var(--text-muted); }
.marquee__track span { font-size: 1rem; }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 42rem; margin: 0 auto 3.5rem; text-align: center; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.section__sub { color: var(--text-soft); font-size: 1.05rem; }

/* Services */
.services__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.service-card {
  flex: 1 1 300px; max-width: 360px;
  position: relative; padding: 2rem 1.7rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--gradient-soft); opacity: 0; transition: opacity .35s ease; z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-8px); border-color: var(--border-strong); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  font-size: 1.7rem; width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 14px; background: var(--gradient-soft); border: 1px solid var(--border);
  margin-bottom: 1.2rem;
}
.service-card h3 { font-size: 1.22rem; margin-bottom: .7rem; }
.service-card p { color: var(--text-soft); font-size: .95rem; margin-bottom: 1.1rem; }
.service-card__list { display: grid; gap: .5rem; }
.service-card__list li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--text-muted); }
.service-card__list li::before { content: "→"; position: absolute; left: 0; color: var(--cyan-400); font-weight: 700; }

/* About */
.about__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: center; }
.about__imgcard {
  position: relative; aspect-ratio: 4/5; border-radius: 24px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--border); overflow: hidden; display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.about__glow { position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(56,189,248,.35), transparent 60%); }
.about__logo { position: relative; z-index: 1; width: 76%; max-width: 340px; height: auto; filter: drop-shadow(0 6px 26px rgba(56,189,248,.55)); }
.about__badge-xp {
  position: absolute; bottom: 1.3rem; right: 1.3rem; z-index: 2;
  display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem;
  background: rgba(6,13,24,.85); border: 1px solid var(--border-strong); border-radius: 14px; backdrop-filter: blur(6px);
}
.about__badge-xp strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--cyan-400); }
.about__badge-xp span { font-size: .78rem; color: var(--text-soft); }

.about__content p { color: var(--text-soft); margin-bottom: 1.5rem; }
.about__points { display: grid; gap: .85rem; margin-bottom: 2rem; }
.about__points li { display: flex; align-items: center; gap: .7rem; font-size: 1rem; }
.check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gradient-soft); border: 1px solid var(--border-strong); color: var(--cyan-300); font-size: .8rem; font-weight: 700; flex-shrink: 0; }

/* Testimonials */
.testi__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.testi-card { flex: 1 1 300px; max-width: 420px; }
.testi-card {
  padding: 2rem 1.8rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: transform .35s ease, border-color .35s ease;
}
.testi-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.testi-card__stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 1rem; }
.testi-card blockquote { color: var(--text); font-size: 1rem; margin-bottom: 1.5rem; }
.testi-card figcaption { display: flex; align-items: center; gap: .8rem; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); color: #041018; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.testi-card figcaption strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.testi-card figcaption small { color: var(--text-muted); font-size: .82rem; }

/* Pricing */
.pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2.2rem 1.9rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: transform .35s ease, border-color .35s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price-card--featured {
  border: 1.6px solid transparent;
  background:
    linear-gradient(160deg, #0d1e37, #0a1526) padding-box,
    linear-gradient(130deg, var(--cyan-400), #7c5cff 55%, var(--gold-400)) border-box;
  box-shadow: var(--shadow-glow), 0 0 60px -22px rgba(124,92,255,.7);
  animation: featuredGlow 4.5s ease-in-out infinite;
}
/* halo lumineux animé derrière la carte premium */
.price-card--featured::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: linear-gradient(130deg, var(--cyan-400), #7c5cff, var(--gold-400));
  filter: blur(22px); opacity: .35;
}
.price-card__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 2;
  background: var(--gradient-gold); color: #2a1c00; font-family: var(--font-display); font-weight: 800;
  font-size: .74rem; padding: .4rem 1rem; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow-gold); letter-spacing: .02em;
}
.price-card__name { font-size: 1.25rem; margin-bottom: .4rem; }
.price-card__desc { color: var(--text-muted); font-size: .9rem; min-height: 2.6rem; margin-bottom: 1.2rem; }
.price-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; padding-bottom: 1.3rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--border); }
.price-card__from { width: 100%; font-size: .8rem; color: var(--text-muted); }
.price-card__price strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--text); }
.price-card__unit { color: var(--text-muted); font-size: .9rem; }
.price-card__list { display: grid; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.price-card__list li { position: relative; padding-left: 1.6rem; font-size: .92rem; color: var(--text-soft); }
.price-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan-400); font-weight: 700; }
.price-card__hint { color: var(--text-muted); font-size: .82rem; }

/* FAQ */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 1rem; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0 1.4rem; overflow: hidden; transition: border-color .3s ease, background .3s ease;
  backdrop-filter: blur(8px);
}
.faq__item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.2rem 1.25rem 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.03rem; color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gradient-soft); border: 1px solid var(--border-strong); color: var(--cyan-300);
  font-size: 1.2rem; font-weight: 400; transition: transform .3s ease;
}
.faq__item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); color: var(--gold-300); }
.faq__item summary:hover { color: var(--cyan-300); }
.faq__answer { padding: 0 0 1.3rem; color: var(--text-soft); font-size: .96rem; animation: faqIn .35s ease; }
.faq__answer a { color: var(--cyan-300); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Contact */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact__info .section__head, .contact__info .section__sub { text-align: left; margin-left: 0; }
.contact__list { display: grid; gap: 1.4rem; margin-top: 2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__icon { font-size: 1.2rem; display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--gradient-soft); border: 1px solid var(--border); }
.contact__list strong { font-family: var(--font-display); font-size: .95rem; }
.placeholder { color: var(--cyan-300); font-style: italic; }
.contact__muted { color: var(--text-muted); font-size: .85rem; }
.contact__list a:hover { color: var(--cyan-300); }

.contact__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.1rem; box-shadow: var(--shadow); }
.field { display: grid; gap: .45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm);
  background: rgba(0,0,0,.25); border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-body); font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-400); box-shadow: 0 0 0 3px rgba(56,189,248,.18); }
.field textarea { resize: vertical; }
.field select { cursor: pointer; }
.field select option { background: var(--navy-800); }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .85rem; color: var(--text-soft); cursor: pointer; }
.consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: .15rem; accent-color: var(--cyan-400); cursor: pointer; }
.consent a { color: var(--cyan-300); }
.consent.invalid span { color: #fca5a5; }
.form__note { font-size: .88rem; text-align: center; min-height: 1.2rem; }
.form__note.ok { color: #6ee7b7; }
.form__note.err { color: #fca5a5; }
.field input.invalid, .field textarea.invalid { border-color: #fca5a5; }

/* ---------- Pages légales ---------- */
.legal-page { padding: 8rem 0 4rem; min-height: 70vh; }
.legal-page .container { max-width: 820px; }
.legal-back { display: inline-flex; align-items: center; gap: .4rem; color: var(--cyan-300); font-weight: 600; margin-bottom: 2rem; }
.legal-page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.legal-page .legal-updated { color: var(--text-muted); font-size: .9rem; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.3rem; margin: 2.2rem 0 .8rem; color: var(--text); }
.legal-page p, .legal-page li { color: var(--text-soft); margin-bottom: .7rem; line-height: 1.75; }
.legal-page ul { padding-left: 1.3rem; list-style: disc; margin-bottom: 1rem; }
.legal-page a { color: var(--cyan-300); }
.legal-page .todo { color: var(--gold-300); font-style: italic; }
.legal-page strong { color: var(--text); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 4rem 0 1.5rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer__brand p { color: var(--text-muted); font-size: .92rem; margin-top: 1rem; max-width: 22rem; }
.footer__col h4 { font-size: .95rem; margin-bottom: 1.1rem; }
.footer__col a, .footer__col span { display: block; color: var(--text-muted); font-size: .9rem; margin-bottom: .6rem; transition: color .2s; }
.footer__col a:hover { color: var(--cyan-300); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: .85rem; color: var(--text-muted); }
.footer__bottom a { color: var(--cyan-300); }
.footer__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.footer__social { margin-top: 1.2rem; }
.social-link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
  font-family: var(--font-display); font-weight: 600; font-size: .88rem;
  transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease;
}
.social-link:hover { transform: translateY(-2px); border-color: var(--border-strong); color: #fff; background: var(--surface-2); }
.social-link svg { color: #0a66c2; }

/* ---------- Couche "bling" : glass + reflets ---------- */
.service-card, .testi-card, .price-card, .contact__form {
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 45px -30px rgba(0,0,0,.9);
}
/* liseré lumineux supérieur */
.service-card::after, .testi-card::after {
  content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.7), transparent);
  opacity: .6;
}
.service-card:hover .service-card__icon {
  box-shadow: var(--shadow-gold); border-color: var(--gold-400);
  transform: scale(1.06) rotate(-3deg); transition: .35s ease;
}
.badge {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 24px -10px rgba(56,189,248,.6);
}
.stat__num, .stat__suffix { text-shadow: 0 0 22px rgba(56,189,248,.35); }
.section__title { text-shadow: 0 0 40px rgba(56,189,248,.12); }
/* séparateur brillant sous les titres de section */
.section__head .section__title::after {
  content: ""; display: block; width: 70px; height: 3px; margin: 1.1rem auto 0; border-radius: 3px;
  background: var(--gradient); box-shadow: var(--shadow-glow);
}

/* ---------- Curseur personnalisé (projecteur + anneau) ---------- */
.cursor-glow, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); will-change: transform; opacity: 0;
  transition: opacity .3s ease;
}
.cursor-active .cursor-glow, .cursor-active .cursor-ring { opacity: 1; }
.cursor-glow {
  width: 460px; height: 460px; border-radius: 50%; filter: blur(4px);
  background: radial-gradient(circle, rgba(56,189,248,.15), rgba(124,92,255,.07) 42%, transparent 70%);
  mix-blend-mode: screen;
}
.cursor-ring {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid rgba(56,189,248,.75);
  box-shadow: 0 0 14px rgba(56,189,248,.5), inset 0 0 10px rgba(56,189,248,.22);
  transition: width .25s ease, height .25s ease, border-color .25s ease, background .25s ease, opacity .3s ease;
}
.cursor-ring.is-hover {
  width: 56px; height: 56px;
  border-color: rgba(246,196,83,.9); background: rgba(246,196,83,.08);
  box-shadow: 0 0 20px rgba(246,196,83,.45), inset 0 0 12px rgba(246,196,83,.2);
}
.cursor-ring.is-down { width: 22px; height: 22px; border-color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-30px) translateX(20px); } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(52,211,153,.2); } 50% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } }
@keyframes grow { from { width: 0; } }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shine { 0% { left: -60%; } 22%, 100% { left: 140%; } }
@keyframes sheen { to { background-position: 220% center; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes featuredGlow {
  0%, 100% { box-shadow: var(--shadow-glow), 0 0 55px -24px rgba(124,92,255,.6); }
  50% { box-shadow: var(--shadow-glow), 0 0 75px -18px rgba(124,92,255,.85); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner, .about__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 400px; }
  .about__visual { max-width: 340px; margin-inline: auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.6rem;
    padding: 6rem 2rem 2rem; background: rgba(6,13,24,.97); backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform .35s ease; z-index: 90;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav.open { transform: translateX(0); }
  .nav__link { font-size: 1.15rem; }
  .burger { display: flex; z-index: 100; }
  .brand__name { display: none; }
  .hero { padding-top: 8.5rem; }
  .hero__stats { gap: 1.5rem 2rem; }
  .section { padding: 4.5rem 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .card-float--badge { left: 0; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
