body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: #0d0f12;
  color: #e5e7eb;
  line-height: 1.6;
}

.dogwood-section {
  padding: 60px 20px;
}

.dogwood-container {
  max-width: 1100px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: #f9fafb;
}

/* ------------------------------
       CALENDRIER
    ------------------------------ */
#calendar-nav {
  /* width: fit-content;
    margin: 0 auto 10px auto;*/
    /*border: 2px solid red;*/ /* créer une bordure */
}
.calendar-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.calendar {
  /*width: 700px;*/
  width: 100%;
  max-width: 1100px; /* tu peux mettre 1200 si tu veux encore plus large */
  margin: 0 auto;
  background: #1e1e1e;
  color: white;
  padding: 10px;
  font-family: Segoe UI;
  /*display: inline-block;*/
  /*box-sizing: border-box;*/
  /*border: 2px solid lime;*/
}
.calendar_header {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}
.calendar_grid {
  display: grid;
  /*grid-template-columns: repeat(7, minmax(120px, 1fr));*/
  grid-template-columns: repeat(7, 1fr); /* laisser le parent décider de la largeur */
  grid-template-rows: repeat(6, 80px);
  gap: 2px;
}
/* version PC */
.calendar_cell {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  position: relative;
}
/* Version mobile */
/* @media (max-width: 800px) {
    .calendar_grid {
        grid-template-columns: repeat(7, 40px); 
    }.calendar_cell {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
} */
/* MOBILE — la version qui corrige la hauteur doublée */
/* MOBILE */
@media (max-width: 800px) {
  .calendar-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Grille ADAPTATIVE */
  .calendar_grid {
    grid-template-columns: repeat(7, 1fr) !important;
    grid-template-rows: repeat(6, 40px) !important; /* <-- ON REMET ÇA */
    /* grid-auto-rows: 40px !important; <-- À SUPPRIMER */
    margin: 0 auto !important;
    padding: 0 !important;
  }

  /* Cases compactes — AUCUNE HAUTEUR */
  .calendar_cell {
    display: flex !important; /* <-- flex OK maintenant */
    justify-content: center !important;
    align-items: center !important;
    font-size: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    /* height: 40px !important; <-- SUPPRIMER */
    /* line-height: 40px !important; <-- SUPPRIMER */
  }

  /* Container large */
  .calendar {
    width: calc(100% - 20px) !important; /* <-- marge interne */
    max-width: calc(100% - 20px) !important;
    margin: 0 auto !important;
    padding: 10px !important;
  }
}

.calendar_cell.past::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 0px,
    rgba(255, 255, 255, 0.2) 2px,
    transparent 2px,
    transparent 12px
  );
}
/* bouton pour valider la réservation */
.dogwood-book-btn {
  background: #2ecc71;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
  text-align: center;
}
.dogwood-book-btn:hover {
  background: #27ae60;
}

/* TIME */
#dogwood-timepicker {
  background: #1e1e1e;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  color: white;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

#dogwood-timepicker h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  text-align: center;
}

#dogwood-slots {
  width: 100%;
}

#time-slots {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
}

.dogwood-slot {
  background: #2b2b2b;
  padding: 10px 15px;
  margin: 5px 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dogwood-slot:hover {
  background: #3a3a3a;
}

.dogwood-slot.dispo .dogwood-icon {
  color: #4caf50;
}

.dogwood-slot.indispo {
  opacity: 0.4;
  cursor: not-allowed;
}

.dogwood-slot.selected {
  background: #4caf50 !important;
  color: white;
}

/* popup dogwood */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* foncé */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: #1e1e1e; /* sombre Dogwood */
  color: #f2f2f2; /* texte clair lisible */
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  border: 1px solid #333;
}

.popup-content h2 {
  margin-top: 0;
  color: #7bdc7b; /* vert Dogwood */
}

.popup-content button {
  background: #2ecc71;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  margin: 10px;
}

.popup-content button:hover {
  background: #27ae60;
}

.popup-message {
  margin-top: 20px;
  padding: 15px;
  background: #2ecc71;
  color: white;
  border-radius: 8px;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.popup-message.show {
  opacity: 1;
  transform: translateY(0);
}

.popup-input {
  width: 90%;
  padding: 12px;
  margin: 10px auto;
  border-radius: 6px;
  border: 1px solid #444;
  background: #2a2a2a;
  color: #f2f2f2;
  font-size: 16px;
}

/* ------------------------------
       HERO
    ------------------------------ */

.dogwood-hero {
  background: linear-gradient(135deg, #0b3d2e, #0a2a20);
  color: #fdfdfd;
  padding: 90px 20px;
}

.dogwood-hero-title {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.dogwood-hero-text {
  font-size: 1.15rem;
  max-width: 700px;
  color: #e8e8e8;
}

.dogwood-hero-buttons {
  margin-top: 30px;
}

/* ------------------------------
       BUTTONS
    ------------------------------ */

.dogwood-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-right: 12px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  cursor: pointer;
}

.dogwood-btn-primary {
  background-color: #d4a24c;
  color: #0d0f12;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.dogwood-btn-secondary {
  background-color: transparent;
  color: #fdfdfd;
  border: 1px solid #fdfdfd;
}

.dogwood-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}

/* ------------------------------
       TITLES & SUBTITLES
    ------------------------------ */

.dogwood-title {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.dogwood-subtitle {
  font-size: 1.05rem;
  color: #9ca3af;
  margin-bottom: 25px;
}

/* ------------------------------
       GRID
    ------------------------------ */

.dogwood-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ------------------------------
       BOXES (ex-card)
    ------------------------------ */

.dogwood-box {
  background-color: #1a1d21;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.dogwood-box h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #f9fafb;
}

/* ------------------------------
       LISTS
    ------------------------------ */

ul {
  padding-left: 18px;
  margin: 0;
}

li {
  margin-bottom: 6px;
  color: #d1d5db;
}

.dogwood-highlight {
  color: #d4a24c;
  font-weight: 600;
}

/* ------------------------------
       TESTIMONIALS
    ------------------------------ */

.dogwood-testimonial blockquote {
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 3px solid #d4a24c;
  color: #e5e7eb;
  font-style: italic;
}

/* ------------------------------
       PRICING
    ------------------------------ */

.dogwood-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #d4a24c;
}

/* ------------------------------
       GALLERY
    ------------------------------ */

.dogwood-gallery {
  border-radius: 14px;
  padding: 30px;
  background: #111315;
  text-align: center;
  color: #9ca3af;
  font-size: 0.95rem;
  border: 1px dashed #2f3338;
}

/* Galerie Dogwood */
.dogwood-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.dogwood-gallery-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  border: 1px solid #2f3338;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dogwood-gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}

/* ------------------------------
       FOOTER
    ------------------------------ */

.dogwood-footer {
  padding: 40px 20px;
  background-color: #0a0c0f;
  color: #9ca3af;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #1f2226;
}

/* ------------------------------
       MOBILE
    ------------------------------ */

@media (max-width: 640px) {
  .dogwood-hero-title {
    font-size: 2.2rem;
  }
  .dogwood-section {
    padding: 40px 18px;
  }
}

/* -----------------------------
       PERSONNEL
    ----------------------------- */
.hidden {
  display: none !important;
}

.size-1 {
  font-size: 0.625em; /* 10px */
}

.size-2 {
  font-size: 0.813em; /* 13px */
}

.size-3 {
  font-size: 1em; /* 16px */
}

.size-4 {
  font-size: 1.25em; /* 20px */
}

.size-5 {
  font-size: 1.5em; /* 24 px */
}

.size-6 {
  font-size: 2em; /* 32px */
}

.size-7 {
  font-size: 2.5em; /* 40px */
}

.center {
  text-align: center;
}

.centered-element {
  margin-left: auto;
  margin-right: auto;
}

.centered-div,
.centered-span {
  /* width: 100%; */
  justify-content: center;
  display: flex;
}

.gras,
.bold {
  font-weight: bold;
}

.barre {
  text-decoration: line-through;
}

.souligne,
.underline {
  text-decoration: underline;
}

.italique,
.italic {
  font-style: italic;
}

.underlineRed {
  text-decoration: underline red;
}

.rouge,
.red {
  color: red;
}

.noir,
.black {
  color: black;
}

.bleu,
.blue {
  color: blue;
}

.jaune,
.yellow {
  color: yellow;
}

.vert,
.green {
  color: green;
}

.blanc,
.white {
  color: white;
}

.gris,
.grey,
.gray {
  color: grey;
}

.bleu-clair {
  color: #6666ff;
}

.bleu-ciel {
  color: #33acff;
}

.rose,
.pink {
  color: #c469bf;
}

.font-0 {
  font-family: "Source Code Pro";
}

.font-1 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

.font-2 {
  font-family: "MS Gothic";
}

.font-3 {
  font-family: cursive;
}

.font-4 {
  font-family: Verdana;
}

.font-5 {
  font-family: "Trebuchet MS";
}

.font-6 {
  font-family: fantasy;
}

.font-7 {
  font-family: "Times New Roman";
}

.font-8 {
  font-family: Consolas;
}

.font-9 {
  font-family: "Comic Sans MS";
}
