/* ============================= */
/*       BASE & CONFIGURATION     */
/* ============================= */

/* === RESET GLOBAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === POLICES === */
html {
  font-size: 0.8vw;
  font-family: "figtree", sans-serif;
  font-weight: 400;
  font-style: normal;
  word-wrap: break-word;
}

/* === BODY & BACKGROUND === */
body {
  min-height: 100vh;
  background-image: url("../images/background_sombre.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  font-family: "figtree", sans-serif;
  color: #FDF9F4;
}

/* Pages spécifiques */
body.packs-page {
  background-image: url('../images/background_sombre.webp');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: auto 66vh;
  background-color: rgba(31, 31, 31);
}

body.contact-page {
  /* Styles spécifiques pour la page contact */
}

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

h1 {
  font-size: 7rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  color: #FDF9F4;
}

h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 800;
  color: #FDF9F4;
  text-align: left;
  text-transform: uppercase;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #FDF9F4;
  text-align: center;
}

p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #FDF9F4;
}

/* === UTILITAIRES TYPOGRAPHIQUES === */
.accent {
  display: inline-block;
  color: #9A47FF;
}

.bold {
  font-weight: 600;
}

.opacity {
  color: rgba(253, 249, 244, 0.6);
  font-size: 1rem;
}

.ht {
  font-size: 0.6em;
  vertical-align: super;
  line-height: 1;
  margin-left: 0.2rem;
}

/* ============================= */
/*            LIENS               */
/* ============================= */

a {
  color: inherit;
  text-decoration: none;
}

/* === LIENS AVEC ICÔNES === */
.links-inline {
  font-size: 1.1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* === LIENS DANS LE TEXTE "MAILLAGE" === */
.maillage a.text-underline {
  color: #FDF9F4;
  text-decoration: underline;
  text-underline-offset: 0.4rem;
  transition: color 0.3s ease;
  /* ON RETIRE les propriétés background-clip qui rendent le texte transparent */
}

.maillage a.text-underline:hover {
  color: #9A47FF;
  text-decoration: underline;
  /* Garde le soulignement au hover */
}

.links-inline .lien {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: 0.3s ease;
  color: #FDF9F4;
}

.links-inline .lien:hover {
  color: #9A47FF;
}

/* === SUPPRESSION SOULIGNEMENT LIENS FOOTER === */
.site-footer .text-underline {
  text-decoration: none !important;
  color: #FDF9F4;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.site-footer .lien:hover .text-underline {
  color: #9a47ff;
  background: none;
}

/* === EFFET LIEN "EN SAVOIR PLUS" === */
.lien {
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.text-underline {
  position: relative;
  text-decoration: underline;
  text-underline-offset: 0.4rem;
  background: linear-gradient(60deg, #FDF9F4 100%, #FDF9F4 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  transition: background-position 0.5s ease;
}

/* Changement de couleur progressif de gauche à droite */
.lien:hover .text-underline {
  background: linear-gradient(60deg, #9A47FF 0%, #9A47FF 30%, rgba(108, 0, 255, 0.7) 50%, rgba(108, 0, 255, 0.3) 70%, #FDF9F4 100%);
  background-size: 300% 100%;
  background-position: 0% 0;
  background-clip: text;
  -webkit-background-clip: text;
}

/* Animation pour l'icône info */
.lien:hover .info-icon {
  transform: scale(1.1);
  border-color: #9A47FF;
  transition: all 0.5s ease;
}

/* ============================= */
/*           BOUTONS              */
/* ============================= */

button {
  all: unset;
  cursor: pointer;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: solid 1px white;
  color: white;
  font-size: 1.1rem;
  font-style: normal;
  margin-right: 6px;
}

.info-icon::before {
  content: "i";
}

.plus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: solid 1px white;
  color: white;
  font-size: 1.1rem;
  font-style: normal;
  margin-right: 6px;
  line-height: 1;
  /* Force la hauteur de ligne */
}

.plus-icon::before {
  content: "+";
  display: block;
  position: relative;
  top: -0.05rem;
  /* Ajustement vertical fin */
  left: 0.02rem;
  /* Ajustement horizontal fin si nécessaire */
}

/* Animation pour l'icône plus au hover (même comportement que info-icon) */
.lien:hover .plus-icon {
  transform: scale(1.1);
  border-color: #9A47FF;
  transition: all 0.3s ease;
}

/* === ICÔNE MINUS === */
.minus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: solid 1px white;
  color: white;
  font-size: 1.1rem;
  font-style: normal;
  margin-right: 6px;
  line-height: 1;
}

.minus-icon::before {
  content: "−";
  /* Symbole minus plus joli que - */
  display: block;
  position: relative;
  top: -0.05rem;
}

/* Animation pour l'icône minus au hover */
.lien:hover .minus-icon {
  transform: scale(1.1);
  border-color: #9A47FF;
  transition: all 0.3s ease;
}

/* === ICÔNE LIEN PAGE === */
.icon-lien {
  height: 1.1rem;
  width: 1.1rem;
  display: inline-block;
}

/* === CTA PRINCIPAL === */
.cta-hero {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  background-blend-mode: multiply;
  border: solid 1px #9A47FF;
  border-radius: 0.8rem;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  text-align: center;
  color: #FDF9F4;
  user-select: none;
  z-index: 0;
  transition: transform 0.4s ease;
  width: 60%;
}

.cta {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(60deg, #9A47FF 0%, #6D00FF 70%);
  border-radius: 0.8rem;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  text-align: center;
  color: #FDF9F4;
  user-select: none;
  z-index: 0;
  transition: transform 0.4s ease;
  width: 60%;
  transition: transform 0.2s ease-out,
    box-shadow 0.2s ease-in;
}

.cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(60deg, #9A47FF 0%, #6D00FF 70%);
  opacity: 0;
  pointer-events: none;
  mask-image: linear-gradient(to left,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.5) 40%,
      rgba(0, 0, 0, 1) 60%,
      rgba(0, 0, 0, 1) 100%);
  mask-size: 200% 100%;
  mask-position: right;
  transition: opacity 0.45s ease, mask-position 0.45s ease;
}

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

.cta-reflect:hover .cta-bg {
  opacity: 1;
  mask-position: left;
  filter: brightness(1.2);
}

/* === EFFET REFLET === */
.cta-reflect::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 50%,
      transparent 100%);
  opacity: 1;
  transform: skewX(60deg);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.cta-reflect:hover::after {
  animation: glimmer 0.5s ease-out forwards;
  opacity: 1;
}

@keyframes glimmer {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}

.cta-hero:focus {
  outline: 1px solid #9A47FF;
  outline-offset: 1.6px;
}

.plus-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  margin-right: 1rem;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.plus-circle::before {
  content: "+";
}


/* === GROUPE CTA HERO === */
.hero-cta-group {
  margin-top: 2vw;
  display: flex;
  gap: 3vw;
}

.hero .cta-hero {
  padding: 0.8vw 4vw;
}

/* ============================= */
/* NAVIGATION */
/* ============================= */
nav {
  position: fixed;
  width: 100%;
  z-index: 1000;
  font-size: 1.3rem;
  /* Transition pour le background quand on scroll */
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  height: 4.3vw;
}

/* Background blur quand on scroll */
nav.scrolled {
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(60px);
  backdrop-filter: blur(60px);
  background-blend-mode: multiply;
}

.categories,
.call-to,
.container_logo {
  top: 0.6rem;
  position: fixed;
  border-radius: 2.5rem;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* === LOGO === */
.container_logo {
  position: fixed;
  top: 0.95vw;
  left: 5vw;
  z-index: 1000;
  /* Centrage vertical parfait du logo */
  height: 3rem;
  /* Même hauteur que les autres éléments */
  justify-content: center;
  /* Centre le contenu horizontalement */
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 2.4rem;
  width: auto;
  display: block;
}

/* === CATÉGORIES === */
.categories {
  padding: 0.8rem 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  gap: 2vw;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  background-blend-mode: multiply;
  /* Transition pour masquer le background quand nav.scrolled est actif */
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* Quand la nav a le background, on retire celui des catégories */
nav.scrolled .categories {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.categories a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.categories a:hover {
  background-color: rgba(200, 200, 200, 0.1);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

/* === BOUTON CONTACT === */
.mobile-call-button {
  display: none;
}

.call-to {
  position: fixed;
  right: 5vw;
  top: 0.76vw;
  overflow: hidden;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(60deg, #9A47FF 0%, #6D00FF 70%);
  align-items: center;
  font-weight: 600;
  transition: filter 0.4s ease;
  color: #FDF9F4;
  border-radius: 2rem;
  cursor: pointer;
  z-index: 1000;
  height: 3.4rem;
  /* Hauteur cohérente */
  box-sizing: border-box;
}

.call-to:hover {
  animation: brightness-wave 0.5s ease-out forwards;
}

@keyframes brightness-wave {
  0% {
    filter: brightness(1);
  }

  40% {
    filter: brightness(1.2);
  }

  100% {
    filter: brightness(1);
  }
}

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

.hero {
  max-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  text-align: left;
  color: #FDF9F4;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 8vw;
  max-width: 50%;
  font-family: "figtree", sans-serif;
  margin: 15vw 0;

}

.hero-content .accent {
  margin-top: 2rem;
  font-size: 2rem;
  font-weight: 500;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
}

.hero p {
  font-size: 2rem;
  line-height: 1.5;
}

/* === HERO SERVICES === */
.services-hero {
  max-height: 66vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  color: #FDF9F4;
  text-align: center;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: auto 66vh;
}

.services-hero-content {
  max-width: 66vw;
  width: 100%;
  font-family: "figtree", sans-serif;
  margin: 10vw 0;
}

.services-hero-content h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.services-hero-content p {
  font-size: 1.8rem;
  line-height: 1.5;
}

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

.site-footer {
  background-color: rgba(20, 20, 20);
  padding: 4vw 2.5vw 1vw 2.5vw;
  font-family: 'Figtree', sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  padding: 0 2vw;
  box-sizing: border-box;
  margin-bottom: 2vw;
}

.footer-contact h2,
.footer-navigation h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  margin-top: 3rem;
  font-weight: 600;
}

.footer-contact,
.footer-navigation {
  text-align: left;
}

.footer-contact .contact-details {
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.contact-footer {
  display: flex;
  align-items: center;
  gap: 0.6vw;
  margin-bottom: 1vw;
}

.icon-box {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
}

.icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.footer-navigation ul li:hover a {
  color: #9a47ff;
}

.footer-navigation li {
  margin-bottom: 0.4vw;
}

/* === FLEX ROW POUR LES LI DU FOOTER NAVIGATION === */
.footer-navigation ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-navigation .icon-box {
  flex-shrink: 0;
  /* Empêche l'icône de rétrécir */
}

.footer-slogan,
.footer-legal {
  text-align: center;
  font-size: 1rem;
}

.footer-legal {
  margin-bottom: 0;
}

.footer-slogan {
  font-weight: 500;
  margin-top: 4vw;
  margin-bottom: 1rem;
}

.siret-placeholder {
  font-weight: bold;
  letter-spacing: 0.06em;
}

/* ============================= */
/*        AMÉLIORATION UX         */
/* ============================= */

/* États de focus améliorés pour l'accessibilité */
.lien[data-toggle="details"]:focus {
  outline: 2px solid #9A47FF;
  outline-offset: 2px;
  border-radius: 4px;
}


/* ============================= */
/*            COOKIES            */
/* ============================= */
/* Cookie Popup Styles */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cookie-popup {
  background: #FEFAF6;
  border-radius: 1vw 1vw 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  padding: 30px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.cookie-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(60deg, #9A47FF, #6D00FF);
}

.cookie-overlay.show .cookie-popup {
  transform: translateY(0);
}

.cookie-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.cookie-icon {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  /* garde toujours un carré */
  background: linear-gradient(60deg, #9A47FF, #6D00FF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
}

.cookie-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.cookie-text {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.cookie-text a {
  color: #6D00FF;
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  flex: 1;
  min-width: 120px;
}

.cookie-btn-accept {
  background: linear-gradient(60deg, #9A47FF, #6D00FF);
  color: #FEFAF6;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.cookie-btn-decline {
  background: #FEFAF6;
  color: #666;
  border: 2px solid #e9ecef;
}

.cookie-btn-decline:hover {
  background: #FEFAF6;
  transform: translateY(-2px);
}

.cookie-btn-settings {
  background: transparent;
  color: #6D00FF;
  border: 2px solid #6D00FF;
  flex: none;
  min-width: auto;
}

.cookie-btn-settings:hover {
  background: #6D00FF;
  color: #FEFAF6;
  transform: translateY(-2px);
}

/* Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #FEFAF6;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 10001;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.9);
  transition: all 0.3s ease;
}

.cookie-settings-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.settings-header {
  text-align: center;
  margin-bottom: 25px;
}

.settings-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 10px;
}

.settings-header p {
  font-size: 1.2rem !important;
}

.cookie-category {
  margin-bottom: 20px;
  padding: 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  transition: border-color 0.3s ease;
}

.cookie-category:hover {
  border-color: #6D00FF;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.category-title {
  font-weight: 600;
  color: #333;
  font-size: 1.2rem;
}

.category-description {
  color: #666;
  font-size: 1.2rem;
  line-height: 1.5;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 25px;
  background: #666;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: #6D00FF;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  background: #FEFAF6;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-switch.active::after {
  transform: translateX(25px);
}

.settings-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.hidden {
  display: none !important;
}

/* ============================= */
/*   STYLES SPÉCIFIQUES PAGE CONTACT  */
/* ============================= */

/* === SUPPRESSION SOULIGNEMENT LIENS CONTACT === */
.contact-page .footer-navigation .text-underline {
  text-decoration: none !important;
  color: #FDF9F4;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.contact-page .footer-navigation .lien:hover .text-underline {
  color: #9a47ff;
  background: none;
}

/* === AUGMENTATION TAILLE TEXTE LIENS CONTACT === */
.contact-page .footer-navigation ul li .text-underline {
  font-size: 1.2rem;
  /* Augmentation de la taille */
}

/* .contact-page .footer-navigation .icon-box {
  width: 2rem;
  height: 2rem;
} */

/* ============================= */
/*           RESPONSIVE           */
/* ============================= */

@media (max-width: 768px) {

  body {
    background-position-x: 82%;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
  }

  body.packs-page {
    background-position-x: 82%;
  }

  body.contact-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: rgba(31, 31, 31, 0.9);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    pointer-events: none;
    z-index: -1;
  }

  /* === BASE === */
  html {
    font-size: 1.5vw;
  }

  /* === TYPOGRAPHIE === */
  h2 {
    font-size: 4rem;
    margin-bottom: 6rem;
    line-height: 1.2;
  }

  h3 {
    font-size: 5rem;
    margin-bottom: 6rem;
  }

  p {
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 20rem;
  }

  li {
    font-size: 3rem;
  }

  /* === NAVIGATION MOBILE === */
  nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 2rem 0;
    padding-bottom: 2rem;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 15vw;
  }

  .container_logo {
    padding: 2rem 2rem;
    border-radius: 9rem;
    position: relative;
    z-index: 1002;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    top: 2.3vw;
    left: 0;
    justify-content: left;
  }

  .logo img {
    height: 5rem;
  }

  /* Menu burger - État fermé */
  .categories {
    position: fixed;
    top: 0;
    left: -100vw;
    /* Caché par défaut */
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: linear-gradient(60deg, #9A47FF 0%, #6D00FF 70%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: none;
    transition: left 0.3s ease;
    z-index: 999;
    box-sizing: border-box;
  }

  /* Menu burger - État ouvert */
  .categories.menu-open {
    left: 0;
    /* Visible quand la classe menu-open est ajoutée */
  }

  .categories a {
    font-size: 4rem;
    font-weight: 600;
    padding: 2rem 3rem;
    width: auto;
    text-align: center;
    border-radius: 20rem;
    display: block;
  }

  /* Bouton burger */
  .burger-menu {
    display: block;
    position: fixed;
    right: 3rem;
    top: 2rem;
    width: 8rem;
    height: 8rem;
    /* Même hauteur que largeur pour un carré parfait */
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    /* Espacement entre les lignes */
  }

  .burger-line {
    display: block;
    width: 7rem;
    height: 3px;
    background: #FDF9F4;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
  }

  /* Animation du burger quand actif - Méthode propre */
  .burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
  }

  .burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
  }

  /* === BOUTON CONTACT === */
  .call-to {
    display: none;
  }

  .mobile-call-button {
    margin-top: 1rem;
    position: fixed;
    right: 4rem;
    bottom: 4rem;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: #FDF9F4;
    /* Couleur de la bordure */
    z-index: 10001;
    /* CHANGÉ : plus élevé que nav (1000) et nav.scrolled */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(154, 71, 255, 0.4);
    padding: 4px;
    /* Épaisseur de la bordure */

    /* Isolation pour éviter les interférences du backdrop-filter */
    isolation: isolate;
  }

  .mobile-call-button::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(60deg, #9A47FF 0%, #6D00FF 70%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
    /* Ajouter la transition sur le pseudo-élément */
  }

  .mobile-call-button:hover {
    /* Remplacer transform: scale() par transform: translateZ(0) pour garder la position */
    transform: translateZ(0);
    filter: brightness(1.1);
  }

  /* Alternative : animer le pseudo-élément à la place */
  .mobile-call-button:hover::before {
    transform: scale(1.05);
    /* L'effet de scale sur le background seulement */
  }

  .mobile-call-button img {
    width: 8.6rem;
    height: 8.6rem;
    object-fit: contain;
    position: relative;
    /* S'assurer que l'image reste au-dessus du pseudo-élément */
    z-index: 1;
  }

  /* === HERO MOBILE === */
  .hero {
    max-height: 100vh;
    padding: 0 3rem;
  }

  .hero-content {
    padding-left: 1rem;
    max-width: 100%;
    width: 100%;
    margin: 30vw 0 20vw 0;
    text-align: center;
  }

  .hero h1 {
    font-size: 6rem;
    word-wrap: break-word;
    hyphens: auto;
  }

  .hero p {
    font-size: 4rem;
  }

  .hero h1,
  .hero .hero-content p {
    margin-bottom: 4rem;
  }

  .hero .hero-content p .accent {
    color: #FDF9F4;
    font-weight: 600;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    /* gap: 2rem;
    margin-top: 2rem; */

  }

  .hero .cta {
    padding: 3rem 4rem;
    /* max-width: 280px; */
    font-size: 3rem;
    /* border-radius: 2rem; */
  }

  .hero-content .accent {
    font-size: 3rem;
  }

  .hero .cta-hero {
    width: 100%;
    padding: 3rem 4rem;
    font-size: 3rem;
    border-radius: 8px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  /* === HERO SERVICES MOBILE === */
  .services-hero {
    max-height: 60vh;
    padding: 0 1rem;
  }

  .services-hero-content {
    max-width: 100%;
    margin: 15vw 0 8vw 0;
  }

  .services-hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
  }

  .services-hero-content p {
    font-size: 1.2rem;
  }

  /* === BOUTONS MOBILE === */
  .cta {
    padding: 3rem 4rem;
    width: 80%;
    max-width: 280px;
    font-size: 3rem;
    border-radius: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(60deg, #9A47FF 0%, #6D00FF 70%);
    border: 0;
  }

  /* === LIENS AVEC ICÔNES === */
  .links-inline {
    flex-direction: column;
    gap: 3rem;
    text-align: left;
  }

  .links-inline .lien {
    justify-content: left;
  }

  .icon-lien {
    height: 3rem;
    width: 3rem;
    margin-left: 0.6rem;
  }

  .plus-circle {
    width: 3rem;
    height: 3rem;
    font-size: 3rem;
  }

  /* === AMÉLIORATION UX MOBILE === */

  /* Meilleur focus visible sur mobile */
  .lien[data-toggle="details"]:focus {
    outline: 3px solid #9A47FF;
    outline-offset: 3px;
    border-radius: 6px;
  }

  /* Zone de clic plus large pour les icônes sur mobile */
  .plus-icon,
  .minus-icon,
  .info-icon {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    margin-right: 1rem;
  }

  /* Éviter le zoom sur les inputs iPhone */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 16px !important;
    /* Empêche le zoom automatique sur iOS */
  }

  /* === FOOTER MOBILE === */
  .site-footer {
    padding: 8vw 4vw 2vw 4vw;
    font-size: 1rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 4vw;
    padding: 0;
  }

  .footer-contact,
  .footer-navigation {
    text-align: left;
  }

  .footer-contact .contact-details {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .contact-footer {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .icon-box {
    width: 4rem;
    height: 4rem;
    margin-right: 1rem;
  }

  .footer-navigation a {
    display: block;
    padding: 1rem 0.3rem;
    margin: 0rem 0;
  }

  .footer-contact h2,
  .footer-navigation h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-align: left !important;
  }

  .footer-slogan {
    font-size: 3rem;
    margin-top: 6vw;
    margin-bottom: 2rem;
  }

  .footer-legal {
    font-size: 3rem;
  }

  /* === CENTRAGE ÉLÉMENTS CONTACT SUR MOBILE === */
  .contact-page .footer-navigation {
    text-align: center;
  }

  .contact-page .footer-navigation h2 {
    text-align: center !important;
  }

  .contact-page .footer-navigation ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .contact-page .footer-navigation ul li {
    justify-content: center;
    /* Centre le contenu du li */
    text-align: center;
    margin-bottom: 2rem;
  }

  /* === TAILLE TEXTE MOBILE === */
  .contact-page .footer-navigation ul li .text-underline {
    font-size: 3rem;
    /* Taille mobile */
  }

  .contact-page .footer-navigation .icon-box {
    width: 4rem;
    height: 4rem;
  }


  /* ============================= */
  /*            COOKIES            */
  /* ============================= */
  .cookie-popup {
    margin: 0;
    border-radius: 20px 20px 0 0;
  }

  .cookie-overlay .cookie-popup .cookie-header .cookie-title {
    font-size: 5rem;
  }

  .cookie-text {
    font-size: 3rem;
  }

  .cookie-btn {
    font-size: 3rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    flex: none;
  }

  /* Settings Modal */
  .cookie-settings-modal .settings-header .settings-title {
    font-size: 5rem;
  }

  .settings-header p {
    font-size: 3rem !important;
  }

  .cookie-settings-modal {
    font-size: 3rem;
  }

  .category-description {
    font-size: 3rem;
  }

  .settings-buttons {
    flex-direction: column;
  }
}


/* ============================= */
/*        RESPONSIVE LAPTOP       */
/*      769px → 1439px            */
/*         STYLE.CSS              */
/* ============================= */

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

  /* === BASE & CONFIGURATION === */
  html {
    font-size: 0.85rem;
    /* Augmentation de 0.8vw base */
  }

  /* === TYPOGRAPHIE LAPTOP (+0.2rem partout) === */
  h1 {
    /* font-size: 7.2rem; */
    /* +0.2rem */
  }

  h2 {
    /* font-size: 3.2rem; */
    /* +0.2rem */
  }

  h3 {
    /* font-size: 2.2rem; */
    /* +0.2rem */
  }

  p {
    font-size: 1.4rem;
    /* +0.2rem */
  }

  .opacity {
    font-size: 1.1rem;
  }

  .bold {
    font-size: 1.4rem;
  }

  /* === LIENS === */
  .links-inline {
    font-size: 1.3rem;
    /* +0.2rem */
  }

  /* === BOUTONS === */
  .cta-hero {
    font-size: 1.2rem;
    /* padding: 0.8rem 1.4rem; */
  }

  .hero .cta-hero {
    padding: 0.8vw 1vw;
  }

  .cta {
    font-size: 1.4rem;
  }

  .plus-circle {
    font-size: 1.4rem;
  }

  /* ============================= */
  /* NAVIGATION */
  /* ============================= */
  nav {
    font-size: 1.35rem;
    height: 4.5vw;
  }

  .container_logo {
    left: 3vw;
    /* 5vw → 2vw */
    height: 2.3rem;
  }

  .call-to {
    right: 3vw;
    /* 5vw → 2vw */
  }

  /* === CATÉGORIES === */
  .categories {
    padding: 0.5rem 0.5rem;
  }

  /* === BOUTON CONTACT === */
  .call-to {
    padding: 0.3rem 1.5rem;
    height: 3.1rem;
  }

  /* === HERO LAPTOP (réduction marges) === */
  .hero-content {
    padding-left: 3vw;
    /* 8vw → 3vw */
  }

  .hero h1 {
    font-size: 4rem;
    /* +0.2rem */
  }

  .hero p {
    font-size: 1.6rem;
    /* +0.2rem */
  }

  .hero-content .accent {
    font-size: 1.6rem;
    /* +0.2rem */
  }

  /* === HERO SERVICES LAPTOP === */
  .services-hero-content h1 {
    font-size: 4rem;
    /* +0.2rem */
  }

  .services-hero-content p {
    font-size: 2rem;
    /* +0.2rem */
  }

  /* === FOOTER LAPTOP (réduction marges) === */
  .site-footer {
    padding: 4vw 1vw 1vw 1vw;
    /* 2.5vw → 1vw */
    font-size: 1.2rem;
    /* +0.2rem */
  }

  .footer-columns {
    gap: 1.5vw;
    /* 2vw → 1.5vw */
    padding: 0 1vw;
    /* 2vw → 1vw */
  }

  .footer-contact h2,
  .footer-navigation h2 {
    font-size: 1.6rem;
    /* +0.2rem */
  }

  .footer-legal,
  .footer-slogan {
    font-size: 1rem;
    /* +0.2rem */
  }

  /* === CONTACT PAGE GRID (réduction marges) === */
  .contact-grid {
    gap: 2rem;
    /* 4rem → 2rem */
    padding: 1rem;
    /* 2rem → 1rem */
  }

  .contact-info {
    padding-top: 6rem;
    /* 8rem → 6rem */
  }

  .contact-header h1 {
    font-size: 4.1rem;
    /* +0.2rem */
  }

  .contact-header .accent {
    font-size: 1.4rem;
    /* +0.2rem */
  }

  .contact-line .lien {
    font-size: 1.3rem;
    /* +0.2rem */
  }

  .contact-form {
    padding-top: 6rem;
    /* 8rem → 6rem */
  }

  /* === IMAGE CONTACT === */
  .image-contact {
    margin-top: 10vw;
    /* 13.7vw → 10vw */
  }

  /* === COOKIES === */
  .cookie-title {
    font-size: 2rem;
    /* +0.2rem */
  }

  .cookie-text {
    font-size: 1.4rem;
    /* +0.2rem */
  }

  .cookie-btn {
    font-size: 1.4rem;
    /* +0.2rem */
  }

  .settings-title {
    font-size: 2rem;
    /* +0.2rem */
  }

  .category-title {
    font-size: 1.4rem;
    /* +0.2rem */
  }

  .category-description {
    font-size: 1.4rem;
    /* +0.2rem */
  }

}