:root {
  --navy-950: #070f1c;
  --navy-900: #0b1626;
  --navy-800: #112038;
  --navy-700: #1a2d4a;
  --gold-300: #e6c98a;
  --gold-400: #d6b06a;
  --gold-500: #c49a4c;
  --gold-600: #a77f36;
  --ink: #142033;
  --muted: #4a5568;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line-light: #e4ded2;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(7, 15, 28, 0.08);
  --container: 1180px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-900);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.005em;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold-400);
  color: var(--navy-950);
}
.skip:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* ---------- Petits éléments ---------- */

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow--line::after,
.eyebrow--lead::before {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.section--light .eyebrow {
  color: var(--gold-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.btn--gold {
  color: var(--navy-950);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 6px 20px rgba(196, 154, 76, 0.25);
}
.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(196, 154, 76, 0.35);
}
.btn--outline {
  color: var(--white);
  border-color: var(--gold-400);
  background: transparent;
}
.btn--outline:hover {
  background: rgba(214, 176, 106, 0.12);
}
.btn--small {
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
}
.btn--block {
  width: 100%;
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

.logo {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.logo span {
  color: var(--gold-400);
  font-size: 0.82em;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(7, 15, 28, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(214, 176, 106, 0.12);
  transition: background 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(7, 15, 28, 0.92);
}
.nav__inner {
  width: min(100% - 32px, 1280px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a:not(.btn) {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav__links a:not(.btn):hover::after,
.nav__links a.is-current::after {
  transform: scaleX(1);
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gold-400);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Accueil ---------- */

/* Mise en page de l'accueil (ordinateur, 1100 px et plus) : la photo détourée de Me Pepin est ancrée sur les cartes
   d'Expertise. Son bas et son bras droit, coupés net par le cadre de la photo, passent derrière les cartes ;
   script.js règle sa hauteur pour que ses cheveux arrivent juste sous le menu, quelle que soit la largeur.
   Ordre d'empilement : fond de Montréal < photo < textes de l'accueil, titre et cartes d'Expertise. */
.hero {
  position: relative;
  color: var(--white);
  padding: calc(var(--nav-h) + 48px) 0 0;
}
.hero__bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 15, 28, 0.95) 0%, rgba(7, 15, 28, 0.78) 34%, rgba(7, 15, 28, 0.2) 62%, rgba(7, 15, 28, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 15, 28, 0.75) 0%, rgba(7, 15, 28, 0) 25%),
    url("/images/montreal-nuit.webp") center 55% / cover no-repeat;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}
/* La photo de Montréal s'arrête juste sous « Montréal · Droit commercial · Litige ». */
.hero__text {
  max-width: 560px;
  padding-bottom: 40px;
}
.hero h1 {
  font-size: 68px;
  color: var(--white);
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: #d9dde4;
}
.hero__lead {
  max-width: 470px;
  margin: 24px 0 32px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.hero__tags {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}
.hero__tags li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__tags svg {
  width: 24px;
  height: 24px;
  color: var(--gold-400);
}

/* Photo sur ordinateur : dans la section Expertise, collée au bord droit des cartes, sans aucun flou. */
.person-desk {
  position: absolute;
  z-index: 1;
  /* Collée au bord droit de la fenêtre (le conteneur est centré). */
  right: calc((100% - 100vw) / 2);
  bottom: 0;
  height: var(--person-h, 860px);
  width: auto;
  max-width: none;
  pointer-events: none;
  /* Aucun flou : le bas de la photo s'arrête net sur la limite de la bande « Notre approche », qui passe
     devant lui (voir .approach), et les cartes chevauchent cette limite. */
}
/* Photo sur téléphone : au-dessus du titre de l'accueil (voir plus bas). */
.hero__person {
  display: none;
}

/* ---------- Sections claires ---------- */

.section {
  padding: 92px 0;
}
#expertise {
  padding-top: 34px;
  padding-bottom: 110px;
}
#expertise .container {
  position: relative;
}
#expertise .eyebrow,
#expertise h2,
#expertise .cards {
  position: relative;
  z-index: 2;
}
/* Le titre tient sur deux lignes, à gauche de la photo. */
#expertise h2 {
  max-width: 600px;
  font-size: 42px;
}
.section--light {
  background: var(--paper);
  color: var(--ink);
}
.section h2,
.approach h2,
.contact h2 {
  font-size: clamp(34px, 4vw, 48px);
}
.section--light h2 {
  max-width: 640px;
  color: var(--navy-900);
}

/* Les cartes couvrent toute la largeur, pour cacher le bas de la photo d'un bord à l'autre. */
.cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.card {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 30px 30px 50px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-400);
  box-shadow: 0 18px 40px rgba(7, 15, 28, 0.12);
}
.card__icon {
  width: 60px;
  height: 60px;
  color: var(--gold-500);
  stroke-width: 1.5;
}
.card h3 {
  font-size: 28px;
  color: var(--navy-900);
}
.card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.card__arrow {
  position: absolute;
  right: 26px;
  bottom: 18px;
  font-size: 22px;
  color: var(--navy-900);
  transition: transform 0.25s ease;
}
.card:hover .card__arrow {
  transform: translateX(4px);
  color: var(--gold-600);
}

/* ---------- Approche ---------- */

.approach {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: linear-gradient(110deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}
.approach__image {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(7, 15, 28, 0) 55%, rgba(7, 15, 28, 0.95) 100%),
    url("/images/bibliotheque.webp") 30% center / cover no-repeat;
}
.approach__body {
  padding: 84px max(16px, calc((100vw - var(--container)) / 2)) 84px 56px;
}
.approach__body > p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}
.pillars {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
}
.pillars li {
  display: grid;
  gap: 14px;
  padding: 0 26px;
  font-size: 16px;
  line-height: 1.35;
}
.pillars li:first-child {
  padding-left: 0;
}
.pillars li + li {
  border-left: 1px solid rgba(214, 176, 106, 0.3);
}
.pillars svg {
  width: 40px;
  height: 40px;
  color: var(--gold-400);
  stroke-width: 1.6;
}

/* ---------- Résultats ---------- */

.results {
  padding: 64px 0 72px;
}
.stats {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats li {
  padding: 4px 40px;
}
.stats li:first-child {
  padding-left: 0;
}
.stats li + li {
  border-left: 1px solid var(--line-light);
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(46px, 5vw, 60px);
  line-height: 1;
  color: var(--gold-600);
}
.stats strong.stats__words {
  font-size: clamp(34px, 3.6vw, 44px);
  line-height: 1.25;
}
.stats span {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: var(--ink);
}

/* ---------- Témoignages ---------- */

.testimonials {
  padding: 72px 0 64px;
  background: radial-gradient(ellipse at center, var(--navy-800) 0%, var(--navy-900) 70%);
  color: var(--white);
}
.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 24px;
  max-width: 960px;
  margin: 8px auto 0;
}
.carousel__track {
  display: grid;
}
.carousel__slide {
  grid-area: 1 / 1;
  margin: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}
.carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.carousel__slide p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
}
.carousel__slide footer {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}
.carousel__slide footer::before {
  content: "— ";
}
.carousel__nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.carousel__nav:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}
.carousel__nav svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.carousel__dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.carousel__dots button[aria-selected="true"] {
  background: var(--gold-400);
}
.carousel.is-single .carousel__nav,
.carousel.is-single .carousel__dots {
  visibility: hidden;
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 84px 0 96px;
  border-top: 1px solid rgba(214, 176, 106, 0.15);
}
.contact__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 15, 28, 0.94) 0%, rgba(7, 15, 28, 0.86) 55%, rgba(7, 15, 28, 0.55) 100%),
    url("/images/bureau-plume.webp") left bottom / cover no-repeat;
}
.contact__inner {
  position: relative;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact__intro {
  padding-right: 40px;
  border-right: 1px solid rgba(214, 176, 106, 0.22);
}
.contact__intro > p:not(.eyebrow) {
  margin: 22px 0 0;
  max-width: 440px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
}
.contact__details {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 16px;
}
.contact__details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact__details svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--gold-400);
  margin-top: 1px;
}
.contact__details a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
}
.contact__details a:hover {
  color: var(--gold-300);
}

.form {
  display: grid;
  gap: 14px;
  align-content: start;
}
.field {
  display: grid;
  gap: 6px;
}
.field span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--white);
  background: rgba(7, 15, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s ease;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold-400);
}
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #e88c7d;
}
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__note {
  margin: 2px 0 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}
.form__status {
  margin: 0;
  min-height: 1.5em;
  font-size: 15px;
}
.form__status.is-ok {
  color: var(--gold-300);
}
.form__status.is-error {
  color: #f0a597;
}
.form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* ---------- Pied de page ---------- */

.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 36px 0 40px;
  font-size: 14px;
  border-top: 1px solid rgba(214, 176, 106, 0.15);
}
.footer__inner {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  display: grid;
  gap: 8px;
}
.footer p {
  margin: 0;
}
.footer .logo {
  font-size: 24px;
  margin-bottom: 6px;
}
.footer__legal {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Apparition au défilement ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Tablette ---------- */

/* ---------- Ordinateur (1200 px et plus) : l'accueil et Expertise rétrécissent en bloc ----------
   --u vaut 1 px à 1440 px de large et plus, et diminue en proportion en dessous : textes, boutons, cartes et photo
   gardent les mêmes proportions entre eux, comme une image réduite. Sous 1200 px, la page passe en mode tablette. */
@media (min-width: 1200px) {
  :root {
    --u: min(1px, calc(100vw / 1440));
  }
  .hero .hero__inner,
  #expertise .container {
    width: calc(1180 * var(--u));
  }
  .hero {
    padding-top: calc(var(--nav-h) + 48 * var(--u));
  }
  .hero__text {
    max-width: calc(560 * var(--u));
    padding-bottom: calc(40 * var(--u));
  }
  .hero h1 {
    font-size: calc(68 * var(--u));
  }
  .hero__lead {
    max-width: calc(470 * var(--u));
    margin: calc(24 * var(--u)) 0 calc(32 * var(--u));
    font-size: calc(19 * var(--u));
  }
  .hero__actions {
    gap: calc(18 * var(--u));
  }
  .hero__actions .btn {
    min-height: calc(52 * var(--u));
    padding: 0 calc(26 * var(--u));
    gap: calc(12 * var(--u));
    font-size: calc(16 * var(--u));
  }
  .hero__tags {
    margin-top: calc(36 * var(--u));
    gap: calc(18 * var(--u)) calc(40 * var(--u));
    font-size: calc(15 * var(--u));
  }
  .hero__tags li {
    gap: calc(10 * var(--u));
  }
  .hero__tags svg {
    width: calc(24 * var(--u));
    height: calc(24 * var(--u));
  }
  .hero .eyebrow,
  #expertise .eyebrow {
    margin-bottom: calc(18 * var(--u));
    font-size: calc(13 * var(--u));
    gap: calc(16 * var(--u));
  }
  .hero .eyebrow--line::after,
  #expertise .eyebrow--lead::before {
    width: calc(56 * var(--u));
  }
  /* Le bas de la photo s'arrête net sur la limite de « Notre approche », qui passe devant lui ;
     les cartes chevauchent cette limite de 56 px (à 1440 px). */
  #expertise {
    padding-top: calc(34 * var(--u));
    padding-bottom: 0;
  }
  .approach {
    position: relative;
    z-index: 2;
  }
  .approach__body {
    padding-top: calc(84px + 56 * var(--u));
  }
  #expertise h2 {
    font-size: calc(42 * var(--u));
  }
  #expertise .cards {
    z-index: 3;
    margin-top: calc(30 * var(--u));
    margin-bottom: calc(-56 * var(--u));
    gap: calc(28 * var(--u));
  }
  #expertise .card {
    grid-template-columns: calc(64 * var(--u)) 1fr;
    gap: calc(22 * var(--u));
    padding: calc(30 * var(--u)) calc(30 * var(--u)) calc(50 * var(--u));
  }
  #expertise .card__icon {
    width: calc(60 * var(--u));
    height: calc(60 * var(--u));
  }
  #expertise .card h3 {
    font-size: calc(28 * var(--u));
  }
  #expertise .card p {
    margin-top: calc(8 * var(--u));
    font-size: calc(15 * var(--u));
  }
  #expertise .card__arrow {
    right: calc(26 * var(--u));
    bottom: calc(18 * var(--u));
    font-size: calc(22 * var(--u));
  }
}

@media (max-width: 1080px) {
  .nav__links {
    gap: 22px;
  }
  .approach__body {
    padding-left: 40px;
  }
}

/* ---------- Téléphone et petite tablette ---------- */

@media (max-width: 1199px) {
  :root {
    --nav-h: 64px;
  }
  .logo {
    font-size: 26px;
  }
  .nav__toggle {
    display: block;
  }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 24px;
    background: rgba(7, 15, 28, 0.98);
    border-bottom: 1px solid rgba(214, 176, 106, 0.2);
    transform: translateY(-110%);
    visibility: hidden;
    transition:
      transform 0.3s ease,
      visibility 0.3s;
  }
  .nav__links.is-open {
    transform: none;
    visibility: visible;
  }
  .nav__links a:not(.btn) {
    padding: 14px 4px;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav__links a:not(.btn)::after {
    display: none;
  }
  .nav__cta {
    margin-top: 18px;
    min-height: 50px;
    font-size: 16px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 20px);
    min-height: 0;
  }
  .hero__bg {
    background:
      linear-gradient(0deg, rgba(7, 15, 28, 1) 42%, rgba(7, 15, 28, 0.55) 62%, rgba(7, 15, 28, 0.15) 100%),
      url("/images/montreal-nuit.webp") 60% top / auto 58% no-repeat,
      var(--navy-950);
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Sur téléphone, la photo passe au-dessus du titre et s'estompe dans le fond, comme l'aperçu de la maquette. */
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero h1 {
    font-size: clamp(44px, 9vw, 64px);
  }
  #expertise h2 {
    font-size: clamp(32px, 6vw, 42px);
  }
  #expertise {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .person-desk {
    display: none;
  }
  .hero__person {
    display: block;
    position: relative;
    z-index: 1;
    order: -1;
    right: auto;
    bottom: auto;
    top: auto;
    align-self: center;
    width: min(92%, 400px);
    margin: 4px 0 -56px;
    filter: none;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 96%);
  }
  .hero__text {
    max-width: none;
    padding-bottom: 56px;
  }
  .hero__lead {
    font-size: 17px;
    margin: 18px 0 26px;
  }
  .hero__actions {
    display: grid;
    gap: 14px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__tags {
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
  }
  .hero__tags li {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 14px;
    flex: 1;
  }

  .section {
    padding: 64px 0;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }
  .card {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 24px 22px 46px;
  }
  .card__icon {
    width: 46px;
    height: 46px;
  }
  .card h3 {
    font-size: 25px;
  }

  .approach {
    grid-template-columns: 1fr;
  }
  .approach__image {
    min-height: 240px;
    background:
      linear-gradient(0deg, rgba(7, 15, 28, 0.95) 0%, rgba(7, 15, 28, 0) 55%),
      url("/images/bibliotheque.webp") center / cover no-repeat;
  }
  .approach__body {
    padding: 8px 16px 64px;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 34px;
  }
  .pillars li {
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 18px;
    padding: 0;
  }
  .pillars li + li {
    border-left: 0;
    border-top: 1px solid rgba(214, 176, 106, 0.22);
    padding-top: 22px;
  }

  .stats {
    grid-template-columns: 1fr;
  }
  .stats li {
    padding: 22px 0;
  }
  .stats li + li {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .carousel {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .carousel__track {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .carousel__nav--prev {
    grid-row: 2;
    justify-self: end;
  }
  .carousel__nav--next {
    grid-row: 2;
    justify-self: start;
  }
  .carousel__dots {
    grid-row: 3;
  }
  .carousel.is-single .carousel__nav,
  .carousel.is-single .carousel__dots {
    display: none;
  }

  .contact {
    padding: 64px 0 72px;
  }
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact__intro {
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 44px;
  }
  .eyebrow {
    letter-spacing: 0.22em;
  }
  .eyebrow--line::after,
  .eyebrow--lead::before {
    width: 36px;
  }
}

/* Aucune animation du menu pendant un changement de largeur de la fenêtre (voir script.js). */
.is-resizing .nav__links {
  transition: none !important;
}
