:root {
  --bg-beige: #f6dda8;
  --card-bg: #FFFFFF;
  --primary: #1f2b24; /* Vert sombre forêt de l'image */
  --primary-light: #415E50;
  --accent: #C86D46; /* Marron terracotta */
  --accent-soft: rgba(200, 109, 70, 0.08);
  --text: #3D4842;
  --text-muted: #6B7770;
  --border-color: rgba(45, 68, 57, 0.08);
  --shadow-sm: 0 4px 12px rgba(45, 68, 57, 0.03);
  --shadow-md: 0 8px 24px rgba(45, 68, 57, 0.06);
}

body {
  background-color: var(--bg-beige);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  scroll-behavior: smooth;
}

/* Modale (Encart Pop-up) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 68, 57, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
  box-sizing: border-box;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  position: relative;
  text-align: center;
  animation: modalAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalAppear {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.modal-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.modal-asterisk {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  display: block;
}

.modal-btn {
  background-color: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.modal-btn:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

/* Menu & Header */
nav {
  background-color: rgba(235, 229, 216, 0.85); /* Semi-transparent assorti au beige sable */
  backdrop-filter: blur(10px);
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}


.top-logo {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.top-logo:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

nav a.nav-item {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

nav a.nav-item:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

section {
  padding: 3.5rem 5%;
  max-width: 860px;
  margin: auto;
}

@keyframes sparkle {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.page-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-title h1, .welcome-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(
    90deg,
    #1f2b24 0%,
    #C86D46 25%,
    #E8B87D 50%,
    #C86D46 75%,
    #1f2b24 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sparkle 4s ease-in-out infinite;
  display: inline-block;
}

.welcome-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Accordéons */
.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.accordion-item {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  scroll-margin-top: 140px;
}

.accordion-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 68, 57, 0.18);
  transform: translateY(-2px);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.accordion-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.accordion-header h3 {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}

.asca-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  width: fit-content;
  letter-spacing: 0.5px;
}

.accordion-header .subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.accordion-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  background: #FCFBF9;
}

.accordion-body {
  padding: 1.5rem 2rem 2rem 2rem;
  border-top: 1px solid var(--border-color);
}

.accordion-body p {
  margin: 0 0 1rem 0;
  color: var(--text);
  font-size: 0.98rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
  max-height: 5000px;
  transition: max-height 0.5s ease-in-out;
}

/* Éléments annexes / Cartes / Boutons */
.sub-tarifs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sub-tarif-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.sub-tarif-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.sub-tarif-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sub-tarif-title {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
  font-family: 'Playfair Display', serif;
}

.sub-tarif-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 !important;
}

.sub-tarif-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
}

.sub-tarif-price {
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.book-btn {
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  transition: background-color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.book-btn:hover {
  background-color: var(--accent);
  transform: translateY(-1px);
}

.side-layout {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.side-text {
  flex: 1;
}

.side-images {
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 140px;
}

.side-images img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: block;
  object-fit: cover;
}

.article-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--primary);
  margin: 1.4rem 0 0.4rem 0;
}

.article-list {
  margin: 0 0 1rem 0;
  padding-left: 1.2rem;
}

.article-list li {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cabinet-notice {
  background: rgba(184, 98, 59, 0.08);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  color: var(--primary);
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

.domicile-intro {
  font-size: 0.98rem;
  margin-bottom: 1.2rem;
}

.domicile-highlight-box {
  background: #FFFFFF;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.domicile-cards {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.domicile-card {
  background: #FFFFFF;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.domicile-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.domicile-zone-title {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.domicile-zone-title i {
  color: var(--accent);
  font-size: 0.85rem;
}

.domicile-cities {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.domicile-price {
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* --- Pied de page exact et conforme à l'image --- */
footer {
  background-color: #1f2b24; /* Vert sombre forêt */
  color: #FFFFFF;
  padding: 3.5rem 5% 2rem 5%;
  text-align: center;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #FFFFFF;
  font-size: 1.05rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-contact-item:hover {
  opacity: 0.85;
}

/* Icônes de contact en couleur terracotta */
.footer-contact-item i, 
.footer-contact-item .fas {
  color: #C86D46; 
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* Conteneur des réseaux sociaux en ronds gris-foncé */
.footer-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.social-circle-btn {
  width: 48px;
  height: 48px;
  background-color: #313e37; /* Gris-vert foncé des cercles de l'image */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.social-circle-btn:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

/* Conteneur principal pour positionner le petit rond vert et l'ensemble principal */
.footer-action-container {
  position: relative;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Petit cercle flottant WhatsApp vert en haut à droite du conteneur */
.footer-whatsapp-badge-float {
  position: absolute;
  top: -22px;
  right: -5px;
  width: 46px;
  height: 46px;
  background-color: #52c46f; /* Vert WhatsApp de l'image */
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(82, 196, 111, 0.4);
  z-index: 5;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.footer-whatsapp-badge-float:hover {
  transform: scale(1.05);
}

/* Ligne contenant le grand bouton vert et la flèche marron côte à côte */
.footer-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Grand bouton "Prendre rendez-vous par WhatsApp" */
.footer-whatsapp-main-btn {
  background-color: #52c46f; /* Vert WhatsApp */
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(82, 196, 111, 0.3);
  transition: all 0.2s ease;
}

.footer-whatsapp-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(82, 196, 111, 0.4);
}

/* Flèche marron/terracotta de retour en haut */
#back-to-top {
  width: 52px;
  height: 52px;
  background-color: #C86D46; /* Marron terracotta exact de l'image */
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(200, 109, 70, 0.3);
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

#back-to-top:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Pastille finale du domaine */
.footer-domain-badge {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  color: #FFFFFF;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 0.5rem;
  letter-spacing: 0.3px;
  transition: border-color 0.2s ease;
}

.footer-domain-badge:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

footer a {
  color: #FFFFFF;
  text-decoration: none;
}

footer a:hover {
  opacity: 0.8;
}

/* Liens du reste du site en terracotta */
section a, .accordion-body a {
  color: var(--accent);
  text-decoration: underline;
}

section a:hover, .accordion-body a:hover {
  opacity: 0.8;
}

/* Écran d'accueil (Rideau "Déployer ses ailes") */
#welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-beige);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#welcome-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-logo {
  width: 280px;
  height: 280px;
  max-width: 75vw;
  max-height: 75vw;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(45, 68, 57, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.deploy-landing-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(45, 68, 57, 0.3);
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.deploy-landing-btn:hover,
.deploy-landing-btn:active {
  background-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(184, 98, 59, 0.4);
}

/* Fenêtre Modale (Popup) pour l'Offre Spéciale */
#promo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(45, 68, 57, 0.4);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#promo-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  border: 2px solid var(--accent);
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--accent);
}

.modal-content h4 {
  margin: 0 0 1rem 0;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
}

.modal-content p {
  margin: 0 0 1.5rem 0;
  color: var(--text);
}

.modal-action-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.modal-action-btn:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .side-layout {
    flex-direction: column;
  }
  .side-images {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    position: static;
  }
  .side-images img {
    max-width: 200px;
  }
  .footer-action-row {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .footer-whatsapp-main-btn {
    width: 100%;
    box-sizing: border-box;
  }
}/* --- Pied de page aligné à droite avec logo et flèche de même taille --- */
.footer-action-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.footer-whatsapp-main-btn {
  background-color: #52c46f;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(82, 196, 111, 0.3);
  transition: all 0.2s ease;
  flex-grow: 1;
}

.footer-whatsapp-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(82, 196, 111, 0.4);
}

.footer-whatsapp-badge-float,
#back-to-top {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-whatsapp-badge-float {
  background-color: #52c46f;
  color: #FFFFFF;
}

#back-to-top {
  background-color: #C86D46;
  color: #FFFFFF;
}

.footer-whatsapp-badge-float:hover,
#back-to-top:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Bouton de retour en haut (flèche flottante) */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px; /* Bien calée à droite */
  width: 45px;
  height: 45px;
  background-color: #C86D46; /* Terracotta par défaut */
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
}

/* Devient vert forêt au survol ou au clic */
#back-to-top:hover,
#back-to-top:active {
  background-color: #1f2b24; 
  transform: scale(1.05);
}

/* Apparaît dès qu'on descend un tout petit peu (grâce au script ajusté) */
#back-to-top.show {
  opacity: 1;
  visibility: visible;
}
/* Bouton vert forêt, écriture blanche, sans aucun soulignement */
.custom-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #1f2b24; /* Vert forêt par défaut */
  color: #FFFFFF !important;  /* Écriture blanche */
  text-decoration: none !important; /* Supprime tout soulignement */
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.custom-action-btn:hover {
  background-color: #C86D46; /* Devient terracotta au survol */
  color: #FFFFFF !important;
  text-decoration: none !important; /* Pas de soulignement au survol non plus */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Conteneur pour centrer et espacer le bouton */
.btn-center-container {
  text-align: center;
  margin: 2rem 0;
}
/* Aération globale des textes pour plus de lisibilité */
p, li {
  line-height: 1.75; /* Espace confortable entre chaque ligne */
  margin-bottom: 1.25rem; /* Espace naturel sous chaque paragraphe */
}

/* Aération spécifique pour les titres pour qu'ils respirent mieux */
h1, h2, h3, h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}/* Forcer la couleur de fond crème sur le corps et les sections principales */
body, html {
  background-color: #F5EFEB !important;
}

/* Forcer la couleur de fond sur le corps et les sections principales */
body, html {
  background-color: #EBE5D8 !important;
}

.media-sub-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px; /* Si vous voulez des coins arrondis assortis à vos images */
  margin-top: 1rem;    /* Pour espacer un peu les éléments */
}
/* Correction radicale pour les vidéos et images invisibles ou blanches sur mobile */
video.media-sub-video, 
.media-sub-video {
  width: 100% !important;
  height: auto !important;
  min-height: 200px; /* Force une hauteur minimale pour éviter qu'elle soit invisible */
  display: block !important;
  object-fit: cover;
  background-color: transparent !important;
}

/* S'assure que le bloc parent ne garde pas un fond blanc parasite */
.content-right-media {
  background: transparent !important;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
/* --- CORRECTION POUR L'AFFICHAGE DES MODALES / POP-UPS --- */

/* Force l'affichage quand la modale a la classe .show ou .active */
#promo-modal.show,
#promo-modal.active,
.modal-overlay.show,
.modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* S'assure que la modale reste cachée quand elle possède la classe .hidden */
.modal-overlay.hidden,
#promo-modal.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* --- CORRECTION VIDÉO MOBILE --- */
video.media-sub-video, 
.media-sub-video {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  min-height: 180px; /* Force l'affichage du cadre même pendant le chargement */
  display: block !important;
  object-fit: cover !important;
  background-color: #3d4842 !important; /* Couleur de fond sombre temporaire au lieu du blanc */
}
/* --- CORRECTION PHOTO D'ACCUEIL MOBILE --- */
@media (max-width: 768px) {
  #welcome-overlay {
    padding: 2rem 1rem !important;
    justify-content: space-evenly !important; /* Répartit l'espace verticalement */
  }

  .welcome-logo {
    width: 200px !important;
    height: 200px !important;
    max-width: 60vw !important; /* Ne dépasse jamais 60% de la largeur de l'écran */
    max-height: 60vw !important;
    object-fit: cover !important;
    margin-bottom: 1rem !important;
  }
}
/* --- CORRECTION TAILLE IMAGE MOBILE (IPHONE) --- */
img {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
}

/* ========================================================== */
/* --- CORRECTIF FINAL & DÉFINITIF VIDÉOS ET IMAGES MOBILE --- */
/* ========================================================== */

/* 1. Vidéos (Supprime les rectangles gris sur iPhone et Safari) */
video,
video.media-sub-video, 
.media-sub-video {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: cover !important;
  background-color: #1f2b24 !important;
  border-radius: 12px;
  margin-top: 1rem;
}

.content-right-media, 
.media-container {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  overflow: hidden;
  box-sizing: border-box;
}

/* 2. Images (Empêche les photos d'être coupées ou trop grandes sur iPhone) */
img {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
}

.side-images img, 
.cabinet-img, 
section img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  max-height: 350px !important;
}

/* 3. Logo et rideau d'accueil sur petit écran mobile */
@media (max-width: 768px) {
  #welcome-overlay {
    padding: 2rem 1rem !important;
    justify-content: space-evenly !important;
  }

  .welcome-logo {
    width: 200px !important;
    height: 200px !important;
    max-width: 60vw !important;
    max-height: 60vw !important;
    object-fit: cover !important;
    margin-bottom: 1rem !important;
  }
}video.media-sub-video {
  height: 250px !important; /* Force une hauteur visible sur mobile */
  object-fit: cover !important;
}