/* =========================
   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 
==================================================================================================== */

/* ================= 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;
}

.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: flex-start;

  position: relative;

  padding-top: 300px;
  padding-bottom: 140px;
}

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

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

  margin-left: 120px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

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

.text-content {
  max-width: 1700px;

  display: flex;
  flex-direction: column;
  padding-right: 600px
}

/* =========================
   TYPOGRAPHIE
========================= */

h1 {
  font-size: 4rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;

  margin: 0 0 4px 0;
  line-height: 1.1;
}

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

  margin: 0 0 10px 0;
  line-height: 1.2;
}

.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;
  color: #6b7280;

  margin: 0;
  line-height: 1.6;
}

/* =========================
   IMAGE
========================= */

.image-wrapper {
  position: absolute;
  right: 100px;
  top: 300px;
  flex-shrink: 0;
}

.profile-image {
  width: 500px;
  height: 500px;

  flex-shrink: 0;

  overflow: hidden;
}

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









/* ====================================================================================================
   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;
}

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;
}

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

.profile-image {
  position: absolute;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);

  width: auto; 
  height: 500px;

  overflow: hidden;
}

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



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

.section_trois {
  width: 100%;
  min-height: 20vh;
  background: #d9d9d9;

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

  padding: 80px 0;
}

/* ====================================================================================================
   SECTION SERVICES (ACCORDÉON)
==================================================================================================== */

.section_services {
  width: 100%;
  padding: 80px 20px;
  background: #F5F5F5;

  display: flex;
  justify-content: center;
}

.container_services {
  width: 100%;
  max-width: 1900px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =========================
   ITEM
========================= */

.service_item {
  background: white;
  border-radius: 12px;
  overflow: hidden;

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

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

.service_header {
  width: 100%;
  padding: 20px 24px;

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

  display: flex;
  align-items: center;
  justify-content: space-between; /* 🔥 clé */
  gap: 16px;

  transition: background 0.3s ease;
}

.service_header:hover {
  background: #f9f9f9;
}

/* =========================
   TITRE + ICÔNE
========================= */

.service_title_group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service_icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

  white-space: nowrap; /* 🔥 évite cassure */
}

/* =========================
   LIGNE POINTS
========================= */

.service_line {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;

  min-width: 0; /* 🔥 évite bugs flex */
}

.dots {
  flex: 1;
  height: 2px;

  background-image: radial-gradient(circle, #6b7280 1px, transparent 1px);
  background-size: 6px 2px;
  background-repeat: repeat-x;
  background-position: center;

  opacity: 0.7;
}

.page {
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  color: #6b7280;
  white-space: nowrap;
}

/* =========================
   TRIANGLE
========================= */

.service_toggle {
  width: 0;
  height: 0;

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #6b7280;

  transition: transform 0.3s ease;
}

.service_item.active .service_toggle {
  transform: rotate(180deg);
  border-top-color: #D4A017;
}

/* =========================
   ÉTAT ACTIF (SEULEMENT HEADER)
========================= */

.service_item.active .service_title {
  color: #D4A017;
}

/* =========================
   CONTENU
========================= */

.service_content {
  max-height: 0;
  overflow: hidden;

  transition: max-height 0.4s ease;
}

.service_item.active .service_content {
  max-height: 200px; /* fallback si JS absent */
}

.service_content p {
  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #6b7280;

  padding: 0 24px 20px 24px;
  margin: 0;
}



/* ====================================================================================================
   SECTION WORK
==================================================================================================== */
.section_work {
  width: 100%;
  padding: 40px 0;

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

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

/* =========================
   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 0 30px 0;

  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;

  color: #6b7280;
  text-align: justify;
}

/* Déroulement d'une commande */
.section_work__text h2 {
  margin: 60px 0 30px;

  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;

  color: #2e2e2e;
}

/* Étapes 1,2,3,4 */
.section_work__text h3 {
  margin: 40px 0 20px;

  font-size: 2rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;

  color: #2e2e2e;
}

.section_work span {
  display: block;
  height: 120px;
}

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

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

  background-color: transparent; 
}

.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 {
  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: 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%;
    padding-right: 0;
  }

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


/* ====================================================================================================
   SECTION 2
==================================================================================================== */

.content_section_deux {
  display: flex;
  flex-direction: column;

  gap: 6px; /* 🔥 encore plus serré */

  margin-left: 0;
  padding: 0 24px;
  padding-left: 40px;
}

/* RESET TOTAL */
.h2_section_deux,
.h3_section_deux,
.section_deux .divider {
  margin: 0;
  line-height: 1.1;
}

/* TITRES */
.h2_section_deux {
  font-size: 2.2rem;
}

.h3_section_deux {
  font-size: 1.6rem;
  color: #6b7280;
}

/* DIVIDER ULTRA COLLÉ */
.section_deux .divider {
  width: 300px;
  height: 2.3px;
  margin: 2px 0; /* 🔥 quasi collé */
}

/* PARAGRAPHE (on garde l’espace volontaire) */
.content_section_deux p {
  font-size: 1.3rem;
  line-height: 1.5;

  margin: 0;
  margin-top: 48px; /* 🔥 légèrement réduit pour cohérence */

  text-align: center;
  align-self: center;
  max-width: 90%;
}

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

.section_services {
    padding: 70px 20px;
  }

  .container_services {
    max-width: 900px;
    gap: 16px;
  }

  /* ITEM */
  .service_item {
    border-radius: 10px;
  }

  /* HEADER */
  .service_header {
    padding: 18px 18px;

    /* IMPORTANT : permet retour ligne propre */
    flex-wrap: wrap;
    row-gap: 10px;
  }

  /* TITRE GROUP */
  .service_title_group {
    gap: 12px;
    min-width: 0;
  }

  .service_icon {
    width: 34px;
    height: 34px;
  }

  .service_title {
    font-size: 1.6rem;
    white-space: normal; /* 🔥 autorise retour ligne (important responsive) */
  }

  /* LIGNE POINTS */
  .service_line {
    flex: 1 1 100%;
    order: 3; /* passe en dessous sur tablette */
  }

  .dots {
    opacity: 0.6;
  }

  .page {
    font-size: 1rem;
  }

  /* TOGGLE */
  .service_toggle {
    margin-left: auto;
  }

  /* CONTENU */
  .service_content p {
    font-size: 1.2rem;
    line-height: 1.7;

    padding: 0 18px 18px 18px;
  }

  /* ACCORDÉON HEIGHT FIX */
  .service_item.active .service_content {
    max-height: 1000px; /* 🔥 important pour textes longs */
  }



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

.section_work {
  display: none;
}

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

/* ====================================================================================================
   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 {
  width: 100%;

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

  gap: 20px;
}

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

    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;
}



/* ====================================================================================================
    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;
  }

  
}