:root {
  --bg: #071426;
  --bg-alt: #0b1c33;
  --card: #0f2342;
  --line: rgba(255, 255, 255, .09);
  --text: #e8eef8;
  --muted: #9fb0c8;
  --blue: #1a73ff;
  --blue-2: #4aa3ff;
  --silver: #cfd8e6;
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; line-height: 1.2; letter-spacing: -.01em; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head h2, .about__text h2, .service__intro h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-2); margin-bottom: 14px;
}
.grad { background: linear-gradient(90deg, var(--blue-2), #fff 60%, var(--silver)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #04210f; box-shadow: 0 10px 28px rgba(37, 211, 102, .28); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.04); }
.btn--ghost:hover { background: rgba(255,255,255,.09); }
.btn--small { padding: 9px 18px; font-size: .9rem; box-shadow: none; }
.btn--large { padding: 18px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; margin-top: auto; }
.ico { width: 22px; height: 22px; flex: none; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(7, 20, 38, .72); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.header.is-scrolled { border-color: var(--line); background: rgba(7, 20, 38, .92); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { width: 44px; height: 44px; object-fit: contain; }
.brand__name { font-family: "Sora", sans-serif; font-weight: 700; color: var(--silver); letter-spacing: .01em; }
.brand__name b { color: var(--blue-2); }
.nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; color: var(--muted); }
.nav a:not(.btn):hover { color: #fff; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .25s; }

/* ---------- Accueil ---------- */
.hero { padding: 150px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(26,115,255,.28), transparent 65%); pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin-bottom: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__logo { width: min(420px, 100%); height: auto; position: relative; filter: drop-shadow(0 20px 40px rgba(26,115,255,.35)); border-radius: 24px; background: #fff; padding: 10px; }
.glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); filter: blur(90px); opacity: .35; }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(74,163,255,.5); }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(26,115,255,.25), rgba(74,163,255,.08)); color: var(--blue-2);
}
.card__icon svg { width: 26px; height: 26px; }
.link { color: var(--blue-2); font-weight: 600; margin-top: auto; }
.link:hover { text-decoration: underline; }
.card--offer { gap: 14px; }
.mini { display: grid; gap: 8px; margin: 4px 0 18px; color: var(--silver); font-size: .95rem; }
.mini li::before, .checks li::before {
  content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px;
  border-radius: 50%; background: rgba(37,211,102,.16); color: var(--wa); font-size: .78rem; font-weight: 700;
}

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.about__photo { position: relative; max-width: 420px; }
.photo-frame {
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 3 / 4; background: var(--card);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.photo-frame--empty { background: linear-gradient(135deg, var(--blue), #0a2d63); display: grid; place-items: center; }
.photo-frame--empty::after { content: "EMB"; font-family: "Sora", sans-serif; font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.85); }
.badge-card {
  position: absolute; left: 16px; right: 16px; bottom: -22px; padding: 16px 18px;
  background: rgba(15, 35, 66, .96); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  display: grid; gap: 2px;
}
.badge-card span { color: var(--blue-2); font-size: .88rem; }
.about__text p { color: var(--muted); margin-bottom: 14px; }
.about__text p b { color: var(--text); }
.values { display: grid; gap: 14px; margin: 24px 0 30px; }
.values li { display: flex; gap: 16px; align-items: flex-start; }
.values li > span { font-family: "Sora", sans-serif; font-weight: 700; color: var(--blue-2); font-size: .95rem; padding-top: 2px; }
.values small { display: block; color: var(--muted); font-size: .92rem; }

/* ---------- Services détaillés ---------- */
.service__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service__intro .btn { margin-top: 26px; }
.checks { display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.checks li { color: var(--silver); display: flex; align-items: flex-start; }
.checks li::before { flex: none; margin-top: 2px; }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 8px; }
.steps b { font-family: "Sora", sans-serif; color: var(--blue-2); }
.steps span { color: var(--muted); font-size: .95rem; }

/* ---------- Appel à l'action ---------- */
.cta {
  text-align: center; padding: 64px 28px; border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 0%, rgba(26,115,255,.35), transparent 60%), var(--card);
}
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 12px; }
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.cta .cta__note { margin: 18px auto 0; font-size: .88rem; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 90px; background: var(--bg-alt); }
.footer__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; color: var(--muted); font-size: .94rem; }
.footer__nav a:hover { color: #fff; }
.footer__copy { color: var(--muted); font-size: .85rem; }

/* ---------- Bouton WhatsApp flottant ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45); animation: pulse 2.6s infinite;
}
.fab svg { width: 32px; height: 32px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 10px 30px rgba(37,211,102,.4); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,.4); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,.4); }
}

/* ---------- Animation d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab { animation: none; }
}

/* ---------- Tablette et mobile ---------- */
@media (max-width: 920px) {
  .grid--3, .steps { grid-template-columns: 1fr 1fr; }
  .hero__inner, .about, .service__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__logo { width: min(260px, 70%); }
  .about { gap: 56px; }
  .about__photo { margin-inline: auto; width: 100%; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }
  .burger { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7,20,38,.98); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 20px;
  }
  .nav.is-open { max-height: 480px; padding: 8px 20px 20px; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .grid--3, .steps { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .brand__name { font-size: .95rem; }
  .cta { padding: 48px 20px; }
  .btn--large { width: 100%; padding: 16px 20px; font-size: 1rem; }
}

/* ============================================================
   AJOUTS : confiance, réalisations, partenariat, FAQ, contact
   ============================================================ */

/* ---------- Bandeau de confiance ---------- */
.trust { padding: 0 0 8px; margin-top: -10px; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust__item {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.trust__item svg { width: 34px; height: 34px; flex: none; color: var(--blue-2); }
.trust__item b { display: block; font-family: "Sora", sans-serif; font-size: .98rem; }
.trust__item span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; }

/* ---------- Réalisations ---------- */
.works { columns: 3; column-gap: 22px; }
.work { break-inside: avoid; margin-bottom: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.work:hover { transform: translateY(-5px); border-color: rgba(74,163,255,.5); }
.work__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.work img { width: 100%; height: auto; display: block; }
.work figcaption { padding: 14px 18px 18px; font-size: .92rem; color: var(--silver); display: grid; gap: 8px; }
.tag {
  justify-self: start; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(26,115,255,.18); color: var(--blue-2);
}

/* ---------- Partenariat ---------- */
.partner {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; margin-top: 30px;
  padding: 34px; background: var(--card); border: 1px solid var(--line); border-radius: 28px;
}
.partner__photo { border-radius: 20px; overflow: hidden; max-width: 380px; width: 100%; justify-self: center; border: 1px solid var(--line); box-shadow: var(--shadow); }
.partner__photo img { width: 100%; height: auto; display: block; }
.partner__text h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 14px; }
.partner__text p { color: var(--muted); margin-bottom: 14px; }
.partner__text .btn { margin-top: 8px; }
.works__more { text-align: center; margin-top: 44px; display: grid; gap: 16px; justify-items: center; }
.works__more p { color: var(--muted); }

/* ---------- Agrandissement ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px;
  background: rgba(3, 9, 18, .92); backdrop-filter: blur(6px); cursor: zoom-out;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(100%, 900px); max-height: 88vh; width: auto; height: auto; border-radius: 14px; box-shadow: var(--shadow); cursor: default; }
.lightbox__close {
  position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.08); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
}
body.no-scroll { overflow: hidden; }

/* ---------- Questions fréquentes ---------- */
.faq__list { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq details[open] { border-color: rgba(74,163,255,.5); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue-2); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* ---------- Coordonnées ---------- */
.contact-list { display: grid; gap: 12px; justify-items: center; margin-top: 30px; color: var(--silver); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list svg { width: 22px; height: 22px; color: var(--blue-2); flex: none; }
.contact-list a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 920px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .works { columns: 2; }
  .partner { grid-template-columns: 1fr; padding: 26px; gap: 28px; }
}
@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr; }
  .works { columns: 1; }
  .contact-list li { font-size: .92rem; text-align: left; }
}
