/**
 * Abraskdabras Evenements - Composants CSS
 * Theme: Nuit Champagne - Composants reutilisables
 */

/* ==========================================================================
   UNIFORMISATION TYPOGRAPHIE GLOBALE
   ========================================================================== */

/* Tout le contenu textuel → Outfit */
body, p, li, span, a, label, input, textarea, select,
button, td, th, .badge, .tag, .eyebrow,
.pack-features li, .temoignage-text, .temoignage-name,
.temoignage-event, .partenaire-card p, .service-card p,
.faq-answer p, .contact-info-value, .footer-links a,
.footer-brand-desc, .location-table td, .split-feature,
.nav-links a, .nav-phone, .hero-sub, .section-header p {
  font-family: 'Outfit', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Titres uniquement → Playfair Display */
h1, h2, h3, .hero-title-brand, .hero-title-main, .hero__tagline {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ==========================================================================
   BOUTONS
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition);
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.98);
}

/* Bouton principal - Gradient Or avec shimmer */
.btn--primary {
  background: var(--gold-gradient);
  color: var(--surface-dark);
  border-color: transparent;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.btn--primary:hover {
  background: var(--gold-gradient-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--primary:hover::before {
  left: 100%;
}

/* Bouton secondaire - Outline Or */
.btn--secondary {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--secondary:hover {
  background-color: var(--gold);
  color: var(--surface-dark);
}

/* Bouton or solid */
.btn--gold {
  background-color: var(--gold);
  color: var(--surface-dark);
  border-color: var(--gold);
}

.btn--gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

/* Bouton blanc */
.btn--white {
  background-color: var(--surface);
  color: var(--gold-dark);
  border-color: var(--surface);
}

.btn--white:hover {
  background-color: var(--bg);
  border-color: var(--bg);
  box-shadow: var(--shadow);
}

/* Bouton outline blanc (sur fond sombre) */
.btn--outline-light {
  background-color: transparent;
  color: var(--text-on-dark);
  border-color: var(--border-gold);
}

.btn--outline-light:hover {
  background-color: rgba(201, 165, 90, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Bouton sur fond sombre */
.btn--on-dark {
  background: var(--gold-gradient);
  color: var(--surface-dark);
}

.btn--on-dark:hover {
  box-shadow: var(--shadow-gold-lg);
}

/* Tailles */
.btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn--icon {
  padding: var(--space-3);
  border-radius: var(--radius);
}

/* ==========================================================================
   CARTES
   ========================================================================== */

.card {
  background-color: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.card--clickable {
  cursor: pointer;
}

.card--clickable:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--elevated {
  border: none;
  box-shadow: var(--shadow);
}

.card--elevated:hover {
  box-shadow: var(--shadow-lg);
}

.card__img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: var(--space-6);
}

.card__title {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  font-style: normal;
  color: #1A1208;
  margin: 0 0 var(--space-3);
}

.card__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  font-style: normal;
  color: #1A1208;
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: var(--space-16) 0;
}

.section--lg {
  padding: var(--space-20) 0;
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--dark {
  background-color: var(--surface-dark);
  color: var(--text-on-dark);
}

.section--dark .section__title,
.section--dark .section__subtitle {
  color: var(--text-on-dark);
}

.section--dark .section__subtitle {
  color: var(--text-on-dark-muted);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.section__title {
  font-family: var(--font-body);
  font-size: var(--text-3xl);
  font-weight: 600;
  font-style: normal;
  color: #1A1208;
  margin: 0 0 var(--space-4);
  line-height: var(--leading-tight);
}

.section__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: normal;
  color: #1A1208;
  margin: 0;
  line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-20) 0;
  }

  .section--lg {
    padding: var(--space-24) 0;
  }

  .section__title {
    font-size: var(--text-4xl);
  }
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
  box-sizing: border-box;
}

.container--sm {
  max-width: var(--container-sm);
}

.container--md {
  max-width: var(--container-md);
}

.container--lg {
  max-width: var(--container-lg);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}

/* ==========================================================================
   GRILLES
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--2,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   FORMULAIRES
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.form-checkbox span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

/* Honeypot - Invisible pour utilisateurs, visible pour bots */
.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ==========================================================================
   TABLEAUX
   ========================================================================== */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table th,
.table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  font-weight: 600;
  color: var(--text);
  background-color: var(--bg-alt);
}

.table td {
  color: var(--text-secondary);
}

.table tr:hover td {
  background-color: var(--bg);
}

.table--prices td:last-child {
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .table {
    font-size: var(--text-base);
  }

  .table th,
  .table td {
    padding: var(--space-4) var(--space-6);
  }
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background-color var(--transition);
}

.faq-item[data-open="true"] {
  background-color: var(--gold-pale);
  border-radius: var(--radius);
  border-bottom-color: transparent;
  margin-bottom: var(--space-2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--gold-dark);
}

.faq-question:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
  border-radius: var(--radius-sm);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition);
}

/* Icone + qui devient x */
.faq-icon-plus {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-icon-plus::before,
.faq-icon-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 1px;
  transition: transform var(--transition);
}

.faq-icon-plus::before {
  transform: translate(-50%, -50%);
}

.faq-icon-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[data-open="true"] .faq-icon-plus::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.faq-item[data-open="true"] .faq-icon-plus::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.faq-item[data-open="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
}

.faq-item[data-open="true"] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer__inner {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 var(--space-4) var(--space-5);
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  font-style: normal;
  color: #1A1208;
  line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
  .faq-question {
    font-size: var(--text-lg);
  }
}

/* ==========================================================================
   BANDEAU DEFILANT (TICKER)
   ========================================================================== */

.ticker {
  background: var(--gold-gradient);
  overflow: hidden;
  padding: var(--space-3) 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker__content {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: 0 var(--space-8);
}

.ticker__item {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--surface-dark);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.ticker__separator {
  width: 6px;
  height: 6px;
  background-color: var(--surface-dark);
  border-radius: 50%;
  opacity: 0.4;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause au survol desktop */
@media (hover: hover) {
  .ticker:hover .ticker__track {
    animation-play-state: paused;
  }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

/* ==========================================================================
   GALERIE / REALISATIONS
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.gallery__item:hover {
  border-color: var(--border-gold);
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover .gallery__img {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 16, 10, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__caption {
  color: var(--text-on-dark);
  font-size: var(--text-sm);
  font-weight: 500;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   BADGES / TAGS
   ========================================================================== */

.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-full);
  background-color: var(--gold);
  color: var(--surface-dark);
}

.badge--gradient {
  background: var(--gold-gradient);
}

.badge--outline {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.badge--dark {
  background-color: var(--surface-dark);
  color: var(--text-on-dark);
}

/* ==========================================================================
   UTILITAIRES
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

.text-gold {
  color: var(--gold);
}

.text-gold-dark {
  color: var(--gold-dark);
}

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* ==========================================================================
   OFFRES CARDS
   ========================================================================== */

.offres-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.offre-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}

.offre-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Card featured - fond sombre elegant avec bordure gradient or */
.offre-card--featured {
  position: relative;
  background: linear-gradient(145deg, #1E1910 0%, #12100A 100%);
  border: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Bordure gradient or via pseudo-element */
.offre-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, #C9A55A 0%, #F0D070 50%, #C9A55A 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.offre-card--featured:hover {
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-6px);
}

.offre-card--featured .offre-card__title {
  color: #FAF6ED;
}

/* Prix en gradient or texte */
.offre-card--featured .offre-card__price {
  background: linear-gradient(135deg, #E8C97A 0%, #F0D070 45%, #C9A55A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.offre-card--featured .offre-card__detail {
  color: rgba(250, 246, 237, 0.75);
}

/* CTA bouton gradient or dans card featured */
.offre-card--featured .btn {
  background: var(--gold-gradient);
  color: #12100A;
  border-color: transparent;
}

.offre-card--featured .btn:hover {
  background: var(--gold-gradient-hover);
  box-shadow: var(--shadow-gold);
}

.offre-card__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  background: var(--gold-gradient);
  color: var(--surface-dark);
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
}

/* Cards avec badge - espace supplementaire en haut */
.offre-card:has(.offre-card__badge) {
  margin-top: var(--space-4);
}

.offre-card__header {
  margin-bottom: var(--space-4);
}

.offre-card__title {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  font-style: normal;
  color: #1A1208;
  margin: 0 0 var(--space-2);
}

.offre-card__price {
  font-family: var(--font-body);
  font-size: var(--text-3xl);
  font-weight: 700;
  font-style: normal;
  color: var(--gold-dark);
  margin: 0;
}

.offre-card__price span {
  font-size: var(--text-lg);
  font-weight: 500;
}

.offre-card__detail {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  font-style: normal;
  color: #1A1208;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.offre-card .btn {
  margin-top: auto;
}

@media (min-width: 640px) {
  .offres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .offres-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--reveal-duration) var(--ease-out-expo),
              transform var(--reveal-duration) var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   SEPARATEUR DECORATIF
   ========================================================================== */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.divider__icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

/* ==========================================================================
   LOADING SHIMMER
   ========================================================================== */

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg) 25%,
    var(--bg-alt) 50%,
    var(--bg) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: var(--bg-alt);
  }
}
