/* ==========================================================================
   Bareilles MAT — feuille de style unique du site
   --------------------------------------------------------------------------
   Sommaire
     1. Polices (auto-hébergées)
     2. Variables (couleurs, typographies)
     3. Base
     4. Composants communs (conteneur, boutons, titres, icônes)
     5. En-tête
     6. Bandeaux "hero" + formes décoratives
     7. Sections de contenu
     8. Page Gammes : tableau, onglets, carrousels
     9. Page Contact / Mentions légales
    10. Pied de page
    11. Responsive
   ========================================================================== */

/* 1. Polices ------------------------------------------------------------- */
/* Fichiers Google Fonts (sous-ensemble "latin") hébergés localement : aucun appel
   à un serveur tiers (RGPD). League Spartan, Roboto et Akshar sont des polices
   variables : un seul fichier couvre toutes les graisses. */
@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/league-spartan-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Akshar";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/akshar-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
}

/* 2. Variables ----------------------------------------------------------- */
:root {
  --orange: #f3a426;
  --dark: #202020;
  --darker: #1b1b1b;
  --black: #000;
  --white: #fff;
  --grey-light: #f2f2f2;
  --grey-line: #e3e3e3;

  --font-display: "League Spartan", "Arial Black", Arial, sans-serif;
  --font-body: "Roboto", Arial, Helvetica, sans-serif;
  --font-text: "Poppins", Arial, Helvetica, sans-serif;
  --font-label: "Akshar", "Arial Narrow", Arial, sans-serif;

  --container: 1400px;
  --gutter: 20px;
  --radius: 20px;
}

/* 3. Base ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--white);
  color: var(--black);
}
.skip-link:focus {
  top: 8px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Textes à ne jamais couper en fin de ligne (numéros de téléphone, "65120 Luz-Saint-Sauveur") */
.nowrap,
a[href^="tel:"] {
  white-space: nowrap;
}

/* 4. Composants communs -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Petit sur-titre fin en majuscules ("Bareilles MAT", "Vos professionnels"…) */
.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.5625rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: var(--orange);
}

.title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.title--xl {
  font-size: clamp(2.25rem, 1.2rem + 4vw, 4rem);
}
.title--lg {
  font-size: clamp(1.9rem, 1rem + 3vw, 3.125rem);
}
.title--md {
  font-size: clamp(1.6rem, 1rem + 2vw, 2.5rem);
}
.title--sm {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1875rem);
}
.title--orange {
  color: var(--orange);
}
.title--white {
  color: var(--white);
}

/* Texte foncé sur l'orange : le blanc sur cet orange n'est pas assez contrasté (2,1:1). */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 0;
  border-radius: 2px;
  background: var(--orange);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.btn:hover,
.btn:focus-visible {
  background: var(--dark);
  color: var(--white);
}
.btn--large {
  min-width: 230px;
  padding: 14px 40px;
  font-size: 1.125rem;
  letter-spacing: 1.8px;
  text-align: center;
}

/* Icônes : fichiers SVG utilisés comme masque, ils prennent la couleur du texte. */
.icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon--phone {
  --icon: url("../icons/phone.svg");
}
.icon--mail {
  --icon: url("../icons/mail.svg");
}
.icon--pin {
  --icon: url("../icons/map-pin.svg");
}
.icon--linkedin {
  --icon: url("../icons/linkedin.svg");
}
.icon--dot {
  --icon: url("../icons/dot-circle.svg");
}

.rounded {
  border-radius: var(--radius);
}

/* 5. En-tête ------------------------------------------------------------- */
.site-header {
  background: var(--dark);
  color: var(--orange);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 40px;
  padding-block: 18px 0;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 196px;
  padding: 2px 12px 2px 6px;
  border-radius: 2px;
  background: var(--orange);
  color: var(--dark);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  margin-left: 48px;
}
.phone-pill .icon {
  color: var(--white);
  font-size: 18px;
}
.phone-pill:hover,
.phone-pill:focus-visible {
  background: var(--white);
}

.topbar__address {
  flex: 1;
  font-weight: 300;
  font-size: 15px;
  text-align: center;
}

.mainbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px 32px;
}

.logo {
  flex: none;
}
.logo img {
  width: 180px;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  list-style: none;
}
.main-nav a {
  position: relative;
  display: block;
  padding: 15px;
  font-size: 15px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--orange);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.3s;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
}
.main-nav a[aria-current="page"] {
  color: var(--white);
}

.header-cta {
  flex: none;
  padding: 10px 24px;
  border: 1px solid var(--white);
  background: var(--orange);
  color: var(--dark);
  font-size: 15px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.header-cta:hover,
.header-cta:focus-visible,
.header-cta[aria-current="page"] {
  background: var(--dark);
  color: var(--white);
}

/* 6. Bandeaux "hero" + formes décoratives -------------------------------- */
/* L'image de fond est indiquée dans le HTML (style="background-image: …") pour
   pouvoir la changer facilement page par page. Le voile sombre est obtenu par
   une ombre intérieure, ce qui laisse ::before / ::after libres pour les formes. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 95vh;
  padding-block: 80px 160px;
  background-color: #555;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 100vmax rgb(24 24 24 / 0.48);
  color: var(--white);
}
.hero--medium {
  min-height: 52vh;
  padding-bottom: 100px;
}
.hero--short {
  min-height: 40vh;
  padding-bottom: 90px;
  box-shadow: inset 0 0 0 100vmax rgb(36 36 36 / 0.5);
}

.hero__content {
  max-width: 50%;
}
.hero__content > * + * {
  margin-top: 18px;
}
.hero__kicker {
  color: var(--white);
}
.hero__text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.5625rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: #ececec;
}
.hero .btn {
  margin-top: 30px;
}

/* Formes décoratives en bas / en haut de section (reprises d'Elementor). */
.shape-top,
.shape-bottom {
  position: relative;
  isolation: isolate;
}
.shape-top::before,
.shape-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.shape-top::before {
  top: -1px;
  height: var(--shape-top-height, 60px);
  background-image: var(--shape-top);
}
.shape-bottom::after {
  bottom: -1px;
  height: var(--shape-bottom-height, 60px);
  background-image: var(--shape-bottom);
}

/* Bandes obliques orange (bas des bandeaux Accueil, Location, Gammes) */
.shape-bottom--angle {
  --shape-bottom-height: 138px;
  --shape-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2600 131.1' preserveAspectRatio='none' fill='%23f3a426'%3E%3Cpath d='M2600 131.1H0V62z'/%3E%3Cpath d='M0 62h2600v69.1H0z' opacity='.5'/%3E%3Cpath d='M0 131.1h2600V1L0 62z' opacity='.25'/%3E%3C/svg%3E");
}
.shape-bottom--angle-small {
  --shape-bottom-height: 59px;
}
/* Biais blanc (bas du bandeau Contact) */
.shape-bottom--tilt {
  --shape-bottom-height: 57px;
  --shape-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none' fill='%23fff'%3E%3Cpath d='M1000 94v6H0V0z'/%3E%3C/svg%3E");
}
/* Pointe blanche en V (bas de la section orange de l'accueil) */
.shape-bottom--v {
  --shape-bottom-height: 102px;
  --shape-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none' fill='%23fff'%3E%3Cpath d='M500.2 94.7L0 0v100h1000V0z'/%3E%3C/svg%3E");
}
/* Bandes blanches dégradées (haut de la section orange de l'accueil) */
.shape-top--fade {
  --shape-top-height: 57px;
  --shape-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2600 131.1' preserveAspectRatio='none' fill='%23fff'%3E%3Cpath d='M0 0h2600v69.1z'/%3E%3Cpath d='M0 0h2600v69.1H0z' opacity='.5'/%3E%3Cpath d='M2600 0H0v130.1l2600-61z' opacity='.25'/%3E%3C/svg%3E");
}

/* 7. Sections de contenu ------------------------------------------------- */
.section {
  padding-block: 70px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 50px;
  align-items: center;
}
.two-cols--top {
  align-items: start;
}

.stack > * + * {
  margin-top: 20px;
}
.stack .eyebrow + .title {
  margin-top: 10px;
}

.text-poppins {
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.85;
}
.text-poppins p + p {
  margin-top: 1.2em;
}
.text-medium {
  font-weight: 500;
  font-size: 14px;
}

/* Accueil — "Qui sommes nous ?" */
.values {
  padding: 30px 0 0;
  list-style: none;
}
.values li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-text);
  font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.4375rem);
  font-weight: 600;
  text-transform: uppercase;
}
.values li + li {
  margin-top: 22px;
}
.values .icon {
  color: var(--orange);
  font-size: 0.6em;
}

.about__media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__logos {
  width: 48%;
  max-width: 350px;
}

/* Section orange "Nos prestations" */
.section--orange {
  background: var(--orange);
  text-align: center;
}
.section--orange.shape-top--fade {
  padding-top: 110px;
}
.section--orange.shape-bottom--v {
  padding-bottom: 150px;
}
.section--orange .lead {
  max-width: 900px;
  margin: 16px auto 0;
  font-weight: 500;
  font-size: 14px;
}
.section--tall {
  min-height: 59vh;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--black);
  color: var(--black);
}
.card img {
  width: 81px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.5625rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}
.card p {
  max-width: 560px;
  font-weight: 500;
  font-size: 14px;
}
.card__link {
  padding: 7px 35px;
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}
.card__link:hover,
.card__link:focus-visible,
.card__link--underline {
  text-decoration: underline;
}

/* Accueil — chiffres clés */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 560px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  text-align: center;
}
.stat {
  padding: 14px 10px;
  border-bottom: 1px solid var(--grey-line);
}
.stat:nth-child(odd) {
  border-right: 1px solid var(--grey-line);
}
.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--orange);
}
.stat__label {
  font-family: var(--font-text);
  font-size: 15px;
}

/* Bandeau d'appel à l'action "Vos référents professionnels" */
.cta-band {
  display: flex;
  align-items: center;
  min-height: 39vh;
  padding-block: 60px;
  background-color: #555;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 100vmax rgb(18 18 18 / 0.7);
  text-align: center;
}
.cta-band .container > * + * {
  margin-top: 20px;
}
.cta-band__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5625rem);
  font-weight: 300;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: #f3f3f3;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background: var(--dark);
  color: var(--orange);
  font-size: 24px;
  transition: background-color 0.3s;
}
.socials a:hover,
.socials a:focus-visible {
  background: var(--orange);
  color: var(--dark);
}

/* 8. Page Gammes --------------------------------------------------------- */
.intro {
  max-width: 1200px;
  margin-inline: auto;
  text-align: center;
}
.intro .text-poppins {
  margin-top: 16px;
}

.lines-table {
  width: 100%;
  max-width: 660px;
  margin: 40px auto 0;
  border-collapse: collapse;
  background: var(--grey-light);
  font-size: 14px;
  text-align: left;
}
.lines-table th,
.lines-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--white);
  vertical-align: top;
}
.lines-table th {
  width: 38%;
  border-right: 1px solid var(--white);
  font-weight: 400;
  font-size: 15px;
  color: #44546a;
  text-transform: uppercase;
}

/* Onglets sans JavaScript : un bouton radio par onglet. Pour ajouter un onglet,
   ajouter un couple <input>/<label>, un panneau, et une ligne dans la règle
   ":checked" ci-dessous. */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}
.tabs > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tabs > label {
  padding: 14px 22px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.tabs > label:hover {
  background: #9a9ea5;
}
.tabs > input:checked + label {
  background: var(--black);
  color: var(--white);
}
.tabs > input:focus-visible + label {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.tab-panel {
  display: none;
  order: 1;
  width: 100%;
  margin-top: 30px;
}
#tab-mr-line:checked ~ #panel-mr-line,
#tab-mr-s-line:checked ~ #panel-mr-s-line,
#tab-mr-a-line:checked ~ #panel-mr-a-line,
#tab-mr-c-line:checked ~ #panel-mr-c-line,
#tab-mr-p-line:checked ~ #panel-mr-p-line,
#tab-marteaux:checked ~ #panel-marteaux,
#tab-tetes-rotatives:checked ~ #panel-tetes-rotatives,
#tab-groupes-alimentation:checked ~ #panel-groupes-alimentation {
  display: block;
}

/* Carrousel sans JavaScript : défilement horizontal "aimanté". */
.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(50% - 10px);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-color: var(--orange) var(--grey-light);
}
.slider > a {
  scroll-snap-align: start;
}
.slider img {
  width: 100%;
  aspect-ratio: 1300 / 730;
  object-fit: contain;
  background: var(--white);
}
.slider__hint {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
  text-align: center;
}

/* Gammes — "Des valeurs qui comptent pour nous !" */
.eyebrow--label {
  font-family: var(--font-label);
  font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.6875rem);
  font-weight: 400;
  letter-spacing: 0;
}
.title--xs {
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.75rem);
}
/* Chaque pastille (::after) est alignée sur le titre de son élément ; le trait
   vertical (::before) part de la pastille et descend jusqu'à celle de l'élément
   suivant, qui le recouvre. */
.timeline {
  margin-top: 40px;
  padding: 0 0 0 70px;
  list-style: none;
}
.timeline li {
  position: relative;
  padding-block: 12px;
}
.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: -56px;
  top: 28px;
  bottom: -28px;
  width: 3px;
  background: var(--dark);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: -70px;
  top: 12px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--orange) url("../icons/dot-circle.svg") center / 14px no-repeat;
  box-shadow: 0 0 0 3px var(--white);
}
.timeline h3 {
  margin-bottom: 5px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--orange);
}
.timeline p {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.85;
}
.values-photo {
  width: 84%;
  margin-inline: auto;
}

/* 9. Contact / Mentions légales ------------------------------------------ */
.contact-list {
  padding: 0;
  list-style: none;
  font-weight: 500;
}
.contact-list li + li {
  margin-top: 10px;
}
.contact-list li > a,
.contact-list li > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
}
.contact-list .icon {
  color: var(--orange);
}

.contact-card {
  padding: 40px;
  border: 1px solid var(--grey-line);
  border-top: 4px solid var(--orange);
  background: #fafafa;
}
.contact-card > * + * {
  margin-top: 16px;
}
.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

.page-title {
  padding-block: 30px;
  text-align: center;
}

.legal {
  max-width: 820px;
  padding-block: 20px 70px;
}
.legal h2 {
  margin: 36px 0 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
}
.legal p + p {
  margin-top: 10px;
}
.legal a:not(.btn) {
  color: #9a5c00; /* orange foncé : contraste 5,4:1 sur blanc */
}

/* 10. Pied de page ------------------------------------------------------- */
.site-footer {
  padding-block: 12px;
  background: var(--darker);
  color: var(--white);
  font-size: 13px;
  text-align: center;
}
.site-footer a {
  color: var(--orange);
  text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

/* 11. Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .phone-pill {
    margin-left: 0;
  }
  .mainbar__inner {
    flex-wrap: wrap;
  }
  .main-nav {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .two-cols,
  .cards {
    grid-template-columns: 1fr;
  }
  .hero__content {
    max-width: none;
  }
  .about__media {
    order: -1;
  }
  .slider {
    grid-auto-columns: 88%;
  }
  .values-photo {
    width: 100%;
    max-width: 460px;
  }
}

@media (max-width: 767px) {
  .topbar__inner {
    justify-content: center;
    gap: 8px 16px;
    padding-top: 14px;
  }
  .topbar__address {
    flex-basis: 100%;
    font-size: 14px;
  }
  .mainbar__inner {
    padding-block: 16px 8px;
  }
  .logo img {
    width: 100px;
  }
  .main-nav a {
    padding: 10px 9px;
    font-size: 13px;
    letter-spacing: 1px;
  }
  .hero {
    min-height: 80vh;
    padding-bottom: 110px;
    text-align: center;
  }
  .hero--medium,
  .hero--short {
    min-height: 40vh;
    padding-bottom: 80px;
  }
  .shape-bottom--angle {
    --shape-bottom-height: 65px;
  }
  .shape-bottom--angle-small {
    --shape-bottom-height: 40px;
  }
  .shape-bottom--v {
    --shape-bottom-height: 60px;
  }
  .section--orange.shape-bottom--v {
    padding-bottom: 100px;
  }
  .section {
    padding-block: 50px;
  }
  .stack,
  .values {
    text-align: center;
  }
  .values li {
    justify-content: center;
  }
  .about__logos {
    width: 70%;
    margin-inline: auto;
  }
  .stats {
    margin-inline: auto;
  }
  .lines-table th,
  .lines-table td {
    font-size: 13px;
  }
  .tabs > label {
    padding: 10px 12px;
    font-size: 13px;
  }
  .timeline {
    text-align: left;
  }
  .contact-card {
    padding: 24px;
  }
}

/* Petits téléphones (360 px…) : le menu tient sur une seule ligne */
@media (max-width: 400px) {
  .main-nav a {
    padding-inline: 6px;
    letter-spacing: 0.5px;
  }
}
@media (max-width: 340px) {
  .main-nav a {
    padding-inline: 4px;
    font-size: 12px;
  }
}

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