/* =============================================
   MULTIMOOVE — Feuille de style principale
   Palette : #0098cd | #5ebbdf | #bce2f0 | #1d1d1b
============================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #0098cd;
  --blue-mid:    #5ebbdf;
  --blue-light:  #bce2f0;
  --blue-xlight: #e8f6fb;
  --dark:        #1d1d1b;
  --grey:        #6b7280;
  --grey-light:  #f4f6f8;
  --white:       #ffffff;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(0,152,205,.10);
  --shadow:    0 8px 32px rgba(0,152,205,.15);
  --shadow-lg: 0 20px 60px rgba(0,152,205,.20);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --header-h: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

.highlight {
  color: var(--blue);
  position: relative;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,152,205,.35);
}
.btn--primary:hover {
  background: #007db0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,152,205,.45);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: white;
}

.btn--full { width: 100%; justify-content: center; }

/* ===== SECTION HEADERS ===== */
.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section__header--left { text-align: left; margin: 0 0 48px; }

.section__tag {
  display: inline-block;
  background: var(--blue-xlight);
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 16px;
}

.section__sub {
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =============================================
   HEADER / NAV
============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 40px; width: auto; transition: opacity var(--transition); }
.nav__logo-white { display: none; }

.header--scrolled .nav__logo-color { display: block; }
.header--scrolled .nav__logo-white { display: none; }
.nav__logo-color { display: none; }
.nav__logo-white { display: block; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.12); }

.header--scrolled .nav__link { color: var(--dark); }
.header--scrolled .nav__link:hover { color: var(--blue); background: var(--blue-xlight); }

.nav__link--cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0,152,205,.3);
}
.nav__link--cta:hover {
  background: #007db0 !important;
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header--scrolled .nav__burger span { background: var(--dark); }

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #005f8a 0%, var(--blue) 50%, var(--blue-mid) 100%);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255,255,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,0,0,.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 80px;
}

.hero__tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.95);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero__title .highlight { color: var(--blue-light); }

.hero__sub {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual — barres animées */
.hero__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__bars {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  height: 300px;
}

.bar {
  width: 72px;
  border-radius: 12px 12px 4px 4px;
  transform-origin: bottom;
  animation: barGrow .9s cubic-bezier(.4,0,.2,1) both;
}
.bar--1 { background: var(--blue-light); height: 40%; animation-delay: .1s; }
.bar--2 { background: var(--blue-mid);   height: 65%; animation-delay: .25s; }
.bar--3 { background: var(--white);      height: 100%; animation-delay: .4s; }

@keyframes barGrow {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

.hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 80px; }

/* =============================================
   STATS
============================================= */
.stats {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid #eef2f5;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stats__grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 24px;
}

.stat__number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat__unit {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-mid);
}
.stat__label {
  color: var(--grey);
  font-size: .9rem;
  margin-top: 8px;
}

/* =============================================
   SERVICES
============================================= */
.services { background: var(--grey-light); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.service-card--featured {
  background: linear-gradient(145deg, var(--blue) 0%, #006fa0 100%);
  color: var(--white);
  border-color: transparent;
}
.service-card--featured:hover { border-color: var(--blue-mid); }

.service-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue-light);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.service-card__icon svg { width: 48px; height: 48px; }

.service-card__title {
  font-size: 1.3rem;
  font-weight: 700;
}
.service-card--featured .service-card__title { color: var(--white); }

.service-card__desc {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--grey);
  flex-grow: 1;
}
.service-card--featured .service-card__desc { color: rgba(255,255,255,.85); }

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__list li {
  font-size: .88rem;
  color: var(--grey);
  padding-left: 20px;
  position: relative;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: var(--blue-light);
  border-radius: 50%;
}
.service-card--featured .service-card__list li { color: rgba(255,255,255,.8); }
.service-card--featured .service-card__list li::before { background: rgba(255,255,255,.5); }

.service-card__link {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.service-card--featured .service-card__link { color: var(--blue-light); }
.service-card__link:hover { gap: 8px; }

/* =============================================
   POURQUOI
============================================= */
.pourquoi { background: var(--white); }

.pourquoi__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.pourquoi__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.pourquoi__item:hover {
  background: var(--blue-xlight);
}

.pourquoi__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--blue-xlight);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: var(--transition);
}
.pourquoi__item:hover .pourquoi__icon {
  background: var(--blue);
}
.pourquoi__item:hover .pourquoi__icon svg path { stroke: white; }

.pourquoi__item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.pourquoi__item p {
  font-size: .9rem;
  color: var(--grey);
  line-height: 1.6;
}

/* =============================================
   À PROPOS
============================================= */
.apropos { background: var(--grey-light); }

.apropos__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.apropos__card {
  background: linear-gradient(145deg, var(--blue) 0%, #006fa0 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  min-height: 340px;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.apropos__bar-group {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
}

.apropos__bar {
  width: 28px;
  border-radius: 8px 8px 2px 2px;
  background: rgba(255,255,255,.3);
  animation: barGrow .9s cubic-bezier(.4,0,.2,1) both;
}
.apropos__bar:nth-child(1) { animation-delay: .2s; background: rgba(188,226,240,.5); }
.apropos__bar:nth-child(2) { animation-delay: .35s; background: rgba(255,255,255,.65); }
.apropos__bar:nth-child(3) { animation-delay: .5s; background: white; }

.apropos__card p {
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.apropos__card strong { color: white; }

.apropos__text .section__title { margin-bottom: 20px; }
.apropos__text p {
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 16px;
}

.apropos__values {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.apropos__value {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--blue-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 500;
  color: var(--dark);
}

/* =============================================
   ILS NOUS FONT CONFIANCE
============================================= */
.confiance { background: var(--white); }

.confiance__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  justify-items: center;
}

.client-logo {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  border: 1.5px solid #e5edf2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: var(--transition);
  background: var(--white);
}
.client-logo:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .6;
  transition: var(--transition);
}
.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-light);
  border-radius: calc(var(--radius) - 4px);
  border: 2px dashed #d1dce3;
}
.client-logo__placeholder span {
  font-size: .8rem;
  color: #9cb0bd;
  font-family: var(--font-head);
  text-align: center;
}

.confiance__more {
  text-align: center;
  margin-top: 40px;
  color: var(--grey);
  font-style: italic;
  font-size: .95rem;
}
.confiance__more::before { content: '✦ '; color: var(--blue-mid); }
.confiance__more::after  { content: ' ✦'; color: var(--blue-mid); }

/* =============================================
   CONTACT
============================================= */
.contact {
  background: linear-gradient(135deg, #f0f9fd 0%, #e6f5fa 100%);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: flex-start;
}

.contact__text .section__title { margin-bottom: 16px; }
.contact__text > p {
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact__infos { display: flex; flex-direction: column; gap: 20px; }
.contact__info {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 500;
}
.contact__info svg { width: 20px; height: 20px; flex-shrink: 0; }

.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #dde6ea;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,152,205,.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bec5; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
  color: var(--dark);
  animation: fadeUp .4s ease both;
}
.form-success p { line-height: 1.6; color: var(--grey); }
.form-success strong { color: var(--dark); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* =============================================
   FOOTER
============================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer__logo { height: 36px; width: auto; margin-bottom: 16px; }

.footer__brand p {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer__links h4 {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--blue-mid); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: .85rem; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: .85rem; transition: color var(--transition); }
.footer__legal a:hover { color: var(--blue-mid); }

/* =============================================
   BACK TO TOP
============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 99;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); background: #007db0; }

/* =============================================
   ANIMATIONS D'ENTRÉE
============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.fade-in:nth-child(2) { transition-delay: .1s; }
.fade-in:nth-child(3) { transition-delay: .2s; }
.fade-in:nth-child(4) { transition-delay: .3s; }
.fade-in:nth-child(5) { transition-delay: .4s; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Nav mobile */
  .nav__menu {
    position: fixed;
    inset: 0; top: var(--header-h);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -4px 0 40px rgba(0,0,0,.12);
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__link { color: var(--dark) !important; font-size: 1.1rem; padding: 14px 16px; width: 100%; }
  .nav__link:hover { background: var(--blue-xlight); color: var(--blue) !important; }
  .nav__link--cta { margin-top: 16px; text-align: center; }
  .nav__burger { display: flex; }

  /* Nav logo always color on mobile */
  .nav__logo-color { display: block; }
  .nav__logo-white { display: none; }

  /* Hero */
  .hero__content { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { display: none; }
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }
  .services__grid .service-card:last-child { grid-column: auto; max-width: none; }

  /* Pourquoi */
  .pourquoi__grid { grid-template-columns: 1fr; }

  /* À propos */
  .apropos__inner { grid-template-columns: 1fr; }
  .apropos__visual { display: none; }

  /* Confiance */
  .confiance__grid { grid-template-columns: repeat(3, 1fr); }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact__form { grid-template-columns: 1fr; padding: 32px 24px; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .confiance__grid { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 1.75rem; }
}
