/* Palette tirée du logo : bleu du globe, rouge de « Translog », gris de « BOOSTER » */
:root {
  --bleu: #0B6CB0;
  --bleu-fonce: #08528A;
  --bleu-nuit: #0A2540;
  --bleu-clair: #E8F2FA;
  --rouge: #E1251B;
  --rouge-fonce: #B81B13;
  --gris: #5A5A5A;
  --gris-clair: #F5F7FA;
  --texte: #1B2430;
  --texte-doux: #5B6675;
  --bordure: #E3E8EF;
  --blanc: #FFFFFF;
  --wa: #25D366;
  --wa-fonce: #1DA851;
  --rayon: 16px;
  --ombre: 0 10px 30px rgba(10, 37, 64, .08);
  --ombre-forte: 0 18px 45px rgba(10, 37, 64, .16);
  --largeur: 1180px;
  --en-tete: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--en-tete) + 12px); }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; color: var(--bleu-nuit); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--largeur)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bleu); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px; color: var(--rouge);
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--rouge); }
.eyebrow--center { display: flex; justify-content: center; }
.accent { color: var(--rouge); }
.icon { width: 20px; height: 20px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: .98rem; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--rouge); color: #fff; box-shadow: 0 8px 20px rgba(225, 37, 27, .25); }
.btn--primary:hover { background: var(--rouge-fonce); }
.btn--ghost { border-color: var(--bordure); color: var(--bleu-nuit); background: var(--blanc); }
.btn--ghost:hover { border-color: var(--wa); color: var(--wa-fonce); }
.btn--wa { background: var(--wa); color: #fff; width: 100%; font-size: 1.02rem; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: var(--wa-fonce); }

/* En-tête */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--bordure); box-shadow: 0 4px 20px rgba(10, 37, 64, .06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--en-tete); gap: 24px; }
.header__logo { margin-right: auto; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--texte); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { padding: 11px 20px; }
.lang { display: flex; align-items: center; padding: 3px; border: 1px solid var(--bordure); border-radius: 999px; background: var(--blanc); }
.lang a {
  padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  color: var(--texte-doux); text-decoration: none; transition: background-color .2s, color .2s;
}
.lang a:hover { color: var(--bleu); }
.lang a[aria-current="true"] { background: var(--bleu); color: #fff; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--bleu-nuit); border-radius: 2px; transition: transform .25s, opacity .25s; }
.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); }

/* Héros */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 96px;
  background:
    radial-gradient(900px 500px at 100% 0%, var(--bleu-clair), transparent 65%),
    linear-gradient(180deg, var(--blanc), var(--gris-clair));
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__lead { font-size: 1.15rem; color: var(--texte-doux); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero__chips li {
  padding: 6px 14px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--bordure);
  font-size: .85rem; font-weight: 600; color: var(--bleu-fonce);
}

/* Losanges : rappel des visuels du flyer */
.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: center; width: 100%; }
.diamond { position: absolute; overflow: hidden; border-radius: 28px; transform: rotate(45deg); box-shadow: var(--ombre-forte); }
.diamond img { position: absolute; left: -21%; top: -21%; width: 142%; height: 142%; max-width: none; object-fit: cover; transform: rotate(-45deg); }
.diamond--lg { width: 62%; aspect-ratio: 1; top: 8%; left: 16%; border: 6px solid var(--blanc); }
.diamond--sm { width: 36%; aspect-ratio: 1; bottom: 2%; left: 0; border: 6px solid var(--blanc); }
.hero__visual::before {
  content: ""; position: absolute; width: 30%; aspect-ratio: 1; right: 2%; bottom: 14%;
  background: var(--rouge); border-radius: 22px; transform: rotate(45deg); opacity: .92;
}
.hero__visual::after {
  content: ""; position: absolute; width: 16%; aspect-ratio: 1; right: 8%; top: 0;
  background: var(--bleu); border-radius: 14px; transform: rotate(45deg); opacity: .18;
}
.hero__badge {
  position: absolute; right: 0; bottom: 4%; z-index: 2;
  background: var(--blanc); border-radius: 14px; padding: 14px 18px; box-shadow: var(--ombre-forte);
  border-left: 4px solid var(--rouge); line-height: 1.3;
}
.hero__badge strong { display: block; color: var(--bleu-nuit); }
.hero__badge span { color: var(--texte-doux); font-size: .92rem; }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--gris-clair); }
.section__head { max-width: 640px; margin-bottom: 48px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 30px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: transparent; }
.service p { color: var(--texte-doux); margin: 0; font-size: .97rem; }
.service__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--bleu-clair); color: var(--bleu); transition: background-color .25s, color .25s;
}
.service:hover .service__icon { background: var(--bleu); color: #fff; }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: 24px; box-shadow: var(--ombre-forte); aspect-ratio: 1; object-fit: cover; width: 100%; }
.about__media::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 45%; height: 45%;
  border-radius: 24px; background: var(--bleu); z-index: -1;
}
.about__media { isolation: isolate; }
.about__text p { color: var(--texte-doux); }
.about__text .btn { margin-top: 8px; }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.reason { padding: 30px 28px; border-radius: var(--rayon); background: var(--bleu-nuit); color: #C9D6E4; position: relative; overflow: hidden; }
.reason h3 { color: #fff; }
.reason p { margin: 0; }
.reason__num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--rouge); line-height: 1; margin-bottom: 18px; }
.reason::after {
  content: ""; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px;
  border-radius: 22px; transform: rotate(45deg); background: rgba(255, 255, 255, .05);
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; transition: transform .3s ease; }
.gallery img:hover { transform: scale(1.03); }

.partners { padding: 64px 0; }
.partners__img { margin: 10px auto 0; width: 100%; max-width: 980px; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact__info > p { color: var(--texte-doux); }
.coords { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.coords li { display: flex; gap: 16px; align-items: flex-start; }
.coords svg {
  flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--bleu-clair);
  fill: none; stroke: var(--bleu); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.coords a { text-decoration: none; font-weight: 600; }
.coords a:hover { text-decoration: underline; }

.form { background: var(--blanc); border: 1px solid var(--bordure); border-radius: 22px; padding: 34px; box-shadow: var(--ombre); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--bleu-nuit); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texte);
  padding: 13px 15px; border: 1.5px solid var(--bordure); border-radius: 12px; background: var(--gris-clair);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--bleu); background: var(--blanc); box-shadow: 0 0 0 4px rgba(11, 108, 176, .12);
}
.field [aria-invalid="true"] { border-color: var(--rouge); background: #FFF5F4; }
.form__error { color: var(--rouge-fonce); font-weight: 600; font-size: .93rem; margin: -4px 0 14px; }
.form__note { font-size: .82rem; color: var(--texte-doux); margin: 14px 0 0; text-align: center; }

/* Pied de page */
.footer { background: var(--bleu-nuit); color: #AFC0D3; padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 52px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 16px; }
.footer__brand p { max-width: 30em; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: .88rem; }

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  height: 62px; min-width: 62px; padding: 0 17px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .2s ease, background-color .2s ease;
}
.wa-float svg { width: 30px; height: 30px; flex: none; }
.wa-float:hover { background: var(--wa-fonce); transform: translateY(-3px); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wa);
  z-index: -1; animation: pulse 2.4s ease-out infinite;
}
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s ease; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 220px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.45); opacity: 0; } }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablettes */
@media (max-width: 980px) {
  .hero__grid, .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 48px; }
  .hero__visual { max-width: 460px; }
  .services, .reasons { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .about__media { max-width: 520px; }
}

/* Téléphones */
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: var(--en-tete); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    background: var(--blanc); border-bottom: 1px solid var(--bordure); box-shadow: 0 16px 30px rgba(10, 37, 64, .1);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--bordure); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --en-tete: 66px; }
  .header__logo img { height: 38px; }
  .section { padding: 68px 0; }
  .services, .reasons { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; height: 58px; min-width: 58px; padding: 0 14px; }
  .hero__badge { padding: 10px 14px; font-size: .9rem; }
}
