.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
  background: #fff;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --orange: #cb6419;
  --orange-dark: #a85114;
  --grey: #575656;
  --white: #ffffff;
  --dark: #1a1a1a;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== UTILITY ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-padding { padding: 75px 0; }
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-title p {
  color: #888;
  font-style: italic;
  margin-top: 8px;
  font-size: 1rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.navbar-logo img {
  height: 44px;
  width: auto;
}
.navbar-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.navbar-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: color var(--transition);
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.navbar-links a:hover { color: var(--orange); }
.navbar-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none; border: none;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--grey);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--orange) 0%, var(--grey) 100%);
  overflow: hidden;
}
/* Geometric pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.04) 40px,
      rgba(255,255,255,0.04) 42px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.04) 40px,
      rgba(255,255,255,0.04) 42px
    );
  pointer-events: none;
}
/* Additional circle shapes for depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.05) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.15);
}
.hero-content .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--white);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 4px;
  margin-bottom: 18px;
  opacity: 0.92;
}
.hero-content .tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.btn-cta {
  display: inline-block;
  padding: 15px 42px;
  background: var(--white);
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  border: 2px solid var(--white);
  transition: var(--transition);
  cursor: pointer;
}
.btn-cta:hover {
  background: transparent;
  color: var(--white);
}

/* ===== À PROPOS ===== */
.about-text {
  max-width: 850px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 1.02rem;
  color: #555;
  line-height: 1.85;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.about-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid transparent;
  transition: var(--transition);
}
.about-card:hover {
  border-top-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.about-card .card-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(203,100,25,0.08);
  border-radius: 50%;
}
.about-card .card-icon svg {
  width: 26px; height: 26px;
  fill: var(--orange);
}
.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--grey);
  margin-bottom: 10px;
}
.about-card p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
}

/* ===== NOS SERVICES ===== */
.services-image {
  text-align: center;
  margin-bottom: 0;
}
.services-image img {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.services-image img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}
.services-banner {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 22px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  max-width: 900px;
  margin: 0 auto 50px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card .svc-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(203,100,25,0.08);
  border-radius: 50%;
}
.service-card .svc-icon svg {
  width: 24px; height: 24px;
  fill: var(--orange);
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
}

/* ===== NOS ESPACES ===== */
.spaces-slideshow-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
.spaces-slideshow {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.spaces-slide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  flex-shrink: 0;
  width: 100%;
  padding: 0 80px;
}
.space-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.space-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.space-item:hover img { transform: scale(1.08); }
.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slideshow-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-50%) scale(1.1);
}
.slideshow-btn-prev { left: -70px; }
.slideshow-btn-next { right: -70px; }
.spaces-slideshow-wrapper:hover .slideshow-btn-prev { left: 30px; }
.spaces-slideshow-wrapper:hover .slideshow-btn-next { right: 30px; }

/* ===== NOS FORMULES ===== */
.formules-slideshow-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.formules-slideshow {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}
.formules-slide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  flex-shrink: 0;
  width: 100%;
  padding: 0 15px;
}
.formule-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.formule-card:hover {
  border-bottom-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.formule-card img {
  width: 100%;
  display: block;
}

/* ===== MODAL LIGHTBOX FORMULES ===== */
.formule-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.formule-modal.active {
  display: flex;
  opacity: 1;
}
.formule-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.formule-modal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1001;
  padding: 20px;
  animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.formule-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 1002;
}
.formule-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
#formuleModalImg {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.formule-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1002;
}
.formule-modal-nav:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}
.formule-modal-nav-prev {
  left: 20px;
}
.formule-modal-nav-next {
  right: 20px;
}

/* ===== MODAL LIGHTBOX SERVICES ===== */
.services-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
}
.services-modal.active {
  display: flex;
  opacity: 1;
}
.services-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
}
.services-modal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1001;
  padding: 20px;
  animation: zoomIn 0.3s ease;
}
.services-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: var(--dark);
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 1002;
}
.services-modal-close:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: rotate(90deg);
}
#servicesModalImg {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* ===== NOTRE ÉQUIPE ===== */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.team-card {
  text-align: center;
  max-width: 240px;
}
.team-card .team-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--orange);
  box-shadow: 0 4px 20px rgba(203,100,25,0.15);
}
.team-card .team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--grey);
  margin-bottom: 4px;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--grey);
  font-style: italic;
}

/* ===== NOS PARTENAIRES ===== */
.partenaires-section {
  background: #f8f8f8;
}
.carousel-track {
  display: flex;
  width: max-content;
  animation: scrollCarousel 20s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
.carousel-item {
  flex-shrink: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  margin: 10px 5px;
}
.carousel-item img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter var(--transition), opacity var(--transition);
}
.carousel-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-wrapper {
  overflow: hidden;
  position: relative;
}
.carousel-wrapper::before,
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #f8f8f8, transparent);
}
.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f8f8f8, transparent);
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--grey);
  color: var(--white);
}
.contact-section .section-title h2 { color: var(--white); }
.contact-section .section-title h2::after { background: var(--orange); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-map {
  min-height: 420px;
}
.contact-map .maps-wrapper {
  height: 100%;
  min-height: 420px;
}
.contact-map .maps-wrapper iframe {
  height: 100%;
  min-height: 420px;
}
.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--orange);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-info-item svg {
  width: 20px; height: 20px;
  fill: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-info-item span {
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-info-item a {
  color: var(--white);
  transition: color var(--transition);
}
.contact-info-item a:hover { color: var(--orange); }
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}
.social-links a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.social-links a svg {
  width: 18px; height: 18px;
  fill: var(--white);
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.12);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  display: inline-block;
  padding: 14px 40px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--orange);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
}
.btn-submit:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

/* ===== GOOGLE MAPS ===== */
.maps-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.maps-wrapper iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 22px 20px;
  font-size: 0.85rem;
}
.footer a { color: var(--orange); }

/* ===== RESPONSIVE ===== */
/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  display: none;
}
@media (max-width: 768px) {
  .whatsapp-float {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .whatsapp-float:active {
    transform: scale(0.93);
    box-shadow: 0 2px 8px rgba(37,211,102,0.35);
  }
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
  }
}

@media (max-width: 1024px) {
  .about-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .spaces-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section-padding { padding: 45px 0; }
  .section-title { margin-bottom: 40px; }
  .section-title h2 { font-size: 1.7rem; }

  /* Navbar mobile */
  .hamburger { display: flex; }
  .navbar-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    box-shadow: -4px 0 30px rgba(0,0,0,0.1);
    transition: right var(--transition);
    z-index: 1000;
  }
  .navbar-links.open { right: 0; }
  .navbar-links a { font-size: 1rem; }

  /* Mobile overlay */
  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
  }
  .mobile-overlay.show { display: block; }

  .about-cards { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
      .spaces-slide { grid-template-columns: 1fr; }
      .formules-slide { grid-template-columns: 1fr; }
      .contact-grid { grid-template-columns: 1fr; gap: 40px; }
      .contact-map, .contact-map .maps-wrapper, .contact-map .maps-wrapper iframe { min-height: 300px; }
      .team-grid { gap: 40px; }
      .slideshow-btn-prev { left: 10px; }
      .slideshow-btn-next { right: 10px; }
      .spaces-slideshow-wrapper:hover .slideshow-btn-prev { left: 10px; }
      .spaces-slideshow-wrapper:hover .slideshow-btn-next { right: 10px; }
      .formules-slideshow-wrapper:hover .slideshow-btn-prev { left: 10px; }
      .formules-slideshow-wrapper:hover .slideshow-btn-next { right: 10px; }
