@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Roboto+Slab&family=Rubik:wght@400;500;600;700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Roboto+Slab&family=Rubik:wght@400;500;600;700&display=swap");

/* ================================================ */

/* =========================================================
   PALETTE MADIC
   Rouge principal : #d71920
   Rouge foncé     : #b9141b
   Anthracite      : #202020
   Texte           : #333333
   Gris texte      : #666666
   Gris clair      : #f7f7f7
   Blanc           : #ffffff
   ========================================================= */

/* GENERAL */

/* ================================================ */

* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  color: #333;

  font-size: 1.8rem;

  line-height: 1.5;

  font-family: "Inter", sans-serif;

  font-weight: 400;
}

.container {
  width: 90%;

  max-width: 120rem;

  margin: 0 auto;
}

/* ================================================ */

/* GENERAL REUSABLE COMPONENTS */

/* ================================================ */

.grid {
  display: grid;

  column-gap: 3.2rem;

  row-gap: 9.6rem;
}

.grid:not(:last-child) {
  margin-bottom: 4.8rem;
}

.grid__2__cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid__3__cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid__center-v {
  align-items: center;
}

.grid__4__cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid__5__cols {
  grid-template-columns: repeat(5, 1fr);
}

/* ================================================ */

/* HEADER */

/* ================================================ */

.logo {
  height: 10rem;
}

header h1 {
  font-size: 3.5rem;
}

h1 {
  font-size: 4.5rem;

  font-family: "Rubik", sans-serif;

  font-weight: 600;

  margin: 0;
}

h2 {
  font-size: 4rem;

  font-family: "Rubik", sans-serif;

  font-weight: 600;

  margin: 0;
}

h3 {
  font-size: 2.5rem;

  font-family: "Rubik", sans-serif;

  font-weight: 400;

  margin: 0;
}

p {
  margin: 0;
}

header div a {
  text-decoration: none;
}

nav ul {
  padding: 0;
}

nav li {
  display: inline-block;
}

.header {
  background-color: #d71920;

  color: #fff;

  position: relative;

  align-items: center;

  padding: 1rem 0 1rem 0;
}

/* ================================================ */

/* Index */

/* ================================================ */

.index_section1 {
  background-size: cover;

  background-position: 100% 50%;

  background-image: url("../img/sloganEntreprise_2.webp");
}

.index_section2 {
  margin-top: 3rem;
}

.contenu-banniere {
  color: #fff;

  text-align: center;

  padding: 20rem;
}

.contenu-banniere a {
  display: inline-block;

  color: #fff;

  background-color: #d71920;

  padding: 1rem;

  text-decoration: none;
}

.contenu-banniere a:hover {
  background-color: #b9141b;
}

.deuxcolvideotext__item {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  column-gap: 3.8rem;

  margin-bottom: 3.8rem;
}

.deuxcolvideotext__item__contenu {
  margin: 4.8rem 0 4.8rem 0;
}

.deuxcolvideotext__item__contenu h2 {
  color: #d71920;
}

.positionVideo {
  width: 56rem;

  height: 31.5rem;
}

.deuxcolvideotext__item__contenu__text {
  width: 100%;

  text-align: justify;

  margin-top: 3rem;
}

.deuxcolvideotext__item__video {
  margin-top: 7.6em;
}

/* ================================================ */

/* Services */

/* ================================================ */

.grid__3__cols {
  display: grid;

  column-gap: 3.2rem;

  row-gap: 3.2rem;

  grid-template-columns: repeat(3, 1fr);
}

.services_section1 h1 {
  color: #d71920;

  margin-top: 3rem;
}

.services_section1 h2 {
  color: #d71920;
}

.troiscolimgtext__item__contenu {
  background-color: #f7f7f7;

  align-content: center;

  text-align: center;

  margin: 4rem 0 auto;

  padding-bottom: 4rem;

  border: 1px solid #d71920;

  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.3);

  height: 90%;
}

.troiscolimgtext__item__contenu img {
  width: 90%;

  padding: 1.5rem 1.5rem 0 1.5rem;
}

.troiscolimgtext__item__text {
  text-align: justify;

  padding: 2rem;

  margin-bottom: 3rem;
}

.troiscolimgtext__item__lien {
  text-decoration: none;

  background-color: #d71920;

  color: #fff;

  padding: 1rem;
}

.troiscolimgtext__item__lien:hover {
  background-color: #b9141b;
}

.services_section2 {
  background-color: #202020;

  margin-top: 8rem;

  color: #fff;
}

.services_section2 div h2 {
  padding-top: 2rem;
}

.quatrecolimgtext {
  display: flex;

  justify-content: space-between;

  padding: 2rem;

  text-align: center;
}

.quatrecolimgtext__item {
  width: 20%;

  background-color: #b9141b;

  border-top-right-radius: 10%;

  border-bottom-left-radius: 10%;

  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.4);
}

.quatrecolimgtext__item:hover,
.troiscolimgtext__item__contenu:hover {
  transform: scale(1.05);

  transition: all 0.4s;
}

.quatrecolimgtext__item img {
  width: 60%;

  border-radius: 50%;
}

/* ================================================ */

/* forfaits */

/* ================================================ */

.marginh1 h1 {
  margin: 3rem 0 3rem 0;

  color: #d71920;
}

table {
  width: 100%;

  border-collapse: collapse;

  text-align: center;

  margin: 3rem 0 5rem 0;
}

td,
th {
  border: 1px solid #000;

  padding: 1.5rem;
}

.th-vide1 {
  border: none;
}

.th-forfait,
.th-prix {
  background-color: #d71920;

  color: #fff;

  padding: 3rem 0 3rem 0;

  font-size: 2rem;
}

.td-prix__contenu {
  font-size: 2.5rem;
}

.th-inclus {
  background-color: #d71920;

  color: #fff;

  font-size: 2rem;
}

.td-des__item {
  max-height: 1rem;

  background-color: #202020;

  color: #fff;
}

.th-vide2 {
  background-color: #d71920;

  color: #fff;

  padding: 3rem 0 3rem 0;
}

.reserverForfait {
  background-color: #d71920;

  color: #fff;

  text-decoration: none;

  font-size: 1.35rem;

  padding: 1rem;
}

.reserverForfait:hover {
  background-color: #b9141b;
}

/* ================================================ */

/* blogue */

/* ================================================ */

.deuxcolimgtext__item1 {
  display: flex;

  justify-content: space-between;

  border-top: 2px solid #d71920;

  margin-top: 3rem;
}

.deuxcolimgtext__item1_img,
.deuxcolimgtext__item2_img {
  width: 32%;

  margin: 3rem 0 3rem 0;
}

.deuxcolimgtext__item1_img img {
  width: 100%;
}

.deuxcolimgtext__item1_contenu,
.deuxcolimgtext__item2_contenu {
  width: 66%;

  margin: 3rem 0 3rem 3rem;

  text-align: justify;
}

.deuxcolimgtext__item2 {
  display: flex;

  justify-content: space-between;

  border-top: 2px solid #d71920;
}

.deuxcolimgtext__item2_img img {
  width: 100%;
}

.deuxcolimgtext__item1_contenu h2,
.deuxcolimgtext__item2_contenu h2 {
  color: #d71920;
}

/* ================================================ */

/* joindre */

/* ================================================ */

.textnumero__item {
  display: flex;

  justify-content: space-between;

  font-size: 1.2em;
}

.textnumero__item1 {
  display: flex;

  align-items: center;
}

.textnumero__item1__numero a {
  text-decoration: none;

  background-color: #d71920;

  color: #fff;

  margin-left: 3rem;

  padding: 2rem;
}

.textnumero__item1__numero a:hover {
  background-color: #b9141b;
}

.textnumero__item2 {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.textnumero__item2__email a {
  text-decoration: none;

  background-color: #d71920;

  color: #fff;

  margin-left: 3rem;

  padding: 2rem;
}

.textnumero__item2__email a:hover {
  background-color: #b9141b;
}

.map {
  margin-top: 5rem;
}

/* ================================================ */

/* Formulaire*/

/* ================================================ */

form {
  font-size: 2.5rem;
}

label {
  display: inline-block;

  margin: 0 0 1rem 0;
}

.declaration_importante {
  margin: 5rem 0 5rem 0;

  background-color: #f7f7f7;

  color: #333333;

  padding: 1rem;

  text-align: justify;
}

.info_importante {
  background-color: #b9141b;

  color: #fff;

  padding: 1rem;

  text-align: justify;
}

input,
select {
  border-radius: 3px;

  border: 1px solid #9c9c9c;

  padding: 1rem 0;

  font-size: 2rem;
}

input[type="checkbox"] {
  transform: scale(1.3);

  margin: 0 5px;
}

.form_info_client,
.form_info_facultatif {
  width: 100%;
}

.form_info_client {
  margin: 0 0 10rem 0;
}

.marg-bot {
  margin-bottom: 3rem;

  background-color: #f7f7f7;
}

.champs-large {
  display: block;

  width: 100%;
}

.champs-etroit {
  display: block;

  max-width: 100px;
}

fieldset {
  margin-bottom: 5rem;

  padding: 2rem;

  border: 1px solid #c2c2c2;
}

fieldset legend {
  font-size: 3rem;

  font-weight: 400;

  background-color: #f7f7f7;

  border-radius: 1rem;

  padding: 1rem;

  margin-bottom: 1rem;
}

fieldset fieldset {
  border: none;

  padding: 0;

  margin: 0;
}

.btn {
  background-color: #b9141b;

  color: #fff;

  padding: 1rem;

  margin-bottom: 5rem;
}

.req {
  color: red;
}

*:required {
  background-color: #ffffca;
}

/* ================================================ */

/* servicesDetail */

/* ================================================ */

.deuxcolimgtxt {
  display: flex;

  justify-content: space-between;

  margin-top: 3rem;
}

.deuxcolimgtxt h1 {
  margin: 0;

  color: #d71920;
}

.deuxcolimgtxt__item {
  width: 66%;
}

.deuxcolimgtxt__aside {
  width: 32%;
}

.deuxcolimgtxt__item__contenuA {
  margin-right: 2rem;
}

.deuxcolimgtxt__item__contenuA_txt {
  text-align: justify;

  margin-top: 1rem;
}

.deuxcolimgtxt__item__contenuA img {
  width: 100%;
}

.deuxcolimgtxt__item__contenuBC {
  text-align: center;
}

.deuxcolimgtxt__item__contenuBC img {
  width: 90%;

  padding: 1.5rem 1.5rem 0 1.5rem;
}

.deuxcolimgtxt__item__contenuBC h2 {
  margin-bottom: 3rem;

  color: #d71920;
}

.deuxcolimgtxt__item__contenuB {
  background-color: #f7f7f7;

  margin-bottom: 1rem;

  padding-bottom: 4rem;

  border: 1px solid #d71920;

  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.3);
}

.deuxcolimgtxt__item__contenuB:hover,
.deuxcolimgtxt__item__contenuC:hover {
  transform: scale(1.05);

  transition: all 0.4s;
}

.deuxcolimgtxt__item__contenuC {
  background-color: #f7f7f7;

  padding-bottom: 4rem;

  border: 1px solid #d71920;

  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.3);
}

.EnSavoirPlusPage5 {
  text-decoration: none;

  background-color: #d71920;

  color: #fff;

  padding: 1rem;
}

.EnSavoirPlusPage5:hover {
  background-color: #b9141b;
}

/* ================================================ */

/* FOOTER*/

/* ================================================ */

.footer {
  padding: 12.8rem 0;

  border-top: 1px solid #eee;

  background-color: #202020;

  margin-top: 5rem;
}

.grid--footer {
  display: grid;

  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;

  column-gap: 3.2rem;

  row-gap: 9.6rem;
}

.logo-col {
  display: flex;

  flex-direction: column;
}

.footer-logo {
  display: flex;

  margin-bottom: 3.2rem;
}

.social-links {
  list-style: none;

  display: flex;

  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;

  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;

  line-height: 1.6;

  color: #fff;

  margin-top: auto;
}

.contacts {
  font-style: normal;

  font-size: 1.6rem;

  line-height: 1.6;

  color: #fff;
}

.address {
  margin-bottom: 2.4rem;
}

.footer-heading {
  font-size: 1.8rem;

  font-weight: 500;

  margin-bottom: 4rem;

  color: #fff;
}

.footer-nav {
  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;

  font-size: 1.6rem;

  color: #fff;

  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}

/* ================================================ */

/* Carriere */

/* ================================================ */

#page-carriere .container {
  display: flex;

  justify-content: center;

  padding: 20px;

  background-color: #f9f9f9;

  max-width: 1200px;

  margin: auto;
}

#page-carriere .content-wrapper {
  display: flex;

  flex-direction: column; /* Stacking content vertically */

  align-items: center;

  justify-content: center;

  text-align: center;

  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Add shadow around the content */

  padding: 30px;

  border-radius: 8px;

  background-color: #ffffff;

  width: 100%; /* Ensures content takes up full width in column */

  max-width: 800px; /* Max width for content wrapper */
}

#page-carriere .text-content {
  margin-bottom: 20px;
}

#page-carriere .text-content h1 {
  font-size: 2.5rem;

  color: #d71920;

  margin-bottom: 20px;
}

#page-carriere .text-content p {
  font-size: 1.2rem;

  line-height: 1.8;

  color: #555;
}

#page-carriere .image-content {
  margin-top: 20px;
}

#page-carriere .profile-picture {
  border-radius: 50%;

  width: 200px;

  height: 200px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#page-carriere .profile-picture:hover {
  transform: scale(1.1);

  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

#page-carriere .image-content h2 {
  font-size: 1.5rem;

  margin-top: 10px;

  color: #333;
}

#page-carriere .image-content p {
  font-size: 1.1rem;

  color: #777;
}

/* ================================================ */

/* Propos */

/* ================================================ */

/* Styles spécifiques pour la page Propos */

#page-propos .container {
  display: flex;

  flex-wrap: wrap;

  justify-content: space-between;

  align-items: center;

  max-width: 1200px;

  margin: auto;

  padding: 20px;

  background-color: #f9f9f9;

  border: 2px solid #d71920; /* Bordure de test pour cette page */
}

#page-propos .content-wrapper {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  width: 100%;
}

/* Section à propos de nous pour la page Propos */

#page-propos .text-content {
  flex: 1 1 60%;

  padding: 20px;
}

#page-propos .text-content h1 {
  font-size: 2.8rem;

  color: #d71920;

  margin-bottom: 20px;
}

#page-propos .text-content p {
  font-size: 1.4rem;

  line-height: 1.8;

  color: #555;
}

#page-propos .image-content {
  flex: 1 1 35%;

  text-align: center;
}

#page-propos .profile-picture {
  border-radius: 50%;

  width: 200px;

  height: 200px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#page-propos .image-content h2 {
  font-size: 2rem;

  color: #d71920;

  margin-top: 15px;
}

#page-propos .image-content p {
  font-size: 1.4rem;

  color: #777;
}

/* Section Histoire spécifique à la page Propos */

section.propos_section {
  padding: 40px 0;

  margin-top: 3rem;

  text-align: left;
}

/* Section Histoire spécifique à la page Propos */

section.history-section {
  padding: 40px 0;

  text-align: left;
}

section.history-section h2 {
  font-size: 2.5rem;

  color: #d71920;

  margin-bottom: 20px;
}

section.history-section p {
  font-size: 1.5rem;

  line-height: 1.8;

  color: #555;

  max-width: 900px;

  margin: 0 auto 20px;
}

/* Section : Histoire */

.history-section {
  padding: 50px 20px;

  background-color: #f9f9f9;
}

.history-section .section-title {
  text-align: center;

  margin-bottom: 30px; /* Espacement entre le titre et les cartes */
}

.history-section h2 {
  font-size: 2.5rem;

  color: #d71920;

  text-transform: uppercase;
}

.history-section .card-container {
  display: flex;

  justify-content: center;

  gap: 30px;

  flex-wrap: wrap;
}

.history-section .card {
  background-color: #f7f7f7;

  border-radius: 12px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  width: 300px;

  padding: 20px;

  text-align: left;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.history-section .card h3 {
  font-size: 1.5rem;

  color: #d71920;

  margin-bottom: 10px;
}

.history-section .card p {
  font-size: 1rem;

  color: #666;

  line-height: 1.6;
}

.history-section .card:hover {
  transform: translateY(-10px);

  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Adaptation pour les petits écrans */

@media (max-width: 768px) {
  .history-section .card-container {
    flex-direction: column;

    align-items: center;
  }

  .history-section .card {
    width: 90%;
  }
}

/* Section Impact spécifique à la page Propos */

#page-propos .impact-section {
  background-color: #fff;

  padding: 40px 0;
}

#page-propos .impact-section h2 {
  font-size: 2.5rem;

  color: #d71920;

  margin-bottom: 40px;

  text-align: center;
}

#page-propos .card-container {
  display: flex;

  justify-content: space-around;

  flex-wrap: wrap;

  gap: 20px;

  margin-top: 20px;
}

#page-propos .card {
  padding: 20px;

  width: 250px;

  text-align: center;

  border-radius: 8px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#page-propos .card img {
  width: 100%;

  height: 200px;

  object-fit: cover;

  border-radius: 8px;
}

#page-propos .card h3 {
  font-size: 1.5rem;

  color: #333;

  margin-top: 10px;
}

#page-propos .card p {
  font-size: 1.1rem;

  color: #777;
}

#page-propos .card:hover {
  transform: scale(1.05);

  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Design spécifique à la page Propos */

#page-propos .card-container {
  display: flex;

  justify-content: space-around;

  gap: 20px;
}

#page-propos .card-container .card {
  width: 250px;
}

@media (max-width: 768px) {
  #page-propos .card-container {
    flex-direction: column;

    align-items: center;
  }

  #page-propos .card-container .card {
    width: 80%;
  }
}

/* Langue */

.language-switcher {
  display: flex;

  align-items: center;

  gap: 0.6rem;
}

.lang-btn {
  border: none;

  background: transparent;

  cursor: pointer;

  font: inherit;

  font-weight: 600;

  opacity: 0.6;
}

.lang-btn:hover {
  opacity: 1;
}

.lang-btn.active {
  opacity: 1;

  font-weight: 700;

  text-decoration: underline;
}

/* ===============================

   PRISE DE RENDEZ-VOUS

================================ */

.booking-section {
  padding: 6rem 0;
}

.booking-header {
  max-width: 850px;

  margin: 0 auto 4rem;

  text-align: center;
}

.booking-header h1 {
  margin-bottom: 1.5rem;
}

.booking-header p {
  line-height: 1.7;
}

.booking-form {
  max-width: 950px;

  margin: 0 auto;
}

.booking-card {
  display: grid;

  grid-template-columns: 60px 1fr;

  gap: 2rem;

  margin-bottom: 2.5rem;

  padding: 2.5rem;

  border: 1px solid #ddd;

  border-radius: 12px;

  background: #fff;
}

.booking-step {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 48px;

  height: 48px;

  border-radius: 50%;

  background: #222;

  color: #fff;

  font-weight: 700;

  font-size: 1.8rem;
}

.booking-content h2 {
  margin-bottom: 2rem;
}

.consultation-options {
  display: grid;

  gap: 1.5rem;
}

.consultation-option {
  display: flex;

  gap: 1.5rem;

  padding: 2rem;

  border: 1px solid #ddd;

  border-radius: 10px;

  cursor: pointer;
}

.consultation-option:hover {
  border-color: #777;
}

.consultation-option input {
  margin-top: 0.5rem;
}

.consultation-option h3 {
  margin-bottom: 0.7rem;
}

.consultation-option p {
  margin-bottom: 1rem;

  line-height: 1.6;
}

.time-slots {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1rem;
}

.time-slot {
  position: relative;
}

.time-slot input {
  position: absolute;

  opacity: 0;
}

.time-slot span {
  display: block;

  padding: 1.2rem;

  text-align: center;

  border: 1px solid #ccc;

  border-radius: 8px;

  cursor: pointer;
}

.time-slot input:checked + span {
  border-color: #222;

  background: #222;

  color: #fff;
}

.timezone-info {
  margin-top: 1.5rem;

  font-size: 1.4rem;
}

.booking-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 1.5rem;
}

.booking-input {
  width: 100%;

  margin-top: 0.7rem;

  margin-bottom: 1.8rem;

  padding: 1.3rem;

  border: 1px solid #ccc;

  border-radius: 8px;

  font: inherit;
}

.booking-textarea {
  min-height: 140px;

  resize: vertical;
}

.booking-consent {
  display: flex;

  gap: 1rem;

  line-height: 1.6;
}

.booking-submit {
  width: 100%;

  margin-top: 2rem;

  padding: 1.5rem 2rem;

  border: 0;

  border-radius: 8px;

  cursor: pointer;

  font: inherit;

  font-weight: 700;

  background: #222;

  color: #fff;
}

.booking-note {
  margin-top: 1.5rem;

  text-align: center;

  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .booking-card {
    grid-template-columns: 1fr;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================

   PRISE DE RENDEZ-VOUS

================================ */

.booking-section {
  padding: 6rem 0;
}

.booking-header {
  max-width: 850px;

  margin: 0 auto 4rem;

  text-align: center;
}

.booking-header h1 {
  margin-bottom: 1.5rem;
}

.booking-header p {
  line-height: 1.7;
}

.booking-form {
  max-width: 950px;

  margin: 0 auto;
}

.booking-card {
  display: grid;

  grid-template-columns: 60px 1fr;

  gap: 2rem;

  margin-bottom: 2.5rem;

  padding: 2.5rem;

  border: 1px solid #ddd;

  border-radius: 12px;

  background: #fff;
}

.booking-step {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 48px;

  height: 48px;

  border-radius: 50%;

  background: #222;

  color: #fff;

  font-weight: 700;

  font-size: 1.8rem;
}

.booking-content h2 {
  margin-bottom: 2rem;
}

.consultation-options {
  display: grid;

  gap: 1.5rem;
}

.consultation-option {
  display: flex;

  gap: 1.5rem;

  padding: 2rem;

  border: 1px solid #ddd;

  border-radius: 10px;

  cursor: pointer;
}

.consultation-option:hover {
  border-color: #777;
}

.consultation-option input {
  margin-top: 0.5rem;
}

.consultation-option h3 {
  margin-bottom: 0.7rem;
}

.consultation-option p {
  margin-bottom: 1rem;

  line-height: 1.6;
}

.time-slots {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1rem;
}

.time-slot {
  position: relative;
}

.time-slot input {
  position: absolute;

  opacity: 0;
}

.time-slot span {
  display: block;

  padding: 1.2rem;

  text-align: center;

  border: 1px solid #ccc;

  border-radius: 8px;

  cursor: pointer;
}

.time-slot input:checked + span {
  border-color: #222;

  background: #222;

  color: #fff;
}

.timezone-info {
  margin-top: 1.5rem;

  font-size: 1.4rem;
}

.booking-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 1.5rem;
}

.booking-input {
  width: 100%;

  margin-top: 0.7rem;

  margin-bottom: 1.8rem;

  padding: 1.3rem;

  border: 1px solid #ccc;

  border-radius: 8px;

  font: inherit;
}

.booking-textarea {
  min-height: 140px;

  resize: vertical;
}

.booking-consent {
  display: flex;

  gap: 1rem;

  line-height: 1.6;
}

.booking-submit {
  width: 100%;

  margin-top: 2rem;

  padding: 1.5rem 2rem;

  border: 0;

  border-radius: 8px;

  cursor: pointer;

  font: inherit;

  font-weight: 700;

  background: #222;

  color: #fff;
}

.booking-note {
  margin-top: 1.5rem;

  text-align: center;

  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .booking-card {
    grid-template-columns: 1fr;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }
}

.button-rendezvous {
  background-color: #fff;

  color: #000;

  border: 2px solid #000;
}

.button-rendezvous:hover {
  background-color: #000;

  color: #fff;
}

/* ================================================ */

/* NOUVEAU CSS */

/* ================================================ */

/* =========================================================

   MADIC - NOUVELLE PAGE D'ACCUEIL

   ========================================================= */

/* =========================================================

   1. STYLES GÉNÉRAUX DES SECTIONS

   ========================================================= */

.madic-hero *,
.madic-gallery-preview *,
.madic-process *,
.madic-services *,
.why-madic *,
.madic-about-home *,
.home-video-section *,
.madic-final-cta * {
  box-sizing: border-box;
}

.madic-gallery-preview,
.madic-process,
.madic-services,
.why-madic,
.madic-about-home,
.home-video-section {
  padding: 90px 20px;
}

.section-title {
  max-width: 800px;

  margin: 0 auto 55px;

  text-align: center;
}

.section-title-left {
  max-width: none;

  margin: 0 0 30px;

  text-align: left;
}

.section-eyebrow {
  display: inline-block;

  margin-bottom: 12px;

  color: #d71920;

  font-size: 0.85rem;

  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.section-title h2 {
  margin: 0 0 18px;

  color: #202020;

  font-size: clamp(2rem, 4vw, 3rem);

  font-weight: 800;

  line-height: 1.15;
}

.section-title p {
  margin: 0;

  color: #666;

  font-size: 1.08rem;

  line-height: 1.75;
}

/* =========================================================

   BOUTONS

   ========================================================= */

.madic-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  min-height: 52px;

  padding: 14px 28px;

  border: 2px solid transparent;

  border-radius: 50px;

  font-size: 0.95rem;

  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.madic-btn:hover {
  transform: translateY(-3px);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.madic-btn-red {
  background: #d71920;

  color: #fff;
}

.madic-btn-red:hover {
  background: #b9141b;

  color: #fff;
}

.madic-btn-dark {
  background: #202020;

  color: #fff;
}

.madic-btn-dark:hover {
  background: #000;

  color: #fff;
}

.madic-btn-light {
  background: #fff;

  color: #202020;
}

.madic-btn-light:hover {
  background: #f2f2f2;

  color: #202020;
}

/* =========================================================

   2. HERO

   ========================================================= */

.madic-hero {
  position: relative;

  min-height: 720px;

  display: flex;

  align-items: center;

  padding: 100px 20px;

  /*

     Remplacez l'image ci-dessous par votre image principale

     si votre fichier porte un autre nom.

  */

  background: url("../img/immigrationCanada.jpg") center center / cover
    no-repeat;

  color: #fff;

  overflow: hidden;
}

.madic-hero-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,

    rgba(0, 0, 0, 0.62) 48%,

    rgba(0, 0, 0, 0.22) 100%
  );
}

.madic-hero-content {
  position: relative;

  z-index: 2;

  width: 100%;

  max-width: 1200px;

  margin: 0 auto;
}

.madic-hero .section-eyebrow {
  color: #fff;
}

.madic-hero h1 {
  max-width: 900px;

  margin: 0 0 25px;

  color: #fff;

  font-size: clamp(2.7rem, 5vw, 4.8rem);

  font-weight: 800;

  line-height: 1.08;
}

.hero-subtitle {
  max-width: 780px;

  margin: 0 0 35px;

  color: rgba(255, 255, 255, 0.92);

  font-size: 1.2rem;

  line-height: 1.75;
}

.madic-hero-buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 15px;
}

.hero-trust {
  display: flex;

  flex-wrap: wrap;

  gap: 28px;

  margin-top: 45px;
}

.hero-trust-item {
  display: flex;

  align-items: center;

  gap: 9px;

  color: #fff;

  font-size: 0.95rem;

  font-weight: 600;
}

.hero-trust-item i {
  color: #d71920;

  font-size: 1.2rem;
}

/* =========================================================

   3. MADIC EN ACTION / GALERIE

   ========================================================= */

.madic-gallery-preview {
  background: #fff;
}

.madic-gallery-grid {
  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  grid-template-rows: 220px 220px;

  gap: 18px;
}

.gallery-image {
  position: relative;

  overflow: hidden;

  border-radius: 16px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-image-large {
  grid-row: 1 / 3;
}

.gallery-image img {
  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.gallery-image:hover img {
  transform: scale(1.07);
}

.gallery-action {
  margin-top: 40px;

  text-align: center;
}

/* =========================================================

   4. VOTRE DÉMARCHE

   ========================================================= */

.madic-process {
  background: #f7f7f7;
}

.madic-process-grid {
  position: relative;

  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 35px;
}

.madic-process-item {
  text-align: center;
}

.madic-process-icon {
  width: 110px;

  height: 110px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin: 0 auto 25px;

  border-radius: 50%;

  color: #fff;

  font-size: 2.3rem;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.madic-process-item:hover .madic-process-icon {
  transform: translateY(-7px);

  box-shadow: 0 17px 35px rgba(0, 0, 0, 0.2);
}

.madic-process-icon.red {
  background: #d71920;
}

.madic-process-icon.dark {
  background: #202020;
}

.process-step {
  display: block;

  margin-bottom: 8px;

  color: #d71920;

  font-size: 0.78rem;

  font-weight: 800;

  letter-spacing: 1.5px;
}

.madic-process-item h3 {
  margin: 0 0 13px;

  color: #202020;

  font-size: 1.25rem;

  line-height: 1.3;
}

.madic-process-item p {
  margin: 0;

  color: #666;

  font-size: 0.95rem;

  line-height: 1.65;
}

.process-action {
  margin-top: 50px;

  text-align: center;
}

/* =========================================================

   5. SERVICES

   ========================================================= */

.madic-services {
  background: #fff;
}

.madic-services-grid {
  max-width: 1150px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.madic-service-item {
  display: block;

  padding: 38px 30px;

  background: #fff;

  border: 1px solid #ececec;

  border-radius: 16px;

  color: #202020;

  text-align: center;

  text-decoration: none;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.madic-service-item:hover {
  transform: translateY(-8px);

  border-color: transparent;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
}

.madic-service-icon {
  width: 82px;

  height: 82px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin: 0 auto 24px;

  border-radius: 50%;

  color: #fff;

  font-size: 1.8rem;
}

.madic-service-icon.red {
  background: #d71920;
}

.madic-service-icon.dark {
  background: #202020;
}

.madic-service-item h3 {
  margin: 0 0 15px;

  color: #202020;

  font-size: 1.3rem;

  font-weight: 750;
}

.madic-service-item p {
  min-height: 80px;

  margin: 0;

  color: #666;

  line-height: 1.65;
}

.service-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: 22px;

  color: #d71920;

  font-size: 0.9rem;

  font-weight: 700;
}

.madic-service-item:hover .service-link i {
  transform: translateX(4px);
}

.service-link i {
  transition: transform 0.25s ease;
}

.services-action {
  margin-top: 50px;

  text-align: center;
}

/* =========================================================

   6. POURQUOI MADIC

   ========================================================= */

.why-madic {
  background: #202020;
}

.why-madic .section-title h2 {
  color: #fff;
}

.why-madic .section-title p {
  color: #d3d3d3;
}

.why-grid {
  max-width: 1150px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.why-card {
  padding: 35px 25px;

  background: #fff;

  border-radius: 15px;

  text-align: center;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-7px);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.why-icon {
  width: 70px;

  height: 70px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin: 0 auto 20px;

  border-radius: 50%;

  background: #d71920;

  color: #fff;

  font-size: 1.5rem;
}

.why-card h3 {
  margin: 0 0 12px;

  color: #202020;

  font-size: 1.2rem;
}

.why-card p {
  margin: 0;

  color: #666;

  line-height: 1.65;
}

/* =========================================================

   7. À PROPOS DE MADIC

   ========================================================= */

.madic-about-home {
  background: #f7f7f7;
}

.madic-about-grid {
  max-width: 1150px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  align-items: center;

  gap: 70px;
}

.madic-about-image {
  position: relative;
}

.madic-about-image > img {
  width: 100%;

  display: block;

  border-radius: 18px;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.founder-badge {
  position: absolute;

  right: -25px;

  bottom: 30px;

  display: flex;

  align-items: center;

  gap: 14px;

  min-width: 260px;

  padding: 18px 22px;

  background: #fff;

  border-left: 5px solid #d71920;

  border-radius: 10px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.founder-badge i {
  color: #d71920;

  font-size: 1.8rem;
}

.founder-badge strong,
.founder-badge span {
  display: block;
}

.founder-badge strong {
  color: #202020;

  margin-bottom: 3px;
}

.founder-badge span {
  color: #666;

  font-size: 0.85rem;
}

.madic-about-content > p {
  color: #555;

  line-height: 1.75;
}

.founder-features {
  margin: 25px 0 30px;

  padding: 0;

  list-style: none;
}

.founder-features li {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 12px;

  color: #333;
}

.founder-features i {
  color: #d71920;
}

/* =========================================================

   8. VIDÉO

   ========================================================= */

.home-video-section {
  background: #fff;
}

.home-video-wrapper {
  max-width: 1000px;

  margin: 0 auto;

  overflow: hidden;

  border-radius: 18px;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
}

.home-video-wrapper video {
  width: 100%;

  display: block;
}

/* =========================================================

   9. CTA FINAL

   ========================================================= */

.madic-final-cta {
  position: relative;

  padding: 110px 20px;

  /*

     Vous pouvez remplacer cette image.

  */

  background: url("../img/immigrationCanada.jpg") center center / cover
    no-repeat;

  color: #fff;

  text-align: center;
}

.madic-final-overlay {
  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.75);
}

.madic-final-content {
  position: relative;

  z-index: 2;

  max-width: 900px;

  margin: 0 auto;
}

.section-title-light h2 {
  color: #fff;
}

.section-title-light p {
  color: rgba(255, 255, 255, 0.88);
}

.section-title-light .section-eyebrow {
  color: #fff;
}

.madic-final-cta .madic-hero-buttons {
  justify-content: center;
}

/* =========================================================

   10. RESPONSIVE - TABLETTE

   ========================================================= */

@media screen and (max-width: 1000px) {
  .madic-process-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 45px 30px;
  }

  .madic-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .madic-about-grid {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .madic-about-image {
    max-width: 650px;

    margin: 0 auto;
  }

  .madic-gallery-grid {
    grid-template-columns: repeat(2, 1fr);

    grid-template-rows: 300px 220px;
  }

  .gallery-image-large {
    grid-column: 1 / 3;

    grid-row: auto;
  }
}

/* =========================================================

   11. RESPONSIVE - MOBILE

   ========================================================= */

@media screen and (max-width: 650px) {
  .madic-gallery-preview,
  .madic-process,
  .madic-services,
  .why-madic,
  .madic-about-home,
  .home-video-section {
    padding: 65px 18px;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  /* HERO */

  .madic-hero {
    min-height: 680px;

    padding: 90px 20px 60px;
  }

  .madic-hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .madic-hero-buttons {
    flex-direction: column;
  }

  .madic-hero-buttons .madic-btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;

    gap: 12px;
  }

  /* GALERIE */

  .madic-gallery-grid {
    display: grid;

    grid-template-columns: 1fr;

    grid-template-rows: none;
  }

  .gallery-image,
  .gallery-image-large {
    grid-column: auto;

    grid-row: auto;

    height: 260px;
  }

  /* PROCESS */

  .madic-process-grid {
    grid-template-columns: 1fr;
  }

  .madic-process-icon {
    width: 95px;

    height: 95px;

    font-size: 2rem;
  }

  /* SERVICES */

  .madic-services-grid {
    grid-template-columns: 1fr;
  }

  .madic-service-item p {
    min-height: auto;
  }

  /* WHY */

  .why-grid {
    grid-template-columns: 1fr;
  }

  /* ABOUT */

  .madic-about-grid {
    grid-template-columns: 1fr;
  }

  .founder-badge {
    position: relative;

    right: auto;

    bottom: auto;

    width: calc(100% - 30px);

    min-width: 0;

    margin: -25px auto 0;
  }

  /* CTA */

  .madic-final-cta {
    padding: 80px 18px;
  }
}

/* =========================================================
   MADIC - COHERENCE GLOBALE DES COULEURS
   ========================================================= */
:root {
  --madic-primary: #d71920;
  --madic-primary-dark: #b9141b;
  --madic-dark: #202020;
  --madic-text: #333333;
  --madic-muted: #666666;
  --madic-light: #f7f7f7;
  --madic-white: #ffffff;
}

.header {
  background-color: var(--madic-primary);
}

.button:link,
.button:visited {
  background: var(--madic-dark);
  color: var(--madic-white);
}

.button:hover,
.button:active {
  background: var(--madic-primary-dark);
  color: var(--madic-white);
}

.navbar__links:hover,
.navbar__links:active {
  color: var(--madic-dark);
}

.footer {
  background-color: var(--madic-dark);
}

.footer-link:hover,
.footer-link:active {
  color: var(--madic-primary);
}

.lang-btn {
  color: var(--madic-white);
}

.services_section1 h1,
.services_section1 h2,
.marginh1 h1,
.deuxcolimgtxt h1,
.deuxcolimgtxt__item__contenuBC h2,
#page-propos .text-content h1,
#page-propos .image-content h2,
section.history-section h2,
.history-section h2,
.history-section .card h3,
#page-propos .impact-section h2 {
  color: var(--madic-primary);
}

/* =========================================================
   NOUVELLE PAGE A PROPOS - MADIC
   ========================================================= */

/* IMPORTANT :
   neutralise les anciennes règles #page-propos .container
   qui ajoutaient flex + background + bordure.
*/
#page-propos.about-page-new .container {
  display: block;
  width: 90%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
}

/* =========================================================
   HERO FONDATEUR
   ========================================================= */

.about-hero {
  padding: 9rem 2rem;
  background: #f7f7f7;
}

.about-hero-grid {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7rem;
  align-items: center;
}

.about-hero-image {
  position: relative;
}

.about-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

.about-photo-frame::before {
  content: "";
  position: absolute;
  inset: 2rem -2rem -2rem 2rem;
  border: 0.4rem solid #d71920;
  border-radius: 2rem;
  z-index: -1;
}

.about-photo-frame img {
  display: block;
  width: 100%;
  min-height: 55rem;
  object-fit: cover;
  border-radius: 2rem;
}

.about-founder-card {
  position: absolute;
  right: -3rem;
  bottom: 3rem;

  display: flex;
  align-items: center;
  gap: 1.5rem;

  min-width: 30rem;
  padding: 2rem 2.4rem;

  background: #fff;
  border-left: 0.5rem solid #d71920;
  border-radius: 1rem;

  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.16);
}

.about-founder-icon {
  width: 5rem;
  height: 5rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #d71920;
  color: #fff;

  font-size: 2rem;
}

.about-founder-card strong,
.about-founder-card span {
  display: block;
}

.about-founder-card strong {
  margin-bottom: 0.4rem;
  color: #202020;
  font-size: 1.6rem;
}

.about-founder-card span {
  color: #666;
  font-size: 1.3rem;
}

.about-hero-content h1 {
  margin: 1.4rem 0 2.5rem;

  color: #202020;

  font-size: clamp(3.5rem, 5vw, 5.4rem);
  line-height: 1.08;
}

.about-hero-content p {
  margin-bottom: 1.8rem;

  color: #555;

  font-size: 1.7rem;
  line-height: 1.8;
}

.about-hero-lead {
  font-size: 2rem !important;
  color: #333 !important;
}

.about-hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 2rem;

  margin: 3rem 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 1rem;

  color: #333;

  font-size: 1.5rem;
  font-weight: 600;
}

.about-feature i {
  color: #d71920;
}

.about-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

/* =========================================================
   QUI SOMMES-NOUS
   ========================================================= */

.about-company {
  padding: 9rem 2rem;
  background: #fff;
}

.about-company-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 7rem;
  align-items: start;
}

.about-company-main {
  padding: 3.5rem;

  background: #f7f7f7;

  border-left: 0.5rem solid #d71920;
  border-radius: 1.2rem;
}

.about-company-main p {
  margin-bottom: 2rem;

  color: #555;

  font-size: 1.6rem;
  line-height: 1.85;
}

.about-company-main p:last-child {
  margin-bottom: 0;
}

.about-company-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-point {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 2rem;
  align-items: center;

  padding: 2.2rem;

  border: 1px solid #eee;
  border-radius: 1.2rem;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-point:hover {
  transform: translateX(0.8rem);

  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.about-point-icon {
  width: 6rem;
  height: 6rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: #fff;

  font-size: 2rem;
}

.about-point-icon.red {
  background: #d71920;
}

.about-point-icon.dark {
  background: #202020;
}

.about-point h3 {
  margin-bottom: 0.7rem;

  color: #202020;

  font-size: 2rem;
  font-weight: 700;
}

.about-point p {
  color: #666;

  font-size: 1.4rem;
  line-height: 1.6;
}

/* =========================================================
   VALEURS
   ========================================================= */

.about-values {
  padding: 9rem 2rem;

  background: #202020;
}

.about-values .section-title h2 {
  color: #fff;
}

.about-values .section-title p {
  color: #ccc;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.about-value-card {
  padding: 3.5rem 2.5rem;

  background: #fff;

  border-radius: 1.5rem;

  text-align: center;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-value-card:hover {
  transform: translateY(-0.8rem);

  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.25);
}

.about-value-icon {
  width: 7rem;
  height: 7rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 2rem;

  border-radius: 50%;

  background: #d71920;
  color: #fff;

  font-size: 2.4rem;
}

.about-value-card h3 {
  margin-bottom: 1.2rem;

  color: #202020;

  font-size: 2rem;
  font-weight: 700;
}

.about-value-card p {
  color: #666;

  font-size: 1.4rem;
  line-height: 1.7;
}

/* =========================================================
   HISTOIRE / TIMELINE
   ========================================================= */

.about-journey {
  padding: 9rem 2rem;

  background: #f7f7f7;
}

.about-timeline {
  position: relative;

  max-width: 95rem;
  margin: 0 auto;
}

.about-timeline::before {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;
  left: 4rem;

  width: 0.3rem;

  background: #d71920;
}

.timeline-item {
  position: relative;

  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 3rem;

  margin-bottom: 3rem;
}

.timeline-marker {
  position: relative;
  z-index: 2;

  width: 8rem;
  height: 8rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0.5rem solid #f7f7f7;
  border-radius: 50%;

  background: #202020;
  color: #fff;

  font-size: 2rem;
}

.timeline-marker.red {
  background: #d71920;
}

.timeline-card {
  position: relative;

  padding: 3rem;

  background: #fff;

  border-radius: 1.4rem;

  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.07);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-0.5rem);

  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.12);
}

.timeline-number {
  position: absolute;
  right: 2rem;
  top: 1rem;

  color: rgba(215, 25, 32, 0.09);

  font-size: 6rem;
  font-weight: 800;
}

.timeline-card h3 {
  position: relative;

  margin-bottom: 1.2rem;

  color: #202020;

  font-size: 2.2rem;
  font-weight: 700;
}

.timeline-card p {
  position: relative;

  color: #666;

  font-size: 1.5rem;
  line-height: 1.75;
}

/* =========================================================
   IMPACT
   ========================================================= */

.about-impact {
  padding: 9rem 2rem;

  background: #fff;
}

.about-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 30rem;
  gap: 2rem;
}

.impact-card {
  position: relative;

  overflow: hidden;

  border-radius: 1.5rem;
}

.impact-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.impact-card img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.impact-card:hover img {
  transform: scale(1.08);
}

.impact-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 2.5rem;

  color: #fff;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.05));
}

.impact-overlay > span {
  width: 4.5rem;
  height: 4.5rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 1rem;

  border-radius: 50%;

  background: #d71920;
}

.impact-overlay h3 {
  color: #fff;

  font-size: 2rem;
  font-weight: 700;
}

.impact-overlay p {
  max-width: 55rem;

  margin-top: 1rem;

  color: rgba(255, 255, 255, 0.9);

  font-size: 1.4rem;
  line-height: 1.6;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.about-final-cta {
  position: relative;

  padding: 10rem 2rem;

  background: url("../img/sloganEntreprise_2.webp") center center / cover
    no-repeat;

  color: #fff;
  text-align: center;
}

.about-final-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.78);
}

.about-final-content {
  position: relative;
  z-index: 2;

  max-width: 85rem !important;
}

.about-final-content .section-eyebrow {
  color: #fff;
}

.about-final-content h2 {
  margin: 1.5rem 0 2rem;

  color: #fff;

  font-size: clamp(3rem, 5vw, 4.8rem);
}

.about-final-content p {
  max-width: 70rem;
  margin: 0 auto 3rem;

  color: rgba(255, 255, 255, 0.9);

  font-size: 1.7rem;
  line-height: 1.7;
}

.about-final-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 1000px) {
  .about-hero-grid,
  .about-company-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-image {
    max-width: 65rem;
    margin: 0 auto;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-card-large {
    grid-column: span 2;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 650px) {
  .about-hero,
  .about-company,
  .about-values,
  .about-journey,
  .about-impact {
    padding: 6.5rem 1.8rem;
  }

  .about-photo-frame img {
    min-height: 40rem;
  }

  .about-founder-card {
    position: relative;

    right: auto;
    bottom: auto;

    width: calc(100% - 3rem);
    min-width: 0;

    margin: -3rem auto 0;
  }

  .about-hero-content h1 {
    font-size: 3.5rem;
  }

  .about-hero-features {
    grid-template-columns: 1fr;
  }

  .about-hero-buttons,
  .about-final-buttons {
    flex-direction: column;
  }

  .about-hero-buttons .madic-btn,
  .about-final-buttons .madic-btn {
    width: 100%;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-timeline::before {
    left: 2.5rem;
  }

  .timeline-item {
    grid-template-columns: 5rem 1fr;
    gap: 1.5rem;
  }

  .timeline-marker {
    width: 5rem;
    height: 5rem;

    font-size: 1.5rem;
  }

  .timeline-card {
    padding: 2.2rem;
  }

  .timeline-number {
    font-size: 4.5rem;
  }

  .about-impact-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 28rem;
  }

  .impact-card-large {
    grid-column: auto;
    grid-row: auto;
  }

  .about-final-cta {
    padding: 8rem 1.8rem;
  }
}

/* =========================================================
   NOUVELLE PAGE SERVICES - MADIC
   ========================================================= */

/* =========================================================
   CONTAINER
   ========================================================= */

#page-services.services-page-new .container {
  width: 90%;
  max-width: 120rem;
  margin: 0 auto;
}

/* =========================================================
   HERO
   ========================================================= */

.services-hero {
  position: relative;

  min-height: 58rem;

  display: flex;
  align-items: center;

  padding: 9rem 2rem;

  background: url("../img/sloganEntreprise_2.webp") center center / cover
    no-repeat;

  color: #fff;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.84),
    rgba(0, 0, 0, 0.58),
    rgba(0, 0, 0, 0.2)
  );
}

.services-hero-content {
  position: relative;
  z-index: 2;
}

.services-hero .section-eyebrow {
  color: #fff;
}

.services-hero h1 {
  max-width: 90rem;

  margin: 1.5rem 0 2.5rem;

  color: #fff;

  font-size: clamp(3.8rem, 6vw, 6rem);
  line-height: 1.06;
}

.services-hero-subtitle {
  max-width: 75rem;

  margin-bottom: 3rem;

  color: rgba(255, 255, 255, 0.92);

  font-size: 1.8rem;
  line-height: 1.75;
}

.services-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* =========================================================
   INTRODUCTION
   ========================================================= */

.services-intro {
  padding: 9rem 2rem;

  background: #fff;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;

  margin-top: 4rem;
}

.services-intro-item {
  padding: 3rem 2.3rem;

  border: 1px solid #eee;
  border-radius: 1.5rem;

  text-align: center;

  background: #fff;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.services-intro-item:hover {
  transform: translateY(-0.7rem);

  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.1);
}

.services-intro-icon {
  width: 7rem;
  height: 7rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 2rem;

  border-radius: 50%;

  color: #fff;

  font-size: 2.2rem;
}

.services-intro-icon.red {
  background: #d71920;
}

.services-intro-icon.dark {
  background: #202020;
}

.services-intro-item h3 {
  margin-bottom: 1rem;

  color: #202020;

  font-size: 2rem;
  font-weight: 700;
}

.services-intro-item p {
  color: #666;

  font-size: 1.4rem;
  line-height: 1.65;
}

/* =========================================================
   SERVICES PRINCIPAUX
   ========================================================= */

.services-main-list {
  padding: 9rem 2rem;

  background: #f7f7f7;
}

.services-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.services-modern-card {
  overflow: hidden;

  display: flex;
  flex-direction: column;

  background: #fff;

  border-radius: 1.6rem;

  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.07);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.services-modern-card:hover {
  transform: translateY(-0.8rem);

  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.14);
}

.services-card-image {
  position: relative;

  height: 24rem;

  overflow: hidden;

  display: block;
}

.services-card-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.services-modern-card:hover .services-card-image img {
  transform: scale(1.06);
}

.services-card-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
}

.services-card-icon {
  position: absolute;
  left: 2.5rem;
  bottom: -3rem;

  width: 6rem;
  height: 6rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  border: 0.5rem solid #fff;

  color: #fff;

  font-size: 2rem;
}

.services-card-icon.red {
  background: #d71920;
}

.services-card-icon.dark {
  background: #202020;
}

.services-card-content {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 4.5rem 2.8rem 3rem;
}

.services-card-category {
  display: block;

  margin-bottom: 0.8rem;

  color: #d71920;

  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12rem;
}

.services-card-content h3 {
  margin-bottom: 1.5rem;

  color: #202020;

  font-size: 2.4rem;
  font-weight: 700;
}

.services-card-content p {
  margin-bottom: 2rem;

  color: #666;

  font-size: 1.45rem;
  line-height: 1.7;
}

.services-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;

  margin-top: auto;

  color: #d71920;

  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.services-card-link i {
  transition: transform 0.25s ease;
}

.services-card-link:hover i {
  transform: translateX(0.5rem);
}

/* =========================================================
   CARTES SANS IMAGE
   ========================================================= */

.services-icon-card {
  padding-top: 3rem;
}

.services-icon-header {
  padding: 1rem 2.8rem 0;
}

.services-large-icon {
  width: 8rem;
  height: 8rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: #fff;

  font-size: 2.8rem;
}

.services-large-icon.red {
  background: #d71920;
}

.services-large-icon.dark {
  background: #202020;
}

.services-icon-card .services-card-content {
  padding-top: 2.5rem;
}

.services-feature-list {
  padding: 0;
  margin: 0 0 2rem;

  list-style: none;
}

.services-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;

  margin-bottom: 0.8rem;

  color: #555;

  font-size: 1.35rem;
}

.services-feature-list i {
  margin-top: 0.3rem;

  color: #d71920;
}

/* =========================================================
   ACCOMPAGNEMENT
   ========================================================= */

.services-support {
  padding: 9rem 2rem;

  background: #202020;
}

.services-support .section-title h2 {
  color: #fff;
}

.services-support .section-title p {
  color: #ccc;
}

.services-support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.services-support-item {
  position: relative;

  padding: 3rem 2.5rem;

  background: #fff;

  border-radius: 1.5rem;

  text-align: center;
}

.services-support-number {
  position: absolute;

  top: 1rem;
  right: 1.5rem;

  color: rgba(215, 25, 32, 0.08);

  font-size: 5rem;
  font-weight: 800;
}

.services-support-icon {
  width: 7rem;
  height: 7rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 2rem;

  border-radius: 50%;

  background: #d71920;
  color: #fff;

  font-size: 2.3rem;
}

.services-support-item h3 {
  margin-bottom: 1rem;

  color: #202020;

  font-size: 1.9rem;
  font-weight: 700;
}

.services-support-item p {
  color: #666;

  font-size: 1.4rem;
  line-height: 1.65;
}

/* =========================================================
   BESOIN D'AIDE
   ========================================================= */

.services-help {
  padding: 9rem 2rem;

  background: #fff;
}

.services-help-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 7rem;
  align-items: center;
}

.services-help-content h2 {
  margin: 1.2rem 0 2rem;

  color: #202020;

  font-size: clamp(3rem, 5vw, 4.5rem);
}

.services-help-content p {
  max-width: 68rem;

  margin-bottom: 3rem;

  color: #666;

  font-size: 1.6rem;
  line-height: 1.75;
}

.services-help-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.services-help-visual {
  position: relative;

  min-height: 35rem;

  display: flex;
  align-items: center;
  justify-content: center;
}

.services-help-icon-main {
  width: 20rem;
  height: 20rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #202020;
  color: #fff;

  font-size: 7rem;

  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.18);
}

.services-help-badge {
  position: absolute;

  display: flex;
  align-items: center;
  gap: 1rem;

  padding: 1.5rem 2rem;

  background: #fff;

  border-radius: 1rem;

  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);

  color: #333;

  font-size: 1.4rem;
  font-weight: 700;
}

.services-help-badge i {
  color: #d71920;
}

.services-help-badge-one {
  left: 0;
  top: 3rem;
}

.services-help-badge-two {
  right: 0;
  bottom: 3rem;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.services-final-cta {
  position: relative;

  padding: 10rem 2rem;

  background: url("../img/sloganEntreprise_2.webp") center center / cover
    no-repeat;

  color: #fff;
  text-align: center;
}

.services-final-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.78);
}

.services-final-content {
  position: relative;
  z-index: 2;

  max-width: 85rem !important;
}

.services-final-content .section-eyebrow {
  color: #fff;
}

.services-final-content h2 {
  margin: 1.5rem 0 2rem;

  color: #fff;

  font-size: clamp(3rem, 5vw, 4.8rem);
}

.services-final-content p {
  max-width: 70rem;

  margin: 0 auto 3rem;

  color: rgba(255, 255, 255, 0.9);

  font-size: 1.7rem;
  line-height: 1.7;
}

.services-final-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 1000px) {
  .services-intro-grid,
  .services-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-help-grid {
    grid-template-columns: 1fr;
  }

  .services-help-visual {
    max-width: 55rem;
    margin: 0 auto;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 650px) {
  .services-intro,
  .services-main-list,
  .services-support,
  .services-help {
    padding: 6.5rem 1.8rem;
  }

  .services-hero {
    min-height: 60rem;
    padding: 8rem 1.8rem;
  }

  .services-hero h1 {
    font-size: 3.8rem;
  }

  .services-hero-buttons,
  .services-help-buttons,
  .services-final-buttons {
    flex-direction: column;
  }

  .services-hero-buttons .madic-btn,
  .services-help-buttons .madic-btn,
  .services-final-buttons .madic-btn {
    width: 100%;
  }

  .services-intro-grid,
  .services-modern-grid,
  .services-support-grid {
    grid-template-columns: 1fr;
  }

  .services-help-visual {
    min-height: 30rem;
  }

  .services-help-icon-main {
    width: 16rem;
    height: 16rem;

    font-size: 5rem;
  }

  .services-help-badge {
    font-size: 1.2rem;
  }

  .services-final-cta {
    padding: 8rem 1.8rem;
  }
}

/* =========================================================
   SERVICE DETAIL - IMMIGRATION ECONOMIQUE
   ========================================================= */

/* =========================================================
   HERO
   ========================================================= */

.service-detail-hero {
  position: relative;

  min-height: 58rem;

  display: flex;
  align-items: center;

  padding: 9rem 2rem;

  background: url("../img/immigrationEconomique_BF_1.png") center center / cover
    no-repeat;

  color: #fff;
}

.service-detail-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.86),
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.2)
  );
}

.service-detail-hero-content {
  position: relative;
  z-index: 2;
}

.service-detail-hero .section-eyebrow {
  color: #fff;
}

.service-detail-hero h1 {
  max-width: 90rem;

  margin: 1.5rem 0 2rem;

  color: #fff;

  font-size: clamp(4rem, 6vw, 6rem);
  line-height: 1.05;
}

.service-detail-hero-subtitle {
  max-width: 75rem;

  margin-bottom: 3rem;

  color: rgba(255, 255, 255, 0.93);

  font-size: 1.8rem;
  line-height: 1.75;
}

.service-detail-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* =========================================================
   INTRO
   ========================================================= */

.service-detail-intro {
  padding: 9rem 2rem;

  background: #fff;
}

.service-detail-intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 7rem;
  align-items: center;
}

.service-detail-image {
  position: relative;
}

.service-detail-image img {
  display: block;

  width: 100%;

  border-radius: 1.8rem;

  box-shadow: 0 1.8rem 4.5rem rgba(0, 0, 0, 0.15);
}

.service-detail-image-badge {
  position: absolute;
  right: -2rem;
  bottom: 2.5rem;

  display: flex;
  align-items: center;
  gap: 1rem;

  padding: 1.7rem 2rem;

  border-left: 0.5rem solid #d71920;
  border-radius: 1rem;

  background: #fff;

  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);

  color: #202020;
  font-weight: 700;
}

.service-detail-image-badge i {
  color: #d71920;

  font-size: 2rem;
}

.service-detail-intro-content h2 {
  margin: 1.2rem 0 2rem;

  color: #202020;

  font-size: clamp(3rem, 5vw, 4.2rem);
}

.service-detail-intro-content > p {
  margin-bottom: 2.5rem;

  color: #666;

  font-size: 1.6rem;
  line-height: 1.8;
}

.service-detail-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-highlight {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  align-items: center;

  padding: 1.5rem;

  border-radius: 1rem;

  background: #f7f7f7;
}

.service-highlight i {
  width: 5rem;
  height: 5rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #d71920;
  color: #fff;

  font-size: 1.8rem;
}

.service-highlight strong,
.service-highlight span {
  display: block;
}

.service-highlight strong {
  margin-bottom: 0.3rem;

  color: #202020;

  font-size: 1.6rem;
}

.service-highlight span {
  color: #666;

  font-size: 1.35rem;
}

/* =========================================================
   PROGRAMMES
   ========================================================= */

.service-programs {
  padding: 9rem 2rem;

  background: #f7f7f7;
}

.service-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.program-card {
  padding: 3.5rem 2.7rem;

  border-radius: 1.5rem;

  background: #fff;

  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.06);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-0.8rem);

  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.12);
}

.program-icon {
  width: 7rem;
  height: 7rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 2rem;

  border-radius: 50%;

  color: #fff;

  font-size: 2.3rem;
}

.program-icon.red {
  background: #d71920;
}

.program-icon.dark {
  background: #202020;
}

.program-card h3 {
  margin-bottom: 1.2rem;

  color: #202020;

  font-size: 2rem;
  font-weight: 700;
}

.program-card p {
  color: #666;

  font-size: 1.4rem;
  line-height: 1.7;
}

/* =========================================================
   EXPLICATION DÉTAILLÉE
   ========================================================= */

.service-detail-explanation {
  padding: 9rem 2rem;

  background: #fff;
}

.service-detail-explanation-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 6rem;
  align-items: start;
}

.service-detail-text h2 {
  margin: 1.2rem 0 2rem;

  color: #202020;

  font-size: clamp(3rem, 5vw, 4.2rem);
}

.service-detail-text p {
  color: #555;

  font-size: 1.55rem;
  line-height: 1.9;

  text-align: justify;
}

.service-detail-info-card {
  position: sticky;
  top: 12rem;

  padding: 3rem;

  border-radius: 1.5rem;

  background: #202020;
  color: #fff;
}

.service-info-icon {
  width: 6rem;
  height: 6rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 2rem;

  border-radius: 50%;

  background: #d71920;

  font-size: 2.2rem;
}

.service-detail-info-card h3 {
  margin-bottom: 1.5rem;

  color: #fff;

  font-size: 2.3rem;
  font-weight: 700;
}

.service-detail-info-card p {
  margin-bottom: 2.5rem;

  color: #ddd;

  font-size: 1.4rem;
  line-height: 1.7;
}

/* =========================================================
   PROCESS
   ========================================================= */

.service-detail-process {
  padding: 9rem 2rem;

  background: #202020;
}

.service-detail-process .section-title h2 {
  color: #fff;
}

.service-detail-process .section-title p {
  color: #ccc;
}

.service-detail-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.detail-process-item {
  position: relative;

  padding: 3rem 2.5rem;

  border-radius: 1.5rem;

  background: #fff;

  text-align: center;
}

.detail-process-number {
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;

  color: rgba(215, 25, 32, 0.08);

  font-size: 5.5rem;
  font-weight: 800;
}

.detail-process-icon {
  width: 7rem;
  height: 7rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 2rem;

  border-radius: 50%;

  background: #d71920;
  color: #fff;

  font-size: 2.2rem;
}

.detail-process-item h3 {
  margin-bottom: 1rem;

  color: #202020;

  font-size: 1.9rem;
  font-weight: 700;
}

.detail-process-item p {
  color: #666;

  font-size: 1.4rem;
  line-height: 1.65;
}

/* =========================================================
   AUTRES SERVICES
   ========================================================= */

.service-related {
  padding: 9rem 2rem;

  background: #f7f7f7;
}

.service-related-grid {
  max-width: 90rem;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.related-service-card {
  overflow: hidden;

  display: block;

  border-radius: 1.6rem;

  background: #fff;

  color: inherit;
  text-decoration: none;

  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.related-service-card:hover {
  transform: translateY(-0.7rem);

  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.14);
}

.related-service-image {
  position: relative;

  height: 24rem;

  overflow: hidden;
}

.related-service-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.related-service-card:hover img {
  transform: scale(1.06);
}

.related-service-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

.related-service-icon {
  position: absolute;

  left: 2.5rem;
  bottom: -3rem;

  width: 6rem;
  height: 6rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0.5rem solid #fff;
  border-radius: 50%;

  color: #fff;

  font-size: 2rem;
}

.related-service-icon.red {
  background: #d71920;
}

.related-service-icon.dark {
  background: #202020;
}

.related-service-content {
  padding: 4.5rem 2.8rem 3rem;
}

.related-service-content h3 {
  margin-bottom: 1rem;

  color: #202020;

  font-size: 2.3rem;
  font-weight: 700;
}

.related-service-content p {
  margin-bottom: 2rem;

  color: #666;

  font-size: 1.4rem;
  line-height: 1.7;
}

.related-service-content > span {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;

  color: #d71920;

  font-size: 1.4rem;
  font-weight: 700;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.service-detail-final-cta {
  position: relative;

  padding: 10rem 2rem;

  background: url("../img/immigrationEconomique_BF_1.png") center center / cover
    no-repeat;

  color: #fff;
  text-align: center;
}

.service-detail-final-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.8);
}

.service-detail-final-content {
  position: relative;
  z-index: 2;

  max-width: 85rem !important;
}

.service-detail-final-content .section-eyebrow {
  color: #fff;
}

.service-detail-final-content h2 {
  margin: 1.5rem 0 2rem;

  color: #fff;

  font-size: clamp(3rem, 5vw, 4.8rem);
}

.service-detail-final-content p {
  max-width: 70rem;

  margin: 0 auto 3rem;

  color: rgba(255, 255, 255, 0.9);

  font-size: 1.7rem;
  line-height: 1.7;
}

.service-detail-final-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 1000px) {
  .service-detail-intro-grid,
  .service-detail-explanation-grid {
    grid-template-columns: 1fr;
  }

  .service-programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail-info-card {
    position: static;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 650px) {
  .service-detail-intro,
  .service-programs,
  .service-detail-explanation,
  .service-detail-process,
  .service-related {
    padding: 6.5rem 1.8rem;
  }

  .service-detail-hero {
    min-height: 60rem;

    padding: 8rem 1.8rem;
  }

  .service-detail-hero h1 {
    font-size: 4rem;
  }

  .service-detail-hero-buttons,
  .service-detail-final-buttons {
    flex-direction: column;
  }

  .service-detail-hero-buttons .madic-btn,
  .service-detail-final-buttons .madic-btn {
    width: 100%;
  }

  .service-detail-intro-grid,
  .service-programs-grid,
  .service-detail-process-grid,
  .service-related-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-image-badge {
    position: relative;

    right: auto;
    bottom: auto;

    width: calc(100% - 3rem);

    margin: -2.5rem auto 0;
  }

  .service-detail-text p {
    text-align: left;
  }

  .service-detail-final-cta {
    padding: 8rem 1.8rem;
  }
}
/* =========================================================
   SERVICE DETAIL - PARRAINAGE
   Complément au CSS commun des pages service-detail
   ========================================================= */

/* HERO PARRAINAGE */

.service-detail-hero-par {
  background: url("../img/parrainage_BF_1.png") center center / cover no-repeat;
}

/* CTA FINAL PARRAINAGE */

.service-detail-final-cta-par {
  background: url("../img/parrainage_BF_1.png") center center / cover no-repeat;
}

/* =========================================================
   SERVICE DETAIL - RESIDENCE TEMPORAIRE
   ========================================================= */

.service-detail-hero-rt {
  background: url("../img/ImmigrationTemporaire_BF_1.png") center center / cover
    no-repeat;
}

.service-detail-final-cta-rt {
  background: url("../img/ImmigrationTemporaire_BF_1.png") center center / cover
    no-repeat;
}

/* =========================================================
   NOUVELLE PAGE FORFAITS - MADIC
   ========================================================= */

/* =========================================================
   HERO
   ========================================================= */

.packages-hero {
  position: relative;

  min-height: 55rem;

  display: flex;
  align-items: center;

  padding: 9rem 2rem;

  background: url("../img/sloganEntreprise_2.webp") center center / cover
    no-repeat;

  color: #fff;
}

.packages-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.86),
    rgba(0, 0, 0, 0.62),
    rgba(0, 0, 0, 0.22)
  );
}

.packages-hero-content {
  position: relative;
  z-index: 2;
}

.packages-hero .section-eyebrow {
  color: #fff;
}

.packages-hero h1 {
  margin: 1.5rem 0 2rem;

  color: #fff;

  font-size: clamp(4rem, 6vw, 6rem);
}

.packages-hero-subtitle {
  max-width: 75rem;

  margin-bottom: 3rem;

  color: rgba(255, 255, 255, 0.92);

  font-size: 1.8rem;
  line-height: 1.75;
}

.packages-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

/* =========================================================
   INTRO
   ========================================================= */

.packages-intro {
  padding: 9rem 2rem;

  background: #fff;
}

.packages-benefits {
  max-width: 95rem;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.packages-benefit {
  padding: 3rem 2.5rem;

  border: 1px solid #eee;
  border-radius: 1.5rem;

  text-align: center;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.packages-benefit:hover {
  transform: translateY(-0.7rem);

  box-shadow: 0 1.3rem 3rem rgba(0, 0, 0, 0.1);
}

.packages-benefit-icon {
  width: 7rem;
  height: 7rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 2rem;

  border-radius: 50%;

  background: #d71920;
  color: #fff;

  font-size: 2.2rem;
}

.packages-benefit h3 {
  margin-bottom: 1rem;

  color: #202020;

  font-size: 2rem;
}

.packages-benefit p {
  color: #666;

  font-size: 1.4rem;
  line-height: 1.65;
}

/* =========================================================
   GRILLE DES FORFAITS
   ========================================================= */

.packages-list {
  padding: 9rem 2rem;

  background: #f7f7f7;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 3rem;

  align-items: start;
}

/* =========================================================
   CARTE
   ========================================================= */

.package-card {
  position: relative;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  background: #fff;

  border: 1px solid #eee;
  border-radius: 1.7rem;

  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.07);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-0.8rem);

  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.14);
}

.package-card-featured {
  border: 0.2rem solid #d71920;
}

/* =========================================================
   HEADER CARTE
   ========================================================= */

.package-card-top {
  min-height: 17rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 3rem 2rem;

  text-align: center;

  color: #fff;
}

.package-card-top.red {
  background: #d71920;
}

.package-card-top.dark {
  background: #202020;
}

.package-icon {
  width: 6rem;
  height: 6rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 1.5rem;

  border: 0.2rem solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;

  font-size: 2.2rem;
}

.package-card-top h3 {
  color: #fff;

  font-size: 2.1rem;
  line-height: 1.3;
}

/* =========================================================
   BADGE
   ========================================================= */

.package-popular {
  position: absolute;
  z-index: 2;

  top: 1.6rem;
  right: -4.2rem;

  width: 17rem;

  padding: 0.7rem;

  transform: rotate(42deg);

  background: #fff;
  color: #d71920;

  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

/* =========================================================
   BODY
   ========================================================= */

.package-card-body {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 3rem 2.5rem;
}

.package-from {
  margin: 0;

  color: #777;

  text-align: center;

  font-size: 1.3rem;
}

.package-price {
  margin: 0.5rem 0;

  color: #202020;

  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
}

.package-unit {
  margin-bottom: 2.5rem;

  color: #777;

  text-align: center;

  font-size: 1.2rem;
}

.package-description {
  margin-bottom: 2rem;
}

.package-description p {
  color: #666;

  font-size: 1.4rem;
  line-height: 1.7;
}

/* =========================================================
   INCLUS / NON INCLUS
   ========================================================= */

.package-section {
  margin-bottom: 2.5rem;
}

.package-section h4 {
  display: flex;
  align-items: center;
  gap: 0.8rem;

  margin-bottom: 1.3rem;

  color: #202020;

  font-size: 1.6rem;
}

.package-section h4 i {
  color: #d71920;
}

.package-excluded h4 i {
  color: #777;
}

.package-feature-list {
  padding: 0;
  margin: 0;

  list-style: none;
}

.package-feature-list li {
  position: relative;

  padding: 0.8rem 0 0.8rem 2.2rem;

  border-bottom: 1px solid #eee;

  color: #555;

  font-size: 1.35rem;
  line-height: 1.5;
}

.package-feature-list li::before {
  content: "✓";

  position: absolute;
  left: 0;

  color: #d71920;

  font-weight: 800;
}

.package-excluded .package-feature-list li::before {
  content: "–";

  color: #777;
}

.package-button {
  width: 100%;

  margin-top: auto;
}

/* =========================================================
   INFORMATION TARIFAIRE
   ========================================================= */

.packages-information {
  padding: 7rem 2rem;

  background: #202020;
}

.packages-information-grid {
  max-width: 95rem !important;

  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 3rem;
  align-items: center;
}

.packages-information-icon {
  width: 9rem;
  height: 9rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #d71920;
  color: #fff;

  font-size: 3rem;
}

.packages-information-content .section-eyebrow {
  color: #fff;
}

.packages-information-content h2 {
  margin: 1rem 0 1.5rem;

  color: #fff;

  font-size: 3rem;
}

.packages-information-content p {
  margin: 0;

  color: #ccc;

  font-size: 1.5rem;
  line-height: 1.75;
}

/* =========================================================
   BESOIN D'AIDE
   ========================================================= */

.packages-help {
  padding: 9rem 2rem;

  background: #fff;
}

.packages-help-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;

  gap: 7rem;
  align-items: center;
}

.packages-help-content h2 {
  margin: 1.2rem 0 2rem;

  color: #202020;

  font-size: clamp(3rem, 5vw, 4.5rem);
}

.packages-help-content p {
  max-width: 65rem;

  margin-bottom: 3rem;

  color: #666;

  font-size: 1.6rem;
  line-height: 1.75;
}

.packages-help-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

/* =========================================================
   VISUEL AIDE
   ========================================================= */

.packages-help-visual {
  position: relative;

  min-height: 32rem;

  display: flex;
  align-items: center;
  justify-content: center;
}

.packages-help-main-icon {
  width: 18rem;
  height: 18rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #202020;
  color: #fff;

  font-size: 6rem;

  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.18);
}

.packages-help-small-icon {
  position: absolute;

  width: 7rem;
  height: 7rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0.6rem solid #fff;
  border-radius: 50%;

  background: #d71920;
  color: #fff;

  font-size: 2rem;

  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.packages-help-small-icon.icon-one {
  top: 3rem;
  left: 4rem;
}

.packages-help-small-icon.icon-two {
  right: 4rem;
  bottom: 3rem;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.packages-final-cta {
  position: relative;

  padding: 10rem 2rem;

  background: url("../img/sloganEntreprise_2.webp") center center / cover
    no-repeat;

  text-align: center;
}

.packages-final-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.8);
}

.packages-final-content {
  position: relative;
  z-index: 2;

  max-width: 85rem !important;
}

.packages-final-content .section-eyebrow {
  color: #fff;
}

.packages-final-content h2 {
  margin: 1.5rem 0 2rem;

  color: #fff;

  font-size: clamp(3rem, 5vw, 4.8rem);
}

.packages-final-content p {
  max-width: 70rem;

  margin: 0 auto 3rem;

  color: rgba(255, 255, 255, 0.9);

  font-size: 1.7rem;
  line-height: 1.7;
}

.packages-final-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 1.4rem;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 1000px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .packages-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .packages-help-grid {
    grid-template-columns: 1fr;
  }

  .packages-help-visual {
    max-width: 55rem;
    margin: 0 auto;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 650px) {
  .packages-intro,
  .packages-list,
  .packages-help {
    padding: 6.5rem 1.8rem;
  }

  .packages-hero {
    min-height: 55rem;

    padding: 8rem 1.8rem;
  }

  .packages-hero h1 {
    font-size: 4rem;
  }

  .packages-hero-buttons,
  .packages-help-buttons,
  .packages-final-buttons {
    flex-direction: column;
  }

  .packages-hero-buttons .madic-btn,
  .packages-help-buttons .madic-btn,
  .packages-final-buttons .madic-btn {
    width: 100%;
  }

  .packages-grid,
  .packages-benefits {
    grid-template-columns: 1fr;
  }

  .packages-information-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .packages-information-icon {
    margin: 0 auto;
  }

  .packages-final-cta {
    padding: 8rem 1.8rem;
  }
}

/* =========================================================
   NOUVELLE PAGE CONTACT - MADIC
   ========================================================= */

/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
  position: relative;

  min-height: 52rem;

  display: flex;
  align-items: center;

  padding: 9rem 2rem;

  background: url("../img/sloganEntreprise_2.webp") center center / cover
    no-repeat;

  color: #fff;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.86),
    rgba(0, 0, 0, 0.62),
    rgba(0, 0, 0, 0.22)
  );
}

.contact-hero-content {
  position: relative;
  z-index: 2;
}

.contact-hero .section-eyebrow {
  color: #fff;
}

.contact-hero h1 {
  margin: 1.5rem 0 2rem;

  color: #fff;

  font-size: clamp(4rem, 6vw, 6rem);
}

.contact-hero-subtitle {
  max-width: 72rem;

  margin-bottom: 3rem;

  color: rgba(255, 255, 255, 0.92);

  font-size: 1.8rem;
  line-height: 1.75;
}

.contact-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

/* =========================================================
   COORDONNÉES
   ========================================================= */

.contact-info-section {
  padding: 9rem 2rem;

  background: #fff;
}

.contact-info-grid {
  max-width: 105rem;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 3rem;
}

.contact-info-card {
  padding: 4rem 2.5rem;

  border: 1px solid #eee;
  border-radius: 1.6rem;

  text-align: center;

  background: #fff;

  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.06);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-0.8rem);

  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.13);
}

.contact-info-icon {
  width: 8rem;
  height: 8rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 2.5rem;

  border-radius: 50%;

  color: #fff;

  font-size: 2.6rem;
}

.contact-info-icon.red {
  background: #d71920;
}

.contact-info-icon.dark {
  background: #202020;
}

.contact-info-card h3 {
  margin-bottom: 1rem;

  color: #202020;

  font-size: 2.2rem;
}

.contact-info-card p {
  margin-bottom: 1.8rem;

  color: #666;

  font-size: 1.4rem;
  line-height: 1.65;
}

.contact-info-link {
  color: #d71920;

  font-size: 1.55rem;
  font-weight: 700;

  text-decoration: none;

  word-break: break-word;
}

.contact-info-link:hover {
  color: #b9141b;
}

/* =========================================================
   CHOIX EVALUATION / CONSULTATION
   ========================================================= */

.contact-choice-section {
  padding: 9rem 2rem;

  background: #f7f7f7;
}

.contact-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 3rem;
}

.contact-choice-card {
  padding: 5rem 4rem;

  border-radius: 1.8rem;

  background: #fff;

  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
}

.contact-choice-card-dark {
  background: #202020;
}

.contact-choice-icon {
  width: 8rem;
  height: 8rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 2.5rem;

  border-radius: 50%;

  background: #d71920;
  color: #fff;

  font-size: 2.5rem;
}

.contact-choice-card h2 {
  margin: 1rem 0 1.7rem;

  color: #202020;

  font-size: 3rem;
  line-height: 1.2;
}

.contact-choice-card p {
  margin-bottom: 2.5rem;

  color: #666;

  font-size: 1.5rem;
  line-height: 1.75;
}

.contact-choice-card-dark .section-eyebrow,
.contact-choice-card-dark h2 {
  color: #fff;
}

.contact-choice-card-dark p {
  color: #ccc;
}

/* =========================================================
   LOCALISATION
   ========================================================= */

.contact-location {
  padding: 9rem 2rem;

  background: #fff;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;

  gap: 3rem;

  align-items: stretch;
}

.contact-address-card {
  padding: 4rem 3rem;

  border-radius: 1.6rem;

  background: #202020;
  color: #fff;
}

.contact-address-icon {
  width: 7rem;
  height: 7rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 2rem;

  border-radius: 50%;

  background: #d71920;

  font-size: 2.4rem;
}

.contact-address-card h3 {
  margin-bottom: 1.5rem;

  color: #fff;

  font-size: 2.4rem;
}

.contact-address-card address {
  font-style: normal;
}

.contact-address-card address p {
  color: #ddd;

  font-size: 1.5rem;
  line-height: 1.7;
}

.contact-address-divider {
  height: 1px;

  margin: 3rem 0;

  background: rgba(255, 255, 255, 0.14);
}

.contact-address-row {
  display: grid;
  grid-template-columns: 4rem 1fr;

  gap: 1.2rem;

  margin-bottom: 2rem;
}

.contact-address-row > i {
  width: 4rem;
  height: 4rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #d71920;
  color: #fff;
}

.contact-address-row strong,
.contact-address-row a {
  display: block;
}

.contact-address-row strong {
  margin-bottom: 0.5rem;

  color: #fff;
}

.contact-address-row a {
  color: #ddd;

  text-decoration: none;

  word-break: break-word;
}

.contact-address-row a:hover {
  color: #fff;
}

/* =========================================================
   MAP
   ========================================================= */

.contact-map {
  overflow: hidden;

  min-height: 52rem;

  border-radius: 1.6rem;

  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 52rem;

  display: block;

  border: 0;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.contact-final-cta {
  position: relative;

  padding: 10rem 2rem;

  background: url("../img/sloganEntreprise_2.webp") center center / cover
    no-repeat;

  color: #fff;

  text-align: center;
}

.contact-final-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.8);
}

.contact-final-content {
  position: relative;
  z-index: 2;

  max-width: 85rem !important;
}

.contact-final-content .section-eyebrow {
  color: #fff;
}

.contact-final-content h2 {
  margin: 1.5rem 0 2rem;

  color: #fff;

  font-size: clamp(3rem, 5vw, 4.8rem);
}

.contact-final-content p {
  max-width: 70rem;

  margin: 0 auto 3rem;

  color: rgba(255, 255, 255, 0.9);

  font-size: 1.7rem;
  line-height: 1.7;
}

.contact-final-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 1.4rem;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 1000px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-choice-grid {
    grid-template-columns: 1fr;
  }

  .contact-location-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 650px) {
  .contact-info-section,
  .contact-choice-section,
  .contact-location {
    padding: 6.5rem 1.8rem;
  }

  .contact-hero {
    min-height: 55rem;

    padding: 8rem 1.8rem;
  }

  .contact-hero h1 {
    font-size: 4rem;
  }

  .contact-hero-buttons,
  .contact-final-buttons {
    flex-direction: column;
  }

  .contact-hero-buttons .madic-btn,
  .contact-final-buttons .madic-btn {
    width: 100%;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-choice-card {
    padding: 3.5rem 2.5rem;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 40rem;
  }

  .contact-final-cta {
    padding: 8rem 1.8rem;
  }
}

/* =========================================================
   PAGE CARRIERE - MADIC
   VERSION CORRIGEE ET PLUS EQUILIBREE
   ========================================================= */

.career-page {
  overflow-x: hidden;
  background: #fff;
}

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

.career-page img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.career-page .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   ELEMENTS COMMUNS
   ========================================================= */

.career-eyebrow {
  display: inline-block;
  margin-bottom: 14px;

  color: #d71920;

  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;

  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.career-eyebrow--light {
  color: #000;
}

/* =========================================================
   HERO
   ========================================================= */

.career-hero-new {
  position: relative;

  min-height: 650px;

  display: flex;
  align-items: center;

  padding: 90px 0;

  background: url("../img/Bureau1.png") center center / cover no-repeat;

  overflow: hidden;
}

.career-hero-new__overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(18, 18, 18, 0.94) 0%,
    rgba(18, 18, 18, 0.82) 42%,
    rgba(18, 18, 18, 0.46) 72%,
    rgba(18, 18, 18, 0.25) 100%
  );
}

.career-hero-new__inner {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 320px;

  gap: 70px;

  align-items: center;
}

.career-hero-new__content {
  max-width: 760px;
}

.career-hero-new .career-eyebrow {
  color: #000;
}

.career-hero-new h1 {
  margin: 0 0 24px;

  max-width: 760px;

  color: #000;

  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -1.5px;
}

.career-hero-new__content > p {
  max-width: 650px;

  margin: 0 0 32px;

  color: rgba(255, 255, 255, 0.88);

  font-size: 18px;
  line-height: 1.7;
}

.career-hero-new__buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 20px;
}

.career-link-light {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  color: #fff;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  transition: opacity 0.2s ease;
}

.career-link-light:hover {
  opacity: 0.8;
}

.career-link-light i {
  color: #d71920;

  transition: transform 0.25s ease;
}

.career-link-light:hover i {
  transform: translateY(4px);
}

/* HERO CARD */

.career-hero-new__card {
  align-self: end;

  padding: 28px;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;

  background: rgba(20, 20, 20, 0.48);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  color: #fff;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
}

.career-hero-new__card-icon {
  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;

  border-radius: 50%;

  background: #d71920;

  font-size: 21px;
}

.career-hero-new__card strong {
  display: block;

  margin-bottom: 8px;

  font-size: 20px;
}

.career-hero-new__card p {
  margin: 0;

  color: rgba(255, 255, 255, 0.75);

  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   VALEURS
   ========================================================= */

.career-values {
  position: relative;
  z-index: 4;

  background: #fff;

  border-bottom: 1px solid #eee;
}

.career-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.career-value {
  display: grid;
  grid-template-columns: 52px 1fr;

  gap: 16px;

  align-items: center;

  min-height: 120px;

  padding: 25px 24px;

  border-right: 1px solid #ececec;
}

.career-value:last-child {
  border-right: 0;
}

.career-value__icon {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #fdebed;
  color: #d71920;

  font-size: 18px;
}

.career-value h3 {
  margin: 0 0 5px;

  color: #202020;

  font-size: 16px;
  font-weight: 700;
}

.career-value p {
  margin: 0;

  color: #777;

  font-size: 12px;
  line-height: 1.5;
}

/* =========================================================
   CULTURE
   ========================================================= */

.career-culture-new {
  padding: 110px 0;

  background: #f7f7f7;
}

.career-culture-new__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);

  gap: 90px;

  align-items: center;
}

.career-culture-new__visual {
  position: relative;

  min-height: 540px;
}

.career-culture-new__main-image {
  width: 82%;
  height: 500px;

  overflow: hidden;

  border-radius: 20px;

  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
}

.career-culture-new__main-image img,
.career-culture-new__secondary-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.career-culture-new__secondary-image {
  position: absolute;

  right: 0;
  bottom: 0;

  width: 45%;
  height: 230px;

  padding: 8px;

  background: #f7f7f7;

  border-radius: 16px;

  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.career-culture-new__secondary-image img {
  border-radius: 12px;
}

.career-culture-new__badge {
  position: absolute;

  left: 30px;
  bottom: 26px;

  display: flex;
  align-items: center;

  gap: 10px;

  padding: 14px 18px;

  border-radius: 10px;

  background: #d71920;
  color: #fff;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);

  font-size: 13px;
  font-weight: 700;
}

.career-culture-new__content {
  max-width: 530px;
}

.career-culture-new__content h2 {
  margin: 0 0 22px;

  color: #202020;

  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
}

.career-culture-new__content > p {
  margin: 0 0 17px;

  color: #666;

  font-size: 16px;
  line-height: 1.8;
}

.career-culture-new__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 14px 20px;

  margin-top: 28px;
}

.career-culture-new__features > div {
  display: flex;
  align-items: center;

  gap: 10px;

  color: #333;

  font-size: 14px;
  font-weight: 600;
}

.career-culture-new__features i {
  flex: 0 0 auto;

  color: #d71920;
}

/* =========================================================
   FONDATEUR
   ========================================================= */

.career-founder-new {
  padding: 110px 0;

  background: #fff;
}

.career-founder-new__grid {
  max-width: 1000px;

  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);

  gap: 80px;

  align-items: center;
}

.career-founder-new__photo {
  position: relative;

  margin-left: 20px;
}

.career-founder-new__photo::before {
  content: "";

  position: absolute;

  left: -18px;
  top: 18px;

  width: 100%;
  height: 100%;

  border: 4px solid #d71920;
  border-radius: 20px;

  z-index: 0;
}

.career-founder-new__photo img {
  position: relative;
  z-index: 1;

  width: 100%;

  aspect-ratio: 4 / 5;

  object-fit: cover;
  object-position: center top;

  border-radius: 20px;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.13);
}

.career-founder-new__content {
  position: relative;
}

.career-founder-new__quote-mark {
  position: absolute;

  top: -75px;
  left: -18px;

  color: rgba(215, 25, 32, 0.09);

  font-family: Georgia, serif;

  font-size: 190px;
  line-height: 1;

  pointer-events: none;
}

.career-founder-new blockquote {
  position: relative;

  margin: 5px 0 28px;

  color: #202020;

  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.6;
}

.career-founder-new__signature strong,
.career-founder-new__signature span {
  display: block;
}

.career-founder-new__signature strong {
  color: #202020;

  font-size: 18px;
}

.career-founder-new__signature span {
  margin-top: 5px;

  color: #777;

  font-size: 13px;
}

/* =========================================================
   TITRES DE SECTIONS
   ========================================================= */

.career-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);

  gap: 60px;

  align-items: end;

  margin-bottom: 45px;
}

.career-section-heading h2 {
  margin: 0;

  max-width: 650px;

  color: #202020;

  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
}

.career-section-heading > p {
  margin: 0;

  color: #666;

  font-size: 15px;
  line-height: 1.75;
}

/* =========================================================
   ESPACES DE TRAVAIL
   ========================================================= */

.career-workplace {
  padding: 105px 0;

  background: #f7f7f7;
}

.career-workplace__gallery {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: repeat(2, 240px);

  gap: 18px;
}

.career-workplace__item {
  position: relative;

  overflow: hidden;

  border-radius: 18px;

  background: #ddd;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.career-workplace__item--large {
  grid-row: span 2;
}

.career-workplace__item img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.career-workplace__item:hover img {
  transform: scale(1.035);
}

/* =========================================================
   EXPERIENCE
   ========================================================= */

.career-experience {
  padding: 105px 0;

  background: #202020;
}

.career-experience__heading {
  max-width: 760px;

  margin: 0 auto 50px;

  text-align: center;
}

.career-experience__heading h2 {
  margin: 0;

  color: #000;

  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
}

.career-experience__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 20px;
}

.career-experience__card {
  position: relative;

  min-height: 270px;

  padding: 28px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.045);

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.career-experience__card:hover {
  transform: translateY(-7px);

  background: #d71920;
  border-color: #d71920;
}

.career-experience__card > span {
  position: absolute;

  top: 8px;
  right: 15px;

  color: rgba(255, 255, 255, 0.06);

  font-size: 65px;
  font-weight: 800;
}

.career-experience__card > i {
  margin-bottom: 45px;

  color: #d71920;

  font-size: 30px;
}

.career-experience__card:hover > i {
  color: #fff;
}

.career-experience__card h3 {
  margin: 0 0 12px;

  color: #fff;

  font-size: 20px;
}

.career-experience__card p {
  margin: 0;

  color: #bdbdbd;

  font-size: 14px;
  line-height: 1.65;
}

.career-experience__card:hover p {
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   PROFILS
   ========================================================= */

.career-jobs {
  padding: 110px 0;

  background: #fff;
}

.career-jobs__grid {
  max-width: 1000px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 28px;

  margin: 0 auto;
}

.career-job-card-new {
  min-height: 450px;

  display: flex;
  flex-direction: column;

  padding: 36px;

  border: 1px solid #e8e8e8;
  border-radius: 18px;

  background: #fff;

  color: inherit;
  text-decoration: none;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.career-job-card-new:hover {
  transform: translateY(-8px);

  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.13);
}

.career-job-card-new--dark {
  background: #202020;

  border-color: #202020;

  color: #fff;
}

.career-job-card-new__header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 28px;
}

.career-job-card-new__number {
  color: #ededed;

  font-size: 52px;
  line-height: 1;
  font-weight: 800;
}

.career-job-card-new--dark .career-job-card-new__number {
  color: rgba(255, 255, 255, 0.08);
}

.career-job-card-new__icon {
  width: 66px;
  height: 66px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #d71920;
  color: #fff;

  font-size: 23px;
}

.career-job-card-new__type {
  color: #d71920;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 1.5px;
}

.career-job-card-new h3 {
  margin: 12px 0 15px;

  color: #202020;

  font-size: 27px;
  line-height: 1.25;
}

.career-job-card-new--dark h3 {
  color: #fff;
}

.career-job-card-new > p {
  margin: 0 0 25px;

  color: #666;

  font-size: 14px;
  line-height: 1.75;
}

.career-job-card-new--dark > p {
  color: #c9c9c9;
}

.career-job-card-new__tags {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-bottom: 28px;
}

.career-job-card-new__tags span {
  padding: 7px 12px;

  border-radius: 50px;

  background: #f2f2f2;
  color: #444;

  font-size: 12px;
  font-weight: 600;
}

.career-job-card-new--dark .career-job-card-new__tags span {
  background: rgba(255, 255, 255, 0.1);

  color: #fff;
}

.career-job-card-new__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: auto;

  padding-top: 20px;

  border-top: 1px solid #eee;

  color: #d71920;

  font-size: 14px;
  font-weight: 700;
}

.career-job-card-new--dark .career-job-card-new__footer {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.career-job-card-new__footer i {
  transition: transform 0.25s ease;
}

.career-job-card-new:hover .career-job-card-new__footer i {
  transform: translateX(6px);
}

.career-jobs__button {
  margin-top: 42px;

  text-align: center;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.career-final-new {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: center;

  padding: 90px 0;

  background: url("../img/Bureau3.png") center center / cover no-repeat;

  text-align: center;
}

.career-final-new__overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.82));
}

.career-final-new__content {
  position: relative;
  z-index: 2;

  max-width: 820px;

  margin-inline: auto;
}

.career-final-new h2 {
  margin: 0 0 20px;

  color: #000;

  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
}

.career-final-new p {
  max-width: 680px;

  margin: 0 auto 30px;

  color: rgba(255, 255, 255, 0.86);

  font-size: 16px;
  line-height: 1.75;
}

.career-final-new__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 15px;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 1000px) {
  .career-page .container {
    width: min(100% - 40px, 900px);
  }

  .career-hero-new__inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .career-hero-new__card {
    max-width: 420px;
  }

  .career-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-value:nth-child(2n) {
    border-right: 0;
  }

  .career-value:nth-child(-n + 2) {
    border-bottom: 1px solid #eee;
  }

  .career-culture-new__grid,
  .career-founder-new__grid {
    grid-template-columns: 1fr;
  }

  .career-culture-new__grid {
    gap: 60px;
  }

  .career-culture-new__visual {
    max-width: 700px;
  }

  .career-founder-new__photo {
    max-width: 360px;
  }

  .career-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .career-experience__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 650px) {
  .career-page .container {
    width: calc(100% - 32px);
  }

  .career-hero-new {
    min-height: auto;

    padding: 80px 0;
  }

  .career-hero-new__inner {
    display: block;
  }

  .career-hero-new h1 {
    font-size: 40px;
    letter-spacing: -0.6px;
  }

  .career-hero-new__content > p {
    font-size: 16px;
  }

  .career-hero-new__card {
    display: none;
  }

  .career-hero-new__buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .career-values__grid {
    grid-template-columns: 1fr;
  }

  .career-value {
    border-right: 0;
    border-bottom: 1px solid #eee;
  }

  .career-value:last-child {
    border-bottom: 0;
  }

  .career-culture-new,
  .career-founder-new,
  .career-workplace,
  .career-experience,
  .career-jobs {
    padding: 70px 0;
  }

  .career-culture-new__visual {
    min-height: auto;
  }

  .career-culture-new__main-image {
    width: 100%;
    height: 340px;
  }

  .career-culture-new__secondary-image {
    position: relative;

    width: 72%;
    height: 185px;

    margin: -45px 0 0 auto;
  }

  .career-culture-new__badge {
    left: 12px;
    bottom: 80px;

    max-width: 220px;
  }

  .career-culture-new__features {
    grid-template-columns: 1fr;
  }

  .career-founder-new__grid {
    gap: 55px;
  }

  .career-founder-new__photo {
    width: calc(100% - 18px);
    max-width: 340px;

    margin-left: 18px;
  }

  .career-founder-new blockquote {
    font-size: 20px;
  }

  .career-workplace__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .career-workplace__item,
  .career-workplace__item--large {
    height: 260px;

    grid-row: auto;
  }

  .career-experience__grid,
  .career-jobs__grid {
    grid-template-columns: 1fr;
  }

  .career-experience__card {
    min-height: 235px;
  }

  .career-job-card-new {
    min-height: auto;

    padding: 28px 24px;
  }

  .career-final-new {
    min-height: 520px;

    padding: 80px 0;
  }

  .career-final-new__buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================================================
   PAGE CARRIERE PROFILES - MADIC
   VERSION FINALE
   ========================================================= */

.career-profiles-page {
  overflow-x: hidden;
  background: #fff;
}

.career-profiles-page *,
.career-profiles-page *::before,
.career-profiles-page *::after {
  box-sizing: border-box;
}

.career-profiles-page img {
  display: block;
  max-width: 100%;
}

.career-profiles-page .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   HERO
   ========================================================= */

.career-profiles-hero {
  position: relative;

  min-height: 620px;

  display: flex;
  align-items: center;

  padding: 90px 0;

  overflow: hidden;

  background: url("../img/Bureau2.jpg") center center / cover no-repeat;
}

.career-profiles-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(15, 15, 15, 0.94) 0%,
    rgba(15, 15, 15, 0.82) 48%,
    rgba(15, 15, 15, 0.42) 78%,
    rgba(15, 15, 15, 0.25) 100%
  );
}

.career-profiles-hero-content {
  position: relative;
  z-index: 2;

  max-width: 850px;
}

.career-profiles-hero .section-eyebrow {
  display: inline-block;

  margin-bottom: 16px;

  color: #fff;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.career-profiles-hero h1 {
  max-width: 820px;

  margin: 0 0 24px;

  color: #fff;

  font-size: clamp(42px, 5.5vw, 66px);
  line-height: 1.06;

  letter-spacing: -1.4px;
}

.career-profiles-hero-subtitle {
  max-width: 700px;

  margin: 0 0 34px;

  color: rgba(255, 255, 255, 0.88);

  font-size: 18px;
  line-height: 1.75;
}

.career-profiles-hero-buttons {
  display: flex;
  flex-wrap: wrap;

  gap: 15px;
}

/* =========================================================
   INTRODUCTION
   ========================================================= */

.career-profiles-intro {
  padding: 100px 0;

  background: #f7f7f7;
}

.career-profiles-intro .section-title {
  max-width: 760px;

  margin: 0 auto 55px;

  text-align: center;
}

.career-profiles-intro .section-title h2 {
  margin: 0 0 18px;

  color: #202020;

  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
}

.career-profiles-intro .section-title p {
  margin: 0;

  color: #666;

  font-size: 16px;
  line-height: 1.75;
}

/* =========================================================
   CARTES SOMMAIRES
   ========================================================= */

.career-profiles-summary-grid {
  max-width: 1000px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 28px;

  margin: 0 auto;
}

.career-profile-summary-card {
  position: relative;

  min-height: 350px;

  display: flex;
  flex-direction: column;

  padding: 36px;

  overflow: hidden;

  background: #fff;

  border: 1px solid #e8e8e8;
  border-radius: 18px;

  color: inherit;
  text-decoration: none;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.career-profile-summary-card:hover {
  transform: translateY(-8px);

  border-color: transparent;

  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.13);
}

.career-profile-summary-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background: #d71920;
}

.career-profile-summary-icon {
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 28px;

  border-radius: 50%;

  color: #fff;

  font-size: 24px;
}

.career-profile-summary-icon.red {
  background: #d71920;
}

.career-profile-summary-icon.dark {
  background: #202020;
}

.career-profile-type {
  display: block;

  margin-bottom: 10px;

  color: #d71920;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 1.5px;
}

.career-profile-summary-card h3 {
  margin: 0 0 16px;

  color: #202020;

  font-size: 27px;
  line-height: 1.3;
}

.career-profile-summary-card p {
  margin: 0 0 30px;

  color: #666;

  font-size: 14px;
  line-height: 1.75;
}

.career-profile-summary-link {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: auto;

  padding-top: 20px;

  border-top: 1px solid #eee;

  color: #d71920;

  font-size: 14px;
  font-weight: 700;
}

.career-profile-summary-link i {
  transition: transform 0.25s ease;
}

.career-profile-summary-card:hover .career-profile-summary-link i {
  transform: translateY(5px);
}

/* =========================================================
   PROFIL DETAIL
   ========================================================= */

.career-profile-detail {
  position: relative;

  padding: 110px 0;

  scroll-margin-top: 100px;
}

.career-profile-detail-light {
  background: #fff;
}

.career-profile-detail-dark {
  background: #202020;
}

/* =========================================================
   TITRE DU PROFIL
   ========================================================= */

.career-profile-detail-header {
  display: flex;
  align-items: center;

  gap: 24px;

  max-width: 900px;

  margin-bottom: 50px;
}

.career-profile-detail-icon {
  flex: 0 0 auto;

  width: 78px;
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: #fff;

  font-size: 26px;
}

.career-profile-detail-icon.red {
  background: #d71920;
}

.career-profile-detail-header h2 {
  margin: 5px 0 10px;

  color: #202020;

  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.12;
}

.career-profile-detail-header p {
  margin: 0;

  color: #666;

  font-size: 16px;
  line-height: 1.7;
}

.career-profile-detail-dark .career-profile-detail-header h2 {
  color: #fff;
}

.career-profile-detail-dark .career-profile-detail-header p {
  color: #bdbdbd;
}

/* =========================================================
   LAYOUT DETAIL
   ========================================================= */

.career-profile-detail-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 340px);

  gap: 45px;

  align-items: start;
}

.career-profile-detail-main {
  min-width: 0;
}

/* =========================================================
   BLOCS D'INFORMATION
   ========================================================= */

.career-profile-block {
  margin-bottom: 24px;

  padding: 34px;

  background: #fff;

  border: 1px solid #ececec;
  border-radius: 16px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.career-profile-block:last-child {
  margin-bottom: 0;
}

.career-profile-block h3 {
  margin: 0 0 20px;

  color: #202020;

  font-size: 22px;
  line-height: 1.3;
}

.career-profile-block p {
  margin: 0;

  color: #606060;

  font-size: 15px;
  line-height: 1.8;
}

/* profil consultant sur fond noir */

.career-profile-detail-dark .career-profile-block {
  border-color: rgba(255, 255, 255, 0.08);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   LISTES
   ========================================================= */

.career-profile-check-list {
  padding: 0;
  margin: 0;

  list-style: none;
}

.career-profile-check-list li {
  position: relative;

  padding: 11px 0 11px 32px;

  border-bottom: 1px solid #eee;

  color: #555;

  font-size: 14px;
  line-height: 1.65;
}

.career-profile-check-list li:last-child {
  border-bottom: 0;
}

.career-profile-check-list li::before {
  content: "\f058";

  position: absolute;

  left: 0;
  top: 12px;

  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  color: #d71920;
}

/* =========================================================
   COMPETENCES
   ========================================================= */

.career-profile-skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 12px;
}

.career-profile-skill {
  min-height: 72px;

  display: flex;
  align-items: center;

  gap: 12px;

  padding: 14px;

  border: 1px solid #ebebeb;
  border-radius: 10px;

  background: #f7f7f7;

  color: #333;

  font-size: 13px;
  font-weight: 600;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.career-profile-skill:hover {
  transform: translateY(-3px);

  background: #fff;

  border-color: #d71920;
}

.career-profile-skill i {
  flex: 0 0 auto;

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #fdebed;

  color: #d71920;

  font-size: 14px;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.career-profile-sidebar {
  min-width: 0;
}

.career-profile-info-card {
  position: sticky;

  top: 110px;

  padding: 30px;

  border-radius: 16px;

  background: #202020;

  color: #fff;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.17);
}

.career-profile-detail-dark .career-profile-info-card {
  background: #fff;

  color: #202020;
}

.career-profile-info-card h3 {
  margin: 0 0 26px;

  color: #fff;

  font-size: 21px;
}

.career-profile-detail-dark .career-profile-info-card h3 {
  color: #202020;
}

.career-profile-info-row {
  display: grid;

  grid-template-columns: 44px minmax(0, 1fr);

  gap: 12px;

  align-items: start;

  margin-bottom: 22px;
}

.career-profile-info-row > i {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #d71920;

  color: #fff;

  font-size: 15px;
}

.career-profile-info-row strong,
.career-profile-info-row span {
  display: block;
}

.career-profile-info-row strong {
  margin-bottom: 4px;

  color: #fff;

  font-size: 13px;
}

.career-profile-info-row span {
  color: #c9c9c9;

  font-size: 13px;
  line-height: 1.5;

  overflow-wrap: anywhere;
}

.career-profile-detail-dark .career-profile-info-row strong {
  color: #202020;
}

.career-profile-detail-dark .career-profile-info-row span {
  color: #666;
}

.career-profile-apply {
  width: 100%;

  margin-top: 10px;
}

/* =========================================================
   DISTINCTION VISUELLE CONSULTANT
   ========================================================= */

.career-profile-detail-dark::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background: #d71920;
}

.career-profile-detail-dark .career-profile-type {
  color: #ff4d54;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.career-profiles-final-cta {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: center;

  padding: 90px 0;

  background: url("../img/Bureau3.jpeg") center center / cover no-repeat;

  text-align: center;
}

.career-profiles-final-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.84));
}

.career-profiles-final-content {
  position: relative;
  z-index: 2;

  max-width: 820px;

  margin-inline: auto;
}

.career-profiles-final-content .section-eyebrow {
  color: #fff;
}

.career-profiles-final-content h2 {
  margin: 15px 0 20px;

  color: #fff;

  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
}

.career-profiles-final-content p {
  max-width: 680px;

  margin: 0 auto 30px;

  color: rgba(255, 255, 255, 0.86);

  font-size: 16px;
  line-height: 1.75;
}

.career-profiles-final-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 15px;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 1000px) {
  .career-profiles-page .container {
    width: min(100% - 40px, 900px);
  }

  .career-profiles-summary-grid {
    gap: 22px;
  }

  .career-profile-detail-layout {
    grid-template-columns: 1fr;
  }

  .career-profile-info-card {
    position: static;

    max-width: 600px;
  }

  .career-profile-skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 650px) {
  .career-profiles-page .container {
    width: calc(100% - 32px);
  }

  /* HERO */

  .career-profiles-hero {
    min-height: auto;

    padding: 80px 0;
  }

  .career-profiles-hero h1 {
    font-size: 40px;

    letter-spacing: -0.6px;
  }

  .career-profiles-hero-subtitle {
    font-size: 16px;
  }

  .career-profiles-hero-buttons {
    flex-direction: column;
  }

  .career-profiles-hero-buttons .madic-btn {
    width: 100%;
  }

  /* INTRO */

  .career-profiles-intro {
    padding: 70px 0;
  }

  .career-profiles-summary-grid {
    grid-template-columns: 1fr;
  }

  .career-profile-summary-card {
    min-height: auto;

    padding: 28px 24px;
  }

  /* DETAIL */

  .career-profile-detail {
    padding: 75px 0;
  }

  .career-profile-detail-header {
    flex-direction: column;

    align-items: flex-start;

    gap: 18px;

    margin-bottom: 35px;
  }

  .career-profile-detail-icon {
    width: 64px;
    height: 64px;

    font-size: 21px;
  }

  .career-profile-detail-header h2 {
    font-size: 34px;
  }

  .career-profile-detail-layout {
    gap: 30px;
  }

  .career-profile-block {
    padding: 25px 22px;
  }

  .career-profile-skill-grid {
    grid-template-columns: 1fr;
  }

  /* SIDEBAR */

  .career-profile-info-card {
    padding: 26px 22px;
  }

  /* CTA */

  .career-profiles-final-cta {
    min-height: 520px;

    padding: 80px 0;
  }

  .career-profiles-final-buttons {
    flex-direction: column;

    align-items: center;
  }

  .career-profiles-final-buttons .madic-btn {
    width: 100%;
  }
}

/* =========================================================
   PAGE FORMULAIRE - MADIC
   ========================================================= */

.form-page {
  background: #f6f7f8;
  overflow-x: hidden;
}

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

.form-page .container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   HERO
   ========================================================= */

.form-hero {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: center;

  padding: 85px 0;

  background: url("../img/Bureau1.jpg") center center / cover no-repeat;

  overflow: hidden;
}

.form-hero__overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(15, 15, 15, 0.94) 0%,
    rgba(15, 15, 15, 0.82) 52%,
    rgba(15, 15, 15, 0.38) 100%
  );
}

.form-hero__content {
  position: relative;
  z-index: 2;

  max-width: 820px;
}

.form-eyebrow {
  display: inline-block;

  margin-bottom: 16px;

  color: #fff;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 2px;
}

.form-hero h1 {
  max-width: 760px;

  margin: 0 0 22px;

  color: #fff;

  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.08;

  letter-spacing: -1px;
}

.form-hero__content > p {
  max-width: 690px;

  margin: 0 0 30px;

  color: rgba(255, 255, 255, 0.87);

  font-size: 17px;
  line-height: 1.75;
}

.form-hero__features {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;
}

.form-hero__features > div {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  padding: 10px 14px;

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50px;

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(8px);

  color: #fff;

  font-size: 12px;
  font-weight: 600;
}

.form-hero__features i {
  color: #ef343a;
}

/* =========================================================
   DECLARATION IMPORTANTE
   ========================================================= */

.form-notice-section {
  padding: 50px 0 20px;
}

.form-notice {
  display: grid;

  grid-template-columns: 58px minmax(0, 1fr);

  gap: 20px;

  padding: 26px 30px;

  border: 1px solid #f1d2d4;
  border-left: 5px solid #d71920;

  border-radius: 14px;

  background: #fff;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.form-notice__icon {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #fdebed;
  color: #d71920;

  font-size: 20px;
}

.form-notice__content strong {
  display: block;

  margin-bottom: 8px;

  color: #202020;

  font-size: 17px;
}

.form-notice__content p {
  margin: 0;

  color: #666;

  font-size: 13px;
  line-height: 1.7;
}

/* =========================================================
   CONTENEUR FORMULAIRE
   ========================================================= */

.form-main-section {
  padding: 35px 0 100px;
}

.form-main-section .cta-form {
  max-width: 1000px;

  margin: 0 auto;
}

/* =========================================================
   FIELDSETS
   ========================================================= */

.form-page .form_info_client,
.form-page .form_info_facultatif fieldset {
  position: relative;

  margin: 0 0 32px;

  padding: 42px 38px 36px;

  border: 1px solid #e5e5e5;
  border-radius: 18px;

  background: #fff;

  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.055);
}

.form-page .form_info_client:hover,
.form-page .form_info_facultatif fieldset:hover {
  border-color: #d9d9d9;
}

/* TITRES DES SECTIONS */

.form-page .form_info_client legend,
.form-page .form_info_facultatif legend {
  position: relative;

  padding: 0 16px;

  color: #202020;

  background: #fff;

  font-size: 22px;
  font-weight: 800;

  line-height: 1.3;
}

.form-page .form_info_client legend::before,
.form-page .form_info_facultatif legend::before {
  content: "";

  display: inline-block;

  width: 6px;
  height: 22px;

  margin-right: 10px;

  vertical-align: -4px;

  border-radius: 10px;

  background: #d71920;
}

/* =========================================================
   CHAMPS
   ========================================================= */

.form-page .marg-bot {
  margin-bottom: 22px;
}

.form-page label {
  display: block;

  margin-bottom: 8px;

  color: #333;

  font-size: 13.5px;
  font-weight: 700;

  line-height: 1.55;
}

.form-page .req {
  color: #d71920;
}

.form-page .champs-large,
.form-page .champs-etroit,
.form-page input[type="text"],
.form-page input[type="email"],
.form-page input[type="date"],
.form-page input[type="number"],
.form-page input[type="phone"],
.form-page select,
.form-page textarea {
  width: 100%;

  min-height: 50px;

  padding: 12px 14px;

  border: 1px solid #dcdcdc;
  border-radius: 9px;

  outline: none;

  background: #fafafa;
  color: #252525;

  font-family: inherit;
  font-size: 14px;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-page textarea {
  min-height: 145px;

  resize: vertical;
}

.form-page .champs-large:focus,
.form-page .champs-etroit:focus,
.form-page input:focus,
.form-page select:focus,
.form-page textarea:focus {
  border-color: #d71920;

  background: #fff;

  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.09);
}

.form-page input::placeholder,
.form-page textarea::placeholder {
  color: #999;
}

/* SELECT */

.form-page select {
  cursor: pointer;

  appearance: auto;
}

/* =========================================================
   SEPARATION INTERNE
   ========================================================= */

.form-page .form_info_client h3 {
  margin: 34px 0 20px;

  padding: 16px 18px;

  border-left: 4px solid #d71920;

  background: #f8f8f8;

  color: #333;

  font-size: 16px;
  line-height: 1.5;
}

/* =========================================================
   ERREURS
   ========================================================= */

.form-page .errorMessage {
  margin-top: 6px;

  color: #c4141b;

  font-size: 12px;
  font-weight: 600;
}

/* =========================================================
   CHECKBOX / CONSENTEMENT
   ========================================================= */

.form-page .form_info_facultatif {
  margin-top: 15px;
}

.form-page .form_info_facultatif fieldset {
  background: #202020;

  border-color: #202020;
}

.form-page .form_info_facultatif legend {
  background: #202020;

  color: #fff;
}

.form-page .info_importante {
  display: block;

  margin-bottom: 20px;

  color: #e3e3e3;

  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

.form-page #info_importante {
  width: 20px;
  height: 20px;

  accent-color: #d71920;

  cursor: pointer;
}

/* =========================================================
   SUBMIT
   ========================================================= */

.form-page .txt-right {
  display: flex;
  justify-content: center;

  margin-top: 35px;
}

.form-page input.btn[type="submit"] {
  min-width: 240px;

  min-height: 56px;

  padding: 15px 28px;

  border: 0;
  border-radius: 8px;

  background: #d71920;
  color: #fff;

  cursor: pointer;

  font-family: inherit;
  font-size: 15px;
  font-weight: 800;

  box-shadow: 0 10px 25px rgba(215, 25, 32, 0.24);

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-page input.btn[type="submit"]:hover {
  transform: translateY(-2px);

  background: #b9141a;

  box-shadow: 0 14px 30px rgba(215, 25, 32, 0.32);
}

/* =========================================================
   DESKTOP - MISE EN GRILLE AUTOMATIQUE
   ========================================================= */

@media screen and (min-width: 801px) {
  /*
    Chaque fieldset devient une grille 2 colonnes.
    Aucun changement HTML nécessaire.
  */

  .form-page .form_info_client {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 26px;
    row-gap: 0;
  }

  .form-page .form_info_client legend {
    grid-column: 1 / -1;
  }

  .form-page .form_info_client > h3 {
    grid-column: 1 / -1;
  }

  /*
    Les champs qui contiennent de longues questions
    peuvent occuper automatiquement toute la largeur.
  */

  .form-page .form_info_client .marg-bot:has(textarea) {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 800px) {
  .form-page .container {
    width: min(100% - 36px, 720px);
  }

  .form-hero {
    min-height: 430px;

    padding: 70px 0;
  }

  .form-page .form_info_client,
  .form-page .form_info_facultatif fieldset {
    padding: 34px 26px 28px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 550px) {
  .form-page .container {
    width: calc(100% - 28px);
  }

  .form-hero {
    min-height: auto;

    padding: 65px 0;
  }

  .form-hero h1 {
    font-size: 37px;
  }

  .form-hero__content > p {
    font-size: 15px;
  }

  .form-hero__features {
    display: grid;

    grid-template-columns: 1fr;
  }

  .form-hero__features > div {
    width: fit-content;
  }

  .form-notice-section {
    padding-top: 30px;
  }

  .form-notice {
    grid-template-columns: 1fr;

    padding: 22px;
  }

  .form-notice__icon {
    width: 46px;
    height: 46px;
  }

  .form-main-section {
    padding-bottom: 70px;
  }

  .form-page .form_info_client,
  .form-page .form_info_facultatif fieldset {
    padding: 27px 20px 24px;

    border-radius: 14px;
  }

  .form-page .form_info_client legend,
  .form-page .form_info_facultatif legend {
    font-size: 18px;
  }

  .form-page input.btn[type="submit"] {
    width: 100%;
  }
}

/* =========================================================
   PAGE RENDEZ-VOUS - MADIC
   ========================================================= */

.booking-page {
  overflow-x: hidden;
  background: #f6f7f8;
}

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

.booking-page .container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   HERO
   ========================================================= */

.booking-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 85px 0;
  background: url("../img/Bureau2.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.booking-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 15, 15, 0.95) 0%,
    rgba(15, 15, 15, 0.82) 50%,
    rgba(15, 15, 15, 0.38) 100%
  );
}

.booking-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.booking-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.booking-eyebrow--red {
  color: #d71920;
}

.booking-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.booking-hero__content > p {
  max-width: 690px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.75;
}

.booking-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.booking-hero__features > div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.booking-hero__features i {
  color: #ef343a;
}

/* =========================================================
   INTRO
   ========================================================= */

.booking-intro {
  padding: 70px 0 45px;
  background: #fff;
}

.booking-intro__grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 70px;
  align-items: end;
}

.booking-intro h2 {
  margin: 0;
  color: #202020;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
}

.booking-intro__grid > p {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.75;
}

/* =========================================================
   FORM WRAPPER
   ========================================================= */

.booking-section--modern {
  padding: 45px 0 100px;
  background: #f6f7f8;
}

.booking-form--modern {
  max-width: 1000px;
  margin: 0 auto;
}

/* =========================================================
   CARDS / STEPS
   ========================================================= */

.booking-card--modern {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 26px;
  margin-bottom: 30px;
  padding: 34px 34px 34px 28px;
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.055);
}

.booking-step {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d71920;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(215, 25, 32, 0.25);
}

.booking-section-title {
  margin-bottom: 28px;
}

.booking-section-title__kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #d71920;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.booking-section-title h2,
.booking-content > h2 {
  margin: 0 0 10px;
  color: #202020;
  font-size: 26px;
  line-height: 1.25;
}

.booking-section-title p {
  margin: 0;
  color: #777;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   CONSULTATION OPTIONS
   ========================================================= */

.consultation-options--modern {
  display: grid;
  gap: 18px;
}

.consultation-option--modern {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid #e1e1e1;
  border-radius: 14px;
  background: #fafafa;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.consultation-option--modern:hover {
  transform: translateY(-3px);
  border-color: #d71920;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.consultation-option--modern > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consultation-option--modern:has(input:checked) {
  border-color: #d71920;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.08);
}

.consultation-option__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fdebed;
  color: #d71920;
  font-size: 19px;
}

.consultation-option__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.consultation-option__top h3 {
  margin: 0;
  color: #202020;
  font-size: 19px;
}

.consultation-option__top strong {
  flex: 0 0 auto;
  color: #d71920;
  font-size: 15px;
}

.consultation-option__content > p {
  margin: 10px 0 14px;
  color: #666;
  font-size: 13.5px;
  line-height: 1.65;
}

.consultation-option__check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #888;
  font-size: 12px;
  font-weight: 700;
}

.consultation-option--modern:has(input:checked) .consultation-option__check {
  color: #d71920;
}

/* =========================================================
   INPUTS
   ========================================================= */

.booking-field,
.booking-date-wrap {
  margin-bottom: 20px;
}

.booking-field label,
.booking-date-wrap label,
.booking-content > label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.booking-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 9px;
  outline: none;
  background: #fafafa;
  color: #252525;
  font-family: inherit;
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.booking-input:focus {
  border-color: #d71920;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.09);
}

.booking-textarea {
  min-height: 145px;
  resize: vertical;
}

.booking-input-icon {
  position: relative;
}

.booking-input-icon > i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #d71920;
  z-index: 2;
}

.booking-input-icon .booking-input {
  padding-left: 44px;
}

.booking-grid--modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.booking-field--full {
  width: 100%;
}

/* =========================================================
   TIME SLOTS
   ========================================================= */

.time-slots--modern {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.time-slot {
  position: relative;
  cursor: pointer;
}

.time-slot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.time-slot span {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #fafafa;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.time-slot:hover span {
  border-color: #d71920;
  background: #fff;
}

.time-slot input:checked + span {
  border-color: #d71920;
  background: #d71920;
  color: #fff;
  box-shadow: 0 8px 18px rgba(215, 25, 32, 0.22);
}

.timezone-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: #777;
  font-size: 12.5px;
}

.timezone-info i {
  color: #d71920;
}

/* =========================================================
   CONSENT / FINAL
   ========================================================= */

.booking-card--final {
  background: #202020;
  border-color: #202020;
}

.booking-card--final .booking-section-title h2 {
  color: #fff;
}

.booking-card--final .booking-section-title__kicker {
  color: #ff6268;
}

.booking-consent--modern {
  display: block;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ddd;
  cursor: pointer;
}

.booking-consent--modern > input {
  margin-right: 10px;
  accent-color: #d71920;
}

.booking-consent--modern > span {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.65;
}

.booking-consent--modern i {
  color: #ff6268;
  margin-top: 2px;
}

.booking-submit--modern {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 0;
  border-radius: 8px;
  background: #d71920;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(215, 25, 32, 0.24);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.booking-submit--modern:hover {
  transform: translateY(-2px);
  background: #b9141a;
  box-shadow: 0 14px 30px rgba(215, 25, 32, 0.32);
}

.booking-note {
  margin: 14px 0 0;
  color: #aaa;
  font-size: 12px;
  line-height: 1.6;
}

/* =========================================================
   TRUST
   ========================================================= */

.booking-trust {
  padding: 45px 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.booking-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.booking-trust__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.booking-trust__item > i {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fdebed;
  color: #d71920;
  font-size: 17px;
}

.booking-trust__item strong,
.booking-trust__item span {
  display: block;
}

.booking-trust__item strong {
  margin-bottom: 3px;
  color: #202020;
  font-size: 14px;
}

.booking-trust__item span {
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}

/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 850px) {
  .booking-intro__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .time-slots--modern {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-trust__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {
  .booking-page .container {
    width: calc(100% - 28px);
  }

  .booking-hero {
    min-height: auto;
    padding: 65px 0;
  }

  .booking-hero h1 {
    font-size: 38px;
  }

  .booking-hero__content > p {
    font-size: 15px;
  }

  .booking-hero__features {
    display: grid;
    grid-template-columns: 1fr;
  }

  .booking-section--modern {
    padding: 35px 0 70px;
  }

  .booking-card--modern {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .booking-step {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }

  .consultation-option--modern {
    grid-template-columns: 1fr;
  }

  .consultation-option__top {
    flex-direction: column;
    gap: 8px;
  }

  .booking-grid--modern {
    grid-template-columns: 1fr;
  }

  .time-slots--modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-submit--modern {
    width: 100%;
  }
}

/* =========================================================
   RENDEZ-VOUS - HEURE RÉSERVÉE
   ========================================================= */

.time-slot--booked {
  cursor: not-allowed;
}

.time-slot--booked span {
  background: #f0f0f0;

  border: 1px solid #dddddd;

  color: #999999;

  opacity: 0.65;

  cursor: not-allowed;
}

.time-slot--booked span s {
  text-decoration-thickness: 2px;
  text-decoration-color: #d71920;
}

/* =========================================================
   JOURNÉE COMPLÈTE
   ========================================================= */

.booking-day-full {
  grid-column: 1 / -1;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 170px;

  padding: 28px;

  border: 1px solid #f0cccc;

  border-radius: 12px;

  background: #fff5f5;

  text-align: center;
}

.booking-day-full i {
  color: #d71920;

  font-size: 32px;
}

.booking-day-full strong {
  color: #202020;

  font-size: 18px;
}

.booking-day-full span {
  max-width: 420px;

  color: #777;

  font-size: 13px;

  line-height: 1.6;
}

/* =========================================================
   MODE NUIT GLOBAL - MADIC
   ========================================================= */

:root {
  --bg-main: #ffffff;
  --bg-soft: #f6f7f8;
  --bg-card: #ffffff;
  --bg-dark: #202020;

  --text-main: #202020;
  --text-soft: #666666;
  --text-light: #ffffff;

  --border-main: #e5e5e5;

  --accent: #d71920;
}

#nl-badge,
.nl-badge,
#nl-card,
.nl-card {
  display: none !important;
}

/* =========================================================
   NAVBAR MADIC - 2 LIGNES
   ========================================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(255, 255, 255, 0.97);

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);

  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.055);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar__container {
  width: min(1480px, calc(100% - 44px));

  min-height: 96px;

  margin-inline: auto;

  display: grid;

  grid-template-columns:
    190px
    minmax(0, 1fr);

  align-items: center;

  column-gap: 28px;
}

/* =========================================================
   LOGO
   ========================================================= */

.navbar__logo {
  display: flex;
  align-items: center;

  text-decoration: none;
}

.logo {
  display: block;

  width: auto;

  max-width: 180px;
  max-height: 72px;

  object-fit: contain;

  transition: transform 0.25s ease;
}

.navbar__logo:hover .logo {
  transform: scale(1.025);
}

/* =========================================================
   CONTENU DROITE
   ========================================================= */

.navbar__content {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 22px;
}

/* =========================================================
   BLOC NAVIGATION 2 LIGNES
   ========================================================= */

.navbar__navblock {
  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 4px;

  min-width: 0;
}

.navbar__menu {
  display: flex;
  align-items: center;

  margin: 0;
  padding: 0;

  list-style: none;
}

/* LIGNE PRINCIPALE */

.navbar__menu--main {
  gap: 4px;
}

/* LIGNE SECONDAIRE */

.navbar__menu--secondary {
  gap: 4px;

  padding-left: 0;
}

/* =========================================================
   LIENS
   ========================================================= */

.navbar__item {
  display: flex;
  align-items: center;
}

.navbar__links {
  position: relative;

  display: inline-flex;
  align-items: center;

  min-height: 34px;

  padding: 0 10px;

  color: #2d2d2d;

  font-size: 14px;
  font-weight: 650;

  text-decoration: none;

  white-space: nowrap;

  border-radius: 8px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.navbar__links:hover {
  color: #d71920;

  background: rgba(215, 25, 32, 0.05);
}

/* SOUS-LIGNE */

.navbar__links--secondary {
  min-height: 25px;

  padding: 0 10px;

  color: #727272;

  font-size: 11.5px;
  font-weight: 650;
}

.navbar__links--secondary::before {
  content: "";

  width: 4px;
  height: 4px;

  margin-right: 6px;

  border-radius: 50%;

  background: #d71920;
}

.navbar__links--secondary:hover {
  color: #d71920;

  background: transparent;
}

/* =========================================================
   ACTIONS DROITE
   ========================================================= */

.navbar__actions {
  flex: 0 0 auto;

  display: flex;
  align-items: center;

  gap: 9px;

  padding-left: 18px;

  border-left: 1px solid #ececec;
}

/* =========================================================
   BOUTONS ACTION
   ========================================================= */

.nav-action {
  min-height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  padding: 0 13px;

  border-radius: 9px;

  font-size: 12px;
  font-weight: 750;

  text-decoration: none;

  white-space: nowrap;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.nav-action:hover {
  transform: translateY(-2px);
}

.nav-action--outline {
  border: 1px solid #d71920;

  background: #ffffff;
  color: #d71920;
}

.nav-action--outline:hover {
  background: #fff4f4;

  box-shadow: 0 6px 16px rgba(215, 25, 32, 0.13);
}

.nav-action--primary {
  border: 1px solid #d71920;

  background: #d71920;
  color: #ffffff;

  box-shadow: 0 7px 18px rgba(215, 25, 32, 0.2);
}

.nav-action--primary:hover {
  background: #ba141a;

  border-color: #ba141a;
}

/* =========================================================
   LANGUES
   ========================================================= */

.language-switcher {
  display: flex;
  align-items: center;

  gap: 4px;

  padding: 4px;

  border: 1px solid #e6e6e6;

  border-radius: 11px;

  background: #f7f7f7;
}

.lang-btn {
  min-width: 53px;
  height: 36px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 5px;

  padding: 0 7px;

  border: 0;
  border-radius: 8px;

  background: transparent;
  color: #555;

  cursor: pointer;

  font-family: inherit;
  font-size: 11px;
  font-weight: 800;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.lang-btn:hover {
  background: #ffffff;

  transform: translateY(-1px);
}

.lang-btn.active {
  background: #ffffff;

  color: #202020;

  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.1);
}

.lang-flag {
  width: 23px;
  height: 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 3px;

  overflow: hidden;

  font-size: 10px;
}

.lang-flag--qc {
  background: #1261a8;
  color: white;
}

.lang-flag--ca {
  background: white;
  color: #d71920;

  border-left: 5px solid #d71920;
  border-right: 5px solid #d71920;
}

/* =========================================================
   MODE NUIT
   ========================================================= */

.theme-toggle-btn {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  padding: 0;

  border: 1px solid #e2e2e2;
  border-radius: 50%;

  background: #ffffff;
  color: #333;

  cursor: pointer;

  font-size: 14px;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.theme-toggle-btn:hover {
  transform: translateY(-2px);

  background: #202020;
  color: #ffffff;
}

/* ORDINATEUR */

.navbar__toggle {
  display: none;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 1100px) {
  .navbar__container {
    grid-template-columns:
      155px
      minmax(0, 1fr);

    min-height: 80px;
  }

  .logo {
    max-width: 145px;
  }

  .navbar__toggle {
    display: flex;

    width: 44px;
    height: 44px;

    padding: 0;
    margin: 0;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 1px solid #e5e5e5;
    border-radius: 10px;

    background: #ffffff;

    cursor: pointer;
  }

  .navbar__content {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    display: none;

    padding: 20px;

    background: #ffffff;

    border-top: 1px solid #eee;

    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.11);
  }

  .navbar__content.active {
    display: block;
  }

  .navbar__navblock {
    display: block;
  }

  .navbar__menu--main,
  .navbar__menu--secondary {
    flex-direction: column;

    align-items: stretch;

    gap: 3px;
  }

  .navbar__item {
    width: 100%;
  }

  .navbar__links,
  .navbar__links--secondary {
    width: 100%;

    min-height: 44px;

    padding: 0 12px;

    font-size: 14px;
  }

  .navbar__links--secondary::before {
    display: none;
  }

  .navbar__actions {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 16px;

    padding: 16px 0 0;

    border-left: 0;
    border-top: 1px solid #eee;
  }

  .nav-action {
    width: 100%;
  }

  .language-switcher {
    justify-content: center;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {
  .navbar__container {
    width: calc(100% - 24px);

    grid-template-columns: 1fr auto;

    min-height: 72px;
  }

  .logo {
    max-width: 132px;
  }

  .navbar__content {
    padding: 14px;
  }

  .navbar__actions {
    grid-template-columns: 1fr;
  }

  .nav-action {
    justify-content: flex-start;
  }

  .language-switcher {
    width: 100%;
  }

  .theme-toggle-btn {
    justify-self: center;
  }
}

/* =========================================================
   CORRECTION FINALE HAMBURGER MADIC
   À METTRE TOUT À LA FIN DE styles.css
   ========================================================= */

@media screen and (max-width: 1100px) {
  .navbar__toggle {
    display: flex !important;

    width: 44px !important;
    height: 44px !important;

    padding: 0 !important;

    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 5px !important;

    border: 0 !important;
    border-radius: 10px !important;

    background: #f5f5f5 !important;

    cursor: pointer;
  }

  .navbar__toggle .bar {
    display: block !important;

    width: 25px !important;
    height: 3px !important;

    margin: 0 !important;
    padding: 0 !important;

    background-color: #202020 !important;

    border-radius: 10px !important;

    transform-origin: center !important;

    transition:
      transform 0.25s ease,
      opacity 0.25s ease !important;
  }

  /* X parfaitement centré */

  .navbar__toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .navbar__toggle.active .bar:nth-child(2) {
    opacity: 0 !important;
  }

  .navbar__toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }
}

/* =========================================================
   ESPACEMENT MENU MOBILE MADIC
   ========================================================= */

@media screen and (max-width: 1100px) {
  /* Les deux groupes de navigation */
  .navbar__menu--main,
  .navbar__menu--secondary {
    display: flex !important;
    flex-direction: column !important;

    gap: 2px !important;

    margin: 0 !important;
    padding: 0 !important;

    width: 100% !important;
  }

  /* Afficher correctement le deuxième groupe */
  .navbar__menu--secondary {
    margin-top: 2px !important;
  }

  /* Chaque ligne */
  .navbar__item {
    margin: 0 !important;
    padding: 0 !important;

    width: 100% !important;
  }

  /* Accueil, Services, Forfaits,
     À propos, Carrière, Nous joindre */
  .navbar__links,
  .navbar__links--secondary {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 36px !important;

    margin: 0 !important;
    padding: 6px 10px !important;

    line-height: 1.2 !important;
  }

  /* Pas de gros espace entre les deux groupes */
  .navbar__navblock {
    display: flex !important;
    flex-direction: column !important;

    gap: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
  }
}

/* =========================================================
   MENU MOBILE - LIENS PLUS COMPACTS
   ========================================================= */

@media screen and (max-width: 1100px) {
  .navbar__menu--all {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .navbar__menu--all .navbar__item {
    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .navbar__menu--all .navbar__links,
  .navbar__menu--all .navbar__links--secondary {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;

    min-height: 39px !important;
    height: 39px !important;

    margin: 0 !important;
    padding: 0 9px !important;

    line-height: 1.2 !important;
  }
}
.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 5px;

  padding: 5px 7px;

  border: 1px solid transparent;
  border-radius: 7px;

  background: transparent;

  cursor: pointer;

  font-size: 12px;
  font-weight: 700;
}

.lang-flag {
  width: 24px;
  height: 16px;

  object-fit: cover;

  border-radius: 2px;

  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lang-btn:hover {
  background: #f5f5f5;
}

.lang-btn.active {
  background: #f3f3f3;
  border-color: #dddddd;
}

/* =====================================================
       PAGE ÉVÉNEMENTS
       ===================================================== */

.events-page {
  background: #fff;
}

.events-hero {
  position: relative;
  padding: 100px 0 90px;
  color: #fff;
  overflow: hidden;

  background:
    linear-gradient(rgba(20, 20, 20, 0.72), rgba(20, 20, 20, 0.78)),
    url("img/Web_Event/Event_Talent_without_boders_5.jpg") center center / cover
      no-repeat;
}

.events-hero-content {
  max-width: 850px;
}

.events-eyebrow {
  display: inline-block;

  margin-bottom: 14px;
  padding: 7px 14px;

  border-radius: 999px;

  background: #d71920;

  color: #fff;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.events-hero h1 {
  margin-bottom: 18px;

  color: #fff;

  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
}

.events-hero p {
  max-width: 720px;

  margin-bottom: 28px;

  color: rgba(255, 255, 255, 0.92);

  font-size: 18px;
  line-height: 1.7;
}

.events-intro {
  padding: 75px 0 55px;
}

.events-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.events-intro-image img {
  width: 100%;
  height: 430px;

  object-fit: cover;

  border-radius: 18px;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.events-section {
  padding: 70px 0;
}

.events-section--light {
  background: #f7f7f7;
}

.events-section-header {
  max-width: 850px;

  margin: 0 auto 38px;

  text-align: center;
}

.events-section-header .events-label {
  display: inline-block;

  margin-bottom: 10px;

  color: #d71920;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.events-section-header h2 {
  margin-bottom: 12px;

  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.events-section-header p {
  color: #666;

  font-size: 16px;
  line-height: 1.7;
}

.events-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.events-gallery figure {
  position: relative;

  margin: 0;

  overflow: hidden;

  border-radius: 14px;

  background: #eee;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.events-gallery img {
  display: block;

  width: 100%;
  height: 290px;

  object-fit: cover;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.events-gallery figure:hover img {
  transform: scale(1.045);
  filter: brightness(0.96);
}

.events-gallery .events-gallery-large {
  grid-column: span 2;
}

.events-gallery .events-gallery-large img {
  height: 420px;
}

.events-gallery-caption {
  padding: 14px 16px;

  background: #fff;

  color: #333;

  font-size: 14px;
  line-height: 1.5;
}

.events-impact {
  padding: 75px 0;

  background: #151515;

  color: #fff;
}

.events-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.events-impact-card {
  padding: 32px 26px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.05);
}

.events-impact-card i {
  margin-bottom: 18px;

  color: #d71920;

  font-size: 32px;
}

.events-impact-card h3 {
  margin-bottom: 10px;

  color: #fff;
}

.events-impact-card p {
  color: rgba(255, 255, 255, 0.78);

  line-height: 1.7;
}

.events-final-cta {
  position: relative;

  padding: 90px 0;

  text-align: center;

  color: #fff;

  background:
    linear-gradient(rgba(20, 20, 20, 0.78), rgba(20, 20, 20, 0.82)),
    url("img/Web_Event/Diaspora_Event-2025-07-27_6.jpg") center center / cover
      no-repeat;
}

.events-final-cta h2 {
  margin-bottom: 14px;

  color: #fff;

  font-size: clamp(30px, 4vw, 46px);
}

.events-final-cta p {
  max-width: 700px;

  margin: 0 auto 28px;

  color: rgba(255, 255, 255, 0.9);

  font-size: 17px;
  line-height: 1.7;
}

.events-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px;
}

@media screen and (max-width: 900px) {
  .events-intro-grid {
    grid-template-columns: 1fr;
  }

  .events-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-gallery .events-gallery-large {
    grid-column: span 2;
  }

  .events-impact-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 600px) {
  .events-hero {
    padding: 75px 0 65px;
  }

  .events-intro {
    padding: 55px 0 35px;
  }

  .events-section {
    padding: 55px 0;
  }

  .events-gallery {
    grid-template-columns: 1fr;
  }

  .events-gallery .events-gallery-large {
    grid-column: span 1;
  }

  .events-gallery img,
  .events-gallery .events-gallery-large img {
    height: 280px;
  }

  .events-intro-image img {
    height: 320px;
  }
}

/* =========================================================
   PAGE EVENEMENTS
   Structure inspirée du main index.html
   Aucun data-i18n requis pour le contenu de la page
   ========================================================= */

#page-evenements {
  background: #fff;
}

/* =========================================================
   BILINGUE FR / EN
   Le script existant change déjà <html lang="fr|en">
   ========================================================= */

#page-evenements .events-lang-en {
  display: none;
}

html[lang="fr"] #page-evenements .events-lang-fr {
  display: block;
}

html[lang="fr"] #page-evenements .events-lang-en {
  display: none;
}

html[lang="en"] #page-evenements .events-lang-fr {
  display: none;
}

html[lang="en"] #page-evenements .events-lang-en {
  display: block;
}

/* =========================================================
   HERO
   ========================================================= */

.events-hero {
  position: relative;
  min-height: 58rem;
  display: flex;
  align-items: center;
  padding: 9rem 2rem;

  background: url("../img/Web_Event/Event_Talent_without_boders_5.jpg") center
    center / cover no-repeat;

  color: #fff;
  overflow: hidden;
}

.events-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.84) 0%,
    rgba(0, 0, 0, 0.62) 55%,
    rgba(0, 0, 0, 0.28) 100%
  );
}

.events-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.events-hero h1 {
  max-width: 90rem;
  margin-bottom: 2rem;
  color: #fff;
  font-size: clamp(4rem, 6vw, 6rem);
  line-height: 1.06;
}

.events-hero-subtitle {
  max-width: 76rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.8rem;
  line-height: 1.75;
}

/* =========================================================
   INTRODUCTION
   ========================================================= */

.events-intro {
  padding: 9rem 2rem;
}

.events-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 7rem;
  align-items: center;
}

.events-intro-content p {
  color: #666;
  font-size: 1.6rem;
  line-height: 1.8;
}

.events-intro-image img {
  display: block;
  width: 100%;
  height: 43rem;
  object-fit: cover;
  border-radius: 1.8rem;
  box-shadow: 0 1.8rem 4.5rem rgba(0, 0, 0, 0.15);
}

/* =========================================================
   SECTIONS
   ========================================================= */

.events-section {
  padding: 9rem 2rem;
  background: #fff;
}

.events-section--light {
  background: #f7f7f7;
}

/* =========================================================
   GALERIES
   ========================================================= */

.events-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.events-gallery figure {
  position: relative;
  min-height: 29rem;
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #eee;
  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.08);
}

.events-gallery .events-gallery-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 60rem;
}

.events-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    transform 0.5s ease,
    filter 0.3s ease;
}

.events-gallery figure:hover img {
  transform: scale(1.06);
  filter: brightness(0.95);
}

/* =========================================================
   IMPACT
   ========================================================= */

.events-impact {
  padding: 9rem 2rem;
  background: #202020;
  color: #fff;
}

.events-impact .section-title h2 {
  color: #fff;
}

.events-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.events-impact-card {
  padding: 3.5rem 2.8rem;
  border-radius: 1.5rem;
  background: #fff;
  text-align: center;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.events-impact-card:hover {
  transform: translateY(-0.8rem);
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.25);
}

.events-impact-icon {
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border-radius: 50%;
  color: #fff;
  font-size: 2.4rem;
}

.events-impact-icon.red {
  background: #d71920;
}

.events-impact-icon.dark {
  background: #202020;
}

.events-impact-card h3 {
  margin-bottom: 1.2rem;
  color: #202020;
  font-size: 2rem;
}

.events-impact-card p {
  color: #666;
  font-size: 1.4rem;
  line-height: 1.7;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.events-final-cta {
  position: relative;
  padding: 10rem 2rem;

  background: url("../img/Web_Event/Diaspora_Event-2025-07-27_6.jpg") center
    center / cover no-repeat;

  color: #fff;
  text-align: center;
  overflow: hidden;
}

.events-final-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.events-final-content {
  position: relative;
  z-index: 2;
}

.events-final-content .section-title h2 {
  color: #fff;
}

.events-final-content .section-title p {
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 1000px) {
  .events-intro-grid {
    grid-template-columns: 1fr;
  }

  .events-intro-image {
    max-width: 70rem;
    margin: 0 auto;
  }

  .events-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-gallery .events-gallery-large {
    grid-column: span 2;
    grid-row: auto;
    min-height: 42rem;
  }

  .events-impact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 650px) {
  .events-hero {
    min-height: 60rem;
    padding: 8rem 1.8rem;
  }

  .events-hero h1 {
    font-size: 4rem;
  }

  .events-hero-subtitle {
    font-size: 1.6rem;
  }

  .events-intro,
  .events-section,
  .events-impact {
    padding: 6.5rem 1.8rem;
  }

  .events-intro-image img {
    height: 32rem;
  }

  .events-gallery {
    grid-template-columns: 1fr;
  }

  .events-gallery .events-gallery-large {
    grid-column: auto;
    min-height: 30rem;
  }

  .events-gallery figure {
    min-height: 28rem;
  }

  .events-final-cta {
    padding: 8rem 1.8rem;
  }
}

/* =========================================================
   NAVBAR DESKTOP - MENU SUR 2 LIGNES
   Évite la superposition avec Événements + Blogue
   ========================================================= */

@media screen and (min-width: 1101px) {
  .navbar__container {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .navbar__content {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    min-width: 0;
  }

  /* =========================
     BLOC DES LIENS
     ========================= */

  .navbar__navblock {
    flex: 1;

    min-width: 0;

    display: flex;
    align-items: center;
  }

  .navbar__menu--all {
    width: 100%;

    display: grid !important;

    grid-template-columns: repeat(4, auto);

    justify-content: start;
    align-items: center;

    column-gap: 22px;
    row-gap: 8px;

    margin: 0;
    padding: 0;
  }

  .navbar__item {
    margin: 0;
    padding: 0;
  }

  .navbar__links {
    display: flex;
    align-items: center;

    min-height: 34px;

    padding: 4px 0;

    white-space: nowrap;
  }

  /* =========================
     ACTIONS À DROITE
     ========================= */

  .navbar__actions {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 10px;
  }

  .nav-action {
    white-space: nowrap;
  }

  .language-switcher {
    flex-shrink: 0;
  }

  .theme-toggle-btn {
    flex-shrink: 0;
  }
}
/* =========================================================
   NAVBAR DESKTOP - MENU 4 + 4 ÉLÉGANT
   ========================================================= */

@media screen and (min-width: 1101px) {
  .navbar__navblock {
    display: flex;
    align-items: center;
  }

  .navbar__menu--all {
    display: grid !important;
    grid-template-columns: repeat(4, auto);

    column-gap: 28px;
    row-gap: 6px;

    align-items: center;
    justify-content: start;

    margin: 0;
    padding: 0;

    list-style: none;
  }

  .navbar__item {
    margin: 0;
    padding: 0;
  }

  .navbar__links {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 30px;

    padding: 2px 0;

    color: #2b2b2b;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
    white-space: nowrap;

    transition:
      color 0.2s ease,
      transform 0.2s ease;
  }

  .navbar__links:hover {
    color: #d71920;
    transform: translateY(-1px);
  }

  .navbar__links::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 0;
    height: 2px;

    background: #d71920;

    border-radius: 999px;

    transition: width 0.25s ease;
  }

  .navbar__links:hover::after {
    width: 100%;
  }

  .navbar__links--secondary {
    color: #555;
    font-weight: 500;
  }
}
/* =========================================================
   NAVBAR DESKTOP - MENU VERRE MODERNE 4 + 4
   Inspiré du menu fourni
   ========================================================= */

@media screen and (min-width: 1101px) {
  .navbar__navblock {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 5px 8px;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.55);

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.65);

    box-shadow:
      0 8px 25px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }

  /* ==============================================
     GRILLE 4 + 4
     ============================================== */

  .navbar__menu--all {
    display: grid !important;

    grid-template-columns: repeat(4, auto);

    column-gap: 8px;
    row-gap: 5px;

    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    list-style: none;
  }

  .navbar__item {
    position: relative;

    margin: 0;
    padding: 0;

    list-style: none;
  }

  /* ==============================================
     LIENS
     ============================================== */

  .navbar__links {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    min-height: 31px;

    padding: 5px 12px;

    border-radius: 18px;

    color: #252525;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.1;

    text-decoration: none;
    white-space: nowrap;

    transition:
      color 0.22s ease,
      transform 0.22s ease,
      box-shadow 0.22s ease;
  }

  /* ==============================================
     FOND ANIMÉ
     ============================================== */

  .navbar__links::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    border-radius: 18px;

    background: transparent;

    transform: scale(0.92);

    transition:
      background 0.22s ease,
      transform 0.22s ease,
      box-shadow 0.22s ease;
  }

  /* ==============================================
     HOVER
     ============================================== */

  .navbar__links:hover {
    color: #111;

    transform: translateY(-1px);
  }

  .navbar__links:hover::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(235, 235, 235, 0.96)
    );

    transform: scale(1.05);

    box-shadow:
      0 5px 15px rgba(0, 0, 0, 0.14),
      0 1px 2px rgba(0, 0, 0, 0.08);
  }

  /* ==============================================
     PETIT ACCENT MADIC
     ============================================== */

  .navbar__links::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 2px;

    width: 0;
    height: 2px;

    border-radius: 999px;

    background: #d71920;

    transform: translateX(-50%);

    transition: width 0.22s ease;
  }

  .navbar__links:hover::after {
    width: 30%;
  }

  /* ==============================================
     2e LIGNE
     ============================================== */

  .navbar__links--secondary {
    color: #444;
  }
}

/* ================================================
   NAVBAR - ORDINATEUR
   ================================================ */

@media screen and (min-width: 1101px) {
  .navbar__container {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .navbar__logo {
    flex-shrink: 0;
  }

  .navbar__content {
    position: static;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
  }

  .navbar__navblock {
    flex: 1;
    min-width: 0;
  }

  .navbar__menu--all {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    align-items: center;
    column-gap: 22px;
    row-gap: 8px;
    margin: 0;
    padding: 0;
  }

  .navbar__item {
    margin: 0;
    padding: 0;
  }

  .navbar__links {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 4px 0;
    white-space: nowrap;
  }

  .navbar__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
  }

  .nav-action {
    white-space: nowrap;
  }

  .navbar__utilities {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
  }

  .language-switcher {
    position: static;
    transform: none;
  }

  .navbar__toggle {
    display: none;
  }
}

/* ================================================
   NAVBAR - TABLETTE ET MOBILE
   ================================================ */

@media screen and (max-width: 1100px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    overflow: visible;
  }

  .navbar .navbar__container {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    min-height: 74px;
    margin: 0;
    padding: 0 20px;
    gap: 12px;
    box-sizing: border-box;
  }

  .navbar .navbar__logo {
    position: static;
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    transform: none;
  }

  .navbar .navbar__logo .logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(135px, 100%);
    max-height: 56px;
    object-fit: contain;
  }

  .navbar .navbar__utilities {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
    gap: 12px;
    transform: none;
  }

  .navbar .navbar__utilities .language-switcher {
    position: static;
    inset: auto;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 3px;
    gap: 8px;
    transform: none;
  }

  .navbar .navbar__utilities .theme-toggle-btn {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
    transform: none;
  }

  .navbar .navbar__toggle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0;
    z-index: 10002;
  }

  /* MENU DÉROULANT - INCHANGÉ */

  .navbar__content {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    width: 100vw;
    max-width: none;
    transform: translateX(-50%);
    display: none;
    padding: 14px 20px 20px;
    box-sizing: border-box;
    z-index: 10001;
  }

  .navbar__content.active {
    display: block;
  }

  .navbar__navblock {
    display: block;
  }

  .navbar__menu--all {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .navbar__item {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .navbar__links {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 5px 10px;
    font-size: 13.5px;
    line-height: 1.2;
  }

  .navbar__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
    padding-top: 12px;
  }

  .nav-action {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================
   PETITS ÉCRANS
   ================================================ */

@media screen and (max-width: 600px) {
  .navbar .navbar__container {
    width: 100%;
    max-width: 100%;
    min-height: 68px;
    padding: 0 8px;
    gap: 6px;
  }

  .navbar .navbar__logo .logo {
    max-width: min(100px, 100%);
    max-height: 46px;
  }

  .navbar .navbar__utilities {
    justify-content: space-evenly;
    gap: 6px;
  }

  .navbar .navbar__utilities .language-switcher {
    gap: 8px;
    padding: 2px;
  }

  .navbar .navbar__utilities .lang-btn {
    min-width: 30px;
    height: 30px;
    padding: 0 2px;
    font-size: 9px;
  }

  .navbar .navbar__utilities .lang-flag {
    width: 16px;
    height: 12px;
  }

  .navbar .navbar__utilities .theme-toggle-btn {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .navbar .navbar__toggle {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .navbar__actions {
    grid-template-columns: 1fr;
  }
}

/* TABLETTE : 4 liens par ligne */
@media screen and (min-width: 601px) and (max-width: 1100px) {
  .navbar__menu--all {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .navbar__item {
    width: 100% !important;
  }
}

/* TÉLÉPHONE : 1 lien par ligne */
@media screen and (max-width: 600px) {
  .navbar__menu--all {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }
}

/* TABLETTE : 1099 px à 1211 px */
@media screen and (min-width: 601px) and (max-width: 1250px) {
  .navbar__menu--all {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    align-items: start !important;
    row-gap: 0 !important;
    column-gap: 8px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .navbar__menu--all > .navbar__item {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .navbar__menu--all > .navbar__item > .navbar__links {
    display: flex !important;
    align-items: center !important;
    min-height: 28px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 3px 5px !important;
    line-height: 1.2 !important;
  }
}

/* ==========================================
   BLOGUE MADIC - PRÉSENTATION TYPE TKAB
   ========================================== */

.madic-blog {
  --blog-accent: #c49a50;
  --blog-dark: #172b43;
  --blog-border: #e6e6e6;
  --blog-muted: #777;
}

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

/* BANDEAU */

.madic-blog .blog-hero {
  padding: 65px 20px;
  text-align: center;
  background: var(--blog-dark);
  color: #fff;
}

.madic-blog .blog-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 5vw, 5rem);
  margin: 0;
}

.madic-blog .blog-hero p {
  color: #dce3ea;
  font-size: 1.6rem;
  margin: 15px 0 0;
}

/* GRILLE PRINCIPALE */

.madic-blog .blog-layout {
  width: min(1250px, calc(100% - 40px));
  margin: 65px auto 90px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 45px;
  align-items: start;
}

.madic-blog .blog-articles {
  min-width: 0;
}

/* ARTICLE + COLONNE AUTEUR */

.madic-blog .blog-post {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 55px;
  margin-bottom: 55px;
  border-bottom: 1px solid var(--blog-border);
}

/* AUTEUR */

.madic-blog .blog-post-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding-top: 4px;
}

.madic-blog .blog-author-avatar {
  display: block;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f2f2f2;
}

.madic-blog .blog-author-name {
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 700;
}

.madic-blog .blog-author-date {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--blog-muted);
}

/* IMAGE PRINCIPALE */

.madic-blog .blog-post-content {
  min-width: 0;
}

.madic-blog .blog-post-image {
  width: 100%;
  overflow: hidden;
  margin-bottom: 25px;
}

.madic-blog .blog-post-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.madic-blog .blog-post-image:hover img {
  transform: scale(1.025);
}

/* CATÉGORIE ET TITRE */

.madic-blog .blog-post-category {
  color: var(--blog-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.madic-blog .blog-post h2 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  line-height: 1.3;
  margin: 0 0 20px;
}

/* EXTRAIT DE L'ARTICLE */

.madic-blog .blog-post-excerpt p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin: 0 0 18px;
}

/* LIMITATION DE L'EXTRAIT */

.madic-blog .blog-post-excerpt {
  max-height: 225px;
  overflow: hidden;
}

/* PARTAGE + BOUTON */

.madic-blog .blog-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
}

.madic-blog .blog-share {
  display: flex;
  gap: 8px;
}

.madic-blog .blog-share a {
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--blog-dark);
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
}

.madic-blog .blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blog-accent);
  color: #fff;
  padding: 13px 20px;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.madic-blog .blog-readmore:hover {
  background: var(--blog-dark);
  color: #fff;
}

/* ==========================================
   COLONNE LATÉRALE
   ========================================== */

.madic-blog .blog-sidebar {
  display: grid;
  gap: 40px;
}

.madic-blog .blog-widget h3 {
  font-size: 2.1rem;
  font-weight: 700;
  padding-bottom: 15px;
  margin: 0 0 22px;
  border-bottom: 2px solid var(--blog-accent);
}

/* PUBLICATIONS RÉCENTES */

.madic-blog .blog-recent-post {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--blog-border);
}

.madic-blog .blog-recent-post img {
  display: block;
  width: 75px;
  height: 75px;
  object-fit: cover;
}

.madic-blog .blog-recent-post time {
  display: block;
  font-size: 1.25rem;
  color: var(--blog-muted);
  margin-bottom: 7px;
}

.madic-blog .blog-recent-post h4 {
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 0;
}

.madic-blog .blog-recent-post a {
  color: inherit;
  text-decoration: none;
}

.madic-blog .blog-recent-post a:hover {
  color: var(--blog-accent);
}

/* ARCHIVES */

.madic-blog .blog-archives ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.madic-blog .blog-archives li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--blog-border);
  font-size: 1.5rem;
}

.madic-blog .blog-archives a {
  color: inherit;
  text-decoration: none;
}

.madic-blog .blog-archives a:hover {
  color: var(--blog-accent);
}

/* MODE NUIT */

body.dark-mode .madic-blog,
body.dark .madic-blog,
html[data-theme="dark"] .madic-blog {
  --blog-border: #3b4755;
  --blog-muted: #b4beca;
}

/* TABLETTE */

@media (max-width: 950px) {
  .madic-blog .blog-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .madic-blog .blog-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .madic-blog .blog-layout {
    width: calc(100% - 28px);
    margin: 35px auto 55px;
  }

  .madic-blog .blog-post {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .madic-blog .blog-post-author {
    flex-direction: row;
    text-align: left;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .madic-blog .blog-author-avatar {
    width: 55px;
    height: 55px;
  }

  .madic-blog .blog-post-image img {
    aspect-ratio: 16 / 9;
  }

  .madic-blog .blog-sidebar {
    grid-template-columns: 1fr;
  }

  .madic-blog .blog-post-footer {
    flex-wrap: wrap;
  }
}

/* =====================================================
   NOTRE ESPACE COMMUNAUTAIRE - MADIC
   ===================================================== */

.about-community-space {
  padding: 90px 0;
  background: #f7f9fc;
}

.about-community-space .section-title {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 45px;
}

.about-community-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  align-items: center;
}

/* TEXTE */

.about-community-text h3 {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.3;
  color: #16243a;
  margin: 15px 0 22px;
}

.about-community-text p {
  font-size: 16px;
  line-height: 1.85;
  color: #596477;
  margin-bottom: 18px;
}

.about-community-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c92b35;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CARACTÉRISTIQUES */

.about-community-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 28px 0;
}

.about-community-feature {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.045);
  color: #24344b;
  font-size: 14px;
  font-weight: 600;
}

.about-community-feature i {
  color: #c92b35;
  font-size: 19px;
  flex-shrink: 0;
}

.about-community-address {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #24344b;
  font-weight: 600;
  margin-top: 20px;
}

.about-community-address i {
  color: #c92b35;
}

/* GALERIE */

.about-community-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, 165px);
  gap: 12px;
}

.about-community-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #e5e9ef;
  min-width: 0;
  min-height: 0;
}

.about-community-photo-main {
  grid-column: 1 / -1;
}

.about-community-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.about-community-photo:hover img {
  transform: scale(1.04);
}

/* BILINGUISME LOCAL */

html[lang="fr"] .about-community-space .about-lang-en {
  display: none;
}

html[lang="en"] .about-community-space .about-lang-fr {
  display: none;
}

/* TABLETTE */

@media (max-width: 992px) {
  .about-community-space {
    padding: 70px 0;
  }

  .about-community-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-community-gallery {
    grid-template-rows: repeat(3, 200px);
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .about-community-space {
    padding: 55px 0;
  }

  .about-community-features {
    grid-template-columns: 1fr;
  }

  .about-community-gallery {
    grid-template-rows: repeat(3, 135px);
    gap: 8px;
  }

  .about-community-photo {
    border-radius: 8px;
  }

  .about-community-text p {
    font-size: 15px;
  }

  .about-community-address {
    align-items: flex-start;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-community-photo img {
    transition: none;
  }

  .about-community-photo:hover img {
    transform: none;
  }
}
