/* Xenertec Réservation - Components */

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 15px 32px;
  border: 1px solid var(--or);
  color: var(--or-sombre);
  background: transparent;
  border-radius: 2px;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: 'Lora', Georgia, serif;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: rgba(182, 130, 53, 0.05);
  color: var(--or-sombre);
}

.btn-primary.small {
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: .08em;
}

.btn-secondary {
  display: inline-block;
  padding: 15px 28px;
  border: 1px solid rgba(32, 31, 29, .2);
  color: #444141;
  background: transparent;
  border-radius: 2px;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: 'Lora', Georgia, serif;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: rgba(32, 31, 29, .4);
  color: var(--noir);
}

/* Badges / Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--or-sombre);
  margin-bottom: clamp(6px, 2.2vh, 26px);
}

.tag-line {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--or);
}

.tag-mini {
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--texte-ghost);
}

.tag-mini-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--or-sombre);
}

/* Cards */
.card-light {
  border-radius: 10px;
  border: 1px solid rgba(32, 31, 29, .22);
  background: #eae9e9;
  padding: 12px;
  box-shadow: 0 60px 90px -50px rgba(45, 43, 43, .55), 0 18px 40px -30px rgba(45, 43, 43, .4);
}

.card-dark {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--noir);
  padding: 12px;
  box-shadow: 0 60px 90px -50px rgba(0, 0, 0, .8), 0 18px 40px -30px rgba(0, 0, 0, .5);
}

/* Grids with thin borders (gap 1px trick) */
.border-grid {
  display: grid;
  background: rgba(32, 31, 29, .15);
  gap: 1px;
  border: 1px solid rgba(32, 31, 29, .15);
}

.border-grid > * {
  background: var(--creme);
}

.border-grid.dark {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.border-grid.dark > * {
  background: var(--noir);
}

/* Details / Summary */
details > summary { 
  list-style: none; 
  cursor: pointer; 
}

details > summary::-webkit-details-marker { 
  display: none; 
}

.faq-item {
  border-bottom: 1px solid rgba(32, 31, 29, .15);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--texte);
  transition: color 0.3s ease;
}

.faq-summary:hover {
  color: var(--or-sombre);
}

.faq-content {
  padding-bottom: 24px;
  color: var(--texte-dim);
  line-height: 1.6;
  max-width: 65ch;
}

/* Reveal-on-scroll cards (fonctionnalites.html) */
.feat-card {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image placeholder (until real product screenshots are dropped in) */
.image-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 12px;
  line-height: 1.6;
  font-style: italic;
  letter-spacing: .04em;
  color: rgba(243, 242, 242, .4);
  background:
    repeating-linear-gradient(135deg, rgba(243, 242, 242, .035) 0 1px, transparent 1px 13px);
}

/* Real product screenshot filling an .image-slot frame */
.image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Page heading (secondary pages) */
.h-primary {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  color: var(--texte);
  margin: 0;
}

/* Shared button base (paired with .btn-primary / .btn-secondary) */
.btn {
  font-family: 'Lora', Georgia, serif;
  cursor: pointer;
}

/* Highlight box (legal notice, waitlist callout...) sitting on a dark card */
.callout {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  border-radius: 3px;
}

/* Contact / lead forms */
.contact-form {
  width: 100%;
}

.input-base {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(32, 31, 29, .18);
  border-radius: 2px;
  background: transparent;
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  color: var(--texte);
  outline: none;
  transition: border-color 0.3s ease;
}

.input-base:focus {
  border-color: var(--or-sombre);
}

.input-base::placeholder {
  color: var(--texte-muted);
  font-style: italic;
}

/* Form Inputs */
.input-underline {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(32, 31, 29, .2);
  padding: 12px 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  color: var(--texte);
  outline: none;
  transition: border-color 0.3s ease;
}

.input-underline:focus {
  border-bottom-color: var(--or-sombre);
}

.input-underline::placeholder {
  color: var(--texte-muted);
  font-style: italic;
}
