/* ============================================================
   Vizion LED — Stylesheet
   Modern, premium, trust-building design
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-dark: #0a0e1a;
  --bg-darker: #060912;
  --ink: #0a0e1a;
  --ink-2: #1f2937;
  --muted: #5b6678;
  --muted-2: #8893a4;
  --line: #e6e9ef;
  --line-dark: #1c2333;

  --brand: #2563eb;
  --brand-2: #06b6d4;
  --brand-3: #7c3aed;
  --accent: #f59e0b;
  --success: #10b981;

  --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 60%, #7c3aed 100%);
  --grad-soft: linear-gradient(135deg, rgba(37,99,235,.08), rgba(124,58,237,.08));

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(10,14,26,.06), 0 1px 3px rgba(10,14,26,.04);
  --shadow: 0 6px 20px -6px rgba(10,14,26,.12), 0 2px 6px rgba(10,14,26,.04);
  --shadow-lg: 0 24px 60px -20px rgba(10,14,26,.25), 0 8px 20px -12px rgba(10,14,26,.15);
  --shadow-glow: 0 20px 60px -20px rgba(37,99,235,.45);

  --container: 1200px;
  --transition: 200ms cubic-bezier(.2,.7,.3,1);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*,*::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: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--muted); }

::selection { background: var(--brand); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-soft); }
.section--dark {
  background: var(--bg-dark);
  color: #e7ecf5;
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(700px 400px at 10% 80%, rgba(6,182,212,.15), transparent 60%);
  pointer-events: none;
}
.section--dark .container { position: relative; z-index: 1; }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section__head h2 { margin-bottom: .5em; }
.section__head p { font-size: 1.1rem; color: var(--muted); }
.section__head--light h2,
.section__head--light .eyebrow { color: #fff; }
.section__head--light p { color: rgba(255,255,255,.7); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(37,99,235,.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section--dark .eyebrow {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid--3 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 28px 70px -20px rgba(37,99,235,.55); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: #fff; border-color: var(--ink); }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.2); }
.section--dark .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: .875rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--bg-darker);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 38px;
}
.topbar__item a { color: #fff; }
.topbar__item a:hover { color: var(--brand-2); }
.topbar__item--push { margin-left: auto; color: var(--brand-2); font-weight: 600; }
@media (max-width: 700px) {
  .topbar__item--hide-mobile { display: none; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -.01em;
  text-decoration: none;
}
.logo__img {
  height: 44px;
  width: auto;
  display: block;
}
.logo__img--square { height: 88px; }
.logo--footer {
  display: inline-flex;
  background: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,.4);
}
@media (max-width: 600px) {
  .logo__img { height: 38px; }
  .logo__img--square { height: 72px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 32px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .94rem;
  color: var(--ink-2);
}
.nav a:hover { color: var(--brand); background: rgba(37,99,235,.06); }

.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 8px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 110px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-left: 0;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a { padding: 12px 16px; font-size: 1rem; }
  .burger { display: inline-flex; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f3f6fc 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,.25), transparent 60%);
  filter: blur(40px);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 64px;
  padding: clamp(60px, 9vw, 100px) 24px clamp(80px, 10vw, 130px);
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 80px; }
}

.hero__content { max-width: 620px; }
.hero h1 { margin-bottom: .35em; }
.hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 580px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: .92rem;
  color: var(--ink-2);
  font-weight: 500;
}
.hero__bullets li::marker { content: ''; }

/* Hero visual — real photo */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
@media (max-width: 980px) { .hero__visual { min-height: 360px; } }

.hero__photo {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 32px;
  box-shadow:
    0 40px 90px -25px rgba(10,14,26,.5),
    0 12px 30px -12px rgba(37,99,235,.35),
    0 0 0 1px rgba(255,255,255,.05);
  animation: heroFloat 8s ease-in-out infinite;
  display: block;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.floating {
  position: absolute;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  animation: float 6s ease-in-out infinite;
}
.floating--1 { top: 8%; left: -4%; animation-delay: 0s; }
.floating--2 { top: 38%; right: -2%; animation-delay: -2s; }
.floating--3 { bottom: 8%; left: 6%; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@media (max-width: 600px) {
  .floating--1 { left: 0; top: 0; }
  .floating--2 { right: 0; }
  .floating--3 { left: 0; bottom: 0; }
}

/* Trust bar */
.trustbar {
  position: relative;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.trustbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.trustbar__title {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.trustbar__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
}
.trustbar__logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .15em;
  color: var(--muted-2);
  opacity: .65;
  transition: opacity var(--transition), color var(--transition);
}
.trustbar__logos span:hover { opacity: 1; color: var(--ink); }

/* ---------- Stats ---------- */
.stats { padding: 64px 0; }
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 700px) { .stats__inner { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat__label { color: var(--muted); font-weight: 500; font-size: .95rem; }

/* ---------- Cards / Services ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.3);
}
.card__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--grad-soft);
  border-radius: 14px;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: .5em; }
.card p { margin-bottom: 1.2em; }
.card__features {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px; font-size: .92rem;
}
.card__features li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
}
.card__features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--success);
  font-weight: 700;
}
.card__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--brand);
  font-size: .92rem;
}
.card__link:hover { color: var(--brand-3); }
.card--featured {
  border-color: transparent;
  background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-glow);
}
.card__badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--grad);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Events ---------- */
.events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .events { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .events { grid-template-columns: 1fr; } }

.event {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
  color: inherit;
}
.event:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event__img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  position: relative;
  overflow: hidden;
}
.event__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.event:hover .event__img img { transform: scale(1.06); }
.event__img::after {
  content: '';
  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: 24px 24px;
  pointer-events: none;
}
/* Hide grid pattern when a real image is loaded */
.event__img:has(img[src]) ::after { display: none; }
.event__img[data-bg="conference"] { background: linear-gradient(135deg, #1e40af, #06b6d4); }
.event__img[data-bg="salon"]      { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.event__img[data-bg="concert"]    { background: linear-gradient(135deg, #db2777, #f59e0b); }
.event__img[data-bg="sport"]      { background: linear-gradient(135deg, #059669, #2563eb); }
.event__img[data-bg="cinema"]     { background: linear-gradient(135deg, #0a0e1a, #7c3aed); }
.event__img[data-bg="mariage"]    { background: linear-gradient(135deg, #f59e0b, #db2777); }

.event h4 {
  font-size: 1.05rem;
  margin: 18px 18px 6px;
}
.event p { padding: 0 18px 18px; font-size: .9rem; margin: 0; }

/* ---------- Advantages ---------- */
.advantages .advantage {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.advantages .advantage:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.advantage__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.advantage h3 { margin-bottom: .4em; font-size: 1.15rem; }
.advantage p { margin: 0; font-size: .95rem; }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }
.process__step {
  position: relative;
  padding: 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition);
}
.process__step:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.2);
}
.process__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.process__step h3 { color: #fff; margin-bottom: .4em; font-size: 1.15rem; }
.process__step p { color: rgba(255,255,255,.7); font-size: .92rem; margin-bottom: 14px; }
.process__time {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand-2);
  background: rgba(6,182,212,.12);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Gallery / Projects ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
}
.project {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #1e40af, #7c3aed);
  grid-column: span 1;
  grid-row: span 1;
}
.project--lg { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .project--lg { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .project, .project--lg { grid-column: span 1; grid-row: span 1; }
}
.project[data-bg="proj1"] { background: linear-gradient(135deg, #db2777, #7c3aed, #1e40af); }
.project[data-bg="proj2"] { background: linear-gradient(135deg, #1e40af, #06b6d4); }
.project[data-bg="proj3"] { background: linear-gradient(135deg, #059669, #1e40af); }
.project[data-bg="proj4"] { background: linear-gradient(135deg, #f59e0b, #db2777); }
.project[data-bg="proj5"] { background: linear-gradient(135deg, #7c3aed, #db2777, #f59e0b); }
.project[data-bg="proj6"] { background: linear-gradient(135deg, #0a0e1a, #1e40af, #06b6d4); }
.project::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 1;
}
.project__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
  z-index: 0;
}
.project:hover .project__img { transform: scale(1.08); }
.project:has(.project__img[src]) ::before { display: none; }
.project__overlay {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85));
  color: #fff;
  transition: background var(--transition);
  z-index: 2;
}
.project:hover .project__overlay { background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.95)); }
.project__tag {
  display: inline-block;
  width: max-content;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.project__overlay h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.project__overlay p { color: rgba(255,255,255,.85); font-size: .88rem; margin: 0; }

/* ---------- Testimonials ---------- */
.rating {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 14px;
}
.rating__stars { color: #f59e0b; font-size: 1.2rem; letter-spacing: 2px; }
.rating__score { color: var(--muted); font-size: .95rem; }
.rating__score strong { color: var(--ink); }

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 0;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial__stars { color: #f59e0b; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial blockquote {
  margin: 0 0 24px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-2);
  flex: 1;
}
.testimonial figcaption {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.testimonial figcaption strong { color: var(--ink); font-size: .98rem; }
.testimonial figcaption span { color: var(--muted); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item[open] { border-color: rgba(37,99,235,.3); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brand);
  transition: transform var(--transition);
  flex-shrink: 0;
  font-weight: 400;
}
.faq__item[open] summary::after { content: '−'; }
.faq__content {
  padding: 0 24px 22px;
}
.faq__content p { color: var(--muted); margin: 0; }
.faq__content strong { color: var(--ink); }

/* ---------- CTA / Form ---------- */
.cta { background: var(--bg-soft); }
.cta__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px) { .cta__wrapper { grid-template-columns: 1fr; } }

.cta__intro h2 { margin-bottom: .5em; }
.cta__benefits {
  display: flex; flex-direction: column; gap: 10px;
  margin: 24px 0 32px;
  font-weight: 500;
  color: var(--ink-2);
}
.cta__contact { display: flex; flex-direction: column; gap: 14px; }
.cta__contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cta__contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(37,99,235,.3);
  box-shadow: var(--shadow-sm);
}
.cta__contact-item span:first-child {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--grad-soft);
  border-radius: 12px;
  font-size: 1.3rem;
}
.cta__contact-item small {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.cta__contact-item strong { font-size: 1.02rem; color: var(--ink); }

/* Form */
.form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.form h3 {
  margin-bottom: 24px;
  font-size: 1.4rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form__row .form__field { margin-bottom: 0; }
.form__field span {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-2);
}
.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.form input:invalid:not(:placeholder-shown),
.form select:invalid:not([value=""]):not(:focus) {
  /* keep neutral; we validate via JS */
}
.form__check {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 8px 0 18px;
  font-size: .88rem;
  color: var(--muted);
  cursor: pointer;
}
.form__check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.form__note {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin: 14px 0 0;
}
.form__success {
  background: rgba(16,185,129,.08);
  color: #047857;
  border: 1px solid rgba(16,185,129,.3);
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-darker);
  color: rgba(255,255,255,.7);
  padding: 80px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__col h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer__col a:hover { color: var(--brand-2); }
.footer__col--brand p { color: rgba(255,255,255,.65); font-size: .92rem; max-width: 320px; margin-top: 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge {
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 999px;
}
.footer__contact a { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .85rem;
}
.footer__bottom p { margin: 0; color: rgba(255,255,255,.5); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,.6); }
.footer__legal a:hover { color: #fff; }

/* ---------- Floating mobile CTA ---------- */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: var(--grad);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: var(--shadow-glow);
  z-index: 40;
  transition: transform var(--transition);
}
.floating-cta:hover { transform: translateY(-2px) scale(1.03); }
@media (max-width: 700px) { .floating-cta { display: inline-flex; } }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: linear-gradient(135deg, #0a0e1a 0%, #1e1b4b 60%, #312e81 100%);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 60px);
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(124,58,237,.3), transparent 60%),
    radial-gradient(500px 300px at 20% 80%, rgba(6,182,212,.2), transparent 60%);
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero .breadcrumb {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.legal-hero .breadcrumb a { color: var(--brand-2); }
.legal-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}
.legal-hero p {
  color: rgba(255,255,255,.7);
  margin-top: 12px;
  font-size: 1.05rem;
}

.legal {
  padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 9vw, 100px);
}
.legal__content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--ink-2);
}
.legal__content h2 {
  font-size: 1.5rem;
  margin: 2.4em 0 .6em;
  color: var(--ink);
  padding-bottom: .35em;
  border-bottom: 2px solid var(--line);
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content h3 {
  font-size: 1.1rem;
  margin: 1.8em 0 .4em;
  color: var(--ink);
}
.legal__content p,
.legal__content ul,
.legal__content ol {
  margin: 0 0 1em;
  line-height: 1.7;
}
.legal__content ul,
.legal__content ol {
  padding-left: 1.4em;
}
.legal__content ul li,
.legal__content ol li {
  list-style: disc;
  margin-bottom: .4em;
}
.legal__content ol li { list-style: decimal; }
.legal__content a { color: var(--brand); text-decoration: underline; }
.legal__content a:hover { color: var(--brand-3); }
.legal__content strong { color: var(--ink); }
.legal__content .info-box {
  background: var(--bg-soft);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 1.5em 0;
}
.legal__content .info-box p:last-child { margin-bottom: 0; }
.legal__content .updated {
  display: inline-block;
  background: var(--grad-soft);
  color: var(--brand);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

/* ---------- Blog ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.3);
}
.post-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: block;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  color: var(--brand);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.post-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__meta {
  display: flex;
  gap: 8px;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.post-card__title {
  font-size: 1.15rem;
  margin: 0 0 12px;
  line-height: 1.35;
}
.post-card__title a {
  color: var(--ink);
  transition: color var(--transition);
}
.post-card__title a:hover { color: var(--brand); }
.post-card__excerpt {
  color: var(--muted);
  font-size: .94rem;
  margin: 0 0 20px;
  flex: 1;
}
.post-card__link {
  font-weight: 600;
  color: var(--brand);
  font-size: .92rem;
  margin-top: auto;
}
.post-card__link:hover { color: var(--brand-3); }

/* ---------- Single article ---------- */
.single-article__hero {
  background: linear-gradient(135deg, #0a0e1a 0%, #1e1b4b 60%, #312e81 100%);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 60px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.single-article__hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(124,58,237,.3), transparent 60%),
    radial-gradient(500px 300px at 20% 80%, rgba(6,182,212,.2), transparent 60%);
}
.single-article__hero .container { position: relative; z-index: 1; max-width: 820px; }
.single-article__hero .breadcrumb {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.single-article__hero .breadcrumb a { color: var(--brand-2); }
.article-category {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.single-article__hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 18px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}

.article-cover {
  margin-top: -40px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.article-cover img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.article-body {
  padding: 24px 0 16px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.article-body .lead {
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.5em;
  line-height: 1.6;
}
.article-body h2 {
  font-size: 1.6rem;
  margin: 2em 0 .6em;
  color: var(--ink);
}
.article-body h3 {
  font-size: 1.2rem;
  margin: 1.6em 0 .4em;
  color: var(--ink);
}
.article-body p { margin: 0 0 1.2em; }
.article-body ul, .article-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.5em;
}
.article-body li {
  list-style: disc;
  margin-bottom: .5em;
}
.article-body strong { color: var(--ink); }
.article-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--brand-3); }
.article-body .article-cta {
  display: inline-block;
  background: var(--grad);
  color: #fff !important;
  text-decoration: none !important;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  margin-top: .8em;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition);
}
.article-body .article-cta:hover { transform: translateY(-2px); color: #fff !important; }

.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 24px 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.article-share span:first-child {
  font-weight: 600;
  color: var(--ink);
  margin-right: 8px;
}
.article-share a {
  padding: 8px 16px;
  background: var(--bg-soft);
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.article-share a:hover { background: var(--brand); color: #fff; }

/* ---------- Zones d'intervention ---------- */
.zones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
@media (max-width: 1100px) { .zones { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .zones { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .zones { grid-template-columns: 1fr; } }

.zone {
  position: relative;
  background: #fff;
  padding: 22px 22px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}
.zone:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.zone:hover::before { opacity: 0; }
.zone > * { position: relative; z-index: 1; }

.zone__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.zone__code {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: -.02em;
  box-shadow: 0 4px 12px -4px rgba(37,99,235,.4);
}
.zone__name {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}
.zone__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.zone__pill {
  display: inline-block;
  padding: 5px 11px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 500;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.zone:hover .zone__pill {
  background: rgba(37,99,235,.08);
  color: var(--brand);
}

.zones__note {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
  padding: 16px 20px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.zones__note a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Form error banner */
.form__error {
  background: rgba(239,68,68,.08);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,.3);
  padding: 14px 16px;
  border-radius: var(--radius);
  text-align: left;
  font-size: .92rem;
  margin-bottom: 16px;
}

/* Footer logo invert */
.logo__img--invert {
  filter: brightness(0) invert(1);
  height: 36px;
}

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

/* ---------- Bandeau cookies RGPD ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(10, 14, 26, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: #e6e9ef;
  animation: cookie-in 360ms cubic-bezier(.2,.7,.3,1) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-leaving { animation: cookie-out 300ms ease forwards; }
.cookie-banner__body { display: flex; gap: 10px; align-items: flex-start; }
.cookie-banner__icon { font-size: 1.1rem; line-height: 1.4; flex: 0 0 auto; }
.cookie-banner__text {
  margin: 0;
  font-size: .82rem;
  line-height: 1.5;
  color: #c3cad8;
}
.cookie-banner__text a { color: var(--brand-2); text-decoration: underline; }
.cookie-banner__text a:hover { color: #fff; }
.cookie-banner__actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-banner__btn {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--muted-2);
  border: 1px solid var(--line-dark);
}
.cookie-banner__btn--ghost:hover { color: #fff; border-color: var(--muted-2); }
.cookie-banner__btn--primary { background: var(--grad); color: #fff; }
.cookie-banner__btn--primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cookie-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(16px); }
}

@media (max-width: 520px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}
