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

:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:#555555;
  --card:#fafafa;
  --border:#eeeeee;
  --accent:#0088A9;

  --radius:16px;
  --shadow-sm:0 4px 20px rgba(0,0,0,.05);
  --shadow-md:0 8px 30px rgba(0,0,0,.12);
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0d0d0f;
    --text:#f3f3f3;
    --muted:#c7c7c7;
    --card:#151518;
    --border:#232327;
    --accent:#13a6c6;
    --shadow-sm:0 4px 20px rgba(0,0,0,.4);
    --shadow-md:0 8px 30px rgba(0,0,0,.5);
  }
}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--text);
}
:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:2px;
}


body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -1px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--accent);
}

/* Hero */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 90vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url("hero-bg.jpg") center/cover no-repeat;
  color: #fff;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.btn {
  padding: 14px 30px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:active {
  transform: scale(0.95);
  transition: transform 0.1s;
}

/* Offres */
.offres {
  padding: 80px 20px;
  text-align: center;
}

.offres h2 {
  font-size: 2rem;
  margin-bottom: 50px;
}

.tarifs {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.tarif-card {
  background: var(--card);
  border-radius: 16px;
  padding: 30px;
  width: 280px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
}

.tarif-card:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent);
}

/* Harmonize performer section cards with Nos Offres cards */
#preuves .card,
#preuves .performer-block,
#preuves .content-block,
#preuves .container > div > div {
  background: var(--card) !important;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
}

#preuves .card:hover,
#preuves .performer-block:hover,
#preuves .content-block:hover,
#preuves .container > div > div:hover { 
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent);
}

.tarif-card h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.tarif-card ul {
  list-style: none;
  text-align: left;
}

.tarif-card ul li {
  margin-bottom: 10px;
}

.tarif-card strong {
  color: var(--accent);
  text-decoration: none;
}

/* Premium card: no highlight by default; accent border only on hover */
.tarif-card.premium{ border:none; }
.tarif-card.premium:hover{ border:2px solid var(--accent); }



/* Contact */
.contact {
  padding: 80px 20px;
  background: var(--card);
  text-align: center;
}

.contact h2 {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input,
.contact textarea {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
}

.contact button {
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
}

.contact button:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Apropos */
.apropos {
  padding: 80px 20px;
  max-width: 900px;
  margin: auto;
}

.apropos h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.apropos h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.apropos p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.apropos ul {
  list-style: none;
  padding: 0;
}

.apropos li {
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .navbar { flex-direction: column; align-items: flex-start; padding: 15px 20px; justify-content: space-between; }
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg);
    padding: 20px;
    border-top: 1px solid var(--border);
    gap: 15px;
    margin-top: 10px;
  }

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

  .nav-links li {
    margin: 15px 0;
  }

  .nav-links a { font-size: 1rem; }
  .offres h2 { font-size: 1.5rem; }
  .tarif-card {
    width: 90%;
    max-width: 320px;
  }
  .tarifs {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .contact h2 { font-size: 1.4rem; }
  .contact form { width: 100%; }
  .apropos h1 { font-size: 1.6rem; }
  .apropos h2 { font-size: 1.3rem; }
  .apropos p { font-size: 1rem; }
} 

/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform: translateY(0); }

/* ===== Improved readability and utility elements ===== */
.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  margin: 6px 6px 0 0;
  white-space: nowrap;
}

.badges {
  margin: 12px 0 20px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--accent);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text);
}

.btn.ghost:hover {
  background: var(--accent);
  color: #fff;
}

/* Force white text for the ghost CTA in the hero (light & dark) */
.hero .btn.ghost { color: #fff; }

/* General link color adjustments for light/dark themes */
a {
  color: inherit;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

/* Improved contrast for light/dark readability */
body {
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
}

p, li, span {
  color: var(--text);
}

/* ===== Forced white for footer + index hero title (light & dark) ===== */
footer, footer * { color: #fff !important; }
.hero h1, .hero p, .hero .lead { color: #fff !important; }
/* ===== Mobile carousels (CSS-only) ===== */
@media (max-width: 768px) {
  /* Nos Offres: horizontal swipe */
  .tarifs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    flex-direction: row !important;
    justify-content: flex-start !important;
  }
  .tarifs::-webkit-scrollbar { display: none; }
  .tarifs { scrollbar-width: none; }
  .tarif-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  /* "Des contenus pensés pour performer": horizontal swipe */
  #preuves .container > div {
    display: flex !important;
    flex-wrap: nowrap !important; /* override inline wrap */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 16px;
    -webkit-overflow-scrolling: touch;
  }
  #preuves .container > div::-webkit-scrollbar { display: none; }
  #preuves .container > div { scrollbar-width: none; }
  #preuves .container > div > div {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}

/* ===== Fix: Mobile carousel for "Nos Offres" ===== */
@media (max-width: 768px) {
  .offres .tarifs {
    display: flex !important;
    flex-wrap: nowrap !important;   /* ensure horizontal flow */
    overflow-x: auto !important;    /* enable horizontal scroll */
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    align-items: stretch !important; /* cancel previous center align */
    flex-direction: row !important;
    justify-content: flex-start !important;
  }
  .offres .tarifs::-webkit-scrollbar { display: none; }
  .offres .tarifs { scrollbar-width: none; }

  .offres .tarif-card {
    flex: 0 0 85% !important;       /* card width for swipe */
    scroll-snap-align: start;
    width: auto !important;         /* override fixed width */
    max-width: none !important;
  }
}