:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --accent: #f59e0b;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-soft: #f1f5f9;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Couleurs des indicateurs */
  --indicator-blue: #3b82f6;
  --indicator-green: #10b981;
  --indicator-red: #ef4444;
  --indicator-yellow: #f59e0b;
  --indicator-bordeaux: #8b5cf6;
  --indicator-teal: #9ca3af;
  
  /* Variables pour les tailles responsives */
  --mobile-padding: 2rem;
  --desktop-padding: 3rem;
  --mobile-margin: 3rem;
  --desktop-margin: 5rem;
}

@font-face {
  font-family: 'Mont-Heavy';
  src: url('/extra/Mont-HeavyDEMO.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Coolvetica';
  src: url('/extra/Coolvetica%20Rg%20Cond.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Heavitas';
  src: url('/extra/Heavitas.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LemonMilk';
  src: url('/extra/LEMONMILK-Bold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Monark';
  src: url('/extra/MONARK.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TheBoldFont';
  src: url('/extra/THEBOLDFONT-FREEVERSION.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tokyo';
  src: url('/extra/Tokyo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'UrbanShadow';
  src: url('/extra/Urban%20Shadow%20Sans%20Serif.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'UrbanShadowScript';
  src: url('/extra/Urban%20Shadow%20Script.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--desktop-padding);
}

/* Ajustement pour mobile */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
  .container {
    padding: 0 var(--mobile-padding);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}


/* Header */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.brand-header {
  text-align: center;
  padding: 0.75rem 0;
}

.brand-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  margin: 0 0 0.25rem;
  line-height: 1;
}

.brand-slogan {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
  font-style: italic;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Barre de navigation */
.main-navigation {
  margin-top: 0.5rem;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  display: inline-block;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--bg-soft);
  border-color: var(--border);
  text-decoration: none;
}

.nav-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Main content */
main {
  padding: 4rem 0 6rem;
}

/* Offset pour les ancres avec header sticky */
#methode-title,
#excursions-title,
#cv-title,
#contact-title {
  scroll-margin-top: 120px;
}

/* Sections */
section {
  margin: var(--desktop-margin) 0;
}

section > h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2rem;
  line-height: 1.2;
  position: relative;
}

section > h2::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* Titre centré avec soulignement centré */
.title-center {
  text-align: center;
}

.title-center::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* Typography */
h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 1.5rem 0 0.75rem;
  line-height: 1.4;
}

p {
  margin: 1.25rem 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.125rem;
  text-align: left;
}

/* Alignement à gauche des paragraphes dans les sections demandées */
section p {
  text-align: left;
}
/* Alignement à gauche des listes et éléments de liste dans les sections */
section ul,
section li {
  text-align: left;
}

ul {
  margin: 1.25rem 0;
  padding-left: 0;
  list-style: none;
}

li {
  margin: 0.75rem 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.125rem;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

/* Excursion link */
.excursion-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.25rem;
  transition: all 0.3s ease;
}

.excursion-link:hover {
  color: var(--primary-dark);
  text-decoration-color: var(--primary-dark);
}

/* Section intro */
.section-intro {
  display: block;
  margin: 4rem 0 5rem;
  padding: 4rem 0;
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  text-align: center;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Conteneur pour la photo de groupe */
.group-photo-container {
  text-align: center;
  margin: 2rem 0 3rem 0;
}

.section-intro h2 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

/* Icon list */
.icon-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.icon-list li {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* nécessaire pour ancrer l’icône en haut-gauche */
}

.icon-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.icon-list li .pillar-header {
  display: block; /* l’icône devient indépendante du titre */
  margin-bottom: 1rem;
  padding-left: 2.25rem; /* réserve l’espace pour l’icône à gauche */
  padding-top: 0.25rem;  /* évite le chevauchement vertical */
  text-align: left;
}

/* Assure un alignement stable quand le titre passe à la ligne */
.icon-list li .pillar-header h4 {
  margin: 0; /* neutralise la marge par défaut qui décale verticalement */
  line-height: 1.3; /* hauteur de ligne compacte et régulière */
  text-align: left; /* la première ligne démarre juste après l’icône */
}

.pillar-content {
  width: 100%;
}

.icon-list i {
  font-size: 1.375rem; /* ~ +10% par rapport à 1.25rem */
  color: var(--primary);
  line-height: 1;
  position: absolute;
  top: 1.5rem; /* coin haut-gauche interne du li */
  left: 1.5rem;
}

.pillar-content h4 {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
}

.pillar-content p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
}

/* Wrapper pour grille desktop avec photo Walk */
.methode-piliers-wrapper {
  display: contents;
}

/* Destinations */
.destination {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin: 4rem 0;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.destination-blue {
  border: 3px solid #3b82f6;
}

.destination-green {
  border: 3px solid #10b981;
}

.destination-red {
  border: 3px solid #ef4444;
}

.destination-yellow {
  border: 3px solid #f59e0b;
}

.destination-bordeaux {
  border: 3px solid #8b5cf6;
}
.destination-teal {
  border: 3px solid #9ca3af; /* gris clair */
}

/* Snip1184 styles */
figure.snip1184 {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: 400px;
  margin: 0 0 2rem;
  box-shadow: var(--shadow-lg);
}

figure.snip1184 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}

figure.snip1184:hover img {
  transform: scale(1.05);
}

figure.snip1184::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.15), rgba(0,0,0,0.05));
  z-index: 1;
}

figure.snip1184 h2 {
  position: absolute;
  left: 0;
  right: 0;
  display: inline-block;
  background: #000000;
  -webkit-transform: skew(-10deg) rotate(-10deg) translate(0, -50%);
  transform: skew(-10deg) rotate(-10deg) translate(0, -50%);
  padding: 12px 35px;
  margin: 0;
  top: 50%;
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 2.5rem;
  color: white;
  z-index: 2;
}

figure.snip1184 h2 span {
  font-weight: 800;
}

figure.snip1184.blue h2 {
  background: #3b82f6;
}

figure.snip1184.green h2 {
  background: #10b981;
}

figure.snip1184.red h2 {
  background: #ef4444;
}

figure.snip1184.yellow h2 {
  background: #f59e0b;
}

figure.snip1184.bordeaux h2 {
  background: #8b5cf6;
}
figure.snip1184.teal h2 {
  background: #9ca3af;
}

/* Profile section */
.profile {
  margin: 2rem 0;
  overflow: hidden; /* Pour contenir le float */
  min-height: 200px; /* Hauteur minimale pour équilibrer */
}

.portrait {
  float: left;
  width: 300px;
  height: 200px; /* Hauteur fixe pour équilibrer avec le texte */
  margin: 0 2rem 1rem 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
  object-fit: cover;
  object-position: 50% 20%; /* Centre horizontalement, positionne à 20% du haut pour centrer le visage */
}

.portrait:hover {
  transform: scale(1.02);
}

.profile-text {
  overflow: hidden; /* Pour éviter que le texte passe sous l'image */
}

/* Guide section avec float pour la photo vélo */
.guide-section {
  margin: 2rem 0;
  overflow: hidden; /* Pour contenir le float */
}

.guide-image-container {
  float: left;
  width: 200px;
  margin: 0 2rem 0 0;
  text-align: left;
}

.guide-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.guide-image:hover {
  transform: scale(1.02);
}

.guide-text-content {
  overflow: hidden; /* Pour éviter que le texte passe sous l'image */
}

.guide-text-content p {
  margin: 0 0 1.25rem 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.125rem;
  text-align: left;
}

.guide-text-content blockquote {
  margin: 1.25rem 0 0 0;
  padding: 1.5rem 2rem;
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  font-style: italic;
  color: var(--text-muted);
  position: relative;
}

/* Lists with photo layout */
.lists-with-photo {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin: 2rem 0;
}

.lists-column {
  flex: 1;
}

.photo-column {
  flex: 0 0 250px;
}

.walk-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.walk-photo:hover {
  transform: scale(1.02);
}

.walk-photo-container {
  text-align: center;
  margin: 2rem 0;
}

/* CV content with photo layout - desktop only */
.cv-content-with-photo {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin: 2rem 0;
}

.cv-text-content {
  flex: 1;
}

.cv-content-with-photo .walk-photo-container {
  flex: 0 0 200px;
  margin: 0;
  text-align: right;
  display: flex;
  align-items: flex-start;
}

.cv-content-with-photo .walk-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

/* Flags container */
.flags-container {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  align-items: center;
  flex-wrap: wrap;
}

.flag-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  display: inline-block;
  margin: 0 0.5rem;
  transition: transform 0.3s ease;
}

.flag-image:hover {
  transform: scale(1.1);
}

/* Contact */
.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-list li {
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Nouveaux boutons de contact */
.contact-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  min-width: 180px;
  justify-content: center;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--text);
}

.contact-btn i {
  font-size: 1.1rem;
}

/* Styles spécifiques pour chaque bouton */
.email-btn {
  border-color: #3b82f6;
  color: #3b82f6;
}

.email-btn:hover {
  background-color: #3b82f6;
  color: white;
}

.phone-btn {
  border-color: #10b981;
  color: #10b981;
}

.phone-btn:hover {
  background-color: #10b981;
  color: white;
}

.whatsapp-btn {
  border-color: #25d366;
  color: #25d366;
}

.whatsapp-btn:hover {
  background-color: #25d366;
  color: white;
}

/* Logo categories */
.logo-categories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.logo-category {
  text-align: center;
}

.logo-category h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
  text-align: center;
}

/* Logo list */
.logo-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  margin: 0;
  flex-wrap: wrap;
}

.logo {
  max-width: 200px;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Effet d'ombre pour les logos des séjours pour groupes de jeunes */
.jeunes-category .logo {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border: 2px solid var(--border-soft) !important;
  border-radius: 0 !important; /* Bordures carrées */
}

/* Blockquote */
blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  font-style: italic;
  color: var(--text-muted);
  position: relative;
}

blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  line-height: 1;
}

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Responsive - 2 formats seulement */

/* FORMAT PORTRAIT (Mobile) - écrans étroits */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
  .container {
    padding: 0 2rem;
    margin: 0 auto;
    text-align: initial;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Ombres légères pour les sections "En pratique" sur mobile */
  #pratique-title ~ article ul {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-soft);
  }
  
  .brand-header {
    padding: 0.5rem 0;
  }
  
  .brand-title {
    font-family: 'Fredoka One', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #000000;
  }
  
  .brand-slogan {
    font-size: 0.5rem;
    margin: 0 0 0.75rem 0;
  }
  
  /* Navigation responsive mobile */
  .nav-list {
    gap: 0.8rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-link {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  /* Offset mobile pour les ancres */
  #methode-title,
  #excursions-title,
  #cv-title,
  #contact-title {
    scroll-margin-top: 100px;
  }
  
  main {
    padding: 2rem 0 4rem;
  }
  
  section {
    margin: var(--mobile-margin) 0;
  }
  
  /* Titres de sections avec police Montserrat sur mobile */
  section > h2.title-center {
    font-family: 'Montserrat', 'Inter', sans-serif !important;
    font-size: 2.8rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    color: #000000 !important;
    line-height: 1.1 !important;
  }
  
  .section-intro {
    display: block;
    margin: 2rem 0 3rem;
    padding: 2rem 0;
    text-align: center;
  }
  
  .section-intro h2 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 400;
    color: #000000;
  }
  
  .destination {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  figure.snip1184 {
    height: 250px;
  }
  
  figure.snip1184 h2 {
    font-size: 1.5rem;
    left: 0;
    right: 0;
    padding: 6px 15px;
    -webkit-transform: skew(-10deg) rotate(-10deg) translate(0, -50%);
    transform: skew(-10deg) rotate(-10deg) translate(0, -50%);
  }
  
  .profile {
    margin: 1.5rem 0;
  }
  
  .portrait {
    float: none;
    width: 100%;
    max-width: 200px;
    margin: 0 auto 1.5rem auto;
    display: block;
  }
  
  .profile-text {
    overflow: visible;
    text-align: center;
  }
  
  .lists-with-photo {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .photo-column {
    flex: none;
    width: 180px;
  }
  
  .walk-photo {
    margin: 0 auto;
  }
  
  /* Wrapper piliers + photo en layout normal sur mobile */
  .methode-piliers-wrapper {
    display: block;
  }
  
  .methode-piliers-wrapper .icon-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .methode-piliers-wrapper .walk-photo-container {
    grid-column: auto;
    grid-row: auto;
    margin: 2rem 0;
  }
  
  /* CV content responsive - mobile */
  .cv-content-with-photo {
    display: block;
    gap: 0;
  }
  
  .cv-content-with-photo .walk-photo-container {
    flex: none;
    text-align: center;
    margin: 2rem 0;
  }
  
  .cv-content-with-photo .walk-photo {
    max-height: none;
    width: 100%;
    max-width: 250px;
  }
  
  .logo-categories {
    gap: 1.5rem;
  }
  
  .logo-category h4 {
    font-size: 1.125rem;
    margin: 0 0 0.75rem 0;
  }
  
  .logo-list {
    gap: 0.75rem;
    flex-direction: row; /* Force les logos à rester en ligne sur mobile */
    justify-content: center;
  }
  
  .logo {
    max-width: 100px; /* Plus petit pour s'adapter à l'écran */
    margin: 0;
  }
  
  /* Effet d'ombre mobile pour les logos des séjours pour groupes de jeunes */
  .jeunes-category .logo {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid var(--border-soft) !important;
    border-radius: 0 !important; /* Bordures carrées */
  }
  
  .contact-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-buttons {
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
  }
  
  .contact-btn {
    min-width: auto;
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  /* Guide section responsive - mobile */
  .guide-section {
    margin: 1.5rem 0;
    overflow: visible;
  }
  
  .guide-text-content {
    overflow: visible;
  }
  
  .guide-image-container {
    float: none;
    width: 100%;
    text-align: center;
    margin: 1.5rem 0;
  }
  
  .guide-image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    display: block;
  }
}

/* FORMAT PAYSAGE (Desktop) - écrans larges */
@media (min-width: 768px) and (orientation: landscape), (min-width: 1024px) {
  .container {
    padding: 0 3rem;
    margin: 0 auto;
  }
  
  .brand-header {
    padding: 0.75rem 0;
  }
  
  .brand-title {
    font-size: 2.5rem;
  }
  
  .brand-slogan {
    font-size: 0.75rem;
  }
  
  main {
    padding: 4rem 0 6rem;
  }
  
  section {
    margin: 5rem 0;
  }
  
  section > h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
  }
  
  .section-intro {
    display: block;
    margin: 4rem 0 5rem;
    padding: 4rem 0;
    text-align: center;
  }
  
  .section-intro h2 {
    font-size: 2.75rem;
  }
  
  .destination {
    padding: 3rem;
    margin: 4rem 0;
  }
  
  figure.snip1184 {
    height: 400px;
  }
  
  figure.snip1184 h2 {
    font-size: 2.5rem;
    left: 40px;
    right: 40px;
    padding: 12px 35px;
  }
  
  .profile {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
  }
  
  .portrait {
    flex: 0 0 300px;
  }
  
  .profile-text {
    flex: 1;
  }
  
  .lists-with-photo {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
  }
  
  .lists-column {
    flex: 1;
  }
  
  .photo-column {
    flex: 0 0 250px;
  }
  
  .walk-photo {
    width: 100%;
    height: auto;
  }
  
  /* Grille desktop pour wrapper piliers + photo Walk */
  .methode-piliers-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 2rem;
    margin: 3rem 0;
  }
  
  .methode-piliers-wrapper .icon-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 1.5rem;
    margin: 0;
    grid-column: 1 / 3;
    grid-row: 1 / 4;
  }
  
  .methode-piliers-wrapper .icon-list li {
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .methode-piliers-wrapper .icon-list i {
    font-size: 1.1rem;
    top: 1rem;
    left: 1rem;
  }
  
  .methode-piliers-wrapper .icon-list .pillar-header {
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  .methode-piliers-wrapper .icon-list .pillar-header h4 {
    font-size: 1.05rem;
  }
  
  .methode-piliers-wrapper .icon-list .pillar-content p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .methode-piliers-wrapper .walk-photo-container {
    grid-column: 3;
    grid-row: 1 / 4;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .methode-piliers-wrapper .walk-photo {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
  }
  
  .methode-piliers-wrapper .walk-photo:hover {
    transform: scale(1.02);
  }
  
  /* CV content desktop layout */
  .cv-content-with-photo {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
  }
  
  .cv-content-with-photo .walk-photo-container {
    flex: 0 0 200px;
    text-align: right;
    display: flex;
    align-items: flex-start;
  }
  
  .cv-content-with-photo .walk-photo {
    height: 100%;
    object-fit: cover;
  }
  
  .logo-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
  }
  
  .logo {
    max-width: 200px;
  }
  
  .contact-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .contact-buttons {
    flex-direction: row;
    gap: 1.5rem;
    margin: 2.5rem 0;
  }
  
  .contact-btn {
    min-width: 200px;
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
  }
  
  /* Guide section desktop layout */
  .guide-section {
    margin: 2rem 0;
    overflow: hidden;
  }
  
  .guide-text-content {
    overflow: hidden;
  }
  
  .guide-image-container {
    float: left;
    width: 200px;
    margin: 0 2rem 0 0;
    text-align: left;
  }
  
  .guide-image {
    width: 100%;
    height: auto;
  }
}

/* ===== Cartes d'excursions (grille) ===== */
.excursions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0 0.5rem;
}

.excursion-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0.75rem;
}

.excursion-card-image {
  width: 100%;
  height: 100%;
  max-height: 110px; /* carré visuel grâce au SVG 600x600 */
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 4px);
}

.excursion-card-title {
  margin: 0 0 0.25rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.excursion-card-places {
  margin: 0 0 0.25rem 0;
  color: var(--text-muted);
}

.excursion-card-desc {
  margin: 0;
  color: var(--text-muted);
}

/* Responsive cartes */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
  .excursion-card {
    display: block;
    padding: 0.5rem;
    position: relative;
  }
  
  .excursion-card-image {
    float: left;
    width: 80px;
    height: 80px;
    max-height: 80px;
    margin: 0 0.75rem 0.5rem 0;
    object-fit: cover;
  }
  
  .excursion-card-body {
    overflow: visible;
  }
  
  .excursion-card-title {
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
  }
  
  .excursion-card-places {
    font-size: 0.85rem;
    margin: 0 0 0.5rem 0;
    font-style: italic;
    color: var(--text-muted);
  }
  
  .excursion-card-desc {
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    clear: both;
    width: 100%;
    padding-top: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .excursions-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

/* ===== CARROUSEL STYLES ===== */

/* Container principal du carrousel */
.carousel-container {
  position: relative;
  margin: 3rem auto;
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Les boutons de navigation ont été supprimés - navigation uniquement par indicateurs et swipe */

/* Wrapper du carrousel */
.carousel-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* Track du carrousel */
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  width: 100%;
}

/* Slides individuelles */
.carousel-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  margin: 0;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem;
}

.carousel-slide:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Indicateurs de destinations */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 5rem 0;
  flex-wrap: wrap;
}

.indicator {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.indicator:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.indicator.active {
  box-shadow: var(--shadow-lg);
}

.indicator.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}

/* Couleurs des indicateurs selon les destinations - VERSION SIMPLIFIÉE */
.indicator-blue { --indicator-color: var(--indicator-blue); }
.indicator-green { --indicator-color: var(--indicator-green); }
.indicator-red { --indicator-color: var(--indicator-red); }
.indicator-yellow { --indicator-color: var(--indicator-yellow); }
.indicator-bordeaux { --indicator-color: var(--indicator-bordeaux); }
.indicator-teal { --indicator-color: var(--indicator-teal); }

.indicator-blue,
.indicator-green,
.indicator-red,
.indicator-yellow,
.indicator-bordeaux,
.indicator-teal {
  border: 3px solid var(--indicator-color) !important;
  color: var(--indicator-color) !important;
  background: white !important;
}

.indicator-blue:hover,
.indicator-green:hover,
.indicator-red:hover,
.indicator-yellow:hover,
.indicator-bordeaux:hover,
.indicator-teal:hover {
  background-color: var(--indicator-color) !important;
  color: white !important;
}

.indicator-blue.active,
.indicator-green.active,
.indicator-red.active,
.indicator-yellow.active,
.indicator-bordeaux.active,
.indicator-teal.active {
  background-color: var(--indicator-color) !important;
  color: white !important;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.indicator-title {
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Responsive pour le carrousel - VERSION TRÈS ÉTROITE */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
  .carousel-container {
    margin: 0.5rem 1% !important;
    padding: 0.05rem !important;
    width: 98% !important;
    max-width: 98% !important;
    box-sizing: border-box;
  }
  
  .carousel-wrapper {
    width: 100%;
    margin: 0;
  }
  
  .carousel-track {
    width: 100%;
  }
  
  .carousel-slide {
    width: 100%;
    padding: 0.5rem;
    margin: 0;
  }
  
  .carousel-slide figure.snip1184 {
    height: 150px;
    margin: 0 0 0.5rem;
  }
  
  .carousel-slide figure.snip1184 h2 {
    font-size: 1rem;
    left: 5px;
    right: 5px;
    padding: 3px 8px;
  }
  
  .carousel-slide h4 {
    font-size: 0.9rem;
    margin: 0.5rem 0 0.25rem;
  }
  
  .carousel-slide p {
    font-size: 0.8rem;
    margin: 0.5rem 0;
    line-height: 1.4;
  }
  
  /* Les boutons de navigation ont été supprimés */
  
  .carousel-indicators {
    gap: 0.2rem;
    margin: 3rem 0;
  }
  
  .indicator {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
  
  .indicator-title {
    font-size: 0.7rem;
  }
}

/* Ajustements responsives ciblés pour les 6 piliers (mobile) */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
  .icon-list {
    gap: 0.75rem; /* resserre l’espace global entre items */
  }
  .icon-list li {
    padding: 0.9rem; /* compacité supplémentaire */
    position: relative; /* s’assure que l’icône absolue est correctement ancrée */
  }
  .icon-list li .pillar-header {
    padding-left: 2rem; /* réserve l’espace pour l’icône sur mobile */
    padding-top: 0.2rem;
  }
  .icon-list i {
    font-size: 1.32rem; /* ~ +10% du mobile précédent (1.2rem) */
    top: 0.9rem;
    left: 0.9rem;
  }
  .icon-list li .pillar-header h4 {
    font-size: 1.1rem;
  }
}

/* Écrans larges et Galaxy Fold ouvert */
@media (min-width: 768px) and (orientation: landscape), (min-width: 1024px) {
  .carousel-container {
    margin: 4rem auto;
    padding: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Les boutons de navigation ont été supprimés */
  
  .carousel-indicators {
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .indicator {
    padding: 0.75rem 1.5rem;
  }
}

/* Règle spécifique pour éviter le débordement sur tous les écrans */
@media (max-width: 1200px) {
  .carousel-container {
    margin: 2rem auto;
    padding: 0.5rem;
    width: 90%;
    max-width: 90%;
    box-sizing: border-box;
  }
  
  .carousel-slide {
    padding: 1rem;
  }
}

/* ===== MODAL STYLES ===== */

/* Modal overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Modal content */
.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

/* Modal close button */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
}

/* Modal header */
.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.modal-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.modal-places {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* Modal body */
.modal-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Desktop layout pour le modal - image en float */
@media (min-width: 768px) and (orientation: landscape), (min-width: 1024px) {
  .modal-body {
    display: block;
    padding: 2rem;
  }
  
  .modal-image-container {
    float: left;
    width: 300px;
    margin: 0 2rem 1rem 0;
    min-height: auto;
    background-color: transparent;
    border: none;
  }
  
  .modal-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    min-height: 200px;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background-color: #f8f9fa;
  }
  
  .modal-text-content {
    overflow: hidden; /* Pour éviter que le texte passe sous l'image */
    margin-bottom: 2rem;
  }
  
  .modal-text-content h3 {
    margin-top: 0;
  }
  
  /* Le contenu principal (programme, points forts, infos pratiques) prend toute la largeur */
  .modal-main-content {
    clear: both;
    width: 100%;
    margin-top: 2rem;
  }
  
  .modal-main-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
  }
  
  .modal-main-content ul {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
  }
  
  .modal-main-content li {
    margin: 0.5rem 0;
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 1rem;
  }
}

.modal-image-container {
  text-align: center;
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: var(--radius-lg);
  border: 2px dashed #dee2e6;
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  min-height: 200px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  background-color: #f8f9fa;
  display: block;
  margin: 0 auto;
  /* Amélioration pour les petites images */
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  /* Éviter le flou sur les petites images */
  image-rendering: auto;
}

.modal-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-text-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
}

.modal-text-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.modal-text-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
}

.modal-text-content ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.modal-text-content li {
  margin: 0.5rem 0;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 1rem;
}

/* Modal footer */
.modal-footer {
  padding: 1rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.modal-contact-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.modal-contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Clickable excursion card */
.clickable-excursion {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.clickable-excursion:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.clickable-excursion * {
  pointer-events: none;
}

.clickable-excursion {
  pointer-events: auto;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive modal */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
  .modal-content {
    max-width: 95%;
    margin: 1rem;
  }
  
  .modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
  
  .modal-places {
    font-size: 1rem;
  }
  
  .modal-body {
    padding: 1.5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    display: grid; /* Force la grille sur mobile */
  }
  
  .modal-image-container {
    float: none; /* Annule le float sur mobile */
    width: 100%;
    margin: 0;
    min-height: 200px;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
  }
  
  .modal-image {
    height: auto;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
  }
  
  .modal-text-content {
    overflow: visible; /* Annule l'overflow sur mobile */
    margin-bottom: 0;
  }
  
  .modal-text-content h3 {
    font-size: 1.25rem;
  }
  
  .modal-text-content h4 {
    font-size: 1.125rem;
  }
  
  .modal-text-content p,
  .modal-text-content li {
    font-size: 0.9rem;
  }
  
  .modal-main-content {
    clear: none; /* Annule le clear sur mobile */
    margin-top: 0;
  }
  
  .modal-main-content h4 {
    font-size: 1.125rem;
  }
  
  .modal-main-content li {
    font-size: 0.9rem;
  }
  
  .modal-footer {
    padding: 1rem 1.5rem 1.5rem;
  }
  
  .modal-contact-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .modal-close {
    top: 0.75rem;
    right: 1rem;
    font-size: 1.5rem;
  }
}

/* ===== STYLES POUR LES BOXES FLOTTANTES ===== */

/* Section des boxes flottantes */
.floating-boxes-section {
  margin: 2rem 0;
  overflow: hidden; /* Pour contenir les floats */
}

/* Boxes flottantes côte à côte - Desktop uniquement */
@media (min-width: 768px) and (orientation: landscape), (min-width: 1024px) {
  .program-detail-box {
    float: left;
    width: 45%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: none;
    margin: 0 2rem 1rem 0;
    transition: all 0.3s ease;
  }
  
  .program-detail-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  }
  
  .program-detail-box h4 {
    color: var(--text);
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .two-day-addition-box {
    float: right;
    width: 45%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: none;
    margin: 0 0 1rem 0;
    transition: all 0.3s ease;
  }
  
  .two-day-addition-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  }
  
  .two-day-addition-box h4 {
    color: var(--text);
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .program-detail-box ul,
  .two-day-addition-box ul {
    margin: 0;
    padding-left: 1rem;
  }
  
  .program-detail-box li,
  .two-day-addition-box li {
    margin: 0.5rem 0;
    color: var(--text-muted);
    line-height: 1.4;
    font-size: 0.95rem;
  }
}

/* Sur mobile, les boxes deviennent normales (pas flottantes) */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
  .floating-boxes-section {
    margin: 1rem 0;
  }
  
  .program-detail-box,
  .two-day-addition-box {
    float: none;
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin: 1rem 0;
    border: none;
  }
  
  .program-detail-box h4,
  .two-day-addition-box h4 {
    color: var(--text);
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
  }
  
  .program-detail-box ul,
  .two-day-addition-box ul {
    margin: 0;
    padding-left: 1rem;
  }
  
  .program-detail-box li,
  .two-day-addition-box li {
    margin: 0.25rem 0;
    color: var(--text-muted);
    line-height: 1.4;
    font-size: 0.9rem;
  }
}

/* Styles pour les sujets cadre avec effet de citation */
.sujet-cadre-content {
  margin: 1rem 0;
}

.sujet-cadre-content p {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  margin: 0.5rem 0;
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sujet-cadre-content p::before {
  content: '"';
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: bold;
  font-family: 'Inter', serif;
}

.sujet-cadre-content p::after {
  content: '"';
  position: absolute;
  right: 0.75rem;
  bottom: 0.5rem;
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: bold;
  font-family: 'Inter', serif;
}

/* Responsive pour les sujets cadre */
@media (max-width: 767px) {
  .sujet-cadre-content p {
    padding: 0.5rem 0.75rem 0.5rem 2rem;
    font-size: 0.9rem;
  }
  
  .sujet-cadre-content p::before,
  .sujet-cadre-content p::after {
    font-size: 1.25rem;
  }
}