/* ==========================================================================
   Vestra — feuille de style (reprise du design Webflow)
   Couleurs et police réglables dans :root ci-dessous.
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #314572;         /* bleu nuit unique : titres, navigation, bandeaux (bleu de l'illustration) */
  --navy-deep: #314572;    /* bandeaux bleu nuit */
  --blue: #59a7fb;         /* bleu clair unique : icônes, flèches, contours (bleu des engrenages) */
  --blue-strong: #3b82d0;  /* même bleu, plus soutenu : survols de liens et de boutons */
  --orange: #e76d18;       /* boutons */
  --orange-hover: #c95a0d;
  --text: #5f6470;         /* texte courant */
  --muted: #949ba5;
  --bg-light: #f7faff;     /* sections claires */
  --white: #ffffff;
  --line: #e3eaf5;
  --gradient: linear-gradient(225deg, #314572 0%, #3d68a0 55%, #4b8fd6 100%);

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1058px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 100px); }
.bg-light { background: var(--bg-light); }
.center { text-align: center; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 19px;
  border: 1px solid var(--orange); border-radius: 0;
  font: inherit; font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--orange); }
.btn--outline:hover { background: var(--orange); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-light);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(49, 69, 114, .1); }
.site-header__inner { display: flex; align-items: center; min-height: 58px; }
.site-header__logo img { height: 44px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 13px; }
.nav a:not(.btn):hover { color: var(--blue-strong); }
.nav .btn { min-height: 34px; padding: 0 15px; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--navy); margin: auto; position: relative; transition: transform .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px var(--gutter) 20px; box-shadow: 0 8px 16px rgba(49, 69, 114, .1);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav .btn { margin-top: 16px; min-height: 42px; }
}

/* ---------- Bandeau d'accueil ---------- */
.hero { background: var(--bg-light); padding-block: 70px 90px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(32px, 3.3vw, 42px); line-height: 1.08; letter-spacing: -0.02em; max-width: 470px; }
.hero__lead { font-size: 14.5px; margin: 26px 0 30px; max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__img { width: 100%; max-width: 480px; margin-left: auto; }
.hero__trust { margin-top: 46px; }
.hero__trust p { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.hero__trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hero__trust li { font-size: 15px; font-weight: 700; color: #6f7a8f; letter-spacing: -0.01em; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__img { margin: 0 auto; }
}

/* ---------- Énoncé (fond bleu nuit illustré) ---------- */
.statement {
  /* Voile par-dessus l'illustration : elle reste visible en filigrane et le fond rendu est #314572.
     Pour voir davantage l'illustration, baissez le .82 (ex. .7). */
  background: linear-gradient(rgba(59, 78, 119, .82), rgba(59, 78, 119, .82)), url("../img/bg-problem.png") center / cover no-repeat, var(--navy-deep);
  color: #fff; padding-block: clamp(70px, 9vw, 100px);
}
.statement__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.statement h2 { color: #fff; font-size: clamp(24px, 2.4vw, 29px); line-height: 1.3; }
.statement p { margin: 0; color: #fff; font-size: 14.5px; }
@media (max-width: 820px) { .statement__inner { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Offres ---------- */
.section-head { max-width: 660px; margin: 0 auto 60px; text-align: center; }
.section-head p { font-size: 14.5px; margin: 18px 0 0; }
.services-title { text-align: center; margin-bottom: 60px; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 70px; }
.service { display: grid; grid-template-columns: 56px 1fr; gap: 24px; }
.service img { width: 56px; height: 48px; object-fit: contain; }
.service h3 { font-size: 19px; margin: 0 0 10px; }
.service p { margin: 0; font-size: 13px; line-height: 1.5; }
.service .service__promise { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #3c4252; line-height: 1.45; }
.service ul { margin: 0 0 14px; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.service li { margin-bottom: 4px; }
.service .service__ref { font-size: 12px; color: var(--muted); }
.service__ref strong { color: var(--navy); font-weight: 600; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Fin de Data Center (bandeau bleu nuit) ---------- */
.eol {
  /* Voile par-dessus l'illustration : elle reste visible en filigrane et le fond rendu est #314572.
     Pour voir davantage l'illustration, baissez le .82 (ex. .7). */
  background: linear-gradient(rgba(59, 78, 119, .82), rgba(59, 78, 119, .82)), url("../img/bg-problem.png") center / cover no-repeat, var(--navy-deep);
  color: #fff; padding-block: clamp(70px, 9vw, 100px);
}
.eol__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.eol h2 { color: #fff; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; margin-bottom: 20px; }
.eol p { color: #dfe5ee; font-size: 14.5px; margin: 0 0 28px; max-width: 520px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 21px; bottom: -3px; width: 2px; background: rgba(255, 255, 255, .28); }
.timeline li { position: relative; padding: 0 0 28px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy-deep); border: 2px solid #fff; box-sizing: border-box;
}
.timeline li.is-past::before { background: #fff; }
.timeline li.is-end::before { background: var(--orange); border-color: var(--orange); }
.timeline time { display: block; font-weight: 700; font-size: 17px; color: #fff; line-height: 1.3; }
.timeline span { display: block; font-size: 13.5px; color: #c9d2e0; margin-top: 2px; }
.timeline em { font-style: normal; color: #8fe0b6; font-weight: 600; }
@media (max-width: 820px) { .eol__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Profil (tarif, expérience…) ---------- */
.profile { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.profile img { width: 58px; height: 58px; object-fit: contain; margin: 0 auto 18px; }
.profile h3 { font-size: 18px; margin-bottom: 18px; }
.profile p { margin: 0; font-size: 12.5px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.dot--red { background: #e3344a; }
.dot--green { background: #2bb673; }
.dot--orange { background: var(--orange); }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr 1fr; row-gap: 44px; } }

/* ---------- Compétences (dégradé bleu, onglets verticaux) ---------- */
.skills { background: var(--gradient); color: #fff; padding-block: clamp(70px, 9vw, 96px); }
.skills h2 { color: #fff; margin-bottom: 64px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; min-height: 330px; }
.tabs__list { display: flex; flex-direction: column; gap: 32px; }
.tabs__tab {
  text-align: left; font: inherit; font-size: 17px; font-weight: 700;
  color: rgba(255, 255, 255, .55); background: transparent; cursor: pointer;
  border: 0; border-left: 5px solid transparent; padding: 12px 26px;
  transition: background-color .2s, color .2s;
}
.tabs__tab:hover { color: #fff; }
.tabs__tab[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, .15); border-left-color: #fff; }
.tabs__panel h3 { color: #fff; font-size: 15px; font-weight: 600; margin: 8px 0 16px; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px 6px; }
.tag-list li { padding: 1px 4px; background: rgba(255, 255, 255, .18); color: #f8b27a; font-size: 12.5px; font-weight: 500; }
@media (max-width: 760px) {
  .tabs { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .tabs__list { gap: 6px; }
  .tabs__tab { font-size: 15px; padding: 10px 18px; }
}

/* ---------- Mon expérience ---------- */
.about h2 { margin-bottom: 44px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about__text p { font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.about__photo { width: 100%; height: auto; }
.about__points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.about__points li { padding-left: 18px; border-left: 3px solid var(--orange); font-size: 13px; line-height: 1.5; }
.about__points strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 2px; }
@media (max-width: 820px) { .about__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Missions ---------- */
.missions { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.mission {
  background: var(--white); border: 1px solid var(--line);
  display: grid; grid-template-columns: 290px 1fr; gap: 44px; padding: 32px 30px;
}
.mission__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.mission__logo { width: 48px; height: 48px; object-fit: contain; flex: none; }
.mission__logo--wide { width: auto; max-width: 86px; height: 40px; }
.mission h3 { font-size: 22px; }
.mission__status { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; color: #17603b; background: #dff3e8; padding: 2px 8px; }
.mission__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12.5px; }
.mission__facts strong { color: #3c4252; font-weight: 600; }
.mission .mission__context { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #3c4252; line-height: 1.45; }
.mission__work { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.mission__work li { margin-bottom: 5px; }
.mission__tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mission__tags li { font-size: 11.5px; font-weight: 600; color: var(--navy); background: #ebf4fe; padding: 3px 8px; }
@media (max-width: 820px) { .mission { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; } }

/* ---------- Témoignages ---------- */
.testimonials h2 { text-align: center; max-width: 580px; margin: 0 auto 90px; }
.slider { position: relative; display: grid; grid-template-columns: 46px 1fr 46px; gap: 24px; align-items: center; }
.slider__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: background-color .2s;
}
.slider__btn:hover { background: var(--blue-strong); }
.slider__btn[hidden] { display: grid; visibility: hidden; } /* garde la place des flèches */
.slider__track { max-width: 600px; margin: 0 auto; text-align: center; }
.slide blockquote { margin: 0 0 30px; font-size: 13.5px; line-height: 1.6; }
.slide figcaption { display: inline-flex; align-items: center; gap: 28px; text-align: left; }
.slide figcaption img { width: 44px; height: auto; }
.slide cite { display: block; font-style: normal; font-weight: 600; font-size: 12px; color: #3c4252; }
.slide figcaption span { font-size: 12px; display: block; max-width: 230px; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.slider__dots span { width: 6px; height: 6px; border-radius: 50%; background: #c9d1de; }
.slider__dots span.is-active { background: #222; }
@media (max-width: 640px) {
  .testimonials h2 { margin-bottom: 40px; }
  .slider { grid-template-columns: 1fr; }
  .slider__btn { display: none; }
}

/* ---------- Chiffres ---------- */
.stats { background: var(--gradient); padding-block: 66px; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; justify-content: space-between; gap: 32px; }
.stats strong { display: inline-block; position: relative; color: #fff; font-size: clamp(34px, 3.4vw, 44px); font-weight: 700; line-height: 1; }
.stats strong img { position: absolute; top: -12px; right: -14px; width: 12px; height: 12px; }
.stats span { display: block; color: #fff; font-size: 15px; margin-top: 14px; }
@media (max-width: 760px) { .stats ul { grid-auto-flow: row; grid-template-columns: 1fr 1fr; row-gap: 40px; } }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { position: relative; padding-top: 60px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 2px solid var(--blue);
  color: var(--navy); font-weight: 700; font-size: 16px; box-sizing: border-box;
}
.steps li::after { content: ""; position: absolute; top: 19px; left: 52px; right: -20px; height: 2px; background: #dbe3ef; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 17px; margin-bottom: 10px; }
.steps p { margin: 0; font-size: 13px; line-height: 1.5; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 20px 44px 20px 0; color: var(--navy); font-weight: 700; font-size: 16px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--orange); font-size: 26px; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 22px; font-size: 14px; max-width: 700px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact h2 { margin-top: 12px; }
.contact__lead { font-size: 14.5px; margin: 30px 0 22px; max-width: 480px; }
.contact__direct { list-style: none; margin: 46px 0 0; padding: 0; }
.contact__direct li { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.contact__direct svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.contact__direct a { color: var(--navy); text-decoration: none; font-size: 13px; }
.contact__direct a:hover { text-decoration: underline; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 26px; }
.field label { display: block; color: var(--navy); font-size: 13px; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 14px; color: #222;
  border: 1px solid #c3cddc; border-radius: 0; background: var(--white); padding: 8px 12px; min-height: 36px;
  transition: border-color .2s;
}
.field input:hover, .field textarea:hover { border-color: #9dabc2; }
.field textarea { min-height: 142px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; margin: 2px 0 30px; color: var(--text); }
.consent input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.consent a { color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { font-weight: 600; padding: 0 20px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form__status { margin: 18px 0 0; padding: 10px 14px; font-size: 13px; font-weight: 500; }
.form__status:empty { display: none; }
.form__status--ok { background: #dff3e8; color: #17603b; }
.form__status--error { background: #fde7e4; color: #a32a17; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--white); padding-block: 38px 30px; border-top: 1px solid #edf1f7; }
.site-footer__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-footer__logo img { height: 44px; width: auto; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { color: var(--navy); font-weight: 600; font-size: 13px; text-decoration: none; }
.site-footer nav a:hover { color: var(--blue-strong); }
.site-footer__social { display: flex; justify-content: flex-end; gap: 12px; }
.site-footer__social a { color: var(--navy); font-weight: 600; font-size: 12px; text-decoration: none; }
.site-footer__social a:hover { color: var(--blue-strong); }
.site-footer__bottom { display: flex; justify-content: center; gap: 20px; margin-top: 50px; font-size: 11px; color: var(--muted); }
.site-footer__bottom a { color: var(--muted); text-decoration: none; }
.site-footer__bottom a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .site-footer__top { grid-template-columns: 1fr; justify-items: start; }
  .site-footer__social { justify-content: flex-start; }
  .site-footer__bottom { justify-content: flex-start; }
}

/* ---------- Pages de texte (mentions légales, 404) ---------- */
.prose { max-width: 760px; padding-block: 70px 100px; font-size: 14.5px; }
.prose h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 36px; }
.prose h2 { font-size: 20px; margin: 36px 0 12px; }
.prose address { font-style: normal; }
