/* Variables et Réinitialisation (Style Or Épique Dégradé - V5.80 adaptés SituWeb) */
:root {
  --color-primary: #050815;          /* fond global */
  --color-card-bg: #0c1022;          /* cartes claires (sections "light") */

  /* Palette issue du logo : violet + bleu */
  --color-gold-start: #7B5CFF;       /* accent 1 (violet) */
  --color-gold-end:   #3FD0FF;       /* accent 2 (bleu néon) */
  --color-gold-solid: #7B5CFF;       /* accent plein */

  /* Couleurs de texte */
  --color-text-dark: #E5E7F5;        /* texte sur fonds sombres */
  --color-text-light: #F9FAFF;       /* texte très clair */

  /* Police titres */
  --font-heading: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  width: 100%;
  overflow-x: hidden; /* évite tout décalage horizontal */
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  text-align: center;
  scroll-behavior: smooth;
}

/* Liens */
a {
  text-decoration: none;
  color: var(--color-text-light);
}

/* --- Typographie --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-text-light);
  font-variant: normal;
  text-transform: none;
}

h1 {
  font-size: 3.2em;
  line-height: 1.05;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 2.4em;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  display: block;
}

.subtitle {
  font-weight: 600;
  color: var(--color-gold-solid);
  margin-bottom: 25px;
  letter-spacing: 3px;
  font-size: 0.9em;
  text-transform: uppercase;
}

/* --- Boutons --- */
#countdown-button { line-height: 1.2; }

.countdown-timer-style {
  display: block;
  font-size: 1.1em;
  font-weight: 700;
  margin-top: 8px;
  color: #FFF;
  opacity: 1;
  text-shadow: 0 0 5px rgba(0,0,0,0.8);
  letter-spacing: 1px;
}

.btn-accent {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;

  background: linear-gradient(to bottom, var(--color-gold-start), var(--color-gold-end));
  color: #FFF;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  border: 1px solid var(--color-gold-start);

  margin-top: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);

  min-width: 260px;
}

.btn-accent:hover {
  background: linear-gradient(to bottom, var(--color-gold-end), var(--color-gold-start));
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(212,175,55,0.6);
  color: #FFF;
}

.btn-primary-nav {
  background: linear-gradient(to bottom, var(--color-gold-start), var(--color-gold-end));
  border: 1px solid var(--color-gold-start);
  padding: 8px 15px;
  border-radius: 3px;
  color: #FFF !important;
  font-weight: 700;
  margin-left: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.btn-primary-nav:hover {
  background: linear-gradient(to bottom, var(--color-gold-end), var(--color-gold-start));
  color: #FFF !important;
  box-shadow: 0 0 10px rgba(212,175,55,0.4);
}

.btn-secondary-partner {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #555;
  color: var(--color-text-light);
  border: 2px solid #555;
  margin-top: 20px;
  margin-bottom: 20px;
  transition: background-color 0.3s, transform 0.2s;
  font-size: 0.9em;
}
.btn-secondary-partner:hover {
  background-color: #333;
  border-color: #333;
  transform: translateY(-2px);
}

.btn-activity {
  display: block;
  width: 100%;
  text-align: center;
  background-color: transparent;
  border: 1px solid var(--color-gold-solid);
  color: var(--color-gold-solid);
  padding: 5px 0;
  border-radius: 3px;
  font-size: 0.8em;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 10px;
  transition: background-color 0.3s, color 0.3s;
}
.btn-activity:hover {
  background-color: var(--color-gold-solid);
  color: #000;
  text-shadow: none;
}

/* --- BOUTON RETOUR EN HAUT --- */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-gold-start), var(--color-gold-end));
  color: #fff;
  border: 1px solid var(--color-gold-start);
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
}
#back-to-top:hover {
  transform: translateY(-5px);
  background: linear-gradient(to bottom, var(--color-gold-end), var(--color-gold-start));
  box-shadow: 0 0 15px rgba(212,175,55,0.6);
}

/* --- Header --- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-primary);
  border-bottom: 1px solid rgba(212,175,55,0.3);
}

.header-left-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 5px;
}

.header-logo-container { display: none; }

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-situweb-header-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-situweb-header-desktop {
  display: block;
  margin-right: 20px;
}

.logo-situweb-header-mobile { display: none; }

.header-mobile-right {
  display: none;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 15px;
  color: var(--color-text-light);
  font-weight: 400;
  transition: color 0.3s;
  text-transform: uppercase;
  font-size: 0.9em;
}
.nav a:hover { color: var(--color-gold-solid); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 1.5em;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

/* --- Hero --- */
.hero {
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;       /* important pour la vidéo */
  padding-top: 120px;
}

.logo-hero-overlay {
  position: relative;
  height: 110px;
  width: auto;
  display: block;
  margin: 0 auto 25px auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
  opacity: 0.95;
  z-index: 9;
}

/* Vidéo hero (unique définition propre) */
.hero-video-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.hero-content p {
  font-size: 1.05em;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* Ajuste demandé : réduire l’espace entre H1 et sous-titre */
.hero h1 {
  margin-bottom: 8px !important;
  line-height: 1.05;
}
.hero p { margin-top: 0 !important; }

/* --- Activités / Services (Hero Desktop) --- */
.activity-cards-hero {
  position: absolute;
  top: 54vh;                 /* ✅ rapproche les cartes du bouton (ajuste 54-58) */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 30px;
  width: 90%;
  max-width: 1000px;
  padding: 10px;
  z-index: 10;
}

.activity-card-item {
  background-color: rgba(31,31,31,0.9);
  color: var(--color-text-light);
  padding: 15px 20px;
  border-radius: 5px;
  border-left: 3px solid var(--color-gold-solid);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.3s, border-color 0.3s;
}
.activity-card-item:hover {
  transform: translateY(-5px);
  border-color: #FFF;
}

.activity-card-item i {
  color: var(--color-gold-solid);
  font-size: 1.5em;
  margin-bottom: 5px;
}

.activity-card-item .activity-title {
  font-size: 0.95em;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 5px;
  white-space: nowrap;
}

.activity-card-item .activity-description {
  font-size: 0.8em;
  font-weight: 300;
  line-height: 1.4;
  color: #DDD;
  margin-bottom: 0;
}

/* Mobile Activités */
.activity-blocks-mobile-wrapper {
  display: none;
  background-color: #2e2e2e;
  color: var(--color-text-light);
}

.activity-cards-mobile-grid {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.activity-card-item-mobile {
  flex: 1 1 200px;
  background-color: var(--color-primary);
  padding: 25px;
  border-radius: 5px;
  border-top: 4px solid var(--color-gold-solid);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.activity-card-item-mobile i {
  color: var(--color-gold-solid);
  font-size: 2em;
  margin-bottom: 10px;
}

.activity-card-item-mobile .activity-title {
  font-size: 1.2em;
  margin-bottom: 5px;
  white-space: nowrap;
}

.activity-card-item-mobile .activity-description {
  font-size: 0.9em;
  font-weight: 300;
  color: #CCC;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
  width: 100%;
}

.section > *,
.details-grid {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 50px;
}

.dark-section {
  background: radial-gradient(circle at center, #2a2a2a 0%, #1F1F1F 100%);
  color: var(--color-text-light);
}

.details-section {
  background-color: var(--color-card-bg);
  padding-top: 50px;
  padding-bottom: 50px;
}

.details-section .section-title,
.details-section h3,
.details-section p,
.detail-card {
  color: var(--color-text-dark);
}

.details-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
  flex-direction: row;
}

.detail-card {
  flex: 1 1 30%;
  min-width: 200px;
  background-color: #F8F8F8;
  padding: 25px;
  border-radius: 5px;
  border-top: 4px solid var(--color-gold-solid);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: var(--color-text-dark);
}

.full-width-card {
  flex-basis: 100% !important;
  margin-top: 10px;
}

.detail-card h3 {
  white-space: nowrap;
  font-size: clamp(1.5rem, 2.5vw, 2.5em);
  margin-bottom: 10px;
  color: var(--color-gold-solid);
}

.light-section {
  background-color: var(--color-card-bg);
  color: var(--color-text-dark);
}
.light-section .section-title { color: var(--color-text-dark); }

/* --- Carousel --- */
.carousel-container {
  position: relative;
  max-width: 650px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  border: 1px solid #333;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 400px;
  object-fit: cover;
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(31,31,31,0.6);
  border: none;
  color: var(--color-text-light);
  padding: 15px;
  cursor: pointer;
  z-index: 20;
  transition: background-color 0.3s;
}
.carousel-button:hover { background: rgba(212,175,55,0.8); }

.carousel-button.prev {
  left: 10px;
  border-radius: 5px 0 0 5px;
}
.carousel-button.next {
  right: 10px;
  border-radius: 0 5px 5px 0;
}
.carousel-button.is-hidden { display: none; }

.carousel-dots {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--color-gold-solid);
  border-radius: 50%;
  background: transparent;
  margin: 0 5px;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s;
}
.carousel-dot.current-slide { background-color: var(--color-gold-solid); }

/* --- Final Hub (Partenaires + Contact) --- */
.final-hub-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hub-column-left {
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.hub-column-right {
  text-align: left;
  min-width: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 40px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

/* Formulaire contact */
.hub-contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  text-align: left;
}

.hub-contact-form input,
.hub-contact-form textarea {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #444;
  border-radius: 3px;
  background-color: #1a1a1a;
  color: var(--color-text-light);
  font-family: inherit;
  font-size: 1em;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.hub-contact-form input:focus,
.hub-contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold-solid);
  box-shadow: 0 0 8px rgba(212,175,55,0.2);
}

.hub-contact-form textarea { resize: vertical; }

.hub-contact-form .btn-accent {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 15px;
}

/* Alignement global à gauche dans la section contact */
.contact-split__wrap{
  align-items: start;
}

.contact-split__left{
  text-align: left;
  align-items: flex-start;
}

.contact-split__left .contact-split__title,
.contact-split__left .contact-split__subtitle,
.contact-split__left .contact-split__info{
  text-align: left;
}

/* Important : si tu avais un centrage via flex */
.contact-split__left{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* Scroller Partenaires */
.hub-logo-scroller {
  overflow: hidden;
  padding: 20px 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  width: 100%;
}

.hub-scroller-track {
  display: flex;
  width: max-content;
  animation: hub-scroll 40s linear infinite;
}

.hub-partner-logo {
  height: 60px;
  margin: 0 30px;
  flex-shrink: 0;
  vertical-align: middle;
  filter: brightness(0) invert(1) opacity(0.7);
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}
.hub-partner-logo:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

@keyframes hub-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.instagram-feed-section { padding-bottom: 100px; }
.instagram-scroller-container {
  padding: 20px 0 0 0;
  margin-top: 20px;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary);
  color: #888;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8em;
  border-top: 1px solid #333;
  width: 100%;
}

.footer-left  { flex-basis: 33%; text-align: left; }
.footer-center{ flex-basis: 33%; text-align: center; }
.footer-right { flex-basis: 33%; text-align: right; }

.logo-hebergeur {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-hebergeur:hover {
  filter: none;
  opacity: 1;
}

.footer a {
  color: #888;
  margin-left: 20px;
  transition: color 0.3s;
}
.footer a:hover { color: var(--color-gold-solid); }

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
  .hero-video-background { object-position: 35% center; }

  .hero {
    height: 80vh;
    align-items: center;
    padding-top: 0;
  }

  .hero-content {
    margin-bottom: 0;
    height: 100%;
    justify-content: center;
    padding-top: 80px;
  }

  .logo-hero-overlay {
    height: 90px;
    margin: 0 auto 15px auto;
  }

  h1 {
    font-size: 1.9em;
    margin-bottom: 18px;
    line-height: 1.15;
  }

  h2, .section-title { font-size: 1.8em; }

  .subtitle {
    font-size: 0.9em;
    margin-bottom: 15px;
  }

  .btn-accent {
    padding: 12px 28px;
    font-size: 0.9em;
    margin-top: 20px;
  }

  .hero-content p {
    font-size: 0.9em;
    margin-bottom: 10px;
  }

  .section > *, .details-grid { padding: 0 20px; }
  .section { padding: 60px 0; }

  .header-left-container {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .header-mobile-right {
    display: flex;
    align-items: center;
  }

  .logo-img { height: 35px; }

  .logo-situweb-header-desktop { display: none; }

  .logo-situweb-header-mobile {
    display: block;
    margin-right: 15px;
  }

  .logo-situweb-header-img { height: 35px; }

  .activity-cards-hero { display: none; }
  .activity-blocks-mobile-wrapper { display: block; }

  .header {
    justify-content: space-between;
    padding: 15px 20px;
  }

  .menu-toggle { display: block; }

  .nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav.nav-open { transform: translateX(0); }

  .nav a {
    padding: 15px 0;
    margin: 10px 0;
    width: 80%;
    font-size: 1.2em;
    text-align: center;
    border-bottom: 1px solid #333;
  }

  .details-grid {
    flex-direction: column;
    gap: 20px;
  }

  .detail-card { flex: 1 1 100%; }

  .carousel-slide { height: 250px; }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .footer-left, .footer-center, .footer-right {
    flex-basis: 100%;
    margin-bottom: 10px;
    text-align: center;
  }

  .logo-hebergeur { height: 50px; }

  .footer a { margin: 0 10px; }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1em;
  }

  .final-hub-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0;
  }

  .hub-column-left, .hub-column-right { width: 100%; }

  .hub-column-right { padding: 20px; }

  .hub-column-left h2, .hub-column-right h2 { text-align: center; }
}

/* ------------------------------
   Corrections / surcharges ciblées
------------------------------ */

/* CORRECTION DÉPASSEMENT TITRES CARTES – HÉBERGEMENT */
#hebergement .detail-card h3 {
  white-space: normal !important;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

/* Sécurise aussi la largeur des cartes */
#hebergement .detail-card {
  max-width: 100%;
  overflow: hidden;
}

/* Corriger contraste des cartes (Pack digital + Hébergement) */
.details-section,
#hebergement {
  background-color: #050815;
}

.details-section .detail-card,
#hebergement .detail-card {
  background-color: #0f172a;
  color: var(--color-text-light);
}

.details-section .detail-card p,
#hebergement .detail-card p {
  color: var(--color-text-light);
}

/* Correction contraste PACK GRAPHIQUE / OPTIONS */
#pack-graphique {
  background-color: #050815;
}
#pack-graphique .detail-card {
  background-color: #0f172a;
  color: var(--color-text-light);
}
#pack-graphique .detail-card p {
  color: var(--color-text-light);
}
#pack-graphique .detail-card h3 {
  color: var(--color-gold-solid);
  white-space: normal !important;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: clamp(1.2rem, 2vw, 2rem);
}

/* CONFIGURATEUR D'OFFRE */
.config-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.config-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 0.9em;
}

.config-option input[type="radio"] { margin-top: 4px; }

.config-option span { text-align: left; }

.config-summary { text-align: left; }

.config-recap-text {
  margin-bottom: 20px;
  font-size: 0.9em;
}

.config-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.config-total-label {
  display: block;
  font-size: 0.85em;
  opacity: 0.8;
}

.config-total-value {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--color-gold-solid);
}

.config-note {
  font-size: 0.8em;
  opacity: 0.8;
}

/* Titres du configurateur */
#configurateur .detail-card h3 {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  font-size: 1.6em;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* Liens cartes */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-link:hover {
  transform: translateY(-5px);
  border-color: #FFF;
}

/* Cartes du hero cliquables : même largeur */
.activity-cards-hero .activity-card-item {
  display: block; /* même si <a> */
  flex: 1;        /* mêmes largeurs */
  min-width: 0;
}

.activity-card-link-mobile {
  text-decoration: none;
  color: inherit;
  display: block;
}

.activity-card-link-mobile:active {
  transform: translateY(2px);
}

/* Correctif Options – champs supplémentaires */
.config-column .config-option {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.config-column .config-option span {
  flex: 1 1 100%;
}

.config-column .config-option input[type="number"] {
  max-width: 120px;
}

/* Fix débordement PACK DIGITAL (titres + texte) */
#pack-digital .detail-card h3 {
  white-space: normal !important;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: clamp(1.2rem, 2vw, 2rem);
}

/* Mobile : lisibilité Pack digital */
@media (max-width: 768px) {
  #pack-digital .detail-card { padding: 20px; }
  #pack-digital .detail-card p {
    font-size: 0.9em;
    line-height: 1.45;
  }

  #pack-graphique .detail-card { padding: 20px; }
  #pack-graphique .detail-card p {
    font-size: 0.9em;
    line-height: 1.45;
  }
}

/* Accessibilité + UX */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  z-index: 2000;
  border: 1px solid rgba(255,255,255,0.2);
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-gold-end);
  outline-offset: 3px;
}

section[id] { scroll-margin-top: 60px; }

/* Menu mobile : empêche le scroll arrière-plan quand ouvert */
body.nav-open { overflow: hidden; }

/* Préférences utilisateur : réduire animations/mouvements */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video-background { display: none !important; }
}

.realisations {
  padding: 80px 20px;
  text-align: center;
}

.realisations h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.realisation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realisation-card img {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.realisation-card span {
  font-size: 1rem;
  font-weight: 500;
}

.realisation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.realisation-card:hover img {
  transform: scale(1.05);
}

.realisations{
  padding: 80px 20px;
  text-align: center;
}

.realisations h2{
  font-size: 2.2rem;
  margin-bottom: 35px;
}

.wheel-wrap{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.wheel-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.wheel-btn:hover{ transform: scale(1.06); background: rgba(255,255,255,.10); }

.wheel{
  position: relative;
  width: min(920px, 86vw);
  height: 230px;
  perspective: 1600px; /* au lieu de 1000px */
}


.wheel-card{
  position: absolute;
  top: 0;
  left: 50%;
  width: 300px;
  height: 200px;
  transform-style: preserve-3d;
  transform-origin: center center;
  border-radius: 18px;
  padding: 18px 18px 16px;
  text-decoration: none;
  color: inherit;

  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 45px rgba(0,0,0,.25);

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

  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .35s ease, filter .35s ease;
}

.wheel-card img{
  width: 170px;
  height: auto;
  margin-bottom: 14px;
  border-radius: 10px;
}

.wheel-card span{
  font-weight: 600;
  font-size: 1.02rem;
}

/* Responsive: cartes un peu plus petites */
@media (max-width: 780px){
  .wheel{ height: 210px; }
  .wheel-card{ width: 260px; height: 185px; }
  .wheel-card img{ width: 150px; }
}
@media (max-width: 480px){
  .wheel-btn{ width: 40px; height: 40px; font-size: 26px; }
  .wheel{ height: 200px; }
  .wheel-card{ width: 235px; height: 175px; }
}


/* --- Espace entre le bouton et le texte freelance --- */
#final-hub #contactForm #contactSubmit{
  margin-bottom: 16px !important;
}

/* Optionnel : si tu veux contrôler via le texte */
#final-hub #contactForm .config-note{
  margin-top: 0 !important;   /* ou 12px si tu veux encore plus d'air */
}



/* Ne pas appliquer le style "input texte" aux checkbox */
.hub-contact-form input[type="checkbox"]{
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  flex: 0 0 auto !important;
}

/* Ligne RGPD propre, alignée à gauche */
.hub-contact-form .rgpd-consent{
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  text-align: left !important;
  gap: 10px !important;
}

/* Texte RGPD */
.hub-contact-form .rgpd-consent span{
  display: block;
  text-align: left;
  line-height: 1.4;
}/* ===== CONTACT SPLIT (modèle capture) ===== */

.contact-split{
  padding: 70px 0;
  position: relative;
}

.contact-split__wrap{
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
  align-items: start;
}

/* LEFT */
.contact-split__title{
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 14px 0;
}

.contact-split__subtitle{
  margin: 0 0 26px 0;
  opacity: .82;
  line-height: 1.6;
}

.contact-split__info{
  font-size: .98rem;
  line-height: 1.7;
  opacity: .95;
}

.contact-split__label{
  margin: 18px 0 6px 0;
  font-weight: 600;
  opacity: .95;
}

.contact-split__spacer{
  height: 12px;
}

.contact-split__link{
  display: inline-block;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .95;
}

/* RIGHT FORM */
.contact-split__right{
  width: 100%;
}

.contact-split__form{
  width: 100%;
}

/* grid inputs */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 40px;
}

.field--full{
  grid-column: 1 / -1;
}

.field label{
  display: block;
  font-size: .88rem;
  opacity: .9;
  margin-bottom: 10px;
}

.field label span{
  opacity: .9;
}

.field input,
.field textarea{
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding: 10px 0 12px 0;
  color: #fff;
  outline: none;
  transition: border-color .15s ease, opacity .15s ease;
}

.field textarea{
  resize: vertical;
  min-height: 160px;
  padding-top: 12px;
}

.field input:focus,
.field textarea:focus{
  border-bottom-color: rgba(255,255,255,.6);
}

/* RGPD */
.rgpd{
  margin-top: 18px;
}

.rgpd__line{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  opacity: .92;
  line-height: 1.4;
}

.rgpd__line input{
  margin-top: 2px;
}

/* Button */
.contact-btn{
  width: 100%;
  margin-top: 22px;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #111;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}

.contact-btn:hover{
  transform: translateY(-1px);
  opacity: .95;
}

/* phrase sous bouton */
.contact-after{
  margin-top: 12px;
  font-size: .78rem;
  opacity: .75;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 980px){
  .contact-split__wrap{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* Pack digital: animation slide-in gauche + cascade */
.reveal-pack{
  opacity: 0;
  transform: translateX(-50px);
  transition:
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.05s ease;
  will-change: transform, opacity;
}

.reveal-pack.is-visible{
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px){
  .reveal-pack{
    transform: translateX(-28px);
  }
}

@media (prefers-reduced-motion: reduce){
  .reveal-pack{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Message de retour formulaire (AJAX) ===== */
.form-status {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* affiché quand un message est injecté */
.form-status:not(:empty) {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Pack digital : résumé + accordéon ===== */

.pack-highlights{
  list-style: none;
  padding: 0;
  margin: 12px 0 10px;
  text-align: left;
}

.pack-highlights li{
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-size: 0.95rem;
  line-height: 1.45;
}

.pack-faq{
  margin-top: 12px;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 10px;
}

.pack-faq summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--color-gold-end);
  list-style: none;
  outline: none;
  user-select: none;
}

.pack-faq summary::-webkit-details-marker{
  display: none;
}

/* petite flèche */
.pack-faq summary::after{
  content: "▾";
  float: right;
  transition: transform .2s ease;
  opacity: .9;
}

.pack-faq[open] summary::after{
  transform: rotate(180deg);
}

.pack-faq__content{
  margin-top: 10px;
}

.pack-faq__content p{
  margin: 8px 0;
  opacity: .95;
  line-height: 1.55;
  font-size: 0.92rem;
}

