/* ==========================================================================
   1/ VARIABLES
   ========================================================================== */
:root {
  --color-bg: #f3f0e4;
  --color-bg-blur: rgba(166, 163, 135, 0.302);
  --color-bg-blur-hover: rgba(79, 77, 77, 0.8);
  --color-text: #000000;
  --color-text-light: #f0f0f0;
  --color-primary: #000000;
  --color-primary-hover: #000000;
  --color-secondary-bg: #f0f0f0;
  --color-secondary-bg-hover: #000000;
  --color-secondary-text: #000000;
  --color-secondary-text-hover: #fff;
  --color-slider-indicator: rgba(166, 163, 135, 0.5);
  --color-slider-indicator-active: rgba(166, 163, 135, 0.5);
  --color-progress-bar: rgba(227, 225, 204, 0.2);

  --font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  --border-radius: 50px;
  --header-height: 60px;
  --footer-height: 100px;
  --transition-fast: 0.3s ease;
  --transition-medium: 0.6s ease;
  --transition-slow: 0.7s ease;
}

@font-face {
  font-family: 'Jet Brains Mono';
  src: url('Fonts/JetBrainsMono-ExtraLight.ttf');
}
/* ==========================================================================
   2/ RESET
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   3/ BASE STYLES
   ========================================================================== */

body {
  background-color: var(--color-bg);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-family);
  min-width: 329px;
  padding-top: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
  touch-action: none;
}

.separator {
  border: none;
  height: 1px;
  background-color: #000000;
  margin: 40px auto; /* centre horizontalement */
  width: 94vw;       /* largeur relative à la fenêtre */
}


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

.header {
  position: fixed;
  top: 1.7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 94vw;
  height: var(--header-height);
  border-radius: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
  background-color: var(--color-bg-blur);
  backdrop-filter: blur(10px);
  transition:
    height var(--transition-medium),
    transform var(--transition-slow),
    opacity var(--transition-slow);
}

.header.expanded {
  height: 94vh;/* Menu déroulé mobile */
  height: 94dvh;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5em;
}

/* -----------------------------
  4.1/ Logo
------------------------------ */
.logo {
  display: flex;
  align-items: center;
  width: 150px;
  gap: 5px;
  cursor: pointer;
  transform: translateY(-6px);
  user-select: none;
}

/* -----------------------------
  4.2/ Media Queries
------------------------------ */

/* MOBILE (≤700px) */
@media screen and (max-width: 768px) {
  .header {
    width: 92.5vw;
    top: 0.9rem;
  }
}

/* TABLET (701px to 1000px) */
@media screen and (min-width: 769px) and (max-width: 1000px) {
  .header {
    width: 93.5vw;
  }
  .logo{
    margin-top:5px;
  }

}

/* DESKTOP (≥1001px) */
@media screen and (min-width: 1001px) {
  .logo {
  margin-top: 5px;
  }
}

/* ==========================================================================
   5/ MENU
   ========================================================================== */

/* -----------------------------
  5.1/ Desktop Menu
------------------------------ */
.menu-desktop {
  display: none; /* caché sur mobile */
  align-items: center;
  gap: 1.5rem;
}

.menu-desktop a {
  position: relative;
  padding-left: 1rem;
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: color var(--transition-fast), transform var(--transition-medium);
  font-family: Arial, Helvetica, sans-serif;
}

/* Petit point à gauche des liens */
.menu-desktop a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background-color: black;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
}

.menu-desktop a:hover::before,
.menu-desktop a:focus-visible::before,
.menu-desktop a.active::before {
  opacity: 1;
}

.menu-desktop a:hover,
.menu-desktop a:focus-visible {
  color: var(--color-primary-hover);
  outline: none;

}

.menu-desktop a.active {
  color: var(--color-primary);
}

/* -----------------------------
  5.2/ Mobile Toggle Button
------------------------------ */
.menu-toggle {
  display: none; /* caché desktop */
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transform: translateY(-6px);
  transition: transform var(--transition-fast);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.toggle-icon {
  width: 26px;
  height: 26px;
  color: var(--color-text);
  transition: transform var(--transition-fast);
}

.header.expanded .toggle-icon {
  transform: rotate(45deg);
}

/* -----------------------------
   5.3/ Mobile Dropdown Menu
------------------------------ */
.menu-dropdown {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
  overflow-y: auto;
  margin-top: 2rem;
  padding: 0 1.5rem 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.header.expanded .menu-dropdown {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* Navigation links inside dropdown */
.menu-nav {
  width: 100%;
  text-align: left;
}

.menu-nav a {
  display: block;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: color var(--transition-fast), transform var(--transition-medium);
}

.menu-nav a:hover,
.menu-nav a:focus-visible {
  color: rgb(68, 66, 66);
  outline: none;
}

/* -----------------------------
   5.4/ Menu Buttons (Mobile)
------------------------------ */
.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-top: auto;
}

.menu-buttons .primary,
.menu-buttons .secondary {
  padding: 0.8rem;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-medium);
  touch-action: manipulation;
}

/* Primary button styles */
.menu-buttons .primary {
  background: var(--color-primary);
  color: var(--color-text-light);
}

.menu-buttons .primary:hover,
.menu-buttons .primary:focus-visible {
  background: var(--color-primary-hover);
  color: var(--color-secondary-bg);
  outline: none;
  transform: scale(1.05);
}

/* Secondary button styles */
.menu-buttons .secondary {
  background: var(--color-secondary-bg);
  color: var(--color-secondary-text);
}

.menu-buttons .secondary:hover,
.menu-buttons .secondary:focus-visible {
  background: var(--color-secondary-bg-hover);
  color: var(--color-secondary-text-hover);
  outline: none;
  transform: scale(1.05);
}

/* -----------------------
   5.5/ MEDIA QUERIES
-------------------------*/

/* MOBILE (≤700px) */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .menu-dropdown {
    display: flex;
  }
  .menu-desktop {
    display: none;
  }
}

/* TABLET (701px to 1000px) */
@media screen and (min-width: 769px) and (max-width: 1000px) {
  .menu-toggle {
    display: none;
  }
  .menu-dropdown {
    display: none;
  }
  .menu-desktop {
    display: flex;
    margin-top: -7px;
  }
}

/* DESKTOP (≥1001px) */
@media screen and (min-width: 1001px) {

  .menu-toggle {
    display: none;
  }
  .menu-dropdown {
    display: none;
  }
  .menu-desktop {
    display: flex;
    margin-top: -7px;
  }
}
/* ==========================================================================
   6/ FOOTER
   ========================================================================== */

.footer {
  background: url('images/pexels-pixabay-220989.jpg') no-repeat center/cover;
  padding: 2rem 1rem;
  position: static;
  z-index: 999;


}

.footer-container {
  max-width: 95vw;
  margin: 0 auto;
  background-color: var(--color-bg-blur);
  backdrop-filter: blur(7px);
  border-radius: 15px;
  padding: 1.5rem 1.5rem 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

/* --- Top part of footer with sections --- */
.footer-top {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  text-align: left;
}

/* Individual footer sections */
.footer-section {
  flex: 1 1 200px;
  min-width: 225px;
  text-align: left;
  color: #000;
}

.footer-section h2 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-family: Arial, Helvetica, sans-serif;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.6rem;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-section a {
  display: block;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* --- Bottom part of footer with logo and copyright --- */
.footer-bottom {
  padding-top: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  overflow: hidden;
}

.footer-bottom .logo {
  margin: 0 auto;
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: center;
}


/* ==========================================================================
   7/ PAGE D'ACCEUIL 
   ========================================================================== */

/* -----------------------
   7.1/ SLIDER - GLOBAL
-------------------------*/

/* Conteneur global de l'image */
.image-container {
  width: 100vw;
  min-height: 700px;
  height: 96.7vh;
  height: 96.7dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-bottom: 2px;
  margin: 0 auto;
  position: relative;
}

/* Wrapper principal du slider */
.slider-wrapper {
  position: relative;
  width: 95vw;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
}

/* Chaque slide */
.slide-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; 
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  user-select: none;
  border-radius: 30px;
  z-index: 0;
}

.slide-wrapper.active {
  opacity: 1;
  z-index: 1;
}

/* Image de la slide */
.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  user-select: none;
  pointer-events: none;
}

/* -----------------------
   7.1.1 TEXTE DANS LES SLIDES
-------------------------*/

/* Texte en haut (slide 1) */
.slide-wrapper.active .slider-text {
  position: absolute;
  left: 50%;
  bottom: 150px;
  transform: translateX(-50%);
  width: 90%;
  color: var(--color-bg);
  text-align: center;
  z-index: 2;
  pointer-events: auto;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.slide-wrapper.active .slider-text h1 {
  font-family: 'forevs';
  text-transform: uppercase;
  font-variant: small-caps;
  word-spacing: 10px;
  font-weight: 400;
  font-size: 32px;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Texte central (slide 2) */
.slide-center-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 9;
  width: 90%;
  max-width: 800px;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-family: Arial, Helvetica, sans-serif;
}

.slide-center-text h2 {
  font-family: 'forevs';
  text-transform: uppercase;
  font-variant: small-caps;
  word-spacing: 10px;
  font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  margin: 0;
  line-height: 1.2;
}

/* Badge coin haut du texte central */
.slide-center-text .slide-corner {
  display: inline-block;
  color: #fff;
  border: 1.5px solid #ffffff;
  padding: 0.35rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  margin-bottom: 1.2rem;
  font-family: Arial, Helvetica, sans-serif;
}

/* ----------------------
   7.1.2 BOUTON CTA (slide 1)
-------------------------*/

.slide-wrapper.active .cta-button {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  padding: 0.75rem 1.5rem;
  background-color: #000;
  color: var(--color-bg);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 50px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  user-select: none;
  cursor: pointer;
  border: none;
}

/* Suppression margin-top pour le bouton dans slider-text */
.slide-wrapper.active .slider-text > a.cta-button {
  margin-top: 0;
}

/* Hover & focus bouton */
.slide-wrapper.active .cta-button:hover,
.slide-wrapper.active .cta-button:focus {
  background-color: #222;
  outline: none;
}

/* -----------------------
   7.1.3 INDICATEURS DU SLIDER
-------------------------*/

.slider-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  align-items: center;
  height: 8px;
  width: max-content;
  z-index: 10;
}

.indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-slider-indicator);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
  transition: all 0.3s ease;
}

.indicator.active {
  width: 80px;
  height: 6px;
  border-radius: 4px;
  background-color: var(--color-slider-indicator-active);
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--color-progress-bar);
  backdrop-filter: blur(10px);
  border-radius: 4px;
  transition: width 10s linear;
}

/* -----------------------
   7.1.4 WIDGET SLIDE 2
-------------------------*/

.slide-widget.centered {
  position: absolute;
  bottom: 1.5rem;
  right: 15px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(7px);
  background-color: var(--color-bg-blur);
  border-radius: 20px;
  padding: 0.4rem;
  width: 400px;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  gap: 0.8rem;
  z-index: 10;
}

.widget-img {
  width: 130px;
  height: 155px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.widget-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.widget-title {
  font-size: 1.2rem;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  color: #111;
}

.widget-category {
  font-style: italic;
  font-size: 1.1rem;
  font-family: Arial, Helvetica, sans-serif;
  color: #000000;
  margin-top: -0.2rem;
  margin-bottom: 0.5rem;
}

.widget-desc {
  font-size: 1rem;
  line-height: 1.4;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-bottom: 1rem;
  color: #000000;
}

.widget-button {
  align-self: start;
  font-size: 0.8rem;
  font-family: Arial, Helvetica, sans-serif;
  padding: 0.40rem 1.2rem;
  background-color: #000;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.widget-button:hover {
  background-color: #333;
}

/* Animation initiale widget */
:root {
  --slide-transform-start: translateY(30px);
}

@media (min-width: 769px) {
  :root {
    --slide-transform-start: translateX(30px);
  }
}

.slide-widget {
  opacity: 0;
  transform: var(--slide-transform-start);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-widget.animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* -----------------------
   7.1.5 ADAPTATION MOBILE
-------------------------*/

@media (max-width: 768px) {
  .image-container {
    margin-top: -9px;
  }
  .indicator{
    width: 6px;
    height: 6px;
  }
  .indicator.active{
    height: 5px;
  }
  /* Widget centré en bas */
  .slide-widget.centered {
    bottom: 2rem;
    padding: 0.4rem 0.4rem;
    gap: 0.6rem;
    max-width: 92%;
    border-radius: 20px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .slide-widget.centered.animated {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /* Widget image plus petite */
  .widget-img {
    width: 110px;
    height: 115px;
    border-radius: 12px;
  }

  /* Textes du widget adaptés */
  .widget-title {
    font-size: 18px;
  }

  .widget-category {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }

  .widget-desc {
    display: none;
  }

  .widget-button {
    font-size: 14px;
    padding: 0.4rem 1.5rem; /* correction faute padding */
  }

  /* Texte central slider */
  .slide-center-text h2 {
    font-size: 32px;
    word-spacing: 5px;
    margin-bottom: 1rem;
  }

  .slide-center-text {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
  }

  /* Badge slide-center */
  .slide-center-text .slide-corner {
    font-size: 12px;
    padding: 0.25rem 1rem;
    margin-bottom: 2rem;
  }
}

/* -----------------------
   7.1.6 ADAPTATION TABLET & DESKTOP
-------------------------*/

@media screen and (min-width: 769px) {

  /* Texte en haut à gauche (desktop) */
  .slide-wrapper.active .slider-text h2 {
    left: 40px;
    bottom: 120px;
    transform: none;
    text-align: left;
    width: auto;
    max-width: 100%;
    z-index: 10;
    font-size: clamp(1.8rem, 5vw, 3.8rem);
  }

  .slide-wrapper.active .slider-text {
    left: 40px;
    bottom: 53px;
    transform: none;
    text-align: left;
    width: auto;
    max-width: 50%;
    z-index: 10;
    font-size: clamp(1rem, 2.2vw, 1.4rem);
  }

  /* Bouton bas droite (desktop) */
  .slide-wrapper.active .cta-button {
    left: auto;
    right: 40px;
    bottom: 43px;
    transform: none;
    width: auto;
    padding: 0.75rem 4rem;
    font-size: 1rem;
    z-index: 10;
  }

  .slide-wrapper.active .slider-text > a.cta-button {
    margin-top: 2rem;
  }
}

/* -----------------------
   7.1.7 AUTRES
-------------------------*/

.icon-svg {
  margin-top: 3rem;
  width: 80px;
  height: auto;
  display: block;
  bottom: 5px;
}




/* -----------------------
   7.2/ Section À Propos
-------------------------*/
.section-a-propos {
  width: 94vw;
  max-width: 94vw;

  margin: 0 auto;
  background-color: var(--color-bg, #f5f5f5);
  border-radius: 30px;
  display: flex;
  align-items: flex-start;  /* texte en haut */
  justify-content: center;
}


.a-propos-container {
  width: 100%;
  font-family: 'forevs', sans-serif;
  color: var(--color-text, #333);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* alignement gauche */
  text-align: left;
}

.a-propos-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  font-variant: small-caps;
  font-weight: 400;
  gap: none;
  margin-bottom: -0.4rem;
}

.a-propos-division {
  gap: none;
  color: #000000;
  margin-bottom: 5px;
  font-family: 'ivypresto-display';
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.a-propos-text {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 2rem;
}

.a-propos-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #000;
  color: #fff;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.a-propos-button:hover {
  background-color: #333;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 700px) {
  .a-propos-container {
    align-items: center;   /* centre le bloc horizontalement */
    text-align: left;      /* mais garde l’alignement du texte à gauche */
    width: 90vw;
  }

  .a-propos-text{
    font-size: 16px;
  }
  .a-propos-title{
    font-size: 38px;
    width: 100%;
  }

  .a-propos-division{
    width: 100%;
    font-weight: 450;
  }

  .a-propos-button {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   7.3/ SECTION FONDATRICE
========================================================================== */

.section-fondatrice {
  width: 94vw;
  max-width: 94vw;
  margin: 0 auto;
  background-color: var(--color-bg);
  border-radius: 30px;
  box-sizing: border-box;
  margin-bottom: 3rem;
}

.fondatrice-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4rem;
  flex-wrap: nowrap;
}

.fondatrice-photo {
  flex: 1;
  max-width: 600px;
}

.fondatrice-photo img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.fondatrice-texte {
  flex: 1;
  min-width: 280px;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: var(--color-text, #000);
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.fondatrice-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: 'Forevs';
  text-transform: uppercase;
  font-variant: small-caps;
  font-weight: 400;
  gap: none;
  margin-bottom: -0.4rem;
}

.fondatrice-division {
  gap: none;
  color: #000000;
  margin-bottom: 5px;
  font-family: 'ivypresto';
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

/* ----- Lire plus ----- */
.toggle-texte {
  display: none;
}

.texte-complet {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.toggle-texte:checked ~ .texte-complet {
  display: flex;
}

.btn-lire-plus {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-family: 'ivypresto';
  font-style: italic;
  letter-spacing: 0.5px;
  color: #000000;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: underline wavy 1.3px;
  text-underline-offset: 4px;
}



/* ----- Responsive ----- */
@media screen and (max-width: 700px) {
  .fondatrice-container {
    flex-direction: column;
    gap: 2rem;
  }

  .fondatrice-photo img {
    max-width: 100%;
    margin: 0 auto;
  }

  .fondatrice-titre {
    font-size: 2rem;
    text-align: center;
  }

  .fondatrice-texte {
    text-align: left;
  }
}



/* ----------------------------------
   7.4/ Section Soins (Accueil)
--------------------------------- */
.soins-section {
  width: 94vw;
  max-width: 94vw;
  background-color: var(--color-bg, #f5f5f5);
  border-radius: 30px;
  display: flex;
  align-items: flex-start; /* texte en haut */
  justify-content: center;
  flex-direction: column; /* pour contenir le carrousel en colonne */
}

.nos-soins-container {
  width: 100%;
  font-family: 'forevs', sans-serif;
  color: var(--color-text, #333);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* alignement gauche */
  text-align: left;
  padding: 2rem 1.5rem 0 1.5rem;
}

h2.section-title {
  font-family: 'Forevs';
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  font-variant: small-caps;
  font-weight: 400;
  margin-bottom: -0.4rem;
}

h3.division-soins {
  color: #000000;
  margin-bottom: 2rem;
  font-family: 'ivypresto';
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* alignement gauche */
  text-align: left;
  gap: 0;
}

p.section-subtitle {
  flex: 1;
  min-width: 280px;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: var(--color-text, #000);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-top: 0;
  margin-bottom: 2rem;
}

/* Carrousel */
.carrousel {
  position: relative;
  width: 100vw;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-left: 25px;
  padding-top: 20px;
  padding-bottom: 50px;
  scrollbar-width: none;
}

.carrousel::-webkit-scrollbar {
  display: none;
}

.carrousel-track {
  display: flex;
  gap: 16px;
}

.carrousel-spacer {
  flex: 0 0 auto;
  width: 2px; /* ou plus si tu veux plus d’espace */
  height: 1px; /* invisible */
}

.soin-card {
  position: relative;
  flex: 0 0 auto;
  width: 80vw;
  max-width: 400px;
  height: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.soin-card:hover {
  transform: scale(1.01);
}

.soin-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.soin-content {
  position: absolute;
  width: 100%;
  color: rgb(255, 255, 255);
  padding: 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-s;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 70%);
}

.soin-title {
  font-size: clamp(1rem, 4vw, 2rem);
  font-family: 'Forevs';
  text-transform: uppercase;
  font-variant: small-caps;
  font-weight: 400;
  margin-bottom: -0.4rem;
  gap: 0;
}

/* Correction de la classe */
.division-soins {
  color: #ffffff;
  font-family: 'ivypresto';
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-top: 0.2rem;
}

.soin-subtitle {
  font-size: 0.95rem;
  font-style: italic;
}



/* ==========================================================================
   8/ PAGE À PROPOS
   ========================================================================== */


       /* ---- HERO SECTION ---- */
    .hero-section {
    position: relative;
    z-index: 1;
    top: -17px;

    width: 100vw;
    height: 75vh;
    margin-inline: auto;
    padding: 0 10px;

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

    color: white;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;

    background-image: url('images/pexels-krivitskiy-7738940.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    }

    .hero-section h1 {
    font-family: 'Forevs', sans-serif;
    font-size: 42px;
    font-weight: 400;
    font-variant: small-caps;
    text-transform: uppercase;
    word-spacing: 4px;
    margin-bottom: 0.3em;
    }

    /* ---- CARD STACK ---- */
    .card-stack-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 4rem 1rem 3rem;
      box-sizing: border-box;
    }

    .card-stack {
      position: relative;
      width: 95vw;
      height: 700px;
      touch-action: pan-y;
    }

    .card {
      position: absolute;
      width: 100%;
      height: 100%;
      background: #e7e2d5;
      border-radius: 1rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
      text-align: center;
      left: 0;
      top: 0;
      padding: 1rem;
    }

    .stack-transition {
      transition: transform 0.4s ease, opacity 0.4s ease;
    }

    /* ---- TEXTE ---- */
    .nos-soins-textes {
      display: flex;
      flex-direction: column;
      text-align: left;
      gap: 1rem;
      color: var(--color-text, #000000);
      font-size: clamp(1rem, 2.2vw, 1.4rem);
      line-height: 1.6;
    }

    .titre-division {
      width: 100%;
      text-align: left;
      position: relative;
      padding: 0 0 30px;
      border-radius: 30px;
      box-sizing: border-box;
    }

    .numero-division {
      font-family: 'ivy presto';
      font-style: italic;
      display: flex;
      font-weight: 500;
      font-size: clamp(1rem, 3vw, 2rem);
      color: #000;
      margin-bottom: 5px;
    }

    .titre-division h2,
    .card h2 {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      font-size: 70px;
      font-weight: 399;
      font-family: 'Forevs', serif;
      color: #000;
      line-height: 0.8;
      text-transform: uppercase;
      font-variant: small-caps;
    }

    .titre-gauche {
      flex: 1;
      text-align: left;
    }

    .titre-droite {
      flex: 1;
      text-align: right;
    }

        /* Responsive pour desktop : les cartes côte à côte */
    @media (min-width: 1200px) {

    .card-stack-wrapper {
    display: flex;
    justify-content: center;
    }
      #cardStack {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        position: static;
        height: auto;
      }

      .card {
        position: static !important;
        width: 100%;
        min-width: 340px;
        min-height: 900px;
        transform: none !important;
        opacity: 1 !important;
        cursor: default;
      }
    }
/* ==============================
   9/ PAGE SOINS
============================== */

  /* INTRO SECTION */
  .page-soins-intro {
    position: relative;
    z-index: 1;
    top: -17px;

    width: 100vw;
    height: 75vh;
    margin-inline: auto;
    padding: 0 10px;

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

    color: white;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;

    background-image: url('images/2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .page-soins-intro h1 {
    font-family: 'Forevs', sans-serif;
    font-size: 42px;
    font-weight: 400;
    font-variant: small-caps;
    text-transform: uppercase;
    word-spacing: 4px;
    margin-bottom: 0.3em;
  }

  .page-soins-intro p {
    font-size: 18px;
  }

  /* CATEGORIES CONTAINER */
  .page-soins-categories {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    margin-inline: auto;
    margin-bottom: 160px;
  }

  /* CARDS */
  .page-soins-card {
    position: relative;

    width: 95vw;
    height: 80vh;
    max-height: 480px;

    margin-top: 25px;
    padding: 19px;

    background: #e7e2d5;
    color: #000;
    font-weight: 600;
    font-size: 1.5rem;
    text-align: left;

    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(71, 45, 2, 0);
    overflow: hidden;

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

    scroll-margin-top: 80px;
  }

  .page-soins-card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
  }

  .page-soins-card-number {
    position: absolute;
    bottom: -50px;
    right: 8px;

    font-family: 'Forevs', sans-serif;
    font-size: 180px;
    font-weight: 300;
    text-transform: uppercase;

    color: rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .page-soins-card-title {
    flex-grow: 1;

    font-family: 'Forevs', sans-serif;
    font-size: 46px;
    font-weight: 300;
    font-variant: small-caps;
    text-transform: uppercase;
    word-spacing: 4px;
    text-align: left;
  }

  .page-soins-card-text {
    flex-grow: 1;
    margin-top: 20px;

    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    max-width: 500px;
  }

  /* CARD BUTTONS */
  .page-soins-card-button {
    width: 40px;
    height: 40px;
    padding: 0;

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

    border-radius: 50%;
    background: black;
    color: white;
    border: none;
    cursor: pointer;

    font-size: 16px;

    transition: background 0.3s ease, transform 0.3s ease;
  }

  .page-soins-card-button:hover {
    background: rgba(0, 0, 0, 0.85);
  }

  .page-soins-card-button svg {
    width: 20px;
    height: 20px;
    stroke: white;
  }

  /* CARD BUTTONS CONTAINER */
  .page-soins-card-buttons {
    display: flex;
    gap: 10px; /* espace entre les boutons */
    margin-top: 20px;
  }

  /* FLOATING BAR */
  .floating-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);

    max-width: 320px;
    width: 100%;
    padding: 5px 5px;
    border-radius: 30px;

    background: rgba(166, 163, 135, 0.302);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    display: flex;
    gap: 6px;

    box-sizing: border-box;
    z-index:2;

    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .floating-bar.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .floating-bar button {
    flex-grow: 1;
    min-width: 20px;
    padding: 13px 10px;

    background: transparent;
    border: none;
    border-radius: 90px;

    color: rgb(0, 0, 0);
    font-weight: 300;
    font-size: 0.85rem;
    cursor: pointer;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition: background 0.3s, flex-grow 0.3s, color 0.3s;
  }

  .floating-bar button.active {
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;

    flex-grow: 3;
    min-width: 80px;

    text-decoration: none;
  }

  @media (max-width: 350px) {
    .floating-bar {
      max-width: 280px;
    }

    .floating-bar button.active {
      min-width: 70px;
      font-size: 0.8rem;
    }
  }

  /* CARD OVERLAY */
.card-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;

  background: rgba(137, 134, 111, 0.3);
  backdrop-filter: blur(10px);

  color: black;
  border-radius: 20px;
  padding: 18px;


  z-index: 1;

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

  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 10px;

  opacity: 0;
  visibility: hidden;

  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.card-overlay p {
 font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
 font-weight: normal;
 font-size: 18px;

}

.card-overlay h3 {
  font-family: 'forevs';
  font-variant: small-caps;
  text-transform: uppercase;
  font-weight: 400;
  word-spacing: 4px;
  padding-top: 50px;
  padding-bottom: 15px;


}
.card-overlay.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


  /* CLOSE OVERLAY BUTTON */
  .close-overlay {
    position: absolute;
    top: 16px;
    right: 16px;

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

    color: #333;
    z-index: 20;

    transition: transform 0.2s ease;
  }

  .close-overlay:hover {
    transform: scale(1.1);
  }

  .close-overlay .icon-close {
    width: 24px;
    height: 24px;
    fill: black;
  }


/* ==========================================================================
  11/ PAGE FAQ
   ========================================================================== */

.faq-section {
  padding: 112px 5%;
  max-width: 95vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Montserrat', sans-serif;
  color: #000;
}

.faq-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.64px;
  margin: 0;
}

.faq-subtext {
  font-size: 18px;
  line-height: 150%;
  margin: 0 0 32px 0;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border-top: 1px solid #000;
  padding: 20px 0;
}

.accordion-header {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  transition: color 0.3s ease;
}

.accordion-header:hover,
.accordion-header:focus {
  color: #000;
  outline: none;
}

.accordion-header .icon {
  font-size: 22px;
  transition: transform 0.3s ease;
  user-select: none;
  color: #000;
}

.accordion-item[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.accordion-content {
  margin-top: 12px;
  font-size: 16px;
  line-height: 150%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  color: #000;
}

.accordion-item[aria-expanded="true"] .accordion-content {
  max-height: 300px; /* adapte si contenu plus grand */
  opacity: 1;
}

.faq-button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-bg);
  background-color: #000;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  margin-top: 32px;
  width: fit-content;
  border: 1.5px solid transparent;
}

.faq-button:hover {
  background-color: var(--color-bg);
  border-color: #000;
  color: #000;
}

@media (max-width: 700px) {
  .faq-section {
    padding: 90px 5%;
  }

  .faq-title {
    font-size: 24px;
    letter-spacing: -0.48px;
  }

  .faq-subtext {
    font-size: 16px;
  }
}


/* ==========================================================================
  12/ PAGE RÉSERVATIONS
   ========================================================================== */
.reservation-section{
  width: 95vw; 
  max-width: 1200px;
  margin: 0 auto; 
  padding: 6rem 1rem;
  background-color: #ffffff;
}

body.page-reservation {
  background-color: #ffffff;
}

/* ==========================================================================
  13/  Page Mention Légales
   ========================================================================== */
.mentions-legales {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 2rem;
  color: #222;
}

.mentions-title {
  font-family: 'forevs', serif;
  text-align: center;
  font-size: 3rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #000;
}

.mentions-intro {
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.mentions-separator {
  border: none;
  border-top: 1.5px solid #000000;
  margin: 2rem auto;
  max-width: 200px;
}

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

.mentions-subtitle {
  font-size: 1.8rem;
  border-left: 2.5px solid #000;
  padding-left: 10px;
  margin-bottom: 1rem;
  color: #333;
}

.mentions-list {
  padding-left: 1.5rem;
  list-style: disc;
}

.mentions-list li {
  margin-bottom: 0.6rem;
}

.mentions-legales a {
  color: #000000;
  text-decoration: underline;
  transition: color 0.3s ease;
}



@media screen and (max-width: 700px) {
  .mentions-title {
    font-size: 2rem;
  }

  .mentions-subtitle {
    font-size: 1.4rem;
  }

  .mentions-legales {
    padding: 5rem 1rem;
    font-size: 1rem;
  }
}

/* ==========================================================================
  14/  Page politique de confidentialité
   ========================================================================== */
.politique-confidentialite {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem;
  color: #222;
}

.politique-title {
  font-family: 'forevs', serif;
  text-align: center;
  font-size: 3rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 1rem;
  margin-top: 3rem;
  color: #000;
}

.politique-intro {
  text-align: left;
  font-style: italic;
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 2rem;
}

.politique-separator {
  border: none;
  border-top: 1.5px solid #000000;
  margin: 2rem auto;
  max-width: 200px;
}

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

.politique-subtitle {
  font-size: 1.8rem;
  border-left: 2.5px solid #000;
  padding-left: 10px;
  margin-bottom: 1rem;
  color: #333;
}

.politique-list {
  padding-left: 1.5rem;
  list-style: disc;
}

.politique-list li {
  margin-bottom: 0.6rem;
}

.politique-confidentialite a {
  color: #000000;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.politique-confidentialite a:hover {
  color: #444;
}

.politique-confidentialite p.spaced {
  margin-bottom: 2rem;
}

@media screen and (max-width: 700px) {
  .politique-title {
    font-size: 2rem;
  }

  .politique-subtitle {
    font-size: 1.4rem;
  }

  .politique-confidentialite {
    padding: 2rem 2rem;
    font-size: 1rem;
  }
}


/* ==========================================================================
  15/  PAge Contact
   ========================================================================== */
.page-contact {
  max-width: 100vw;
  margin: 0 auto;
}


/* === HEADER CONTACT === */
.contact-header {
  text-align: center;
  position: relative;

}

.contact-header h1 {
  font-size: clamp(6rem, 100vw, 8rem);
  font-family: 'forevs';
  font-weight: 300;
  text-transform: uppercase;
  margin-top: 3rem;
}

.trait-horizontal {
  height: 1.5px;
  background: #000;
  width: 100%;
  max-width: 100vw;
}

/* === BODY GRID === */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 2rem;
  align-items: center;
  height: 50vh;
}

.contact-left {
  text-align: center;
}

.asterisk {
  font-family: 'forevs';
  font-size: 9rem;
  font-weight: 700;
  line-height: 1;
}

.trait-vertical {
  background: #000;
  width: 1.5px;
  height: 100%;
  max-height: 100vh;
  align-self: stretch;
}

.contact-right p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-right a {
  color: inherit;
  text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 768px) {
  .contact-body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trait-vertical {
    display: none;
  }

  .contact-left {
    margin-bottom: 2rem;
  }
}