/* =========================================================================
   Solutions G00 — feuille de style principale
   Site statique (HTML / CSS / JS), sans WordPress, sans témoins (cookies).

   Repères de largeur (mêmes points de rupture que l'ancien site) :
     ≥ 981 px  : ordinateur
     768–980 px : tablette
     ≤ 767 px  : téléphone
   ========================================================================= */

/* ---------- Polices (hébergées localement : aucune requête vers Google) ---------- */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-condensed-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/barlow-condensed-900.woff2") format("woff2"); }
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue-400.woff2") format("woff2"); }

/* ---------- Couleurs et espacements ---------- */
:root {
  --navy: #001489;          /* titres, boutons */
  --navy-header: #1e0193;   /* bouton « Contactez-nous » de l'en-tête */
  --blue-dark: #0019a4;
  --blue-bright: #1034ff;
  --ink: #101820;           /* texte principal, fond foncé */
  --ink-2: #1a2835;
  --slate: #26384b;
  --slate-2: #314961;
  --slate-3: #476a8d;
  --steel: #527aa3;
  --sky: #91acc7;
  --pale-1: #cfd9e3;
  --pale-2: #bdcdde;
  --pale-3: #a7bdd3;
  --pale-4: #e9eef4;
  --gray-1: #e6e7ed;
  --gray-2: #e1e3e8;
  --gray-footer: #c1c6c8;

  --font: "Barlow Condensed", Helvetica, Arial, sans-serif;
  --font-title: "Bebas Neue", "Barlow Condensed", Impact, sans-serif;

  /* Espacements verticaux des sections et des rangées */
  --sec: 50px;
  --row: 30px;
  --header-space: 160px;    /* espace réservé sous l'en-tête fixe */
  --gap: 30px;              /* espace entre deux blocs empilés */
}
@media (min-width: 981px) {
  :root { --sec: 4vw; --row: 2vw; --header-space: calc(2 * var(--sec) + 2 * var(--row) + 1px); }
}
@media (min-width: 1350px) {
  :root { --sec: 54px; --row: 27px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (min-width: 981px) { html { scroll-padding-top: 120px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 23.8px;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 {
  margin: 0;
  padding-bottom: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
  color: var(--navy);
}
p { margin: 0; padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }
ul { margin: 0; }
a { color: var(--ink); text-decoration: none; }
img { max-width: 100%; height: auto; }
blockquote { margin: 0; }
button { font: inherit; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  padding: .5rem 1rem; background: var(--navy); color: #fff; border-radius: 4px;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }

/* Conteneurs (largeur 80 %, comme l'ancien site) */
.container { width: 80%; max-width: 1080px; margin: 0 auto; }
.container--wide { max-width: 1320px; }
.grid-2 { display: grid; grid-template-columns: 1fr; row-gap: var(--gap); }
@media (min-width: 981px) {
  .grid-2 { grid-template-columns: 1fr 1fr; column-gap: 5.5%; }
}
.hide-mobile { display: none !important; }
@media (min-width: 981px) {
  .hide-mobile { display: block !important; }
  .hide-desktop { display: none !important; }
}

/* =========================================================================
   EN-TÊTE (fixe en haut de l'écran)
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0.5vw;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top .25s ease;
}
.site-header.is-stuck { top: 0; }
.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  background: #fff;
  box-shadow: 0 20px 50px 0 rgba(0, 0, 0, .23);
}
.site-header__logo { flex: 0 0 auto; padding-left: 10px; }
.site-header__logo a { display: block; line-height: 0; }
.site-header__logo img { width: min(28vw, 190px); margin: 16px 0; }

.site-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.site-nav__toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: none; border: 0; color: var(--navy); cursor: pointer;
}
.site-nav__toggle svg { width: 30px; height: 30px; }
.site-nav__toggle .icon-close { display: none; }
.site-nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.site-nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem 2.5rem 1rem 2rem;
  list-style: none;
  background: #fff;
  border-top: 2px solid var(--navy);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}
.site-nav__menu.is-open { display: block; }
.site-nav__menu a {
  display: block;
  padding: 10px 5%;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: -0.64px;
  border-bottom: 1px solid rgba(0, 0, 0, .03);
}
.site-nav__menu a[aria-current="page"] { color: var(--navy); }
@media (min-width: 768px) {
  .site-nav__menu a { font-size: 24px; }
}

.site-header__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 8px;
}
.btn-header {
  display: inline-block;
  padding: 4.8px 16px;
  font-size: 16px;
  line-height: 27.2px;
  color: #fff;
  white-space: nowrap;
  background: var(--navy-header);
  border-radius: 8px;
  transition: background-color .3s ease;
}
.btn-header:hover { background: var(--blue-dark); }

/* Sélecteur de langue (FR / EN) */
.lang { position: relative; font-size: 16px; font-weight: 400; color: #4e4e4e; }
.lang summary {
  display: flex; align-items: center; gap: 3px;
  padding: 2px; list-style: none; cursor: pointer; user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary img { margin-right: 1px; }
.lang summary svg { width: 10px; height: 10px; margin-left: 2px; }
.lang ul {
  position: absolute; top: 100%; right: 0; z-index: 10;
  min-width: 100%; margin: 4px 0 0; padding: 4px 0;
  list-style: none; background: #fff;
  border-radius: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.lang li a { display: block; padding: 2px 14px; color: #4e4e4e; }
.lang li a:hover, .lang li a:focus-visible { background: var(--pale-4); color: var(--navy); }

@media (max-width: 380px) {
  .site-header__actions { gap: 8px; }
  .btn-header { padding: 4.8px 10px; font-size: 15px; }
}

@media (min-width: 981px) {
  .site-header__bar { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 5.5%; min-height: 0; }
  .site-header__logo { padding-left: 0; }
  .site-header__logo img { width: 60%; margin: 16px 0 16px 2vw; }
  .site-nav { justify-content: flex-end; }
  .site-nav__toggle { display: none; }
  .site-nav__menu,
  .site-nav__menu.is-open {
    position: static; display: flex; margin: 0 -11px; padding: 0;
    background: none; border: 0; box-shadow: none;
  }
  .site-nav__menu li { margin-top: 8px; padding: 0 3px 8px 11px; }
  .site-nav__menu a {
    padding: 0 0 8px; font-size: 18px; line-height: 22px; border: 0;
    transition: opacity .3s ease;
  }
  .site-nav__menu a:hover { opacity: .7; }
  .site-nav__menu a[aria-current="page"] { color: var(--ink); }
  .site-header__actions { align-items: flex-start; justify-content: flex-start; gap: 2rem; padding-right: 2vw; }
  .lang { font-size: 18px; }
}
@media (min-width: 1110px) {
  .site-nav__menu li { padding: 0 11px 8px; }
}
@media (min-width: 2000px) {
  .site-nav__menu a, .lang { font-size: 24px; }
}

/* Espace sous l'en-tête fixe */
.site-main { padding-top: var(--header-space); }

/* Boutons */
.btn {
  display: inline-block;
  padding: 4.8px 16px;
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: -0.64px;
  text-align: center;
  color: #fff;
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 4px;
  transition: background-color .3s ease, border-color .3s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

/* =========================================================================
   ACCUEIL
   ========================================================================= */
/* --- Bannière --- */
.hero {
  display: flex;
  align-items: center;
  min-height: 400px;
  margin-top: 14px;
  padding: var(--sec) 0;
  background: #fff url("../img/accueil-banniere.webp") center / 100% 100% no-repeat;
}
.hero .container { padding-top: var(--row); }
.hero__content { margin-bottom: var(--gap); }
.hero__title {
  margin-bottom: 16px;
  font-family: var(--font);
  font-size: 33px;
  line-height: 42px;
  letter-spacing: -0.64px;
  text-align: center;
  text-transform: none;
  color: #fff;
}
.hero__cta { margin-bottom: 30px; text-align: center; }
.hero__cta .btn { width: 170px; }
.hero__quote {
  padding: 16px;
  font-size: 20px;
  line-height: 26px;
  background: rgba(255, 255, 255, .71);
}
.hero__quote p { padding-bottom: 20px; }
.hero__quote p:last-of-type { padding-bottom: 0; }
@media (min-width: 981px) {
  .hero { min-height: 750px; }
  .hero__content { width: 47.25%; margin-bottom: 0; }
  .hero__title { width: 810px; max-width: 75vw; font-size: 47px; line-height: 60px; text-align: left; }
  .hero__cta { margin-bottom: 29.7px; text-align: left; }
}

/* --- Mission / Valeurs --- */
.mv { padding: 1rem 0 var(--sec); }
.mv .container { padding-top: var(--row); }
.mv__card {
  position: relative;
  padding: 2rem;
  background: var(--pale-1);
  border-radius: 32px;
}
.mv__title {
  font-family: var(--font);
  font-size: 33px;
  line-height: 42px;
  letter-spacing: -0.64px;
  color: var(--ink);
}
.mv__text, .vision__text {
  margin-bottom: 30px;
  font-size: 23px;
  line-height: 32px;
  letter-spacing: -0.64px;
  color: var(--slate);
}
.mv__text h3 { font-size: 22px; }
.mv .deco { display: none; position: absolute; }
@media (max-width: 767px) {
  .mv__text, .vision__text { font-size: 16px; line-height: 22px; }
}
@media (max-width: 600px) {
  .mv__card { padding: 1.5rem 1rem; }
}
@media (min-width: 981px) {
  .mv { padding-top: var(--sec); }
  .mv__card { padding: 3rem 2.5rem; }
  .mv__title { font-size: 39px; line-height: 52px; }
  .mv__text { margin-bottom: 25px; }
  .mv .deco { display: block; }
  .deco--mission-right { top: -20px; right: 0; }
  .deco--mission-left { bottom: -12px; left: 45px; }
  .deco--valeurs { top: 60px; right: 0; }
}

/* --- Vision --- */
.vision__row {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 4rem;
  background: var(--pale-1);
  clip-path: polygon(0 0, 88% 0, 100% 6%, 100% 100%, 0 100%);
}
.vision__body { position: relative; padding: 2rem; }
.vision__title {
  font-family: var(--font);
  font-size: 27px;
  line-height: 36px;
  letter-spacing: -0.64px;
  color: var(--ink);
}
.vision__text { position: relative; z-index: 1; }
.vision__media img { display: block; width: 100%; }
.vision .deco { display: none; }
@media (min-width: 768px) and (max-width: 980px) {
  .vision { padding-bottom: 2rem; }
}
@media (max-width: 600px) {
  .vision__body { padding: 1.5rem 1rem; }
}
@media (min-width: 981px) {
  .vision { padding: 0 0 var(--sec); }
  .vision__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5.5%;
    /* coin supérieur droit coupé (le point négatif laisse dépasser la déco en bas à gauche) */
    clip-path: polygon(0 0, 95% 0, 100% 10%, 100% 100%, -42px 106.35%);
  }
  .vision__body { padding: 3rem 2.5rem; }
  .vision__title { font-size: 39px; line-height: 52px; }
  .vision__text { margin-bottom: 25px; font-size: 27px; line-height: 36px; }
  .vision__media { display: flex; justify-content: flex-end; }
  .vision__media img { width: 434px; max-width: 100%; height: 100%; min-height: 518px; object-fit: cover; }
  .vision .deco { display: block; position: absolute; left: -27px; bottom: -27px; }
}

/* --- Services (fond foncé + carrousel) --- */
.services-home { padding: var(--sec) 0; background: var(--ink); }
.services-home .container { padding: var(--row) 0; }
.services-home__title {
  font-size: 33px;
  line-height: 42px;
  letter-spacing: -0.64px;
  color: var(--pale-2);
}
.services-home__intro {
  margin-bottom: 30px;
  font-size: 19px;
  line-height: 26px;
  letter-spacing: -0.64px;
  color: var(--sky);
}
@media (min-width: 768px) {
  .services-home__intro { font-size: 33px; line-height: 42px; }
}
@media (min-width: 981px) {
  .services-home__title { font-size: 39px; line-height: 52px; }
  .services-home__intro { width: 68%; margin-bottom: 29.7px; }
}

.slider { position: relative; }
.slider__track { display: grid; }
.slide {
  grid-area: 1 / 1;
  display: flex;
  padding: 0 6%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__inner { display: flex; align-items: center; width: 100%; padding: 0 20px; }
.slide__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 2rem;
  font-weight: 400;
  background: var(--pale-2);
  border-radius: 32px;
}
.slide__media { text-align: center; }
.slide__media img { display: inline-block; vertical-align: top; }
.slide__title {
  padding-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.64px;
  color: var(--ink-2);
}
.slide__text, .slide__list li {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.64px;
  color: var(--slate);
}
.slide__list { margin-left: 24px; padding: 16px 0 8px 15px; }
.slide__list li { padding-bottom: 8px; }
.slide__info {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 1rem;
  background: var(--pale-3);
  border-radius: 8px;
}
.slide__info img { flex: none; position: relative; top: 2px; }
.slide__info a { color: var(--slate); text-decoration: underline; }
.slide__cta { display: flex; padding-top: 8px; }
.slide__btn {
  width: 100%;
  padding: 8px 16px;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #fff;
  background: var(--navy);
  border-radius: 4px;
  transition: background-color .3s ease;
}
.slide__btn:hover { background: var(--blue-dark); }

.slider__arrow {
  position: absolute;
  top: calc(50% - 32px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--ink);
  background: var(--pale-2);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity .3s ease;
}
.slider__arrow:hover { opacity: .8; }
.slider__arrow svg { width: 16px; height: 16px; }
.slider__arrow--prev { left: 0; }
.slider__arrow--next { right: 0; }
.slider__dots { display: flex; justify-content: center; gap: 10px; height: 24px; margin-top: 2.5rem; }
.slider__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  background: var(--blue-bright);
  border: 0;
  border-radius: 7px;
  opacity: .5;
  cursor: pointer;
}
.slider__dots button[aria-current="true"] { opacity: 1; }
@media (max-width: 600px) {
  .slide, .slide__inner { padding: 0; }
  .slide__card { padding: 2rem 1rem; border-radius: 16px 16px 0 0; }
  .slider__arrow { display: none; }
}
@media (min-width: 981px) {
  .slide__card { flex-direction: row; padding: 3rem 1.5rem; }
  .slide__media, .slide__body { width: 50%; }
  .slide__text, .slide__list li { font-size: 18px; }
  .slide__btn { width: 170px; }
}

/* =========================================================================
   BANDEAU CONTACT (carte + photo) — présent sur la plupart des pages
   ========================================================================= */
.contact-band {
  position: relative;
  overflow: hidden;
  padding-top: calc(21rem + 28px);
  background: #fff;
}
.contact-band--dark { background: var(--ink); }
.contact-band__photo { display: block; width: 100%; margin-bottom: -28px; }
.contact-card {
  position: absolute;
  top: -1px;
  left: 16px;
  right: 16px;
  z-index: 2;
}
.contact-card__top {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  height: 29px;
  padding: 9.6px 0 0 24px;
  background: var(--navy);
  border-radius: 10px 10px 0 0;
}
.contact-card__body {
  padding: 0 32px;
  background: var(--pale-2);
  border-radius: 0 0 10px 10px;
}
.contact-card__title {
  padding: 24px 0 35px;
  font-size: 35px;
  font-weight: 700;
  color: var(--ink);
}
.contact-card__name { margin-bottom: 16px; font-size: 28px; color: var(--ink-2); }
.contact-card__list {
  padding: 0 0 8px 32px;
  font-size: 27px;
  line-height: 42px;
  color: var(--slate-2);
}
.contact-card__list li { padding-bottom: 8px; }
.contact-card__list a { color: var(--slate-2); }
.contact-card__list a:hover { text-decoration: underline; }
.contact-card__social { display: flex; margin-top: 3rem; padding-bottom: 1rem; }
.contact-card__icons { display: flex; align-items: flex-start; width: 35%; height: 29px; }
.contact-card__icons img { display: block; }
.contact-card__copy { width: 65%; font-size: 18px; text-align: right; color: var(--steel); }

@media (min-width: 380px) {
  .contact-card__body { padding-top: 1.5rem; }
}
@media (min-width: 545px) {
  .contact-band { padding-top: calc(18rem + 28px); }
  .contact-card { left: 50%; right: auto; width: 518px; transform: translateX(-50%); }
}
@media (min-width: 720px) {
  .contact-card__list { font-size: 30px; }
}
@media (min-width: 992px) {
  .contact-band { padding-top: calc(15rem + 28px); }
  .contact-card { width: 658px; }
}
@media (min-width: 1024px) {
  .contact-band { padding-top: 28px; }
  .contact-card { left: calc(5rem + 16px); width: 418px; transform: none; }
}
@media (min-width: 1200px) {
  .contact-card { left: calc(6rem + 16px); }
}
@media (min-width: 1600px) {
  .contact-card { left: calc(12rem + 16px); width: 478px; }
  .contact-card__title { padding-bottom: 47px; font-size: 47px; }
  .contact-card__name { font-size: 33px; }
  .contact-card__list { padding-left: 3rem; font-size: 33px; }
  .contact-card__social { padding-bottom: 2rem; }
  .contact-card__copy { font-size: 24px; }
}
@media (min-width: 1820px) {
  .contact-card { left: calc(19rem + 16px); width: 493px; }
}

/* =========================================================================
   PIED DE PAGE (#section-contacts)
   ========================================================================= */
.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54vh;
  padding: 54px 0;
  background: var(--gray-footer) url("../img/texture-grise.webp") center / cover no-repeat;
}
.site-footer__contact { margin: auto; text-align: center; }
.site-footer__title {
  font-size: 2.6rem;
  line-height: 1.5em;
}
.site-footer__lines { padding-bottom: 0; font-size: 1.3rem; line-height: 1.6rem; }
.site-footer__legal { font-size: 1.3rem; line-height: 28px; }
.site-footer__legal a:hover, .site-footer__lines a:hover { text-decoration: underline; }
.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding-bottom: 27px;
  text-align: center;
}
.site-footer__logo img { display: block; width: auto; height: 18vw; margin: 0 auto; }
.site-footer__copy { font-size: 16px; text-transform: uppercase; }
@media (min-width: 768px) {
  .site-footer__logo img { height: 12vw; }
}
@media (min-width: 981px) {
  .site-footer__bottom { grid-template-columns: 1fr 1fr; text-align: left; }
  .site-footer__logo img { height: 6vw; margin: 0 0 0 auto; }
}

/* =========================================================================
   PAGE SERVICES
   ========================================================================= */
.services-intro { padding: var(--header-space) 0 var(--sec); }
.page-title {
  margin-bottom: 30px;
  padding: 0;
  font-family: var(--font);
  font-size: 37px;
  font-weight: 900;
  line-height: 52px;
  text-transform: none;
  color: var(--ink);
}
.lead { font-size: 23px; line-height: 32px; color: var(--slate-3); padding-right: 3px; }
@media (min-width: 981px) {
  .services-intro .container { padding: var(--row) 0; }
  .page-title { margin-bottom: 31.7px; font-size: 47px; line-height: 60px; }
  .lead { width: 60%; font-size: 27px; }
}
/* version anglaise : espacement d’origine légèrement différent */
.services-intro--en { padding-top: calc(14px + 2 * var(--sec)); }
@media (min-width: 981px) {
  .services-intro--en { padding-top: calc(14px + 2 * var(--sec) + 64px); }
}
.services-banner { display: block; width: 100%; }

.services-list { padding: 90px 0 var(--sec); }
.services-list__title {
  margin: -4px 0 21px;
  padding-bottom: 22px;
  font-family: var(--font);
  font-size: 35px;
  font-weight: 800;
  line-height: 52px;
  text-transform: none;
  color: var(--ink-2);
}
@media (min-width: 981px) {
  .services-list__title { font-size: 39px; }
}
.services-cards { padding: var(--row) 0 calc(var(--row) + var(--sec)); }

.service-card { position: relative; }
.service-card__deco { display: none; }
.service-card__frame {
  max-width: 324px;
  min-height: 363px;
  margin: 0 auto;
  background: var(--pale-3);
  border: 15px solid var(--pale-3);
  clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%);
}
.service-card__inner {
  position: relative;
  max-width: 324px;
  min-height: 363px;
  clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%);
}
.service-card__head {
  display: flex;
  align-items: center;
  height: 8rem;
  padding: 0 16px;
  background: var(--pale-4);
}
.service-card__title {
  width: 100%;
  padding: 0;
  font-family: var(--font);
  font-size: 30px;
  font-weight: 500;
  line-height: 23.8px;
  text-align: center;
  text-transform: none;
  color: var(--ink);
}
.service-card__img {
  position: absolute;
  top: 7rem;
  right: 0;
  bottom: 0;
  left: 0;
  background: center / cover no-repeat;
}
.service-card--cnc .service-card__img { background-image: url("../img/carte-usinage-cnc.webp"); }
.service-card--conseil .service-card__img { background-image: url("../img/carte-conseil-technique.webp"); }
.service-card__btn {
  position: absolute;
  top: 10rem;
  left: 3rem;
  display: flex;
  align-items: flex-end;
  max-width: 128px;
  padding: 10px;
  font-size: 16px;
  white-space: nowrap;
  background: var(--pale-2);
  transition: background-color .3s ease, color .3s ease;
}
.service-card__btn svg { flex: none; width: 18px; height: 23.8px; margin-left: 10px; fill: currentColor; }
@media (min-width: 720px) {
  .service-card__frame { max-width: 380px; min-height: 420px; }
  .service-card__inner { max-width: 360px; min-height: 390px; }
  .service-card__btn { max-width: 150px; padding: 12px; font-size: 18px; }
}
@media (min-width: 981px) {
  .service-card--conseil { padding-top: 64px; }
}
@media (min-width: 1024px) {
  .service-card__btn { top: 12rem; left: 11rem; }
  .service-card__btn:hover { color: #fff; background: var(--blue-dark); }
}
@media (min-width: 1200px) {
  .service-card { max-width: 450px; }
  .service-card__frame { position: relative; }
  .service-card__title { font-size: 36px; }
  .service-card__deco { display: block; position: absolute; }
  .service-card__deco--chip {
    top: 3.5rem; left: 24rem; z-index: 1;
    display: flex; align-items: center; justify-content: flex-end;
    width: 39px; height: 22px; background: var(--blue-dark);
  }
  .service-card__deco--chip::after {
    content: ""; width: 12px; height: 12px; margin-right: 5px;
    background: var(--steel); border-radius: 50%;
  }
  .service-card__deco--bar { width: 100px; height: 100px; background: var(--blue-bright); }
  .service-card__deco--square { width: 27px; height: 27px; background: var(--blue-dark); }
  .service-card--cnc .service-card__deco--bar { top: 18rem; left: .5rem; }
  .service-card--cnc .service-card__deco--square { top: 24.2rem; left: -1.2rem; }
  /* la carte « Conseil » est décalée de 64 px vers le bas */
  .service-card--conseil .service-card__deco--bar { top: calc(64px + 21.5rem); left: 21.5rem; }
  .service-card--conseil .service-card__deco--square { top: calc(64px + 19.8rem); left: 27.8rem; }
}

/* =========================================================================
   PAGE L'USINAGE CNC
   ========================================================================= */
.cnc-hero { margin-top: 14px; padding: var(--sec) 0; background: var(--gray-1); }
.cnc-hero .container { padding: var(--row) 0; }
.cnc-hero__title { font-size: 60px; }
.cnc-hero__text { margin-top: calc(2 * var(--row) - 24px); font-size: 24px; line-height: 28.8px; }
.cnc-intro { padding: var(--sec) 0; }
.cnc-intro .container { padding: var(--row) 0; }
.cnc-intro p { font-size: 27px; line-height: 36px; }
@media (min-width: 981px) {
  .cnc-hero__text { width: 60%; }
  .cnc-intro p { width: 60%; }
}

.machines { padding: var(--sec) 0 0; }
.machines__row { padding: var(--row) 0; align-items: start; }
.machines__row:last-child { padding-bottom: calc(var(--row) + var(--sec)); }
.machine {
  padding: 24px;
  font-size: 16px;
  background: #fff;
  box-shadow: 0 12px 18px -6px rgba(0, 0, 0, .3);
}
.machine__img { display: block; width: 100%; margin-bottom: 30px; }
.machine__name { margin-bottom: 30px; font-size: 32px; letter-spacing: .5px; }
.machine__attrs { margin-bottom: 30px; padding: 16px; background: var(--gray-2); }
.machine__attrs h3 { font-size: 22px; }
@media (min-width: 981px) {
  .machines { margin-top: 32px; }
  .machine__img, .machine__name, .machine__attrs { margin-bottom: 26.9px; }
}

.cta-quote { padding: 0 0 var(--sec); background: var(--gray-1); }
.cta-quote .container { padding: var(--row) 0; }
.cta-quote__title { margin-bottom: 30px; font-size: 40px; }
.btn-quote {
  display: inline-block;
  padding: 6px 20px;
  font-size: 20px;
  line-height: 34px;
  color: #fff;
  background: var(--navy);
  border: 2px solid #fff;
  border-radius: 5px;
  transition: background-color .3s ease;
}
.btn-quote:hover { background: var(--blue-dark); }
@media (min-width: 981px) {
  .cta-quote { padding-top: var(--sec); }
  .cta-quote__title { margin-bottom: 29.7px; }
}

/* =========================================================================
   PAGE CONSEIL TECHNIQUE
   ========================================================================= */
.page-top { padding-top: calc(14px + 3 * var(--sec) + var(--row)); }
.conseil-top .container { padding-bottom: calc(2 * var(--row) + 1px); }
.conseil-top__title {
  margin-bottom: 30px;
  font-family: var(--font);
  font-size: 37px;
  font-weight: 800;
  line-height: 60px;
  color: var(--ink);
}
.conseil-top__title--plain { text-transform: none; }
.conseil-block { margin-bottom: 30px; font-size: 27px; line-height: 36px; }
.conseil-block:last-child { margin-bottom: 0; }
.conseil-block h2, .conseil-expertise h2 { font-size: 26px; }
.conseil-deco { text-align: right; line-height: 0; }
.conseil-bottom .container { padding-top: var(--row); }
.conseil-photo { line-height: 0; text-align: center; }
.conseil-expertise { margin-bottom: 30px; font-size: 27px; line-height: 36px; }
.conseil-list {
  padding: 0 0 23px 32px;
  font-size: 27px;
  line-height: 42px;
  color: var(--slate);
}
.conseil-list li { padding-bottom: 8px; }
@media (min-width: 720px) {
  .conseil-list { font-size: 30px; }
}
@media (min-width: 981px) {
  .conseil-top { padding-bottom: var(--sec); }
  .conseil-top .container { padding-bottom: var(--row); }
  .conseil-top__title, .conseil-block { margin-bottom: 31.7px; }
  .conseil-top__title { font-size: 47px; }
  .conseil-bottom { padding-bottom: var(--sec); }
  .conseil-bottom .container { padding-bottom: var(--row); }
  .conseil-photo { margin-bottom: 31.7px; }
  .conseil-expertise { margin-bottom: 31.7px; font-size: 33px; line-height: 42px; }
}

/* Marges au-dessus du bandeau contact selon la page */
.contact-band--gap-lg { margin-top: 48px; }
@media (min-width: 981px) {
  .contact-band--gap { margin-top: 48px; }
  .contact-band--gap-lg { margin-top: 64px; }
}

/* =========================================================================
   POLITIQUE DE CONFIDENTIALITÉ
   ========================================================================= */
.legal .container { padding-bottom: var(--row); }
.legal__title {
  font-family: var(--font);
  font-size: 37px;
  font-weight: 900;
  line-height: 60px;
  text-align: center;
  text-transform: none;
  color: var(--ink);
}
.legal__date { padding-bottom: 0; font-size: 18px; font-weight: 700; line-height: 36px; text-align: center; }
.legal__intro { margin: 20px 0 30px; font-size: 18px; }
.legal__body { margin-top: 20px; font-size: 18px; }
.legal__body ul { padding: 0 0 18px 18px; }
.legal__body li { padding-bottom: 8px; line-height: 21.6px; color: var(--slate); }
/* version anglaise : titre plus haut et espacements d’origine */
.legal--en.page-top { padding-top: calc(var(--sec) + var(--row)); padding-bottom: var(--sec); }
.legal--en .legal__title { font-size: 47px; }
.legal--en .legal__intro { margin: 30px 0 10px; }
.legal--en .legal__body { margin-top: 0; }
.legal__body a:hover { text-decoration: underline; }
@media (min-width: 981px) {
  .legal__title { font-size: 47px; }
  .legal__intro { margin-bottom: 31.7px; }
  .legal--en .legal__intro { margin: 31.7px 0 10px; }
}

/* =========================================================================
   PAGE 404
   ========================================================================= */
.not-found { padding: var(--sec) 0 calc(2 * var(--sec)); text-align: center; }
.not-found h1 { font-size: 60px; }
.not-found p { font-size: 22px; line-height: 32px; }
.not-found .btn { margin-top: 1.5rem; }
