:root {
  --blue: #2f8fd1;
  --blue-dark: #1b5f8c;
  --navy: #0f2a40;
  --navy-2: #143650;
  --orange: #f39a1d;
  --yellow: #ffc20e;
  --text: #22313f;
  --muted: #5f6f7e;
  --bg: #ffffff;
  --bg-alt: #f3f7fb;
  --border: #e2e9f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 42, 64, .08);
  --shadow-lg: 0 20px 50px rgba(15, 42, 64, .15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: "Poppins", sans-serif; line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--blue-dark); text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--orange), #f7b733); color: #fff; box-shadow: 0 8px 20px rgba(243, 154, 29, .35); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(243, 154, 29, .45); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-block; font-family: "Poppins", sans-serif; font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .8rem;
}
.eyebrow--light { color: var(--yellow); }
.hl { color: var(--yellow); }

/* barre infos */
.topbar { background: var(--yellow); color: var(--navy); font-size: .85rem; font-weight: 500; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: flex-end; padding: .5rem 0; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; color: var(--navy); }
.topbar__item svg { width: 16px; height: 16px; }

/* en-tete */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: "Poppins", sans-serif; font-size: 1.35rem; color: var(--blue-dark); letter-spacing: .04em; }
.brand__text small { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--text); font-weight: 500; font-size: .95rem; position: relative; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--orange); transition: width .25s; }
.nav a:not(.nav__cta):hover::after, .nav a.is-active::after { width: 100%; }
.nav__cta { background: var(--blue-dark); color: #fff !important; padding: .55rem 1.2rem; border-radius: 999px; }
.nav__cta:hover { background: var(--blue); }
.header__actions { display: flex; align-items: center; gap: .8rem; }
.lang { display: flex; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: .3rem .65rem; border-radius: 999px; font-weight: 600; font-size: .78rem; cursor: pointer; color: var(--muted); }
.lang button.is-active { background: var(--blue-dark); color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.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); }

/* hero */
.hero { position: relative; color: #fff; overflow: hidden; padding: 90px 0 110px; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(47,143,209,.55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(243,154,29,.25), transparent 40%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-dark) 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero__company {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: .06em; color: #fff; margin: 0 0 .5rem; padding-left: .8rem; border-left: 4px solid var(--orange);
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
.lead { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 560px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .92rem; color: rgba(255,255,255,.9); }
.hero__points li { display: flex; align-items: center; gap: .45rem; }
.hero__points li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); font-size: .7rem; font-weight: 700; }

.hero__visual { position: relative; height: 420px; }
.device { position: absolute; }
.device--laptop { width: 88%; right: 0; top: 30px; animation: float 6s ease-in-out infinite; }
.device__screen { background: #fff; border: 10px solid #1d2b38; border-radius: 14px 14px 0 0; aspect-ratio: 16/10; overflow: hidden; box-shadow: var(--shadow-lg); }
.device__base { height: 14px; margin: 0 -6%; background: linear-gradient(#c8d3dd, #8d9aa6); border-radius: 0 0 14px 14px; }
.mock-bar { display: flex; gap: 5px; padding: 8px 10px; background: #eef3f7; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5df; }
.mock-bar i:first-child { background: #ff6b6b; } .mock-bar i:nth-child(2) { background: var(--yellow); } .mock-bar i:nth-child(3) { background: #3ecf8e; }
.mock-body { display: flex; height: calc(100% - 24px); }
.mock-side { width: 22%; background: var(--navy); }
.mock-main { flex: 1; padding: 6%; display: flex; flex-direction: column; gap: 8%; }
.mock-line { height: 8px; border-radius: 4px; background: #dbe4ec; }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w90 { width: 90%; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-cards div { height: 34px; border-radius: 6px; background: var(--bg-alt); border-left: 3px solid var(--blue); }
.mock-cards div:nth-child(2) { border-color: var(--orange); }
.mock-chart { flex: 1; display: flex; align-items: flex-end; gap: 6%; padding-top: 4px; }
.mock-chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--blue), var(--blue-dark)); }
.mock-chart span:nth-child(even) { background: linear-gradient(var(--yellow), var(--orange)); }
.device--phone {
  width: 150px; height: 300px; left: 0; bottom: 0; background: #fff; border: 8px solid #1d2b38; border-radius: 28px;
  padding: 26px 14px 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite reverse;
}
.phone__notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 12px; background: #1d2b38; border-radius: 0 0 10px 10px; }
.mock-circle { width: 70px; height: 70px; border-radius: 50%; margin: 6px auto; background: conic-gradient(var(--orange) 0 65%, #e8eef3 65%); mask: radial-gradient(circle, transparent 22px, #000 23px); }
.mock-btn { margin-top: auto; height: 26px; border-radius: 999px; background: var(--blue-dark); }
.hero__logo { position: absolute; width: 96px; right: -6px; bottom: 24px; padding: 10px; background: #fff; border-radius: 50%; box-shadow: var(--shadow-lg); animation: spin 30s linear infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* bandeau */
.strip { position: relative; margin-top: -50px; z-index: 2; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.strip__item { padding: 1.6rem; text-align: center; border-right: 1px solid var(--border); }
.strip__item:last-child { border-right: 0; }
.strip__item strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.3rem; color: var(--blue-dark); }
.strip__item span { color: var(--muted); font-size: .9rem; }

/* sections */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: rgba(255,255,255,.85); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section__head p { color: var(--muted); }

/* a propos */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.about__media { position: relative; }
.about__logo { background: radial-gradient(circle at 50% 40%, #fff 50%, var(--bg-alt)); border-radius: 32px; aspect-ratio: 1; display: grid; place-items: center; padding: 10%; border: 1px solid var(--border); box-shadow: var(--shadow); }
.about__badge { position: absolute; right: -16px; top: -16px; background: var(--orange); color: #fff; padding: 1rem 1.3rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about__badge strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.4rem; }
.about__badge span { font-size: .85rem; }
.about__text > p { color: var(--muted); }
.mvv { display: grid; gap: 1.2rem; margin-top: 1.8rem; }
.mvv__item { display: flex; gap: 1rem; align-items: flex-start; }
.mvv__item h3 { margin-bottom: .2rem; }
.mvv__item p { margin: 0; color: var(--muted); font-size: .95rem; }
.mvv__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(47,143,209,.12); color: var(--blue-dark); }
.mvv__icon svg { width: 24px; height: 24px; }

/* services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { width: 100%; }
.card__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.3rem; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; }
.card:nth-child(even) .card__icon { background: linear-gradient(135deg, #f7b733, var(--orange)); }
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* methode */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 .4rem; }
.step__num { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; background: #fff; border: 3px solid var(--blue); font-family: "Poppins", sans-serif; font-weight: 700; color: var(--blue-dark); font-size: 1.1rem; box-shadow: var(--shadow); transition: .3s; }
.step:hover .step__num { background: var(--orange); border-color: var(--orange); color: #fff; }
.step p { color: var(--muted); font-size: .92rem; }

/* pourquoi nous */
.why { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.why__item { padding: 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .3s; }
.why__item:hover { background: rgba(255,255,255,.1); }
.why__item h3 { display: flex; align-items: center; gap: .6rem; }
.why__item h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.why__item p { margin: 0; font-size: .93rem; }
.why__intro .btn { margin-top: .6rem; }

/* technologies */
.tech { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; max-width: 900px; margin: 0 auto; }
.tech span { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.2rem .6rem 1rem; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-weight: 500; font-size: .92rem; transition: .25s; }
.tech span img { width: 22px; height: 22px; object-fit: contain; }
.tech span img:last-of-type { margin-right: .15rem; }
.tech span:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-3px); }

/* cta */
.cta { background: linear-gradient(135deg, var(--yellow), var(--orange)); padding: 60px 0; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { margin-bottom: .3rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta p { margin: 0; color: var(--navy); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1.2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: center; }
.contact__list div { display: flex; flex-direction: column; }
.contact__list strong { font-family: "Poppins", sans-serif; color: var(--navy); font-size: .95rem; }
.contact__list span, .contact__list a { color: var(--muted); word-break: break-word; }
.ci { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(243,154,29,.14); color: var(--orange); }
.form { background: #fff; padding: 2.2rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); display: grid; gap: 1.1rem; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-weight: 500; font-size: .9rem; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-alt);
  font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47,143,209,.15); }
.form textarea { resize: vertical; }
.form .is-invalid { border-color: #e5484d; }
.hp { display: none; }
.form__status { margin: 0; font-size: .92rem; min-height: 1.4em; text-align: center; }
.form__status.ok { color: #1f9d55; } .form__status.err { color: #e5484d; }


/* footer */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: 70px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 50px; }
.footer__logo { width: 72px; height: 72px; background: #fff; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; }
.footer__logo img { width: 56px; height: 56px; object-fit: contain; }
.footer strong { color: #fff; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a { color: rgba(255,255,255,.7); word-break: break-word; }
.footer a:hover { color: var(--yellow); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; text-align: center; font-size: .85rem; }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s; z-index: 40; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .device, .hero__logo { animation: none; }
}

/* responsive */
@media (max-width: 1080px) {
  .nav { gap: 1.1rem; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
}
@media (max-width: 960px) {
  .burger { display: flex; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .5rem 16px 1.2rem; box-shadow: var(--shadow-lg);
    transform: translateY(-120%); visibility: hidden; transition: transform .35s, visibility .35s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--border); }
  .nav a::after { display: none; }
  .nav__cta { margin-top: .8rem; text-align: center; border-bottom: 0 !important; }
  .hero__inner, .about, .why, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .hero { padding: 60px 0 100px; }
  .hero__visual { height: 360px; max-width: 520px; width: 100%; margin: 0 auto; }
  .about__media { max-width: 380px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .brand__text small { display: none; }
  .about__badge { right: 8px; top: -12px; padding: .8rem 1rem; }
  .section { padding: 70px 0; }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .strip__item:nth-child(2) { border-right: 0; }
  .strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .cards, .why__grid, .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 1rem; text-align: left; align-items: center; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { margin: 0; align-self: end; }
  .step p { margin: 0; align-self: start; }
  .hero__visual { height: 300px; }
  .device--phone { width: 120px; height: 240px; }
  .hero__logo { width: 72px; }
  .form { padding: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__inner { text-align: center; justify-content: center; }
}
