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

.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: center;

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

section.section_un::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(255, 255, 255, 0.65);

  z-index: 0;
}

section.section_un .content {
  position: relative;
  z-index: 1;
}

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

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

  background: #F5F5F5;

  display: flex;
  align-items: flex-start; /* ✅ stabilité verticale */

  position: relative;

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

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

section.section_un::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(255, 255, 255, 0.65);
  z-index: 0;
}

/* CONTENU AU-DESSUS DU FILTRE */
section.section_un .content {
  position: relative;
  z-index: 1;
}

/* =========================
   LAYOUT GLOBAL
========================= */

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

  display: flex;
  align-items: flex-start; /* ✅ évite tout recentrage vertical */
  gap: 120px;
}

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

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

  display: flex;
  flex-direction: column;
}

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

/* 🔒 empêche les variations liées au contenu */
h1,
h2,
.divider {
  flex-shrink: 0;
}

/* =========================
   PARAGRAPHE
========================= */

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


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

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

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

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

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

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

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

  box-sizing: border-box;
}

/* paragraphe prend TOUT l’espace dispo */
.section_intro__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 2
==================================================================================================== 

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

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

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

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

.h3_section_deux {
  font-size: 2.5rem;
  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;
}*/

/* ====================================================================================================
   SECTION INTERMEDIAIRE
==================================================================================================== */

section.section_inter {
  width: 100%;
  min-height: 20vh;

  display: flex;
  align-items: center;
  position: relative;
  background-color: #f5f5f5;
  margin-top: 50px;
}

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

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

.h3_section_inter {
  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;
}


/* ====================================================================================================
   SECTION 3 - ESTIMATION DE DEVIS (VERSION PLUS LARGE)
==================================================================================================== */

.section_trois {
  width: 100%;
  min-height: 100vh;

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

  padding: 100px 24px;

  text-align: center;
}

/* SOUS-TITRE */
.subtitle {
  margin-bottom: 60px;

  font-size: 1.6rem; /* 🔥 plus lisible */
  color: #6B7280;
}

/* FORMULAIRE */
form#quoteForm {
  width: 100%;
  max-width: 720px; /* 🔥 plus large */

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

/* LABELS */
label {
  display: flex;
  flex-direction: column;
  gap: 10px;

  font-family: "Lato", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #474646;

  text-align: left;
}

/* INPUTS */
select,
input {
  padding: 16px 14px; /* 🔥 champs plus hauts */

  border: 1px solid #ddd;
  border-radius: 10px;

  font-size: 1.6rem; /* 🔥 texte plus grand */
}

select {
  font-family: "Lato", sans-serif;
  font-weight: 300;
}

/* RESULT */
.result {
  margin-top: 70px;

  width: 100%;
  max-width: 720px;

  padding: 40px; /* 🔥 plus respirant */

  background: #D9D9D9;
  border-radius: 12px;

  text-align: center;
}

.result p {
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  color: #2e2e2e;

  margin: 0; /* 👈 important pour éviter les écarts */
}

.result h2 {
  margin: 14px 0;

  font-size: 48px; /* 🔥 gros impact visuel */
  color: var(--accent);
  margin: 8px 0 14px 0;
}

/* DISCLAIMER */
.disclaimer {
  font-size: 14px;
  color: #777;
  line-height: 1.4;
}

.help-text {
  font-size: 0.8rem; /* beaucoup plus petit */
  color: #777;

  max-width: 720px;
  width: 100%;

  margin-top: -18px; /* rapproche du champ */
  margin-bottom: 10px;

  line-height: 1.4;
  text-align: left;
}

/* Cache visuellement l'astérisque dans le texte */
.help-text::first-letter {
  display: none;
}

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

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

  display: flex;

  background: #d9d9d9;
}

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

.image_section_quatre {
  width: 40%;

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

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

.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.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #6b7280;

  text-align: justify;
}

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

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

/* =========================
   BOUTON 
========================= */

.button_section_quatre {
  position: absolute;
  right: 180px; 
  bottom: 40px;
}

.button_section_quatre_primary {
  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;

  background-color: #D4A017; /* ✅ identique */
  transition: all 0.3s ease;

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

.button_section_quatre_primary:hover {
  background-color: #ecc04c;
  color: #1F2937;
}



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

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

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

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

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


/* ====================================================================================================
   SECTION 5
==================================================================================================== 

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

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

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

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

.h3_section_cinq {
  font-size: 2.5rem;
  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_cinq p {
  font-family: "Lato", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 30px;
}


.text_section_quatre {
  width: 60%;

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

  padding: 0 120px 0 80px;

   position: relative;
}


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

  position: relative;
}

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


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

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

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

.section_trois {
    padding: 80px 20px;
  }

  /* SOUS-TITRE */
  .subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
  }

  /* FORM */
  form#quoteForm {
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 22px;

    align-items: center;
  }

  /* LABELS */
  label {
    width: 100%;
    max-width: 420px;   /* 🔥 encore plus compact */
    display: flex;
    flex-direction: column;
    gap: 8px;

    font-size: 1.5rem;
  }

  /* INPUTS */
  select,
  input {
    padding: 14px 12px;
    font-size: 1.4rem;
  }

  select {
    font-family: "Lato", sans-serif;
    font-weight: 300;
  }

  /* HELP TEXT */
  .help-text {
    font-size: 0.75rem;
    margin-top: -14px;
    margin-bottom: 8px;
    max-width: 420px;
  }

  /* RESULT */
  .result {
    max-width: 650px;
    padding: 32px;
    margin-top: 50px;
  }

  .result p {
    font-size: 2.4rem;
  }

  .result h2 {
    font-size: 40px;
    margin: 6px 0 12px 0;
  }

  /* DISCLAIMER */
  .disclaimer {
    font-size: 13px;
  }  

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

.section_intro {
  padding: 70px 0;
}

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

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

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

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

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

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

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

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

  gap: 6px;

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

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

.h2_section_deux {
  font-size: 2.2rem;
}

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

.section_deux .divider {
  width: 300px;
  height: 2.3px;
  margin: 2px 0; 
}

.content_section_deux p {
  font-size: 1.3rem;
  line-height: 1.5;

  margin: 0;
  margin-top: 48px;

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

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

.section_trois {
    padding: 60px 0;
  }

  .section_trois .content {
    padding: 0 24px;
  }

  /* 🔥 CARDS EN COLONNE */
  .cards {
    flex-direction: column;
    align-items: center;

    gap: 24px;
    margin-top: 20px;
  }

  /* 🔥 CARTE ADAPTÉE MOBILE */
  .card {
    width: 100%;
    max-width: 420px;

    height: auto; /* 🔥 très important */
    padding: 60px 20px 24px 20px; /* 🔥 réduit énorme espace du desktop */
  }

  /* 🔥 ON SUPPRIME LE BOOKMARK */
  .bookmark-icon {
    display: none;
  }

  /* HEADER */
  .card-header h2 {
    font-size: 2rem;
  }

  /* DIVIDER PLUS FIN */
  .divider_card_section_trois {
    width: 80px;
    height: 3px;
    margin: 12px 0;
  }

  /* TEXTE */
  .card-body p {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  /* 🔥 OPTIONNEL : désactiver hover mobile */
  .card:hover {
    transform: none;
    background: #d4a017;
  }

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

.section_quatre {
    flex-direction: column;
    min-height: 40vh;
    position: relative;


  }

  
  /* TEXTE PAR DESSUS */
  .text_section_quatre {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 60px 24px;
    align-items: center;
    text-align: center;
  }

  /* DIVIDER CENTRÉ */
  .section_quatre .divider {
    align-self: center;
  }

  /* BOUTON MASQUÉ */
  .button_section_quatre {
    display: none;
  }


/* ====================================================================================================
   SECTION 5
==================================================================================================== */

section.section_cinq {
  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_cinq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.623);
  z-index: 0;
}

/* CONTENEUR */
.content_section_cinq {
  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_cinq,
.h3_section_cinq,
.section_cinq .divider,
.content_section_cinq 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;
}


/* ====================================================================================================
   SECTION BOUTONS RESPONSIVE
==================================================================================================== */

section.section_boutons_responsive {
  min-height: 40vh;

  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_boutons_responsive::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.623);
  z-index: 0;
}

/* CONTENEUR */
.content_section_boutons_responsive {
  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;
}

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

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

  
}