/* ═══════════════════════════════════════════════════════════
   ROMI MC — Styles personnalisés
   ═══════════════════════════════════════════════════════════ */

:root {
  /* === ARRIÈRE-PLANS === */
  --bg-void:        #080810;
  --bg-deep:        #0D0D1A;
  --bg-card:        rgba(255, 255, 255, 0.04);
  --bg-card-hover:  rgba(255, 255, 255, 0.08);

  /* === HIÉRARCHIE OR === */
  --gold-bright:    #F5C842;
  --gold-warm:      #D4A017;
  --gold-muted:     #8A6A00;
  --gold-glow:      rgba(212, 160, 23, 0.25);

  /* === TEXTE === */
  --text-primary:   #F0EDE8;
  --text-secondary: #A89F8C;
  --text-muted:     #5C5449;

  /* === VERRE & BORDURES === */
  --glass-border:       rgba(245, 200, 66, 0.15);
  --glass-border-hover: rgba(245, 200, 66, 0.45);
  --glass-shine:        rgba(255, 255, 255, 0.06);

  /* === STATUTS === */
  --success: #3DCA7A;
  --error:   #E05555;
}

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* ── CARTES EN VERRE (GLASSMORPHISM) ── */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(245, 200, 66, 0.15);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 200, 66, 0.45);
  box-shadow:
    0 16px 48px rgba(212, 160, 23, 0.15),
    0 0 0 1px rgba(245, 200, 66, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

/* ── BARRE DE NAVIGATION ── */
.glass-nav {
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(245, 200, 66, 0.12);
}

/* ── BOUTONS ── */
.btn-primary {
  background: linear-gradient(135deg, #D4A017 0%, #F5C842 50%, #D4A017 100%);
  background-size: 200% 100%;
  color: #080810;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 24px rgba(212, 160, 23, 0.35);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 8px 40px rgba(212, 160, 23, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  background: transparent;
  color: #F5C842;
  border: 1px solid rgba(245, 200, 66, 0.5);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 34px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(245, 200, 66, 0.1);
  border-color: #F5C842;
  box-shadow: 0 0 24px rgba(245, 200, 66, 0.2);
}

/* ── ANIMATIONS ── */
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 160, 23, 0.3); }
  50%       { box-shadow: 0 0 50px rgba(212, 160, 23, 0.7), 0 0 80px rgba(212, 160, 23, 0.3); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes lineGrow {
  from { width: 0; opacity: 0; }
  to   { width: 80px; opacity: 1; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%       { opacity: 0.8; transform: scale(1.2); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
@keyframes bounceIn {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

.animate-fade-up    { animation: fadeInUp 0.7s ease forwards; }
.animate-float      { animation: floatY 4s ease-in-out infinite; }
.animate-gold-pulse { animation: goldPulse 2.5s ease-in-out infinite; }
.animate-shimmer    { animation: shimmer 2s linear infinite; }
.animate-bounce     { animation: bounce 1.5s ease-in-out infinite; }
.animate-bounce-in  { animation: bounceIn 0.5s ease forwards; }

/* ── CLASSES UTILITAIRES SPÉCIFIQUES ── */
.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.mobile-nav-link {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  color: var(--text-primary);
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--gold-bright); }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 50px;
  border: 1px solid rgba(245, 200, 66, 0.3);
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-muted);
  width: fit-content;
}

.footer-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--gold-bright); }

/* .about-photo-frame — remplacé par .about-photo-col */

/* Effet de survol sur la carte de service */
.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F5C842, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }

/* Champs du formulaire */
.form-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 200, 66, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  color: #F0EDE8;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  outline: none;
  -webkit-appearance: none;
}
.form-field::placeholder { color: rgba(168, 159, 140, 0.45); font-style: italic; }
.form-field:focus {
  border-color: rgba(245, 200, 66, 0.6);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.08), 0 4px 16px rgba(0, 0, 0, 0.3);
}
.form-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245, 200, 66, 0.7);
  display: block;
  margin-bottom: 8px;
}
.form-field.valid   { border-color: rgba(61, 202, 122, 0.4); }
.form-field.invalid { border-color: rgba(224, 85, 85, 0.4); }

/* Bug fix : options du select illisibles sur fond clair navigateur */
.form-field option {
  background-color: #0D0D1A;
  color: #F0EDE8;
}

/* ══════════════════════════════════════════
   LUCIDE ICONS
   ══════════════════════════════════════════ */
.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke-width: 1.75;
}
/* Tailles — s'appliquent aussi aux SVG inline */
.icon-xs,  .icon-xs  svg { width: 13px; height: 13px; }
.icon-sm,  .icon-sm  svg { width: 16px; height: 16px; }
.icon-md,  .icon-md  svg { width: 20px; height: 20px; }
.icon-lg,  .icon-lg  svg { width: 24px; height: 24px; }
.icon-xl,  .icon-xl  svg { width: 28px; height: 28px; }
.icon-2xl, .icon-2xl svg { width: 32px; height: 32px; }
svg.icon-xs  { width: 13px; height: 13px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
svg.icon-sm  { width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
svg.icon-md  { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
svg.icon-lg  { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
svg.icon-xl  { width: 28px; height: 28px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
svg.icon-2xl { width: 32px; height: 32px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
/* Couleurs */
.icon-gold       { color: var(--gold-bright); }
.icon-gold-warm  { color: var(--gold-warm); }
.icon-gold-muted { color: var(--gold-muted); }
.icon-green      { color: var(--success); }
.icon-muted      { color: var(--text-muted); }
.icon-pink       { color: #e1306c; }
.icon-snap       { color: #FFFC00; }
.icon-wa         { color: #25D366; }

/* ── BOUTON CARD WHATSAPP ── */
.btn-card-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(245, 200, 66, 0.35);
  background: transparent;
  color: var(--gold-bright);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-card-wa:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: #25D366;
  color: #25D366;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.2);
}
.btn-card-wa .lucide:first-child { color: #25D366; }

/* ══════════════════════════════════════════
   SECTION ABOUT — REDESIGN
   ══════════════════════════════════════════ */

/* Carte principale bicolonne */
.about-main-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(245, 200, 66, 0.12);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

@media (max-width: 1023px) {
  .about-main-card { grid-template-columns: 1fr; }
}

/* Colonne photo */
.about-photo-col {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.about-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.55) saturate(0.7);
}

.about-photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 55%,
    rgba(13, 13, 26, 0.9) 100%
  ), linear-gradient(
    to top,
    rgba(8, 8, 16, 0.8) 0%,
    transparent 40%
  );
}

/* Badge athlete */
.about-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(8, 8, 16, 0.75);
  border: 1px solid rgba(245, 200, 66, 0.25);
  backdrop-filter: blur(10px);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Colonne contenu */
.about-content-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 44px;
}

@media (max-width: 767px) {
  .about-content-col { padding: 28px 22px; }
}

/* Citation */
.about-quote {
  border-left: 3px solid var(--gold-bright);
  padding-left: 20px;
  margin: 0;
}
.about-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}
.about-quote footer {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--gold-muted);
  margin-top: 10px;
}

/* Bio */
.about-bio {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

/* Cartes valeurs */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .about-values { grid-template-columns: 1fr; }
}

.about-value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 200, 66, 0.1);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s, background 0.3s;
}
.about-value-card:hover {
  border-color: rgba(245, 200, 66, 0.3);
  background: rgba(245, 200, 66, 0.03);
}

.about-value-icon {
  font-size: 1.25rem;
  line-height: 1;
}
.about-value-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0;
}
.about-value-line {
  height: 1px;
  background: linear-gradient(to right, rgba(245, 200, 66, 0.3), transparent);
}
.about-value-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ── HERO — OVERLAY PHOTO ARRIÈRE-PLAN ── */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.07;
  filter: grayscale(40%) blur(1px);
  display: block;
}

/* ── LOGO INLINE ── */
.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
}
.logo-sep {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: rgba(212, 160, 23, 0.5);
  letter-spacing: 0;
}

/* ── PILE DE PHOTOS HÉROS ── */
.photo-stack-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 360px;
  height: 480px;
}

@media (min-width: 1024px) {
  .photo-stack-wrapper { max-width: 400px; height: 520px; }
}

.hero-photo-card {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(245, 200, 66, 0.35);
  cursor: pointer;
  transition:
    transform   0.9s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow  0.9s ease,
    filter      0.9s ease,
    z-index     0s   0.45s;
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Étiquette en bas de chaque carte */
.photo-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(to top, rgba(8,8,16,0.85) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(240, 237, 232, 0.9);
  letter-spacing: 0.05em;
}
.photo-card-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  color: var(--gold-bright);
  letter-spacing: 0.2em;
  border: 1px solid rgba(245, 200, 66, 0.35);
  padding: 3px 10px;
  border-radius: 50px;
}

/* État FRONT */
.hero-photo-card.is-front {
  transform: rotate(2deg) translateY(0) scale(1);
  z-index: 2;
  filter: brightness(1);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(245, 200, 66, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* État BACK */
.hero-photo-card.is-back {
  transform: rotate(-5deg) translateY(14px) scale(0.93);
  z-index: 1;
  filter: brightness(0.65);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

/* Halo doré sous la pile */
.photo-stack-glow {
  position: absolute;
  bottom: -18px; left: 50%;
  transform: translateX(-50%);
  width: 65%; height: 36px;
  background: radial-gradient(ellipse, rgba(212, 160, 23, 0.5), transparent 70%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   ANIMATE — état initial (opacity 0)
   JS (main.js) gère la transition vers opacity 1
   ══════════════════════════════════════════ */
[data-animate] { opacity: 0; }

/* ══════════════════════════════════════════
   SECTION BACKGROUNDS
   ══════════════════════════════════════════ */
.hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(212, 160, 23, 0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(212, 160, 23, 0.05) 0%, transparent 65%),
    #080810;
}

.about-bg {
  background: linear-gradient(180deg, #080810 0%, #0D0D1A 50%, #080810 100%);
}

.reviews-bg {
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(212, 160, 23, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 100% 0%, rgba(212, 160, 23, 0.04) 0%, transparent 60%),
    #0D0D1A;
}

.contact-bg {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(212, 160, 23, 0.07) 0%, transparent 70%),
    linear-gradient(180deg, #080810 0%, #0D0D1A 100%);
}

/* ══════════════════════════════════════════
   SECTION VIDÉOS — Cards
   ══════════════════════════════════════════ */

/* Arrondi + légère bordure or sur la card */
.video-card {
  border-radius: 16px;
  border: 1px solid rgba(245, 200, 66, 0.12);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.video-card:hover {
  border-color: rgba(245, 200, 66, 0.3);
  transform: translateY(-4px);
}

/* Contrôles natifs : fond sombre pour contraste */
.video-card video {
  display: block;
  border-radius: 0;
}

/* Barre d'info sous la vidéo */
.video-card-label {
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(245, 200, 66, 0.08);
}

.video-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.video-card-sub {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Sur mobile, texte encore plus compact */
@media (max-width: 480px) {
  .video-card-label {
    padding: 8px 10px 12px;
  }
  .video-card-title { font-size: 0.72rem; }
  .video-card-sub   { font-size: 0.65rem; }
}
