:root {
  --primary: #009ee2;
  --accent: #0078c2;
  --light: #c1e8ff;
  --dark: #003f6b;
  --background-overlay: rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  color: white;
  position: relative;
  z-index: 1;
  background: var(--dark);
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.5);
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--background-overlay);
  position: relative;
  z-index: 1002;
}

.logo-wrapper {
  width: 60px;
  height: 60px;
  perspective: 1000px;
}

.logo-rotator {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.logo-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
}

.front-face {
  transform: rotateY(0deg);
}

.back-face {
  transform: rotateY(180deg);
}

.logo-wrapper:hover .logo-rotator {
  transform: rotateY(180deg);
  transition: transform 0.8s ease;
}

.hamburger {
  width: 30px;
  height: 25px;
  position: relative;
  cursor: pointer;
  display: none;
  z-index: 1003;
}

.hamburger span {
  background: #0078c2;
  height: 2px;
  width: 100%;
  position: absolute;
  left: 0;
  transition: 0.4s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 11px;
}

.hamburger span:nth-child(3) {
  top: 22px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 11px;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #b5e2ff;
  font-weight: bold;
}

.nav-links a:hover {
  color: var(--primary) ;
}

main {
  padding: 2rem;
  text-align: center;
}

.hero {
  margin: 0 0 4rem 0;
}

.main-logo {
  max-width: 300px;
  margin-bottom: 1.5rem;
} 

.cta-button {
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: var(--accent);
}

.pricing-table {
  margin: 2rem auto;
  border-collapse: collapse;
  width: 80%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid var(--light);
  padding: 1rem;
  color: white;
}

.pricing-table th {
  background-color: var(--primary);
}

.media-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 1rem;
}

.media-grid img,
.media-grid iframe {
  width: 100%;
  border-radius: 10px;
}

.socials {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.socials img {
  height: 40px;
  transition: transform 0.2s ease;
}

.socials img:hover {
  transform: scale(1.1);
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: var(--background-overlay);
    position: absolute;
    right: 2rem;
    top: 80px;
    padding: 1rem;
    border-radius: 5px;
    z-index: 1002;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .logo-rotator {
    animation: spinLogo 5s linear infinite;
  }

  .logo-wrapper:hover .logo-rotator {
    transition: none;
  }

  @keyframes spinLogo {
    0% {
      transform: rotateY(0deg);
    }
    49.999% {
      transform: rotateY(179.99deg);
    }
    50% {
      transform: rotateY(180deg);
    }
    100% {
      transform: rotateY(360deg);
    }
  }
}

/* boutique */
.shop-section {
  padding: 4rem 2rem;
  text-align: center;
}

.shop-section h2 {
  font-size: 2.5rem;
  color: var(--light);
  margin-bottom: 1rem;
}

.shop-section {
  padding: 4rem 1rem;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.product-card {
  max-width: 220px;
  margin: 0 auto;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.2rem;
  color: var(--light);
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.95rem;
  color: #e0f7ff;
  margin-bottom: 1rem;
}

.product-card .price {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.product-card button {
  background-color: var(--accent);
  border: none;
  color: white;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.product-card button:hover {
  background-color: var(--primary);
}

/* contact */
.contact-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.8rem;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

.contact-form button {
  background: var(--primary);
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--accent);
}

.hidden {
  display: none;
}

/* booking */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #111;
  color: #f5f5f5;
}

header {
  background-color: #1a1a1a;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.5rem;
}

main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 1rem;
}

.calendly-container {
  position: relative;
  padding-bottom: 125%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.calendly-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}

.lower-padding{
  margin: 0 0 2rem 0;
}

/* --- Services déroulants --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid #333;
  padding: 12px;
  text-align: left;
}

.toggle-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1em;
  margin-left: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.toggle-btn.open {
  transform: rotate(180deg);
}

.service-description {
  display: none;
  background-color: rgba(255,255,255,0.05);
  color: #ccc;
  font-size: 0.95em;
  line-height: 1.5;
}

.service-description.show {
  display: table-row;
}

/* --- FAQ Section --- */
.faq-section {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: left;
}

/* Section title */
.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}

/* Each FAQ item block */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

/* The clickable question */
.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 0;
  cursor: pointer;
  position: relative;
  color: #fff;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

/* + / – icon on the right */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease, content 0.3s ease;
}

.faq-question.open::after {
  content: "–";
  transform: translateY(-50%) rotate(180deg);
}

/* Hidden answer container */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  color: #ccc;
  opacity: 0;
}

/* Visible answer state (when JS adds .open) */
.faq-question.open + .faq-answer {
  max-height: 500px; /* adjusted dynamically if needed */
  opacity: 1;
}

/* Text inside the answer */
.faq-answer p {
  padding: 0.5rem 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Beat playing */
.beat-image {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.beat-image.playing {
  opacity: 0.75;
}

/* =====================================================
   === BEATS – "M'INFORMER" MODAL ===
   ===================================================== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000; /* higher than header + overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

/* Modal box */
.modal-content {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  animation: modalFadeIn 0.25s ease;
}

/* Title */
.modal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--light);
  text-align: center;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: white;
}

/* Form layout */
.notify-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notify-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: #ccc;
}

.notify-form input[type="text"],
.notify-form input[type="email"] {
  margin-top: 0.4rem;
  padding: 0.7rem;
  border-radius: 6px;
  border: none;
  background: #1c1c1c;
  color: white;
  font-size: 0.95rem;
}

/* Checkboxes */
.notify-form .checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.4;
}

.notify-form .checkbox input {
  margin-top: 0.2rem;
}

/* Submit */
.notify-form button[type="submit"] {
  margin-top: 0.8rem;
  background: var(--primary);
  border: none;
  color: white;
  padding: 0.75rem;
  font-size: 0.95rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.notify-form button[type="submit"]:hover {
  background: var(--accent);
}

/* Honeypot (bot trap) */
.notify-form .hp {
  display: none !important;
}

/* Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .modal-content {
    padding: 1.5rem;
    border-radius: 10px;
  }
}

/* ==========================
   === Thank you! Form ===
   ========================== */
.thank-you-hero {
  padding: 4rem 2rem;
  text-align: center;
}

.thank-you-hero p {
  margin-bottom: 2rem; /* adds space below paragraph */
  font-size: 1.2rem;   /* optional: make text slightly bigger */
  line-height: 1.6;
}

.thank-you-hero .cta-button {
  display: inline-block;
  margin-top: 1rem; /* ensures button doesn’t collide with paragraph */
}

.checkmark {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  animation: pop 0.5s ease-out;
}

@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}


/* ==========================
   === Business Info Block ===
   ========================== */
.business-info {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}
  
.business-info h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
  
.business-info p {
  margin: 0.4rem 0;
  font-size: 1rem;
  line-height: 1.5;
}
  
.business-name {
  font-weight: 600;
}
  
.business-address {
  opacity: 0.85;
}

.business-email {
  margin-top: 0.8rem;
  opacity: 0.85;
}

.business-phone {
  margin-top: 0.8rem;
}

 /* =====================================================
   === LEGAL / PRIX – PAGES D’ACCEPTATION (AJOUT) ===
   ===================================================== */

.legal-page {
  background: var(--accent);
}

.legal-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.legal-header {
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  margin-bottom: 3rem;
}

.legal-header h1 {
  font-size: 2.2rem;
  color: var(--light);
  margin-bottom: 0.5rem;
}

.legal-header .subtitle {
  font-size: 1rem;
  opacity: 0.85;
}

/* --- Résumé court --- */
.legal-summary {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.legal-summary h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legal-summary ul {
  list-style: none;
  padding-left: 0;
}

.legal-summary li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.legal-summary .note {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* --- Contenu légal --- */
.legal-content {
  text-align: left;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  color: var(--primary);
}

.legal-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #e6f6ff;
}

.legal-content ul {
  margin-left: 1.2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.legal-content blockquote {
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--primary);
  background: rgba(255, 255, 255, 0.05);
  font-style: italic;
}

/* --- Formulaire --- */
.legal-form {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}

.legal-form h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
  margin-right: 0.6rem;
  transform: scale(1.1);
}

.form-group input[type="text"],
.form-group select {
  margin-top: 0.4rem;
  width: 100%;
  padding: 0.7rem;
  border-radius: 6px;
  border: none;
  background: #1c1c1c;
  color: white;
  font-size: 0.95rem;
}

.confirm-renunciation {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #ffb3b3;
}

/* --- Bouton --- */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  border: none;
  color: white;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* --- Mobile --- */
@media (max-width: 600px) {
  .legal-container {
    padding: 1.5rem 1.2rem;
  }

  .legal-header h1 {
    font-size: 1.8rem;
  }

  .legal-summary h2,
  .legal-content h2 {
    font-size: 1.25rem;
  }
}
