:root {
  --bg: #f7f5f2;
  --text: #222222;
  --accent: #e02525;
  --dark: #111111;
  --muted: #666666;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* NAV + HEADER */

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* logo */

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  height: 115px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* bloc central : liens nav */

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  transition: max-height 0.3s ease;
}

.top-nav nav {
  display: flex;
}

.top-nav nav a {
  color: #ffffff;
  opacity: 0.9;
  text-decoration: none;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0.75rem;
  transition: 0.25s;
}

.top-nav nav a:hover {
  opacity: 1;
  color: var(--accent);
}

/* bloc droit : réseaux + compte + burger */

.social-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 1rem 0 0;
  gap: 1.5rem;
}

.facebook-icon {
  transition: transform 0.25s ease, opacity 0.25s ease;
  cursor: pointer;
}

.facebook-icon:hover {
  transform: scale(1.18);
  opacity: 0.85;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.instagram-svg {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.instagram-link:hover .instagram-svg {
  transform: scale(1.18);
  opacity: 0.85;
}

/* bloc compte */

.nav-auth {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* bloc compte mobile (caché sur desktop) */

.nav-auth-mobile {
  display: none;
}

/* Bouton connexion/inscription */

.btn-auth-primary {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.15s ease;
}

.btn-auth-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

/* Utilisateur connecté */

.nav-user-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-user-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.nav-user-name {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-user-status {
  font-size: 0.75rem;
  opacity: 0.9;
}

.nav-user-status-warning {
  color: #facc15;
}

.nav-user-status-ok {
  color: #4ade80;
}

.nav-logout-form {
  margin: 0;
}

.btn-logout {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: transparent;
  color: #e5e7eb;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-logout:hover {
  background: #ef4444;
  border-color: #b91c1c;
  color: #fee2e2;
}

/* MENU HAMBURGER */

.hamburger {
  display: none;
  width: 32px;
  height: 28px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
  transition: 0.3s;
}

/* breakpoints */

@media (max-width: 1100px) {
  .top-nav {
    padding: 0.75rem 1.5rem;
  }

  .logo {
    height: 110px;
  }

  .top-nav nav a {
    font-size: 0.95rem;
    margin: 0 0.4rem;
  }
}

@media (max-width: 1050px) {
  .logo {
    height: 100px;
  }

  /* menu déroulant plein écran sous le header */
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-bottom: none;
    z-index: 90;
    transition: max-height 0.35s ease-in-out;
  }

  .nav-links.nav-open {
    max-height: 800px;
  }

  .nav-links nav {
    display: flex;
    flex-direction: column;
  }

  .nav-links nav a {
    padding: 1rem;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .hamburger {
    display: flex;
    margin-left: 1rem;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }
}

/* blur du contenu quand menu ouvert */

#page-content {
  transition: filter 0.25s ease;
}

body.menu-open #page-content {
  filter: blur(4px);
}

/* Bouton générique */

.btn {
  background: var(--accent);
  color: #ffffff;
  padding: 0.7rem 1.6rem;
  border-radius: 40px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background: #e02525;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* HERO */

.hero {
  position: relative;
  height: 105vh;
  width: 100%;
  background: url("images/fond_hero.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 750px;
  padding: 270px 0 50px 0;
}

.hero-logo {
  height: 400px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.hero h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero p {
  color: #f1f1f1;
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards;
}

.hero-content h1 {
  animation-delay: 0.3s;
}

.hero-content h2 {
  animation-delay: 0.45s;
}

.hero-content p {
  animation-delay: 0.5s;
}

.hero-actions {
  animation-delay: 0.65s;
  display: flex;
  gap: 3rem;
  justify-content: center;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .hero {
    height: auto;
    background-position: center;
  }

  .hero-content {
    padding: 150px 1.5rem 3rem 1.5rem;
  }

  .hero-logo {
    height: 200px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1rem;
  }

  .hero p {
    font-size: 0.95rem;
  }
}

/* FIX HERO iPad paysage */

@media (max-height: 750px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 700px;
    padding-top: 180px;
    padding-bottom: 120px;
  }

  .hero-content {
    padding-top: 0 !important;
  }

  .hero-logo {
    height: 250px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero h2 {
    font-size: 1rem;
  }
}

/* SECTIONS GÉNÉRIQUES */

.section {
  padding: 3rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ABOUT */

.about-container {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  margin: 4rem 0 7rem 0;
}

.about-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.about-text {
  max-width: 600px;
}

.about-title {
  font-size: 2rem;
  margin: 0.5rem 0 1.5rem;
  color: var(--text);
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-signature {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 320px;
  }

  .about-title {
    font-size: 1.6rem;
  }
}

/* SECTION VIDÉO FULL WIDTH */

.video-section-full {
  width: 100%;
  padding: 6rem 0;
  background:
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.349), transparent 75%),
    radial-gradient(circle at bottom right, rgba(255, 0, 0, 0.212), transparent 55%),
    linear-gradient(180deg, #0b0b0b, #181818);
  background-attachment: fixed;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.video-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.video-text {
  flex: 1 1 380px;
  color: #f2f2f2;
}

.video-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 0.5rem;
  margin-bottom: 1.8rem;
  color: #ffffff;
  position: relative;
}

.video-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.6rem;
  width: 70px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
}

.video-text p {
  color: #cccccc;
  margin-bottom: 0.8rem;
}

.video-link-ig {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.video-link-ig:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.video-shell {
  flex: 0 0 360px;
  display: flex;
  justify-content: center;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.55);
}

.promo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-overlay.is-playing {
  opacity: 0;
  visibility: hidden;
}

.video-play-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.55);
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.video-play-button:hover {
  transform: scale(1.12);
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.75);
}

@media (max-width: 900px) {
  .video-inner {
    flex-direction: column;
    text-align: center;
  }

  .video-text {
    text-align: center;
  }

  .video-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .video-shell {
    margin-top: 2rem;
  }
}

/* SECTION SERVICES */

/* ===== SECTION PROGRAMMES ===== */

.services-section {
  padding: 9rem 2vw 4rem;
  text-align: center;
}

.services-section h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.services-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.services-intro {
  max-width: 650px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: #ffffff;
}

/* ===== GRILLE DES CARDS ===== */

.services-cards {
  display: flex;
  align-items: stretch;
  gap: 3rem;
}

/* ===== CARDS ===== */

.service-card {
  position: relative;
  flex: 1;
  height: 550px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition:
    flex 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* Images de fond (remplace si tu veux 2 visuels différents) */
.service-trx {
  background-image: url("images/cours_groupe.webp");
}

.service-coaching {
  background-image: url("images/cours_perso.webp");
}

/* Overlay + flou au hover */

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.25)
  );
  opacity: 0.7;
  backdrop-filter: blur(0px);
  transition:
    opacity 0.35s ease,
    backdrop-filter 0.35s ease;
}

/* ===== CONTENU INTERNE ===== */

.service-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  color: #ffffff;
}

/* Titre + pastille floutée */

.service-content h4 {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: #ffffff;
  z-index: 1;
  margin: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.service-content h4::before {
  content: "";
  position: absolute;
  inset: -0.25rem -0.6rem;
  border-radius: inherit;
  z-index: -1;
}

/* Paragraphe + liste + bouton cachés au repos */

.service-content p,
.service-content ul,
.service-btn {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Paragraphe (poussé vers le bas de la card) */

.service-content p {
  margin-top: auto;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Liste */

.service-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  font-size: 1.1rem;
}

.service-content ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.3rem;
}

.service-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent, #e02525);
}

/* Bouton */

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #111;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  margin-top: auto;
}

/* ===== EFFET FLEX : CARD QUI GRANDIT AU HOVER ===== */

.services-cards:hover .service-card {
  flex: 0.9;
}

.services-cards:hover .service-card:hover {
  flex: 1.2;
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

/* Overlay + flou + texte visible sur la card hover */

.services-cards:hover .service-card:hover::before {
  opacity: 0.95;
  backdrop-filter: blur(3px);
}

.services-cards:hover .service-card:hover .service-content p,
.services-cards:hover .service-card:hover .service-content ul,
.services-cards:hover .service-card:hover .service-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* ===== RESPONSIVE MOBILE ===== */

@media (max-width: 900px) {
  /* Section globale */
  .services-section {
    padding: 3rem 1.2rem 3.5rem;
  }

  /* Grille -> colonne */
  .services-cards {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
  }

  /* Card de base sur mobile (fixe) */
  .service-card {
    flex: 1;
    transform: none;
    height: auto; /* suit le contenu */
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    transition: none;
  }

  /* On neutralise complètement l'effet flex/hover sur petits écrans */
  .services-cards:hover .service-card,
  .services-cards:hover .service-card:hover {
    flex: 1;
    transform: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  }

  .services-cards:hover .service-card:hover::before {
    opacity: 0.9;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .services-cards:hover .service-card:hover .service-content p,
  .services-cards:hover .service-card:hover .service-content ul,
  .services-cards:hover .service-card:hover .service-btn {
    opacity: 1;
    transform: none;
  }

  /* Overlay lisible mais plus léger */
  .service-card::before {
    opacity: 0.9;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.65) 40%,
      rgba(0, 0, 0, 0.15) 100%
    );
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
  }

  /* Cartouche texte */
  .service-content {
    margin: 0.75rem auto 1rem;
    padding: 1.1rem 1rem 1.3rem;
    max-width: 95%;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }

  /* Titre sans fond flouté */
  .service-content h4 {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.3;
  }

  /* Paragraphe */
  .service-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Liste allégée */
  .service-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
  }

  .service-content ul li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
  }

  .service-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent, #e02525);
  }

  /* Bouton : full width, bien cliquable, sans anim */
  .service-btn {
    display: inline-flex;
    width: 100%;
    margin-top: 0.6rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Tout le contenu est toujours visible, sans anim */
  .service-content p,
  .service-content ul,
  .service-btn {
    opacity: 1;
    transform: none;
  }
}




/* LAYOUT HELPERS */

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: #111;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #222;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h4 {
  margin: 0;
}

.card p {
  color: var(--muted);
}

.card ul {
  padding-left: 1.2rem;
  margin: 0;
  color: var(--muted);
}

/* PLANNING (générique) */

.section-sub {
  margin-top: 2.5rem;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.inline-form input,
.inline-form select {
  padding: 0.5rem;
  border-radius: 999px;
  border: 1px solid #333;
  background: #050505;
  color: var(--text);
}

.class-card-footer {
  margin-top: auto;
}

/* FAQ */

.faq-section {
  max-width: 900px;
}

.faq-intro {
  max-width: 600px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid #ddd;
  background: #ffffff;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}

.faq-icon {
  margin-left: 1rem;
  font-size: 1.2rem;
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq-item.open .faq-answer {
  padding-bottom: 0.9rem;
  max-height: 400px;
}

.faq-answer p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

@media (max-width: 600px) {
  .faq-question {
    font-size: 0.95rem;
  }
}

/* ========= SECTION CONTACT ========= */

.contact-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.contact-header {
  max-width: 700px;
  margin-bottom: 2rem;
}

.contact-header h3 {
  margin: 0 0 0.5rem;
}

.contact-header p {
  margin: 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

.contact-card {
  background: #050505;
  border-radius: 1.2rem;
  padding: 2.2rem 2.4rem;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.6);
  border: 1px solid #222;
  color: #f5f5f5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* LABELS classiques (Prénom, E-mail, etc.) */
.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #bbbbbb;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #333;
  background: #111;
  color: #f5f5f5;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #777;
  font-size: 0.9rem;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: #141414;
  box-shadow: 0 0 0 1px rgba(224, 37, 37, 0.5);
}

.contact-form select {
  cursor: pointer;
}

.field-group-rgpd {
  margin-top: 0.5rem;
  align-items: flex-start;
}

.rgpd-label {
  font-size: 0.65rem !important;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  max-width: 480px;
}

.rgpd-label input[type="checkbox"] {
  width: auto;
  height: auto;
  margin-top: 0.2rem;
  border: none;
  background: transparent;
  box-shadow: none;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 0.4rem;
  padding-inline: 2.4rem;
}

.contact-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #aaaaaa;
}

.contact-note a {
  color: var(--accent);
  text-decoration: none;
}

.contact-note a:hover {
  text-decoration: underline;
}

.contact-infos {
  font-size: 0.95rem;
}

.contact-infos h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.contact-icon {
  margin-top: 0.05rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-links a:hover {
  opacity: 0.85;
  transform: translateX(2px);
}

/* Message de retour (succès / erreur) */
.contact-response {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.contact-response--success {
  color: #4ade80; /* vert */
}

.contact-response--error {
  color: #f97373; /* rouge */
}

@media (max-width: 900px) {
  .contact-header {
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.8rem 1.6rem;
  }

  .contact-submit {
    align-self: center;
  }

  .contact-infos {
    text-align: left;
  }
}


/* FOOTER */

.footer {
  background: #050505;
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #222;
}

.footer-links {
  margin-top: 0.4rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-col {
  min-width: 200px;
  font-size: 0.9rem;
}

.footer-col h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #f5f5f5;
}

.footer-col p {
  margin: 0;
  color: #888888;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-nav a {
  color: #d0d0d0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover {
  opacity: 0.85;
  transform: translateX(2px);
}

.footer-meta {
  text-align: right;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 0.4rem;
}

.footer-legal a {
  color: #d0d0d0;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: #777777;
}

.footer a {
  color: var(--accent);
}

@media (max-width: 800px) {
  .footer {
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .footer-copy {
    text-align: center;
  }
}

.small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* BACK TO TOP */

#back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(2);
  transition: opacity 0.3s, transform 0.25s, color 0.25s;
  color: var(--accent);
  z-index: 9999;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(2.5);
}

#back-to-top:hover {
  transform: scale(3.2);
  color: #ff4343;
}

.back-to-top-icon {
  display: block;
}

/* ICONES RÉSEAUX HEADER */

.ig-header-icon img {
  width: 24px;
  height: 24px;
  opacity: 0.85;
  transition: 0.25s;
}

.ig-header-icon img:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* PLANNING SPÉCIFIQUE */

#planning {
  padding-top: 2.5rem;
  margin-top: 3rem;
}

#planning h3 {
  position: relative;
  margin-bottom: 0.75rem;
}

#planning h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  margin-top: 0.35rem;
}

#planning .section-intro {
  max-width: 720px;
  margin-bottom: 2.5rem;
  color: var(--muted);
}

#planning .cards {
  gap: 2rem;
}

#planning .card {
  background: #111111;
  border-radius: 18px;
  padding: 1.8rem;
  border: 1px solid #222;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  color: #f5f5f5;
}

#planning .card h4 {
  color: #e02525;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

#planning .card p strong {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

#planning .card p {
  color: #d4d4d4;
}

#planning .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#planning .small {
  margin-top: 1.5rem;
  color: #777777;
  text-align: center;
}

@media (max-width: 768px) {
  #planning {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  #planning .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* PAGES LÉGALES */

body.legal-body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.35), transparent 70%),
    radial-gradient(circle at bottom right, rgba(224, 37, 37, 0.22), transparent 55%),
    linear-gradient(180deg, #050505, #141414);
  color: #f5f5f5;
  line-height: 1.6;
}

.legal-top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid #222;
}

.legal-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #f5f5f5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-logo span {
  font-weight: 700;
}

.legal-back-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.legal-back-link:hover {
  opacity: 0.8;
  transform: translateX(-2px);
}

.legal-wrapper {
  max-width: 900px;
  margin: 2.5rem auto 3rem auto;
  padding: 0 1.5rem 2rem 1.5rem;
}

.legal-wrapper h1 {
  font-size: 2.1rem;
  margin: 0 0 0.75rem;
}

.legal-wrapper .legal-intro {
  color: #bbbbbb;
  margin-bottom: 2rem;
}

.legal-wrapper h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.legal-wrapper p,
.legal-wrapper li {
  color: #d2d2d2;
  font-size: 0.96rem;
}

.legal-wrapper ul {
  padding-left: 1.2rem;
  margin: 0.3rem 0 1rem;
}

.legal-wrapper a {
  color: var(--accent);
  text-decoration: none;
}

.legal-wrapper a:hover {
  text-decoration: underline;
}

body.legal-body .footer {
  border-top: 1px solid #222;
  color: #888;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* MODAL AUTH */

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
}

.auth-modal.hidden {
  display: none;
}

.auth-modal-content {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: radial-gradient(circle at top, #151515 0%, #050505 45%, #050505 100%);
  border-radius: 20px;
  border: 1px solid rgba(224, 37, 37, 0.55);
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  padding: 22px 26px 20px;
  color: #f5f5f5;
}

.auth-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #e02525;
  background: transparent;
  color: #e5e7eb;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease, color 0.15s ease;
}

.auth-modal-close:hover {
  background: #ef4444;
  border-color: #b91c1c;
  color: #fee2e2;
  transform: translateY(-1px);
}

.auth-section.auth-single {
  max-width: 100%;
  margin: 0;
  display: block;
}

@media (max-width: 600px) {
  .logo {
    height: 80px;
  }
}

/* NAV: desktop vs mobile auth blocs */

.nav-auth-desktop {
  display: flex;
}

.nav-auth-link-mobile {
  display: none;
  background: transparent;
  margin: 0.5rem 1rem 1.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .nav-auth-desktop {
    display: none;
  }

  .nav-auth-link-mobile {
    display: block;
  }

  .nav-auth-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.9rem 1.2rem 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .nav-user-name-mobile {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
  }

  .nav-auth-mobile .nav-user-status {
    font-size: 0.8rem;
    margin-top: 0.15rem;
  }

  .nav-logout-form-mobile {
    width: 100%;
  }

  .nav-logout-form-mobile .btn-logout-mobile {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: rgba(224, 37, 37, 0.18);
    color: #f9fafb;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  }
}

/* ===== PAGE RÉSERVATIONS ===== */

.reservations-body {
    background: #F7F5F2;
    color: #f9fafb;
}

#reservations-page {
  padding-bottom: 80px;
}

.reservations-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
  padding-top: 250px;
}

.reservations-hero-card {
  background: rgba(8, 8, 8, 0.92);
  border-radius: 18px;
  border: 1px solid #e02525;
  padding: 1.8rem 2.2rem;
  margin-bottom: 2.2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.reservations-hero-card h1 {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1.7rem;
}

.reservations-hero-card p {
  margin: 0;
  color: #d1d5db;
  font-size: 0.95rem;
}

.reservations-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 1.8rem;
}

.reservations-card {
  background: rgba(8, 8, 8, 0.92);
  border-radius: 18px;
  padding: 1.7rem 1.8rem 1.5rem;
  border: 1px solid #e02525;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.reservations-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.reservations-card p {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.reservations-status {
  min-height: 18px;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.reservations-list {
  font-size: 0.9rem;
}

/* Mobile réservations */

@media (max-width: 900px) {
  #reservations-page {
    padding-top: 110px;
  }
  
  .reservations-shell {
  padding-top: 110px;
}

  .reservations-grid {
    grid-template-columns: 1fr;
  }
}

/* panneau inscription caché au chargement */
#auth-register-panel {
  display: none;
}

.auth-panel-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.auth-panel-lead {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0;
  margin-bottom: 16px;
}

.auth-field {
  margin-bottom: 10px;
}

.auth-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.auth-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e02525;
  background: #222222;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.auth-input-small {
  font-size: 0.85rem;
}

.auth-status {
  min-height: 18px;
  font-size: 0.8rem;
  margin: 6px 0;
}

.auth-submit {
  margin-top: 4px;
  background: #e02525;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.auth-submit-cream {
  color: #f7f5f2;
}

.auth-resend-form {
  margin-top: 16px;
  border-top: 1px solid #1f2937;
  padding-top: 12px;
  font-size: 0.85rem;
}

.auth-resend-text {
  margin: 0 0 6px;
  opacity: 0.8;
}

.auth-resend-status {
  margin: 4px 0;
}

.auth-secondary-button {
  background: transparent;
  border-radius: 999px;
  border: 1px solid #e02525;
  color: #e5e7eb;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.auth-switch-text {
  margin-top: 18px;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.85;
}

.auth-switch-link {
  background: none;
  border: none;
  color: #e02525;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-150px);
  transition: opacity 1.8s ease-out, transform 1.8s ease-out;
  will-change: opacity, transform;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-left {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: opacity, transform;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ========= SECTION TARIFS ========= */

.pricing-section {
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.pricing-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Titre + intro */

.pricing-section .section-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  text-align: left;
  color: var(--accent);
}

.pricing-section .section-intro {
  max-width: 680px;
  margin: 0 0 2.5rem;
  color: #ffffff;
  font-size: 1rem;
}

/* GRID DES CARTES */

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 1.8rem;
}

/* CARTES TARIFS */

.pricing-card {
  background: #111111;
  border-radius: 18px;
  padding: 1.8rem 2rem;
  border: 1px solid #222;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card .price {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing-card .sub-price {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: #d4d4d4;
}

.pricing-card ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  font-size: 0.95rem;
  color: #d4d4d4;
}

.pricing-card ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
}

.pricing-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* Carte mise en avant (10 + 1 offerte) */

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
}

/* Hover */

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
  border-color: rgba(224, 37, 37, 0.8);
}

/* Boutons dans les cartes */

.pricing-card .btn,
.pricing-card .btn-outline {
  margin-top: auto;
}

/* Variante bouton outline (utilisée pour la carte) */

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}

/* Note sous les cartes */

.pricing-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #777777;
  text-align: left;
}


@media (max-width: 900px) {
  .pricing-section {
    padding: 4rem 1.5rem 3rem;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-section .section-title {
    text-align: center;
  }

  .pricing-section .section-intro {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .pricing-card {
    padding: 1.6rem 1.6rem 1.5rem;
  }

  .pricing-note {
    text-align: center;
  }
}
