:root {
  --pink-light:  #ffe0e8;
  --pink:        #ffb6c8;
  --pink-dark:   #e88a9d;
  --coral:       #ff7d94;
  --monika:      #4ade80;
  --text-dark:   #3d1f2a;
  --text-mid:    #6b4555;
  --cream:       #fff5f8;
  --white:       #ffffff;
  --space:       #0a0a14;
  --red:         #d63c5e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Trebuchet MS', 'Segoe UI', Verdana, sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 10% 20%, #ffeef4 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, #ffe0ea 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.6;
  
  /* Curseur personnalisé (flèche rose DDLC) */
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23e88a9d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"/></svg>'), auto;
}

/* Curseur spécifique pour les liens et boutons */
a, button, .btn {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23ffb6c8" stroke="%23e88a9d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"/></svg>'), pointer;
}

/* ============================================================
   HEADER (Flexbox pour le responsive)
   ============================================================ */
.site-header {
  background: linear-gradient(135deg, var(--pink) 0%, var(--coral) 100%);
  color: var(--white);
  min-height: 90px;
  border-bottom: 4px solid var(--monika);
  box-shadow: 0 2px 12px rgba(255, 125, 148, 0.35);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 26px;
  font-style: italic;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 rgba(61, 31, 42, 0.3);
}

.logo-text::before { content: "♥ "; color: var(--white); }
.logo-text::after { content: " ♥"; color: var(--monika); }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.main-nav a:hover {
  background: var(--white);
  color: var(--coral);
  text-shadow: 0 0 8px var(--monika);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow: hidden;
  border-bottom: 4px solid var(--pink-dark);
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6) saturate(1.2) hue-rotate(-10deg);
  z-index: 1;
}

.hero-inner {
  position: relative;
  max-width: 800px;
  text-align: center;
  color: var(--white);
  z-index: 2;
}

/* Taille de police fluide avec clamp() */
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow:
    2px 0 0 rgba(255, 125, 148, 0.9),
   -2px 0 0 rgba(74, 222, 128, 0.9),
    0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: clamp(14px, 3vw, 17px);
  margin-bottom: 28px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--coral);
  padding: 14px 32px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 30px;
  border: 2px solid var(--white);
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn:hover {
  background: var(--monika);
  border-color: var(--monika);
  color: var(--space);
  transform: translateY(-2px);
}

/* ============================================================
   CONTENU PRINCIPAL (Flexbox)
   ============================================================ */
.content {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.main-column {
  flex: 2;
  background: var(--white);
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(255, 182, 200, 0.3);
  border-top: 5px solid var(--pink);
  min-width: 0; /* Empêche le débordement flex */
}

.sidebar {
  flex: 1;
  background: var(--white);
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(255, 182, 200, 0.3);
  border-top: 5px solid var(--monika);
  min-width: 0;
}

.content h2 {
  font-size: 26px;
  color: var(--coral);
  margin: 22px 0 16px;
  padding-bottom: 6px;
  border-bottom: 2px dashed var(--pink);
}

.content h2:first-child { margin-top: 0; }
.content h2::before { content: "✿"; color: var(--monika); }

.content h3 {
  font-size: 19px;
  color: var(--coral);
  margin: 20px 0 10px;
}

.content p {
  margin-bottom: 14px;
  color: var(--text-mid);
}

/* ---------- Équipe (Flexbox) ---------- */
.team-block {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 25px;
  padding: 14px;
  background: var(--pink-light);
  border-radius: 14px;
}

.team-photo {
  width: 220px;
  height: 160px;
  object-fit: cover;
  border: 4px solid var(--white);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(232, 138, 157, 0.4);
  flex-shrink: 0; /* Ne rétrécit pas sur desktop */
}

.team-text p { margin-bottom: 0; }

/* ---------- Tableau Responsive ---------- */
.table-responsive {
  overflow-x: auto;
  margin: 16px 0 26px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(232, 138, 157, 0.25);
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  min-width: 500px; /* Force un scroll propre sur mobile plutôt que d'écraser le texte */
}

.price-table th,
.price-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--pink-light);
}

.price-table th {
  background: linear-gradient(180deg, var(--pink) 0%, var(--coral) 100%);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.price-table tbody tr:nth-child(even) { background: var(--cream); }
.price-table tbody tr:hover { background: var(--pink-light); }
.price-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Images ---------- */
.wide-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 12px 0 16px;
  border: 4px solid var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(232, 138, 157, 0.35);
}

.director {
  margin-bottom: 26px;
  text-align: center;
}

.director-photo {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 5px solid var(--white);
  border-radius: 50% / 45%;
  box-shadow:
    0 0 0 4px var(--pink),
    0 6px 20px rgba(232, 138, 157, 0.5);
  margin-bottom: 16px;
  transition: filter 0.3s ease;
}

.director-photo:hover { filter: hue-rotate(90deg) saturate(1.3); }
.director h3 { text-align: center; }
.director p { font-style: italic; text-align: center; }

.signature {
  font-style: normal !important;
  color: var(--coral);
  font-weight: bold;
  margin-top: 6px;
  font-size: 13px;
}

.sidebar ul {
  list-style: none;
  margin-bottom: 16px;
}

.sidebar li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--text-mid);
  border-bottom: 1px dashed var(--pink-light);
}

.sidebar li::before {
  content: "♥";
  position: absolute;
  left: 0;
  color: var(--coral);
}

.sidebar li:last-child { border-bottom: none; }

/* ============================================================
   FOOTER (Flexbox)
   ============================================================ */
.site-footer {
  background: var(--space);
  background-image:
    radial-gradient(1.5px 1.5px at 10% 30%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 25% 70%, #fff, transparent),
    radial-gradient(1px   1px   at 40% 20%, var(--pink), transparent),
    radial-gradient(1.5px 1.5px at 55% 80%, #fff, transparent),
    radial-gradient(1px   1px   at 70% 40%, var(--monika), transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, #fff, transparent),
    radial-gradient(1px   1px   at 95% 25%, var(--pink), transparent);
  color: var(--pink);
  min-height: 80px;
  border-top: 4px solid var(--pink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.footer-inner {
  max-width: 1100px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.5;
}

.footer-inner p::before { content: "★ "; color: var(--monika); }
.footer-inner p::after { content: " ★"; color: var(--monika); }

/* ============================================================
   SCROLLBAR & SELECTION
   ============================================================ */
::selection { background: var(--pink); color: var(--white); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--pink-light); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 6px; border: 2px solid var(--pink-light); }
::-webkit-scrollbar-thumb:hover { background: var(--monika); }

/* ============================================================
   MEDIA QUERIES (Support Mobile / Tablette)
   ============================================================ */

/* Tablette & petits écrans (< 900px) */
@media (max-width: 900px) {
  .content {
    flex-direction: column; /* Le contenu principal et la sidebar s'empilent */
  }
  .main-column, .sidebar {
    width: 100%;
  }
}

/* Mobile (< 700px) */
@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .main-nav {
    justify-content: center;
  }

  .team-block {
    flex-direction: column; /* L'image passe au dessus du texte */
    text-align: center;
  }

  .team-photo {
    width: 100%;
    height: auto;
    max-height: 250px;
    margin-right: 0;
  }

  .main-column, .sidebar {
    padding: 20px;
  }

  .director-photo {
    max-width: 250px; /* Évite que le portrait soit géant sur mobile */
    margin: 0 auto 16px auto;
  }
}