* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
  }
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0b0710;
  color: #f5f2f7;
  line-height: 1.6;
}

.navigation {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 5%;
  background: rgba(11, 7, 16, 0.95);
  border-bottom: 1px solid #3d2448;
  backdrop-filter: blur(10px);
}

.marque {
  color: #ff4fd8;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
}

nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: #ff4fd8;
}

button {
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.contour {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ff4fd8;
}

.primaire {
  color: #ffffff;
  background: linear-gradient(135deg, #ff3cac, #784ba0);
}

main {
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 90px 6%;
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 0, 170, 0.25), transparent 35%),
    radial-gradient(circle at 20% 70%, rgba(100, 50, 255, 0.25), transparent 35%),
    linear-gradient(135deg, #0b0710, #1b0b25);
}

.hero h1 {
  max-width: 800px;
  margin: 20px 0;
  font-size: clamp(48px, 8vw, 90px);
  line-height: 1;
  background: linear-gradient(90deg, #ffffff, #ff4fd8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 700px;
  font-size: 20px;
  color: #d8cddd;
}

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

.card,
.experience,
article {
  background: linear-gradient(145deg, #19101f, #0f0a14);
  border: 1px solid #42254d;
  border-radius: 18px;
  padding: 28px;
  margin: 20px 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

h2 {
  color: #ff4fd8;
  font-size: 38px;
}

h3 {
  color: #ffffff;
  font-size: 24px;
}

a {
  color: #ff70df;
}

footer {
  padding: 40px 6%;
  text-align: center;
  background: #07050a;
  color: #9d91a3;
  border-top: 1px solid #33203b;
}

.liens-footer {
  margin-top: 16px;
}

.liens-footer a {
  color: #9d91a3;
  text-decoration: underline;
}

.liens-footer a:hover {
  color: #ff70df;
}

/* Vue plein écran : n'affiche que la section active */
body.plein-ecran .hero,
body.plein-ecran footer,
body.plein-ecran section:not(.vue-plein-ecran) {
  display: none !important;
}

body.plein-ecran section.vue-plein-ecran {
  min-height: 80vh;
}

@media (max-width: 700px) {
  .navigation {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 12px;
  }

  .hero {
    min-height: 75vh;
  }

  .hero h1 {
    font-size: 52px;
  }

  section {
    padding: 60px 5%;
  }button {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 79, 216, 0.35);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.primaire {
  box-shadow: 0 5px 20px rgba(255, 60, 172, 0.25);
}

.contour:hover {
  background: rgba(255, 79, 216, 0.12);
}

.hero-buttons button {
  min-width: 190px;
}

@media (max-width: 700px) {
  .hero-buttons {
    gap: 12px;
  }

  .hero-buttons button {
    width: 100%;
    min-width: 0;
  }
}
}
.hero + section {
  padding-top: 110px;
}

@media (max-width: 700px) {
  .hero + section {
    padding-top: 85px;
  }
}
section[id] {
  scroll-margin-top: 180px;
}
/* Formulaire mobile */
@media (max-width: 700px) {
  #inscription form {
    width: 100%;
  }

  #inscription form label {
    display: block;
    width: 100%;
    margin-top: 16px;
  }

  #inscription form input,
  #inscription form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
  }

  #inscription form textarea {
    min-height: 120px;
  }

  #inscription form button {
    width: 100%;
    margin-top: 20px;
  }
}
#inscription form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#inscription form label {
  display: block;
  width: 100%;
}

#inscription form input,
#inscription form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#inscription form textarea {
  min-height: 120px;
}

#inscription form button {
  width: 100%;
  margin-top: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.chargement {
  color: #b9a9c2;
  font-style: italic;
}

/* Sections sécurité / rapport : présentation plus compacte */
section.compacte {
  padding: 50px 6%;
}

section.compacte h2 {
  font-size: 26px;
}

section.compacte > p {
  font-size: 15px;
  max-width: 640px;
}

.securite .alerte {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 79, 216, 0.08);
  border: 1px solid #42254d;
  font-size: 14px;
}

#rapport form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
  margin-top: 16px;
}

#rapport form label {
  font-size: 14px;
}

#rapport form select,
#rapport form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #42254d;
  background: #150e1a;
  color: #f5f2f7;
  font-family: inherit;
}

#rapport form textarea {
  min-height: 90px;
}

#rapport form button {
  margin-top: 4px;
  align-self: flex-start;
}

@media (max-width: 700px) {
  section.compacte {
    padding: 36px 5%;
  }

  #rapport form button {
    width: 100%;
  }
}

.tarifs {
  margin-top: 30px;
}

/* Photo de profil principale */
.profil-photo-principale {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #ff4fd8;
  background: #150e1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profil-photo-principale img,
.profil-photo-principale #placeholder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profil-photo-principale #placeholder-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.bouton-camera-profil {
  display: block;
  margin-top: 12px;
  padding: 8px 14px;
  font-size: 14px;
}

.section-galerie #bouton-prendre-photo {
  margin-left: 10px;
}

@media (max-width: 700px) {
  .section-galerie #bouton-prendre-photo {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Galerie privée du profil */
.section-galerie {
  margin: 30px 0;
}

#galerie-medias {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.media-galerie {
  background: #150e1a;
  border: 1px solid #42254d;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.media-galerie img,
.media-galerie video {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  background: #000;
}

.media-galerie .bouton-supprimer-media {
  padding: 6px 10px;
  font-size: 13px;
}.modale-overlay {
  position: fixed; top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}
.modale-contenu {
  background: white; width: 90%; max-width: 420px; height: 70vh;
  border-radius: 12px; display: flex; flex-direction: column; overflow: hidden;
}
.modale-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid #eee;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px;
}
.msg-bulle { padding: 8px 12px; border-radius: 14px; max-width: 75%; }
.msg-envoye { background:#4a90d9; color:white; align-self:flex-end; }
.msg-recu { background:#eee; color:#222; align-self:flex-start; }
.chat-input-zone { display:flex; padding:8px; border-top:1px solid #eee; gap:8px; }
.chat-input-zone input { flex:1; padding:8px; border-radius:8px; border:1px solid #ddd; }

.choix-envies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}
.choix-envies label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
}
