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

body {
  font-family: "Cormorant";
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f4f1e8 0%, #e8dcc0 50%, #d4c4a0 100%);
}

.main-container {
  padding: 60px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  min-height: calc(100vh - 40px);
}

.left-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.right-section {
  display: flex;
  padding: 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.158);
  flex-direction: column;
  gap: 20px;
}

.header-card {
  background-color: #8e6749;
  color: white;
  padding-bottom: 45px;
    padding-top: 25px;

  border-radius: 8px;
  position: relative;
  margin-left: -65px;
}

.header-card h1 {
  font-size: 25px;
  font-weight: normal;
  
  color:#EFE5D8;
    padding-left:110px;

  margin-bottom: 13px;
}

.header-card p {
  font-size: 15px;
  color:#EFE5D8;
  opacity: 0.9;
  padding-left:110px;
  margin-bottom: 15px;
}

.warning {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.warning-icon {
  width: 16px;
  height: 16px;
  border: 1px solid rgb(8, 8, 8);
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.section-title {
    margin-top: 35px;
  color: #8e6749;
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: normal;
}

.calendar {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.calendar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  color: #8e6749;
  flex-wrap: wrap;
}

.calendar-header select {
  padding: 8px 10px;
  margin-right: 10px;
  border-radius: 8px;
  color:#8e6749;
  border: 1px solid #8e67493b;
  font-size: 14px;
  font-family: Inter, sans-serif;
  background-color: #fff;
  cursor: pointer;
}

.calendar-header select:focus {
  outline: none;
  border-color: #8b6f47;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align: center;
}

.day-header {
  font-size: 12px;
  color: #666;
  padding: 10px 0;
  font-weight: bold;
}

.day {
  padding: 12px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 14px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}



.day.selected {
  background-color: #8E6749;
  color: white;
}

.day.today {
  background-color: #8E6749;
}

.day.empty {
  background-color: transparent;
  cursor: default;
}

.time-slots {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 15px 0;
}

.time-slot-item {
  padding: 12px;
  background-color: #F4EADC;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.time-slot-item:hover {
  background-color: #;
}

.time-slot-item.selected {
  background-color: #8e6749;
  color: white;
}

.timezone-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #8e6749;
}

.timezone-icon {
  width: 16px;
  height: 16px;
  border: 1px solid #666;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.user-avatar {

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 24px;
  margin: 20px;
}
.user-avatar img {
  border-radius: 50%;
}

.user-info {
  flex: 1;
}

.user-name {
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

.user-email {
  color: #666;
  font-size: 14px;
}

.session-time {
  text-align: right;
  margin-bottom: 20px;
}

.session-time h3 {
  color: #8e6749;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 10px;
}

.duration {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #666;
  font-size: 14px;
}

.duration-icon {
  width: 20px;
  height: 20px;
  border: 1px solid #666;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-card {
  background: white;
  z-index: 10;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  transition: all 0.3s;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.room-title {
  color: #8e6749;
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 5px;
}

.room-subtitle {
  color: #8e6749;
  font-size: 13px;
    font-weight: bold;

}

 .room-btn {
      background-color: #8e6749;
      color: #EFE5D8;
      font-family:Cormorant;
      margin-top:46px;
      border: none;
      padding: 10px 30px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 14px;
      transition: background-color 0.2s;
      white-space: nowrap;
    }

.room-btn:hover {
  background-color: #6b5437;
}

.room-description {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.bottom-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-secondary {
  background-color: #F4EADC;
  color: #8e6749;
  font-family:Cormorant;
  border: 1px solid #8e674900;
  padding: 7px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: #8e6749;
  color: white;
}

.btn-primary {
  background-color: #8e6749;
  color: #EFE5D8;
  border: none;
  padding: 7px 30px;
  font-family:Cormorant;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  white-space: nowrap;
  
}

.btn-primary:hover {
  background-color: #6b5437;
}

/* Section "Your Information" */
.client-info input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: Inter, sans-serif;
  font-size: 14px;
}

.client-info input:focus {
  outline: none;
  border-color: #8e6749;
  box-shadow: 0 0 0 2px rgba(142, 103, 73, 0.1);
}

/* Recap box */
#recap {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: Inter, sans-serif;
  display: none;
}

#recap h3 {
  margin-bottom: 10px;
  color: #444;
}

#recap p {
  margin: 5px 0;
  font-size: 14px;
}

/* Alert */
.custom-alert {
  position: fixed;
  top: 20px;
  right: -300px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  transition: all 0.5s ease;
  z-index: 9999;
}

.custom-alert.success {
  background: #4caf50;
}

.custom-alert.error {
  background: #f44336;
}

.custom-alert.show {
  right: 20px;
}

/* Loader (spinner) */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  display: none;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #8b6f47;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Styles pour le calendrier statique */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
}

.day-header {
  font-size: 12px;
  color: #8E6749;
  padding: 10px 0;
  font-weight: bold;
}

.day {
  padding: 10px 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 14px;
}



.day.selected {
  background-color: #8e6749;
  color: white;
}

/* Styles pour les descriptions des salles */
.room-description {
  font-style: italic;
  margin-top: 10px;
  line-height: 1.5;
  color: #666;
  font-size: 14px;
}

/* Séparateur */
.separator {
  height: 1px;
  background-color: #d7cfbf;
  margin: 20px 0;
  width: 100%;
}

/* Header styles */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e0dedb;
  padding: 11px 30px;
  position: relative;
  z-index: 10;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 100px;
  width: auto;
  max-width: 220px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 50px;
}

.nav-link {
  text-decoration: none;
  color: #8e6749;
  font-family: "system-ui" ;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #8e6749;
}

.session-btn {
  background-color: white;
  color: #8e6749;
  font-family:"system-ui";
  border: 1px solid;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  
  font-weight: bolder;
  transition: background-color 0.3s;
}

.session-btn:hover {
  background-color: #6b5437;
}

.menu-toggle-checkbox {
  display: none;
}

.menu-toggle-label {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* RESPONSIVE DESIGN */

/* Tablettes (768px - 1024px) */
@media screen and (max-width: 1024px) {
  body {
    padding: 15px;
  }

  .main-container {
    gap: 20px;
  }

  .header-card h1 {
    font-size: 22px;
      padding-right: 40px;
  }

  .section-title {
    font-size: 18px;
  }

  .user-avatar {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Mobile et petits écrans (jusqu'à 768px) */
@media screen and (max-width: 768px) {
  body {
    padding: 10px;
  }

  .main-container {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
  }

  /* Réorganisation pour mobile : left-section en premier, puis right-section */
  .left-section {
    order: 1;
  }

  .right-section {
    order: 2;
  }

  .header-card {
    padding: 15px;
  }

  .header-card h1 {
    font-size: 20px;
      padding-right: 40px;
  }

  .calendar,
  .time-slots,
  .room-card {
    padding: 15px;
  }

  .calendar-header {
    flex-direction: column;
    gap: 10px;
  }

  .calendar-header select {
    margin: 5px;
  }

  .time-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .time-slot {
    padding: 12px 8px;
    font-size: 13px;
  }

  .room-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .room-btn {
    align-self: stretch;
    text-align: center;
    margin-top: 10px;
  }

  .session-time {
    text-align: left;
  }

  .duration {
    justify-content: flex-start;
  }

  .user-info {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
  }

  .user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .user-avatar-inner {
    width: 40px;
    height: 40px;
  }

  .client-info input {
    padding: 12px;
    font-size: 16px;
    /* Évite le zoom sur iOS */
  }

  .menu-toggle-label {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    padding: 20px;
    transition: left 0.3s;
    gap: 15px;
  }

  .menu-toggle-checkbox:checked ~ .nav {
    left: 0;
  }
}

/* Très petits écrans (jusqu'à 480px) */
@media screen and (max-width: 480px) {
  body {
    padding: 5px;
  }

  .main-container {
    gap: 15px;
  }

  .header-card,
  .calendar,
  .time-slots,
  .room-card {
    padding: 12px;
    border-radius: 12px;
  }

  .header-card h1 {
    font-size: 18px;
  }

  .section-title {
    font-size: 16px;
  }

  .day {
    padding: 8px 4px;
    font-size: 12px;
    min-height: 35px;
  }

  .day-header {
    font-size: 11px;
    padding: 8px 0;
  }

  .time-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .time-slot {
    padding: 15px;
    font-size: 14px;
  }

  .room-title {
    font-size: 16px;
  }

  .room-description {
    font-size: 13px;
  }

  .warning {
    font-size: 11px;
  }

  .timezone-note {
    font-size: 13px;
  }

  .custom-alert {
    right: -280px;
    padding: 12px 15px;
    font-size: 14px;
  }

  .custom-alert.show {
    right: 10px;
  }
}

/* Orientation paysage sur mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .time-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .calendar-grid {
    font-size: 12px;
  }

  .day {
    min-height: 30px;
    padding: 6px 4px;
  }
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
  .day,
  .time-slot,
  .btn-secondary,
  .btn-primary,
  .room-btn,
  .custom-alert {
    transition: none;
  }

  .spinner {
    animation: none;
  }
}

/* Contraste élevé */
@media (prefers-contrast: high) {
  .day:hover,
  .time-slot:hover {
    background-color: #000;
    color: #fff;
  }

  .day.selected,
  .time-slot.selected {
    background-color: #000;
    color: #fff;
    border: 2px solid #fff;
  }
}
/* ===== FOOTER SECTION ===== */
.footer-section {
  background: #9c8567;
  width: 100%;
  padding: clamp(30px, 8vh, 80px) clamp(15px, 5vw, 40px);
  font-family: "Cormorant", serif;
}

.footer-section .container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 10vw, 120px);
  align-items: start;
}

.newsletter-section {
  max-width: 600px;
}

.newsletter-title {
  font-family: "Cormorant", serif;
  font-size: clamp(1.5rem, 6vw, 3rem);
  color: white;
  letter-spacing: clamp(1px, 0.5vw, 3px);
  line-height: 1.2;
  font-weight: 300;
  text-transform: uppercase;
  text-align: left;
}

.newsletter-form {
  position: relative;
  margin-bottom: 30px;
  margin-top: 30px;
}

.email-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding: clamp(15px, 4vw, 20px) 0;
  font-size: clamp(12px, 3vw, 18px);
  color: rgba(255, 255, 255, 0.8);
  outline: none;
  font-family: "Cormorant", serif;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
  border-bottom-color: #d4af37;
}

.submit-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  cursor: pointer;
  font-family: "Cormorant", serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover {
  color: #d4af37;
}

.arrow {
  font-size: clamp(1.1rem, 3vw, 1.2rem);
}

.copyright {
  color: white;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  text-align: left;
}

.footer-info {
  color: rgba(255, 255, 255, 0.8);
}

.sitemap-title {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  margin-top: 40px;
  font-weight: 300;
  text-align: left;
}

.sitemap-links {
  display: flex;
  gap: clamp(15px, 6vw, 60px);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sitemap-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family:"system-ui";
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.sitemap-links a:hover {
  color: #d4af37;
}

.contact-title {
  font-size: clamp(1.2rem, 4vw, 2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  font-weight: 300;
  text-align: left;
}

.contact-info {
  text-align: left;
}

.contact-info p {
    font-family:"system-ui";
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  font-size: clamp(12px, 3vw, 16px);
}

.social-icons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.social-icon {
  width: clamp(35px, 8vw, 40px);
  height: clamp(35px, 8vw, 40px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: clamp(1rem, 3vw, 1.2rem);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
}

.footer-social {
  display: flex;
  justify-content: left;
  gap: 24px;
  padding: 20px 0;
}

.footer-social-icon {
  font-size: clamp(16px, 4vw, 18px);
  color: white;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social-icon:hover {
  color: #1da1f2;
  transform: scale(1.2);
}
/* ===== UTILITY CLASSES ===== */
.fotter_btn {
  font-family: "Cormorant", serif;
  color: white;
  padding: clamp(-11px, 40vw, 4px) clamp(9px, 4vw, -25px);
  border: none;
  border-radius: 30px;
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  margin-top: 20px;
  background: #8d6648;
}

.cats {
  padding: clamp(10px, 3vw, 12px) clamp(18px, 8vw, 55px);
  background: none;
  border: 1px solid #33333395;
  color: #9e846a;
  border-radius: 25px;
  margin-top: 20px;
  display: inline-block;
}
