/* ============================= */
/*            SERVICES.CSS        */
/*          VERSION NETTOYÉE      */
/* ============================= */

/* === CONTENEUR PRINCIPAL === */
.services {
  background-color: var(--bg-overlay-light);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  background-blend-mode: hard-light;
  padding: 0;
  font-family: "figtree", sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
}

.services#last-description {
  padding-bottom: 0;
}

.section-container {
  display: flex;
  margin: 0vw 8vw;
  /* padding-top: 4vw;
  padding-bottom: 4vw; */
  gap: 3vw;
  align-items: flex-start;
}

.section-container+.section-container,
.section-container+.section-container.vertical {
  margin-top: 8vw;
}

/* === DESCRIPTIONS GÉNÉRALES === */
.description {
  position: relative;
  overflow: hidden;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.description>h2,
.description>p,
.description>div {
  position: relative;
  z-index: 1;
  text-align: center;
  justify-content: center;
}

.description .links-inline {
  display: block;
  text-align: center;
  margin-top: 2rem;
}

.description>h2 {
  font-size: 2rem;
}

.description p {
  margin-bottom: 4rem;
}

/* === DESCRIPTION SITE PRO === */
#site_pro.description {
  background-color: var(--bg-primary);
  padding: 4vw 8vw 2vw 8vw;
  position: relative;
  overflow: hidden;
  line-height: 1.5;
  color: var(--text-primary);
}

#site_pro.description .overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(60deg,
      var(--bg-blur) 0%,
      var(--bg-primary) 70%);
  pointer-events: none;
}

div.description#site_pro h2 {
  font-size: 3rem;
}

div.description#site_pro p {
  font-size: 2rem;
}

div.description#site_pro .opacity {
  font-size: 1.6rem;
}

/* === AVANTAGES === */
.avantages {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.avantages .bloc-avantage .bold,
.avantages .bloc-avantage .opacity {
  font-size: 1.6rem;
}

.bloc-avantage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icone {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.icone img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.separator {
  width: 0.8px;
  height: 4rem;
  background-color: var(--text-quaternary);
  flex-shrink: 0;
  margin: 0 4rem;
}

.logo-inline {
  height: 3rem;
  width: auto;
  vertical-align: middle;
  position: relative;
  top: -0.3rem;
}

/* === SECTION À QUI S'ADRESSE === */
.description#a_qui_sadresse {
  max-height: 550px;
  background-color: var(--bg-blur);
  background-image: url('../images/artisant2560_dark.webp');
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  margin: 8vw 0 0 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

/* Background pour le thème clair */
[data-theme="light"] .description#a_qui_sadresse {
  background-image: url('../images/artisant2560_light.webp');
}

#a_qui_sadresse .txt-description {
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 6vw;
  padding: 2vw 0vw 2vw 0;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-primary);
  width: 60%;
}

#a_qui_sadresse .txt-description p:first-of-type {
  margin-bottom: 1rem;
  margin-top: 2rem;
  font-size: 1.2rem;
}

#a_qui_sadresse .txt-description p:last-of-type {
  margin-top: 1rem;
  font-size: 1.2rem;
}

#a_qui_sadresse ul {
  margin-left: 1.3rem;
  padding-left: 0;
}

#a_qui_sadresse li {
  color: var(--text-tertiary);
}

#a_qui_sadresse li.reponse {
  list-style-type: none;
  margin-left: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

#a_qui_sadresse h2 {
  margin-bottom: 3rem;
  font-size: 2rem;
}

/* === SECTION FAQ === */
.description#parlons-en {
  background-color: var(--bg-blur);
  padding-left: 8vw;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  margin: 0;
}

.faq {
  margin-bottom: 6vw;
  width: 50%;
  flex-shrink: 0;
}

.faq * {
  text-align: left;
}

#parlons-en h2 {
  margin-top: 4vw;
  margin-bottom: 3rem;
  font-size: 3rem;
}

#parlons-en h3 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 600;
}

#parlons-en p {
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
}

#parlons-en ul {
  margin-left: 2rem;
  padding-left: 0;
  list-style: circle;
  color: var(--text-secondary);
}

#parlons-en li {
  margin-bottom: 0.5rem;
}

/* === QUESTIONS FAQ === */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  position: relative;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--text-secondary);
}

/* === ICÔNE TOGGLE === */
.toggle-icon {
  font-size: 1rem;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: 1rem;
}

.faq-question.active .toggle-icon {
  transform: rotate(180deg);
}

/* === RÉPONSES FAQ === */
.faq-answer {
  margin-top: 0.3rem;
  margin-left: 2rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
    padding-top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 0;
  color: var(--text-tertiary);
}

.faq-answer.open {
  opacity: 1;
  padding-top: 0.8rem;
}

/* === CONTENEURS FAQ === */
.content-box:not(:last-child) {
  margin-bottom: 1rem;
}

.content-box:last-child {
  border-bottom: none;
}

/* === ILLUSTRATION FAQ === */
.description#parlons-en .description-illustration {
  position: relative;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  z-index: 0;
  flex-shrink: 0;
  padding-top: 9.9vw;
}

.description#parlons-en .description-illustration img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top;
  position: relative;
  z-index: 0;
}

/* === LISTES & CARTES === */
#packs {
  margin-top: 8vw;
}

.section-list {
  flex: 2 1 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.section-list>h2 {
  font-size: 2rem;
  text-transform: none;
  text-align: center;
  margin-bottom: 2vw;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1vw;
  margin-bottom: 2vw;
  width: fit-content;
}

.card-list.four-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1vw;
  margin: 0 13.45vw;
}

/* === CONTENEURS CARTE === */
.card {
  display: flex;
  flex-direction: column;
  border-radius: 1vw;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  z-index: 1;
}

.card:hover {
  transform: scale(1.11);
  box-shadow: 0 0.2vw 1.56vw rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.card-bg-outer {
  position: relative;
  border-radius: 1vw;
  height: 100%;
  z-index: 0;
}

.card-bg-inner {
  position: relative;
  border-radius: 1vw;
  padding: 2vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-blur-light);
/*   -webkit-backdrop-filter: blur(100px);
  backdrop-filter: blur(100px); */
  overflow: hidden;
  border: solid 1px var(--border-secondary);
}

/* === CONTENU CARTE === */
.tagline {
  text-align: center;
  display: inline-block;
  color: #9A47FF;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0.26vw 0 1.04vw 0;
}

.card hr {
  border: none;
  border-top: 0.026vw solid var(--text-primary);
  width: 2vw;
  margin: 0 auto 1.04vw auto;
}

.card ul {
  list-style: disc inside;
  margin: 0 0 1.04vw 0;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
}

.card ul li.detail-pilot {
  margin-left: 1rem;
  font-weight: 400;
}

.card ul li {
  margin-bottom: 0.26vw;
  text-align: left;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1vw;
  color: var(--text-primary);
  text-transform: uppercase;
}

/* === DÉTAILS DES CARTES === */
.card-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
  opacity: 0;
  padding: 0;
  margin-top: 0;
}

.card-details.expanded {
  max-height: 500px;
  opacity: 1;
  padding: 1rem 0 0 0;
  margin-top: 1rem;
  border-top: 1px solid var(--border-primary);
}

.card-details.collapsed {
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin-top: 0;
}

.card-details ul {
  margin: 0;
  padding-left: 1.2rem;
}

.card-details li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.detail-pilot {
  list-style-type: none;
  margin-left: 2rem;
  color: var(--text-tertiary);
  font-size: 1rem;
}

/* === TABLEAU COMPARATIF === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  background: var(--bg-blur-light);
  border-radius: 1vw;
  overflow: hidden;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: 0 0.2vw 1.56vw rgba(0, 0, 0, 0.2);
}

.comparison-table th {
  background: var(--bg-overlay-light);
  padding: 1.5vw 1vw;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  border-bottom: 2px solid rgba(154, 71, 255, 0.3);
  color: var(--text-primary);
}

.comparison-table th:first-child {
  text-align: left;
  background: rgba(154, 71, 255, 0.1);
  color: #9A47FF;
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td {
  padding: 1vw;
  text-align: center;
  border-bottom: 1px solid var(--border-secondary);
  vertical-align: top;
  color: var(--text-primary);
  font-size: 1rem;
}

.comparison-table td:first-child {
  text-align: left;
  background: var(--bg-overlay-heavy);
  font-weight: 500;
  border-right: 1px solid rgba(154, 71, 255, 0.2);
  color: var(--text-secondary);
}

.feature-included {
  color: #4CAF50;
  font-weight: 600;
}

.feature-enhanced {
  color: #9A47FF;
  font-weight: 600;
}

.feature-not-included {
  color: var(--text-disabled);
  font-style: italic;
}

/* === SECTION INFOS === */
.section-info {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

.section-info ul {
  margin-bottom: 0.8em;
  font-size: 1.1rem;
  list-style: circle;
  margin-left: 1rem;
}

.section-info li {
  margin-bottom: 0.2rem;
  line-height: 1.4;
}

.section-info p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0.8em;
}

.section-info .bold {
  color: var(--text-primary);
}

.info-accent {
  margin: 1vw 0;
}

#text-aligne-right,
#text-aligne-right h2 {
  text-align: right;
}

.section-list .links-inline {
  justify-content: center;
  display: inline-flex;
}

.section-info.centered p.links-inline {
  justify-content: center;
}

/* === SECTIONS VERTICALES === */
.section-container.vertical {
  flex-direction: column;
  margin-left: 0.31vw;
  margin-right: 0.31vw;
  gap: 3vw;
}

.section-info.centered {
  text-align: center;
  margin: auto;
}

.section-container.vertical .section-info.centered>h2 {
  text-align: center;
}

/* === MÉTHODOLOGIE === */
.section-methodologie {
  background: radial-gradient(circle at 25% center,
      #7B47B3 0%,
      #6600DD 70%);
  padding: 4vw;
  color: #FDF9F4;
  font-family: "figtree", sans-serif;
}

.section-methodologie h2 {
  color: #FEFAF6;
}

.methodologie-container {
  display: flex;
  flex-direction: row;
  gap: 2vw;
}

.methodologie-illustration,
.methodologie-contenu {
  flex: 1 1 0;
}

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

.methodologie-illustration img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.section-methodologie .methodologie-contenu h2,
.section-methodologie .methodologie-contenu p {
  text-align: center;
}

.section-methodologie .methodologie-contenu p>.bold:first-child {
  display: inline-block;
  margin-bottom: 1rem;
}

.section-methodologie .methodologie-contenu p:last-of-type {
  margin-bottom: 4rem;
}

.methodologie-contenu p {
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin-bottom: 1vw;
  color: #f5f5f5;
}

.methodologie-liste {
  list-style: decimal outside;
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.methodologie-liste li {
  margin-bottom: 1vw;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.methodologie-liste li::marker {
  font-weight: bold;
  font-size: 1.1rem;
}

/* === SVG BACKGROUND DÉCORATIF === */
.services #packs+.section-container::before {
/*   content: "";
  position: absolute;
  top: -1000px;
  left: 50%;
  transform: translateX(-45%);
  width: 200vw;
  max-width: none;
  height: 200vh;
  background-image: url('/vectors/background-abstrait.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.17;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -10;
  overflow: hidden; */
}



.services #packs+.section-container {
  position: relative;
  z-index: 1;
}

/* === FIX Z-INDEX POUR SVG === */
.services>* {
  position: relative;
  z-index: 1;
}

.services .description {
  position: relative;
  z-index: 1;
}

.services .section-container {
  position: relative;
  z-index: 1;
}

#site_pro.description {
  position: relative;
  z-index: 1;
}

.description#a_qui_sadresse {
  position: relative;
  z-index: 1;
}

.services #packs+.section-container .section-info {
  position: relative;
  z-index: 5;
}

.services #packs+.section-container .section-info h2,
.services #packs+.section-container .section-info p {
  position: relative;
  z-index: 6;
}

.services #packs+.section-container .section-list {
  position: relative;
  z-index: 5;
}

.services #packs+.section-container .section-list h2 {
  position: relative;
  z-index: 6;
}

/* ============================= */
/*     PAGE PACKS/ABONNEMENTS    */
/* ============================= */
.services-description {
  font-size: 2rem;
  padding: 6vw 20vw 0 20vw;
  text-align: center;
  line-height: 1.4;
}

.services-description h2 {
  text-align: center;
}

section.services-hero .services-hero-content p.accent {
  font-size: 2rem;
}

/* ============================= */
/*          REALISATIONS.        */
/* ============================= */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 5vw 10vw;
}

/* Modifications à apporter à .realisation-card */
.realisation-card {
  aspect-ratio: 4/3;
  cursor: pointer;
  padding: 1rem;
  box-sizing: border-box;
  border-radius: 1vw;
  box-shadow: 0 0.2vw 1.56vw rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-secondary);
  position: relative;
  /* AJOUTER */
  overflow: hidden;
  /* AJOUTER */
}

/* Container pour le logo (état normal) */
.logo-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 1rem;
  box-sizing: border-box;
  transition: transform 0.3s ease-in-out;
  /* Vitesse de retour */
}

/* Container pour les infos au hover */
.hover-content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
  /* Vitesse de retour */
}

/* Redéfinir la transition au hover pour la vitesse d'entrée */
.realisation-card:hover .logo-container,
.realisation-card:hover .hover-content {
  transition: transform 0.5s ease-in-out;
  /* Vitesse d'entrée */
}

.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* AUCUN padding - image de bord à bord */
}

/* Dégradé du bas vers le haut */
.hover-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, var(--bg-primary) 10%, transparent 100%);
}

.hover-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
}

.hover-info h3,
.hover-info .project-description {
  color: var(--text-primary);
}

.hover-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 22px;
  text-align: left;
}

.hover-info .project-type {
  color: #FEFAF6;
  margin: 0 0 1rem 0;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(60deg, #9A47FF, #6D00FF);
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  /* optionnel pour arrondir les coins */
}

.hover-info .project-description {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

/* Animation au hover */
.realisation-card:hover .logo-container {
  transform: translateY(-100%);
}

.realisation-card:hover .hover-content {
  transform: translateY(-100%);
}

/* Application des logos - MODIFIER */
.realisation-card.logo1 .logo-container {
  background-image: var(--logo1);
}

.realisation-card.logo2 .logo-container {
  background-image: var(--logo2);
}

.realisation-card.logo3 .logo-container {
  background-image: var(--logo3);
}

.realisation-card.logo4 .logo-container {
  background-image: var(--logo4);
}

.realisation-card.logo5 .logo-container {
  background-image: var(--logo5);
  background-size: auto 80%;
}

.realisation-card.logo6 .logo-container {
  background-image: var(--logo6);
}

.realisation-card.logo7 .logo-container {
  background-image: var(--logo7);
  background-size: auto 80%;
}

/* ============================= */
/*        CONTAINER SLIDER       */
/* ============================= */
.realisations-slider-section {
  padding: 0;
  margin: 8vw 8vw 4vw 8vw;
  position: relative;
}

.realisations-slider-section h2 {
  font-size: 2rem;
  text-transform: none;
  text-align: center;
  margin-bottom: 3vw;
  font-weight: 800;
  color: var(--text-primary);
}

/* Container du slider */
.slider-container {
  position: relative;
  padding: 0 10vw;
}

.slider-content {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 3rem 1.5rem 3rem;
  margin: -1.5rem -1.8rem -1.5rem -1.5rem;
  /* masque dégradé */
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%);
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem 0;
  margin: -2rem 0;
}

.slider-track {
  display: flex;
  gap: 2vw;
  min-width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Carte de réalisation */
.realisation-slide {
  flex: 0 0 calc(33.333% - 1.333vw);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1vw;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realisation-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.slide-mockup {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0.5vw;
  margin-bottom: 0.5rem;
}

.slide-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-align: left;
}

.slide-type {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(60deg, #9A47FF, #6D00FF);
  color: #FEFAF6;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-left: -0.8rem;
  margin-bottom: 0.3rem;
}

/* Boutons de navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 3rem));
  background: var(--bg-blur-light);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100;
}

.slider-nav:hover {
  background-color: rgba(154, 71, 255, 0.2);
  border-color: #9A47FF;
}

.slider-nav::before {
  content: '';
  display: block;
  width: 25px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 50%;
}

/* Bouton précédent - ajusté à gauche */
.slider-prev::before {
  background-image: var(--slider-prev);
  transform: translate(-60%, -50%);
}

/* Bouton suivant - centré normalement */
.slider-next::before {
  background-image: var(--slider-next);
  transform: translate(-45%, -50%);
}

.slider-nav.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.slider-prev {
  left: 5vw;
}

.slider-next {
  right: 5vw;
}


/* Pagination */
.slider-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.8rem 1.2rem;
  background-color: var(--nav-bg);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-radius: 2.5rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-dot.active {
  background-color: #9A47FF;
  transform: scale(1.2);
}

/* Mockups */
.slide-mockup[data-logo] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-mockup[data-logo="logo1"] {
  background-image: url('../images/portfolio/logo+mockup_lepido.webp');
}

.slide-mockup[data-logo="logo2"] {
  background-image: var(--slider-logo2);
}

.slide-mockup[data-logo="logo3"] {
  background-image: var(--slider-logo3);
}

.slide-mockup[data-logo="logo4"] {
  background-image: var(--slider-logo4);
}

.slide-mockup[data-logo="logo5"] {
  background-image: url('../images/portfolio/logo+mockup_rcs-informatique.webp');
}

.slide-mockup[data-logo="logo7"] {
  background-image: url('../images/portfolio/logo+mockup_aunl.webp');
}



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

@media (max-width: 768px) {

  /* Pour toutes les pages avec des classes spécifiques */
  .packs-page nav,
  .contact-page nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
  }

  /* S'assurer que le burger reste aligné même sur ces pages */
  .packs-page .burger-menu,
  .contact-page .burger-menu {
    top: 0;
    right: 3rem;
    position: fixed;
    padding: 14px 0;
    height: 48px;
    width: 34px;
    box-sizing: border-box;
  }

  /* Animation du burger quand actif - pour toutes les pages */
  .packs-page .burger-menu.active .burger-line:nth-child(1),
  .contact-page .burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    /* Centrer verticalement dans le container */
    background: #FEFAF6;
  }

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

  .packs-page .burger-menu.active .burger-line:nth-child(3),
  .contact-page .burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    /* Centrer verticalement dans le container */
    background: #FEFAF6;
  }

  /* Logo aligné */
  /*   .packs-page .container_logo,
  .contact-page .container_logo {
    left: 5vw;
  } */

  /* Toggle aligné */
  .packs-page .theme-toggle,
  .contact-page .theme-toggle {
    top: 14px !important;
    right: 80px;
  }

  .services {
    overflow-x: hidden;
    padding-bottom: 10vw;
  }

  .services-hero {
    margin-top: 25vw;
    margin-bottom: 25vw;
  }

  .packs-page .services-hero-content h1 {
    font-size: 6rem;
    margin-bottom: 3rem;
  }

  .packs-page .services-hero-content p {
    font-size: 3.5rem;
    font-weight: 600;
    padding: 0 7rem 0 7rem;
    color: var(--text-primary);
    margin-bottom: 0;
  }

  #text-aligne-right p {
    margin-bottom: 5rem;
  }

  /* === ANIMATIONS MOBILES CARTES === */
  .card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .card-animate {
    opacity: 0 !important;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
  }

  .card-animate:nth-child(odd) {
    transform: translateX(-100px);
  }

  .card-animate:nth-child(even) {
    transform: translateX(100px);
  }

  .card-animate.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

  .card-animate:nth-child(1) {
    transition-delay: 0.1s;
  }

  .card-animate:nth-child(2) {
    transition-delay: 0.3s;
  }

  .card-animate:nth-child(3) {
    transition-delay: 0.5s;
  }

  .card-animate:nth-child(4) {
    transition-delay: 0.2s;
  }

  .card-animate:nth-child(5) {
    transition-delay: 0.4s;
  }

  .card-animate:nth-child(6) {
    transition-delay: 0.6s;
  }

  .card.selected .card-bg-outer {
    border-radius: 2.8vw;
  }

  /* === DÉTAILS DES CARTES === */
  .card-details {
    max-height: 0;
    padding: 0;
  }

  .card-details.expanded {
    max-height: 800px;
    padding: 2rem 0 0 0;
    margin-top: 2rem;
  }

  .card-details li {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  /* === TABLEAU COMPARATIF MOBILE === */
  .comparison-table {
    font-size: 0.8rem;
    margin-top: 4vw;
    border-radius: 1.5rem;
  }

  .comparison-table th {
    padding: 4vw 1vw;
    font-size: 2.5rem;
  }

  .comparison-table td {
    padding: 2vw 1vw;
    font-size: 2.5rem;
  }

  .comparison-table th {
    font-size: 3rem;
  }

  .comparison-table td:first-child {
    font-size: 2.5rem;
  }

  /* === FORCER SECTION-CONTAINER EN COLONNE === */
  .section-container {
    flex-direction: column !important;
    margin: 0 3rem;
    padding-top: 12vw;
    gap: 4vw;
    align-items: center;
    text-align: center;
  }

  .section-container.vertical {
    flex-direction: column !important;
    gap: 6vw;
  }

  /* === SECTION-LIST ET SECTION-INFO === */
  .section-list {
    width: 100%;
    order: 2;
  }

  .section-info {
    width: 100%;
    order: 1;
    text-align: center;
  }

  .section-info h2 {
    text-align: center !important;
  }

  .section-info p:first-of-type {
    margin-bottom: 6rem;
  }

  /* === CARTES EN 1 COLONNE === */
  .card-list {
    grid-template-columns: 1fr !important;
    gap: 3vw;
  }

  .card-list.four-cols {
    grid-template-columns: 1fr !important;
    margin: 0 3rem;
    gap: 3vw;
  }

  /* === AUTRES ADAPTATIONS === */
  .section-list>h2 {
    font-size: 4rem;
    margin-bottom: 6rem;
    text-align: center;
    margin-top: 12rem;
  }

  .section-info p {
    font-size: 3rem;
    line-height: 1.4;
  }

  #text-aligne-right,
  #text-aligne-right h2 {
    text-align: center;
  }

  #text-aligne-right .links-inline {
    justify-content: center;
  }

  /* === CARDS === */
  .card-bg-inner {
    border-radius: 2rem;
    padding: 5rem;
  }

  .tagline {
    font-size: 3rem;
    margin-bottom: 5rem;
  }

  .card hr {
    width: 12vw;
    margin-bottom: 3rem;
  }

  .card ul li.detail-pilot {
    font-size: 3rem;
    margin-left: 3rem;
  }

  .card ul li {
    line-height: 1.4;
  }

  .price {
    font-size: 5rem;
    margin-top: 3rem;
  }

  /* === DESCRIPTION === */
  #site_pro h2,
  #a_qui_sadresse .txt-description h2 {
    font-size: 4rem;
    margin-bottom: 6rem;
    margin-top: 6rem;
    text-align: center;
  }

  .description p {
    margin-bottom: 8rem;
  }

  .section-info br::before {
    content: "";
    display: block;
    height: 10rem;
  }

  .section-info ul {
    margin-top: 5rem;
    margin-bottom: 5rem;
    text-align: left;
  }

  /* === SITE PRO === */
  #site_pro.description {
    padding: 8vw 8vw 12vw 8vw;
  }

  div.description#site_pro h2 {
    font-size: 4.4rem;
  }

  div.description#site_pro p {
    font-size: 3.2rem;
  }

  .avantages .bloc-avantage .bold,
  .avantages .bloc-avantage .opacity {
    font-size: 2.8rem;
  }

  div.description#site_pro .opacity {
    font-size: 2.8rem;
  }

  .logo-inline {
    height: 7rem;
    vertical-align: middle;
    position: relative;
    margin: -3.5rem 0;
  }

  .logo-inline img {
    height: 20px;
  }

  .icone {
    margin-bottom: 3rem;
  }

  /* Cibler les images dans les avantages */
  .avantages .icone img {
    width: 8rem;
    height: 8rem;
    display: block;
    min-width: 8rem;
    min-height: 8rem;
  }

  /* === AVANTAGES MOBILE ALIGNÉS === */
  .avantages {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem 0;
    align-items: start;
  }

  .bloc-avantage {
    display: contents;
  }

  /* Centrage des éléments dans leurs colonnes */
  .bloc-avantage .icone,
  .bloc-avantage .bold,
  .bloc-avantage .opacity {
    text-align: center;
    justify-self: center;
  }

  /* Séparateurs verticaux */
  .separator {
    width: 1px;
    height: 40%;
    grid-row: 1 / -1;
    justify-self: center;
    align-self: center;
  }

  .separator:nth-of-type(1) {
    grid-column: 2;
  }

  .separator:nth-of-type(2) {
    grid-column: 4;
  }

  /* Ordre des éléments dans la grille */
  .bloc-avantage:nth-child(1) .icone {
    grid-column: 1;
    grid-row: 1;
  }

  .bloc-avantage:nth-child(1) .bold {
    grid-column: 1;
    grid-row: 2;
  }

  .bloc-avantage:nth-child(1) .opacity {
    grid-column: 1;
    grid-row: 3;
  }

  .bloc-avantage:nth-child(3) .icone {
    grid-column: 3;
    grid-row: 1;
  }

  .bloc-avantage:nth-child(3) .bold {
    grid-column: 3;
    grid-row: 2;
  }

  .bloc-avantage:nth-child(3) .opacity {
    grid-column: 3;
    grid-row: 3;
  }

  .bloc-avantage:nth-child(5) .icone {
    grid-column: 5;
    grid-row: 1;
  }

  .bloc-avantage:nth-child(5) .bold {
    grid-column: 5;
    grid-row: 2;
  }

  .bloc-avantage:nth-child(5) .opacity {
    grid-column: 5;
    grid-row: 3;
  }

  /* === À QUI S'ADRESSE MOBILE === */
  #a_qui_sadresse .txt-description p.maillage {
    font-size: 3rem !important;
  }

  #a_qui_sadresse .txt-description p.accent {
    font-size: 3rem;
    margin-bottom: 6rem;
  }

  .description#a_qui_sadresse {
    width: 100%;
    max-height: none;
    flex-direction: column;
    background-color: var(--bg-blur);
    padding-right: 5rem;
    padding-bottom: 5rem;
    background-position: left;
  }

  /* Texte centré */
  #a_qui_sadresse .txt-description {
    position: relative;
    z-index: 1;
    color: var(--text-primary);
    text-align: center;
    width: 100%;
  }

  /* Texte violet devient gras blanc */
  #a_qui_sadresse .txt-description p.accent {
    color: var(--text-primary) !important;
    font-weight: 700;
  }

  #a_qui_sadresse ul {
    list-style: none;
    margin-top: 3rem;
    margin-bottom: 6rem;
  }

  #a_qui_sadresse li.reponse {
    margin-bottom: 6rem;
  }

  #a_qui_sadresse .txt-description p.accent:last-of-type {
    display: none;
  }

  /* === MÉTHODOLOGIE === */
  .methodologie-container {
    flex-direction: column;
    gap: 0;
    height: auto;
    min-height: auto;
  }

  .methodologie-illustration {
    display: none;
  }

  .methodologie-contenu {
    width: 100%;
    flex: none;
  }

  .methodologie-contenu h2 {
    margin-top: 6rem;
    margin-bottom: 6rem;
  }

  .methodologie-contenu p {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 8rem !important;
  }

  .section-methodologie {
    padding: 4vw 3vw;
    height: auto;
  }

  .methodologie-liste {
    text-align: center;
  }

  .methodologie-liste li::marker {
    font-weight: bold;
    font-size: 3rem;
  }

  .methodologie-liste li {
    margin-bottom: 6rem;
    line-height: 1.3;
    text-align: center;
    list-style-position: inside;
  }

  /* === FAQ MOBILE === */
  .description#parlons-en {
    padding: 8vw 3rem 8vw 3rem;
    flex-direction: column;
  }

  /* Masquer l'image sur mobile */
  .description#parlons-en .description-illustration {
    display: none;
  }

  .faq {
    width: 100%;
  }

  #parlons-en h2 {
    font-size: 4rem;
    text-align: center;
    padding: 0 3vw 0 3vw;
    margin-top: 6rem;
    margin-bottom: 6rem;
  }

  .faq-question {
    align-items: flex-start;
  }

  .faq-question h3 {
    font-size: 3rem !important;
  }

  .faq-answer {
    font-size: 3rem;
    margin-left: 0;
    padding-left: 2rem;
    margin-bottom: 3rem;
  }

  .toggle-icon {
    font-size: 2rem;
    margin-right: 2rem;
    margin-top: 0.5rem;
  }

  #parlons-en ul {
    margin-top: 3rem;
    list-style: none;
  }

  .opacity {
    font-size: 3rem;
  }

  .text-underline {
    font-size: 3rem;
    line-height: 2;
  }

  /* === SVG BACKGROUND MOBILE === */
  .services #packs+.section-container::before {
    display: none;
  }


  /* ============================= */
  /*           A LA CARTE.         */
  /* ============================= */
  /* Via la structure complète */
  .packs-page .cartes-bloc .cartes-section h3.cartes-title {
    font-size: 3.2rem;
    margin-top: 0;
    margin-bottom: 0;
  }

  #cartes-branding-title,
  #cartes-marketing-title {
    margin-top: 15vw;
  }

  .prestations-table h4 {
    font-size: 3rem;
  }

  .services .services-description {
    font-size: 3.4rem;
    padding-left: 4vw;
    padding-right: 4vw;
    margin-top: 5vw;
  }

  .services .services-description p {
    margin-bottom: 0;
  }

  .services h2 {
    font-size: 4rem;
  }

  .cartes-note {
    margin-bottom: 0;
  }

  .cartes-bloc .prestations-table th .cartes-bloc .prestations-table td.bold {
    font-weight: 700;
  }

  body.packs-page main .services-hero .services-hero-content p.accent {
    font-size: 3.4rem;
  }

  #table-a-la-carte {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .cartes-section[data-section="dev"] .prestations-table,
  .cartes-section[data-section="brand"] .prestations-table,
  .cartes-section[data-section="mkt"] .prestations-table {
    border-radius: 1.5rem;
  }

  /* ============================= */
  /*          REALISATIONS.        */
  /* ============================= */
  .realisations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* ============================= */
  /*        CONTAINER SLIDER       */
  /* ============================= */
  .realisations-slider-section {
    margin: 0 3rem;
    padding: 12vw 0;
  }

  .realisations-slider-section h2 {
    font-size: 4rem;
    margin-bottom: 6rem;
  }

  .slider-container {
    padding: 0;
  }

  /* Un seul projet par slide en mobile */
  .realisation-slide {
    flex: 0 0 100%;
    padding: 3rem;
  }

  .slide-info h3 {
    font-size: 3rem;
  }

  .slide-type {
    font-size: 2.5rem;
    padding: 1rem 2rem;
  }

  /* Supprimer les effets de hover en mobile */
  .realisation-slide:hover {
    transform: none;
    box-shadow: none;
  }

  /* Masquer les boutons de navigation latéraux */
  .slider-nav {
    display: none;
  }

  /* Réorganiser la pagination avec les boutons */
  .slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 1.5rem 2rem;
  }

  /* Conteneur pour les dots de pagination */
  .pagination-dots-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  /* Dots de pagination plus petits */
  .pagination-dot {
    width: 12px;
    height: 12px;
  }

  /* Boutons de navigation dans la pagination */
  .slider-pagination-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-blur-light);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .slider-pagination-nav:hover:not(.disabled) {
    background-color: rgba(154, 71, 255, 0.2);
    border-color: #9A47FF;
  }

  .slider-pagination-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
  }

  .slider-pagination-nav::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .slider-pagination-nav.prev::before {
    background-image: var(--slider-prev);
  }

  .slider-pagination-nav.next::before {
    background-image: var(--slider-next);
  }


  /* ============================= */
  /*    DÉSACTIVER HOVER MOBILE    */
  /* ============================= */

  /* Empêcher tous les effets de hover sur les cartes de réalisations */
  .realisation-card:hover .logo-container,
  .realisation-card:hover .hover-content {
    transform: none !important;
    transition: none !important;
  }

  /* Masquer complètement le contenu de hover */
  .realisation-card .hover-content {
    display: none !important;
  }

  /* S'assurer que le logo reste visible */
  .realisation-card .logo-container {
    transform: translateY(0) !important;
    transition: none !important;
  }

  /* Curseur normal au lieu de pointer */
  .realisation-card {
    cursor: default;
  }

}

/* ============================= */
/*        RESPONSIVE LAPTOP       */
/*      769px → 1439px            */
/* ============================= */

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

  /* === CONTENEUR PRINCIPAL === */
  .section-container {
    margin: 0vw 3vw;
    gap: 2vw;
  }

  body:not(.packs-page):not(.contact-page) .services .section-container {
    margin-left: 11vw;
    margin-right: 11vw;
  }

  /* === DESCRIPTIONS GÉNÉRALES === */
  .description>h2 {
    font-size: 2rem;
  }

  .description p {
    font-size: 1.4rem;
  }

  /* === DESCRIPTION SITE PRO === */
  #site_pro.description {
    padding: 4vw 3vw 2vw 3vw;
    font-size: 1.4rem;
  }

  /* === AVANTAGES === */
  .icone {
    width: 4rem;
    height: 4rem;
  }

  .separator {
    height: 7.2rem;
    margin: 0 3rem;
  }

  .logo-inline {
    height: 3.2rem;
  }

  /* === SECTION À QUI S'ADRESSE === */
  .description#a_qui_sadresse {
    gap: 0;
    margin: 6vw 0 6vw 0;
  }

  #a_qui_sadresse .txt-description {
    padding: 4vw 4vw 4vw 4vw;
    font-size: 1.4rem;
    margin-left: 2vw;
  }

  #a_qui_sadresse .txt-description p {
    font-size: 1.2rem;
  }

  #a_qui_sadresse h2 {
    font-size: 2.2rem;
  }

  #a_qui_sadresse .txt-description p.maillage {
    font-size: 1.4rem;
  }

  #a_qui_sadresse .txt-description p.maillage a.text-underline {
    font-size: 1.4rem;
  }

  #a_qui_sadresse .description-illustration {
    height: auto;
  }

  #a_qui_sadresse .description-illustration img {
    height: 100%;
    object-fit: cover;
    object-position: bottom;
  }

  #a_qui_sadresse .description-illustration::before {
    content: "";
    position: absolute;
    left: -2vw;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
  }

  [data-theme="light"] #a_qui_sadresse .description-illustration::before {
    background: linear-gradient(70deg,
        var(--bg-blur) 25%,
        rgba(245, 241, 237, 0.92) 35%,
        rgba(245, 241, 237, 0.75) 40%,
        rgba(245, 241, 237, 0.52) 45%,
        rgba(245, 241, 237, 0.32) 50%,
        rgba(245, 241, 237, 0.18) 55%,
        rgba(245, 241, 237, 0.08) 60%,
        rgba(245, 241, 237, 0.02) 70%,
        rgba(245, 241, 237, 0) 80%);
  }

  :root #a_qui_sadresse .description-illustration::before {
    background: linear-gradient(70deg,
        var(--bg-blur) 25%,
        rgba(52, 53, 52, 0.92) 35%,
        rgba(52, 53, 52, 0.75) 40%,
        rgba(52, 53, 52, 0.52) 45%,
        rgba(52, 53, 52, 0.32) 50%,
        rgba(52, 53, 52, 0.18) 55%,
        rgba(52, 53, 52, 0.08) 60%,
        rgba(52, 53, 52, 0.02) 70%,
        rgba(52, 53, 52, 0) 80%);
  }

  /* === FAQ LAPTOP === */
  .description#parlons-en {
    padding-left: 3vw;
  }

  #parlons-en h2 {
    font-size: 3.2rem;
    margin-top: 3vw;
  }

  #parlons-en h3 {
    font-size: 1.6rem;
  }

  #parlons-en p {
    font-size: 1.4rem;
  }

  .faq {
    margin-bottom: 4vw;
    padding-left: 3vw;
  }

  .description#parlons-en .description-illustration {
    padding-top: 16vw;
  }

  /* === LISTES & CARTES === */
  #packs {
    margin-top: 3vw;
    flex-direction: column;
  }

  #packs .section-info {
    order: 1;
    width: 70%;
    margin-bottom: 3vw;
  }

  #packs .section-list {
    order: 2;
    width: 100%;
  }

  .section-list>h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5vw;
  }

  .card-list {
    gap: 0.8vw;
    margin-bottom: 1.5vw;
  }

  /* === CARTES === */
  .card-bg-inner {
    padding: 1vw;
  }

  .tagline {
    font-size: 1.4rem;
  }

  .card ul {
    font-size: 1.1rem;
  }

  .price {
    font-size: 2rem;
  }

  .card hr {
    width: 1.1vw;
  }

  .detail-pilot {
    font-size: 1.1rem;
  }

  /* === TABLEAU COMPARATIF === */
  .comparison-table th {
    padding: 1.2vw 0.8vw;
    font-size: 1.4rem;
  }

  .comparison-table td {
    padding: 0.8vw;
    font-size: 1.2rem;
  }

  /* === SECTION INFOS === */
  .section-info p {
    font-size: 1.4rem;
  }

  .section-info ul {
    font-size: 1.3rem;
    margin-left: 0.8rem;
  }

  .section-info li {
    font-size: 1.3rem;
  }

  .info-accent {
    margin: 0.8vw 0;
  }

  /* === SECTIONS VERTICALES === */
  .section-container.vertical {
    margin-left: 0.2vw;
    margin-right: 0.2vw;
    gap: 2vw;
  }

  .card-list.four-cols {
    margin: 0 8vw;
  }

  /* === MÉTHODOLOGIE === */
  .section-methodologie {
    padding: 3vw 2vw;
  }

  .methodologie-container {
    gap: 1.5vw;
  }

  .section-methodologie .methodologie-liste {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .methodologie-contenu p {
    font-size: 1.2rem;
    margin-bottom: 0.8vw;
  }

  .section-methodologie .methodologie-contenu p {
    font-size: 1.3rem;
  }

  .methodologie-liste {
    font-size: 1.2rem;
  }

  .methodologie-liste li {
    margin-bottom: 0.8vw;
  }

  /* === SVG BACKGROUND === */
  .services #packs+.section-container::before {
    left: 45%;
    transform: translateX(-40%);
    width: 200vw;
    height: 200vh;
  }

  .services #packs+.section-container {
    margin-top: 6vw;
    flex-direction: column;
  }

  .services #packs+.section-container .section-info#text-aligne-right {
    order: 1;
    width: 80%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3vw;
  }

  .services #packs+.section-container .section-info#text-aligne-right h2 {
    text-align: center;
  }

  .services #packs+.section-container .section-info#text-aligne-right .links-inline {
    justify-content: center;
  }

  .services #packs+.section-container .section-list {
    order: 2;
    width: 100%;
  }

  /* ============================= */
  /*          REALISATIONS.        */
  /* ============================= */
  .realisations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

}



/* ============================= */
/*           A LA CARTE.         */
/* ============================= */
.cartes-section {
  margin-bottom: 4vw;
}

/* Masquer la checkbox par défaut */
input[type="checkbox"][name^="presta-"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #FEFAF6;
  border-radius: 50%;
  /* Forme ronde */
  background-color: rgba(253, 249, 244, 0.4);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

/* Thème clair */
[data-theme="light"] input[type="checkbox"][name^="presta-"] {
  border-color: rgba(31, 31, 31, 0.4);
}

/* État hover */
input[type="checkbox"][name^="presta-"]:hover {
  border-color: #6D00FF;
}

/* État coché */
input[type="checkbox"][name^="presta-"]:checked {
  background-color: #6D00FF;
  border-color: #6D00FF;
}

/* Point blanc au centre quand coché */
input[type="checkbox"][name^="presta-"]:checked::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #FEFAF6;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* Largeurs uniformes pour tous les tableaux de prestations */
.prestations-table {
  table-layout: fixed;
  /* Force le respect des largeurs définies */
  width: 100%;
}

.prestations-table th:nth-child(1),
.prestations-table td:nth-child(1) {
  width: 70%;
  /* Prestation */
}

.prestations-table th:nth-child(2),
.prestations-table td:nth-child(2) {
  width: 15%;
  /* Prix */
}

.prestations-table th:nth-child(3),
.prestations-table td:nth-child(3) {
  width: 15%;
  /* Sélection */
}