/* =========================
   RESET GLOBAL
========================= */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, -apple-system, sans-serif;

  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  background: #F5F5F5;
  color: #222;
}

/* =========================
   VARIABLES
========================= */
:root {
  --accent: #D4A017;
}

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

.header {
  height: 100px;
  padding: 0 32px;
  border-bottom: 1px solid #eee;
  background: white;

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

  position: sticky;
  top: 0;

  z-index: 10000;
  isolation: isolate; 
}

/* =========================
   LOGO IMAGE CLIQUABLE
========================= */

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;

  transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* NAV DESKTOP */
.nav-desktop {
  display: flex;
  gap: 32px;
}

.nav-desktop a {
  position: relative;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: #1F2937;

  display: flex;
  align-items: center;
  height: 40px;
}

/* underline sauf dernier lien */
.nav-desktop a:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-desktop a:not(:last-child):hover::after {
  width: 100%;
}

.nav-desktop a:not(:last-child):hover {
  color: var(--accent);
}

/* bouton contact header */
.nav-desktop a:last-child {
  background: var(--accent);
  color: #1F2937;
  padding: 20px 30px;
  border-radius: 999px;

  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.05em;

  display: flex;
  align-items: center;

  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-desktop a:last-child:hover {
  background-color: #ecc04c;
}




/* état actif = même effet que hover */
.nav-desktop a.active {
  color: var(--accent);
}

/* underline actif */
.nav-desktop a.active::after {
  width: 100%;
}





/* ====================================================================================================
   BURGER BOOKMARK (CORRIGÉ)
==================================================================================================== */

/* ================= BURGER BOOKMARK ================= */

.menu-toggle {
  position: fixed;
  top: 0;
  right: 20px;

  width: 55px;
  height: 80px;

  padding: 0;

  background: transparent;
  border: none;
  cursor: pointer;

  z-index: 99999;

  /* 🔥 IMPORTANT : casse les stacking contexts internes */
  transform: translateZ(0);
  isolation: isolate;
  display: none;
}

.menu-toggle svg {
  width: 100%;
  height: 100%;
  display: block;

  overflow: visible;
}

/* IMPORTANT : on cible le PATH */
.menu-toggle svg path {
  fill: #D4A017;
  transform-origin: top;
  transition: transform 0.35s ease;

  display: block;
}

/* état fermé */
.menu-toggle svg path {
  transform: scaleY(1);
}

/* état ouvert */
.menu-toggle.open svg path {
  transform: scaleY(1.6);
}

/* ====================================================================================================
   DRAWER
==================================================================================================== */

.drawer {
  position: fixed;
  top: 0;
  right: -260px;

  width: 260px;
  height: 100vh;

  background: white;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);

  display: flex;
  flex-direction: column;
  padding: 100px 30px;
  gap: 20px;

  transition: right 0.3s ease;

  z-index: 2000;
}

.drawer.open {
  right: 0;
}

.drawer a {
  text-decoration: none;
  color: #222;
  font-size: 18px;
}

/* ====================================================================================================
   DRAWER (MENU BURGER DESIGN)
==================================================================================================== */

.drawer {
  position: fixed;
  top: 0;
  right: -260px;

  width: 260px;
  height: 100vh;

  background: white;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);

  display: flex;
  align-items: center;
  justify-content: flex-start; /* 🔥 important */

  transition: right 0.3s ease;

  z-index: 2000;
  padding: 0;

  padding-top: 320px;
}

.drawer.open {
  right: 0;
}

/* MENU LIST */
.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;

  width: 100%;              /* 🔥 clé */
  display: flex;
  flex-direction: column;
}

.drawer-menu a {
  display: block;

  width: 100%;

  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 400;
  color: #1F2937;

  text-align: center;

  padding: 14px 0;

  transition: background-color 0.25s ease;
}

.drawer-menu a:hover {
  background-color: #d9d9d9;
}

/* ====================================================================================================
   OVERLAY
==================================================================================================== */

.overlay {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.3);

  opacity: 0;
  pointer-events: none;

  transition: 0.3s;

  z-index: 1500;
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* ====================================================================================================
   CARDS BOOKMARK (INCHANGÉ MAIS SÉCURISÉ)
==================================================================================================== */

.card {
  position: relative;
  min-height: 80vh;
}

.card-bookmark {
  position: absolute;
  top: 0;
  right: 18px;

  width: 70px;
  height: 170px;

  opacity: 0;
  transform: translateY(-40px);

  transition: all 0.45s ease;
  pointer-events: none;
  z-index: 5;
}

.card:hover .card-bookmark {
  opacity: 1;
  transform: translateY(0);
}



/* ====================================================================================================
   MAIN
==================================================================================================== */

/* ====================================================================================================
   SECTION 1
==================================================================================================== */

section.section_un {
  width: 100%;
  min-height: 87vh;

  background: #F5F5F5;

  display: flex;
  align-items: center;

  position: relative;
}


.content {
  max-width: 1600px;
  margin-left: 120px;

  display: flex;
  align-items: center;
  gap: 120px; 
}

.text-content {
  max-width: 700px;
}

/* TYPOGRAPHIE */
h1 {
  font-size: 4rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0 0 4px 0;
}

h2 {
  font-size: 2.7rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  color: #6b7280;
  margin: 0 0 10px 0;
}

.divider {
  width: 120px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin-bottom: 20px;
}

section.section_un p {
  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 30px;
}

/* 🔥 IMAGE À DROITE SANS CASSER LE LAYOUT */
.profile-image {
  position: absolute;
  right: 120px; /* ajuste ici */
  top: 50%;
  transform: translateY(-50%);

  width: 500px;  /* 🔥 BEAUCOUP PLUS GROS */
  height: 500épàpépx;

  border-radius: 50%;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ====================================================================================================
   SECTION CAREER
==================================================================================================== */
.section_career {
  width: 100%;
  padding: 40px 0;
  background-color: #D9D9D9;
}

/* =========================
   CONTAINER GLOBAL
========================= */
.section_career__container {
  width: 100%;
}

/* =========================
   HEADER (INCHANGÉ)
========================= */
.section_career__header {
  text-align: left;
  padding-left: 80px;
  margin-bottom: 40px;
}

.section_career__header h2 {
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0;
  color: #2e2e2e;
}

.section_career__header h3 {
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0;
  color: #6b7280;
}

.divider_career {
  width: 120px;
  height: 4px;
  background: #d4a017;
  border-radius: 999px;
  margin: 12px 0 40px 0;
}

/* =========================
   TEXTE
========================= */
.section_career__text {
  width: 100%;
  padding-left: 80px; 
  padding-right: 80px;

  box-sizing: border-box;
}

/* paragraphe prend TOUT l’espace dispo */
.section_career__text p {
  width: 100%;

  margin: 0;

  font-size: 1.4rem;
  color: #6b7280;

  text-align: justify;
}

/* =========================
   LIEN EFLC 
========================= */

.link_eflc {
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  cursor: pointer;

  transition: color 0.25s ease, opacity 0.25s ease;
}

.link_eflc:hover  {
  color: #ffffff;
  opacity: 0.9;
}


/* ====================================================================================================
   SECTION DIPLÔME
==================================================================================================== */

.section_diplome {
  width: 100%;
  min-height: 70vh;
  background: #F5F4F3;

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

  padding: 80px 0;
}

.section_diplome .content {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* GRID DES CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 420px);
  grid-template-rows: auto auto 1fr; /* h2 | h3 | body */
  justify-content: center; /* centre les cards dans la section */
  gap: 30px;
  margin-top: 40px;

  max-width: 1400px; /* récupéré de l'ancien : centrage visuel */
  margin-left: auto;
  margin-right: auto;
}

/* CARD */
.card {
  display: grid;
  grid-template-rows: subgrid; /* hérite des lignes du parent */
  grid-row: span 3;

  color: inherit;

  background: #d4a017;
  border-radius: 10px;
  padding: 60px 24px 24px 24px;

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.14);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  background: #fff;
}

/* =========================
   CARD HEADER
========================= */

/* indispensable : h2 et h3 deviennent enfants directs de la grille */
.card-header {
  display: contents;
}

.card-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: #474646;
  margin: 0;
  text-align: center;
  align-self: center;
}

.card-header h3 {
  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #474646;
  margin: 12px 0 0;
  text-align: center;
  align-self: start;
}

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

.card-body {
  align-self: start;
}

.card-body p {
  font-size: 1.2rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 16px 0 0;
  text-align: center;
}

/* =========================
   DIVIDER CARD (optionnel)
========================= */

.divider_card_section_trois {
  position: absolute;
  bottom: 300px;
  left: 50%;
  transform: translateX(-50%);

  width: 120px;
  height: 4px;
  border-radius: 999px;

  background: #ffffff;
  transition: background-color 0.8s ease;
}

.card:hover .divider_card_section_trois {
  background: #d4a017;
}

/* =========================
   SVG MARQUE-PAGE
========================= */

.bookmark-icon {
  position: absolute;
  top: 0;
  right: 18px;

  width: 70px;
  height: 170px;

  opacity: 0;
  transform: translateY(-40px);
  transition: all 0.45s ease;
  z-index: 5;
  pointer-events: none;
}

.bookmark-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.card:hover .bookmark-icon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.grid-buttons-responsive {
  display: none;
}












/* ====================================================================================================
   SECTION ABOUT
==================================================================================================== */

.section_about {
  width: 100%;
  height: auto;

  display: flex;

  background-color: white;
}

/* =========================
   IMAGE (GAUCHE)
========================= */

.image_section_about {
  width: 40%;

  background-image: url("/images/livres_1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================
   TEXTE (DROITE)
========================= */

.text_section_about {
  width: 60%;

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

  padding: 0 120px 0 80px;

   position: relative;
   padding: 20px;
}

/* =========================
   TYPO 
========================= */

.h2_section_about {
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0 0 4px 0;
  color: #2e2e2e; /* ✅ comme section 3 */

  position: relative;
}

.text_section_about p {
  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: #6b7280;

  text-align: justify;
}

/* =========================
   DIVIDER
========================= */

.section_about .divider_about {
  width: 120px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin-bottom: 20px;
  margin-top: 1.8%;
}

/* ====================================================================================================
   SECTION WORK
==================================================================================================== */
.section_work {
  width: 100%;
  padding: 40px 0;
  background-color: #D9D9D9;
}

/* =========================
   CONTAINER GLOBAL
========================= */
.section_work__container {
  width: 100%;
}

/* =========================
   HEADER
========================= */
.section_work__header {
  text-align: left;
  padding-left: 80px;
  margin-bottom: 40px;
}

.section_work__header h2 {
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0;
  color: #2e2e2e;
}

.section_work__header h3 {
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0;
  color: #6b7280;
}

.divider_work {
  width: 120px;
  height: 4px;
  background: #d4a017;
  border-radius: 999px;
  margin: 12px 0 40px 0;
}

/* =========================
   TEXTE 
========================= */
.section_work__text {
  width: 100%;
  padding-left: 80px; 
  padding-right: 80px;

  box-sizing: border-box;
}

.section_work__text p {
  width: 100%;

  margin: 0;

  font-size: 1.4rem;
  color: #6b7280;

  text-align: justify;
}

/* ====================================================================================================
   SECTION 6
==================================================================================================== */

.section_six {
  width: 100%;
  padding: 20px 0;

  background-color: #D9D9D9; 
}

.content_section_six {
  width: 100%;
  max-width: 1600px;

  margin-left: auto;
  /*margin-right: 0; */

  padding-right: 40px; 
  padding-left: 120px;

  display: flex;
  justify-content: flex-end;
}

/* BOUTONS */
.buttons_content_six {
  display: flex;
  gap: 15px;
}

/* STYLE */
.section-btn_section_six {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 200px;
  height: 55px;

  padding: 0 24px;

  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: #1F2937;

  text-decoration: none;
  border-radius: 30px;

  transition: all 0.3s ease;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.section-btn--primary-section_six {
  background-color: var(--accent);
  color: #1F2937;
}

.section-btn--secondary-section_six {
  background-color: #ffffff;
  color: #1F2937;
  border: 1px solid #ddd;
}

.section-btn--primary-section_six:hover,
.section-btn--secondary-section_six:hover {
  background-color: #ecc04c;
  color: #1F2937;
}


/* ====================================================================================================
   SECTION 4 : BOUTONS RESPONSIVE (HIDDEN IN DESKTOP)
==================================================================================================== */

section.section_quatre {
  width: 100%;
  min-height: 55vh;

  display: none;
  align-items: center;
  position: relative;
  background-color: #D9D9D9;
}

.content_section_quatre {
  max-width: 1600px;
  margin-left: 120px;
}

/* TYPOGRAPHIE */
.h2_section_quatre {
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0 0 4px 0;
  color: #2e2e2e;
}

.h3_section_quatre {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  color: #6b7280;
  margin: 0 0 10px 0;
}

/* DIVIDER */
.divider {
  width: 120px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin-bottom: 20px;
}

/* PARAGRAPHE */
p {
  font-family: "Lato", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 30px;
}

/* =========================
   TEXTE 
========================= */

.text_section_quatre {
  width: 60%;

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

  padding: 0 120px 0 80px;

   position: relative;
}

/* =========================
   TYPO 
========================= */

.h2_section_quatre {
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0 0 4px 0;
  color: #2e2e2e; /* ✅ comme section 3 */

  position: relative;
}

.text_section_quatre p {
  font-family: "Lato", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #6b7280; 
}

/* =========================
   DIVIDER (identique)
========================= */

.section_quatre .divider {
  width: 120px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin-bottom: 20px;
  margin-top: 1.8%;
}

/* ====================================================================================================
   BUTTONS SECTION 
==================================================================================================== */

.buttons_buttons_section_quatre {
  display: flex;
  gap: 15px;

  justify-content: flex-end; 
  margin-top: 60px; 
}

.section-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 200px;
  height: 55px;

  padding: 0 24px;

  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: #1F2937;

  text-decoration: none;
  border-radius: 30px;

  transition: all 0.3s ease;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.section-btn--primary {
  background-color: var(--accent);
  color: #1F2937;
}

.section-btn--secondary {
  background-color: #ffffff;
  color: #1F2937;
  border: 1px solid #ddd;
}

.section-btn--primary:hover,
.section-btn--secondary:hover {
  background-color: #ecc04c;
  color: #1F2937;
}


/* ====================================================================================================
    FOOTER
==================================================================================================== */


.footer {
  width: 100%;
}

/* ===== TOP ===== */
.footer-top {
  background: #d4a017;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;


  min-height: 320px;

  padding: 40px 40px; 
}

/* LOGO GAUCHE */
.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  width: 220px;
  display: block;
}

/* DROITE */
.footer-right {
  display: flex;
  flex-direction: column;


  align-items: flex-start;

  margin-right: 100px;

  justify-content: flex-start;
  text-align: right;

  gap: 25px;
}

/* LIENS */
.footer-links {
  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 8px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #f5f5f5;
  text-decoration: none;

  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}

.footer-links a {
  color: #f5f5f5;
  text-decoration: none;

  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.05em;

  display: inline-block;
  transition: transform 0.2s ease;
}

/* ✅ hover léger agrandissement */
.footer-links a:hover {
  transform: scale(1.08);
}

/* SOCIAL */
.socials {
  display: flex;
  gap: 25px;

  justify-content: flex-start;
}

.socials img {
  width: auto;
  height: 50px;
  display: block;

  /* ✅ animation fluide */
  transition: transform 0.2s ease;
}

/* ✅ hover */
.socials img:hover {
  transform: scale(1.15);
}

/* ===== BOTTOM ===== */
.footer-bottom {
  background: #1F2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;

  min-height: 60px; /* OK ici */
}

/* gauche */
.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: white;
  font-size: 18px;
  text-decoration: underline;
  text-decoration-color: white;
}

/* droite */
.copyright {
  color: white;
  font-size: 18px;
}



























/* ====================================================================================================
   RESPONSIVE
==================================================================================================== */
@media (max-width: 1440px) {

  
  /* ====================================================================================================
   SECTION 1
==================================================================================================== */

 section.section_un {
    min-height: auto;
    padding: 90px 0;
    background: white;
    padding-left: 80px;

    position: relative;

    background-image: url("../images/livres_1.png");
    background-size: cover;              /* 🔥 remplit toute la zone */
    background-position: center;         /* ou right center si tu veux garder le focus */
    background-repeat: no-repeat;
  }

    /* 🔥 FILTRE BLANC */
  section.section_un::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.65); /* ajuste l’intensité ici */
    z-index: 0;
  }

  /* 🔥 contenu au-dessus du filtre */
  section.section_un .content {
    position: relative;
    z-index: 1;
  }

  .content {
    margin-left: 0;
    gap: 18px;

    padding: 0 40px;
    padding-left: 40px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* =========================
     TYPOGRAPHIE (AGRANDIE)
  ========================= */

  h1 {
    font-size: 3.4rem; /* 🔥 plus impactant */
    margin: 0;
    line-height: 1.1;
  }

  h2 {
    font-size: 2.4rem; /* 🔥 plus lisible */
    margin: 0;
    line-height: 1.2;
    color: #6b7280;
  }

  p {
    font-size: 1.7rem; /* 🔥 retour confort lecture desktop/tablette */
    line-height: 1.6;
    margin-top: 40px;
    color: #6b7280;
  }

  /* =========================
     DIVIDER
  ========================= */

  .divider {
    width: 360px;
    height: 2px;
    margin: 10px 0;
  }

  /* =========================
     IMAGE OFF (inchangé)
  ========================= */

  .profile-image {
    display: none;
  }

}







@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* ====================================================================================================
   MAIN
==================================================================================================== */

 /* ====================================================================================================
   SECTION 1
==================================================================================================== */

section.section_un {
    min-height: auto; 
    padding: 70px 0; 
    background: white;
  }

  .content {
    margin-left: 0;
    gap: 16px; 
    padding: 0 24px;
    padding-left: 40px;

    flex-direction: column;
    align-items: flex-start;
  }

  /* TYPOGRAPHIE FULL RESET MOBILE */
  h1 {
    font-size: 2.2rem;
    margin: 0;
  }

  h2 {
    font-size: 1.6rem;
    margin: 0;
  }

  p {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.5;

    margin-top: 52px; 
  }

  /* DIVIDER ultra compact */
  .divider {
    width: 400px;
    height: 2px;
    margin: 6px 0;
  }

  .text-content {
    max-width: 100%;
  }

  /* IMAGE totalement neutralisée proprement */
  .profile-image {
    display: none;
  }

/* ====================================================================================================
   SECTION CAREER RESPONSIVE
==================================================================================================== */

.section_career {
  padding: 70px 0;
}

.section_career__header {
  padding-left: 40px;
  padding-right: 24px;
  margin-bottom: 24px;
}

/* TITRES */
.section_career__header h2 {
  font-size: 2.2rem;
  margin: 0;
}

.section_career__header h3 {
  font-size: 1.6rem;
  margin: 0;
}

/* DIVIDER */
.divider_career {
  width: 400px;
  height: 2px;
  margin: 6px 0;
}

/* TEXTE */
.section_career__text {
  padding-left: 40px;
  padding-right: 24px;
}

.section_career__text p {
  font-size: 1.3rem;
  margin: 0;
  margin-top: 52px;
  line-height: 1.5;
}


/* ====================================================================================================
   SECTION 3
==================================================================================================== */

.cards {
    grid-template-columns: 1fr;
    grid-template-rows: none;

    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
  }

  .card {
    grid-template-rows: none;
    grid-row: auto;

    width: 100%;
    height: auto;  
    min-height: 45vh; 
    padding: 40px 20px 24px 20px;
  }

  .card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .card-header h2 {
    font-size: 2.2rem;
    text-align: center;
  }

  .card-header h3 {
  font-size: 1.2rem;
  text-align: center;
  align-self: center; /* ← annule le align-self: start du desktop */
  width: 100%;        /* ← occupe toute la largeur pour que text-align: center fonctionne */
}

  .card-body {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .card-body p {
    font-size: 1.1rem;
    text-align: center;
  }


/* ====================================================================================================
   SECTION ABOUT
==================================================================================================== */

.section_about {
  padding: 70px 0;
  display: block;

    background-image: linear-gradient(
    rgba(255,255,255,0.88),
    rgba(255,255,255,0.88)
  ),
  url("/images/livres_3.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Masquer l'image */
.image_section_about {
  display: none;
}

/* Bloc texte pleine largeur */
.text_section_about {
  width: 100%;

  padding-left: 40px;
  padding-right: 24px;
  padding-top: 0;
  padding-bottom: 0;
}

/* TITRE */
.h2_section_about {
  font-size: 2.2rem;
  margin: 0;
}

/* DIVIDER */
.section_about .divider_about {
  width: min(200px, 100%);
  height: 2px;
  margin: 6px 0;
}

/* TEXTE */
.text_section_about p {
  font-size: 1.3rem;
  margin: 0;
  margin-top: 52px;
  line-height: 1.5;
}

/* ====================================================================================================
   SECTION WORK RESPONSIVE
==================================================================================================== */

.section_work {
  padding: 70px 0;
}

.section_work__header {
  padding-left: 40px;
  padding-right: 24px;
  margin-bottom: 24px;
}

/* TITRES */
.section_work__header h2 {
  font-size: 2.2rem;
  margin: 0;
}

.section_work__header h3 {
  font-size: 1.6rem;
  margin: 0;
}

/* DIVIDER */
.divider_work {
  width: min(450px, 100%);
  height: 2px;
  margin: 6px 0;
}

/* TEXTE */
.section_work__text {
  padding-left: 40px;
  padding-right: 24px;
}

.section_work__text p {
  font-size: 1.3rem;
  margin: 0;
  margin-top: 52px;
  line-height: 1.5;
}

/* ====================================================================================================
   SECTION 4
==================================================================================================== */

section.section_quatre {
  min-height: 60vh;

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

  position: relative;

  background-image: url("../images/livres_1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay */
.section_quatre::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.623);
  z-index: 0;
}

/* CONTENEUR */
.content_section_quatre {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 600px; 
  margin: 0 auto;

  padding: 0 24px;

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

  text-align: center;
}

/* suppression texte */
.h2_section_quatre,
.h3_section_quatre,
.section_quatre .divider,
.content_section_quatre p {
  display: none;
}

/* BOUTONS */
.buttons_section_quatre {
  width: 100%;

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

  gap: 20px;
}

/* BOUTONS STYLE */
.section-btn {
  width: 100%;
  max-width: 520px; 

  padding: 52px 28px;
  font-size: 1.8rem;

  border-radius: 18px;

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

  text-align: center;

  color: white;
  background-color: var(--accent);

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

/* uniformisation */
.section-btn--primary,
.section-btn--secondary {
  background-color: var(--accent);
  color: white;
  border: none;
}

.section-btn:hover {
  background-color: #ecc04c;
  color: white;
}


/* ====================================================================================================
   SECTION 6
==================================================================================================== */
.section_six {
  display: none;
}

/* ====================================================================================================
    FOOTER
==================================================================================================== */

/* ===== TOP ===== */
  .footer-top {
    padding: 30px 20px;
    min-height: auto;
  }

  /* logo plus petit */
  .footer-logo img {
    width: 140px;
  }

  /* bloc droit compact */
  .footer-right {
    margin-right: 0;
    gap: 50  px;
  }

  /* liens */
  .footer-links a {
    font-size: 1.4rem;
  }

  /* socials */
  .socials img {
    height: 100px;
  }

  /* ===== BOTTOM ===== */
  .footer-bottom {
    padding: 12px 20px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .legal-links {
    gap: 14px;
  }

  .legal-links a {
    font-size: 1rem;
  }

  .copyright {
    font-size: 1rem;
  }

  
}