/* ============================================================
   style.css — SIR MICHAËL REPAIR
   Thème : Noir & Or Luxe
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── Variables CSS ─────────────────────────────────────────── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #9A7A30;
  --black:       #0A0A0A;
  --dark:        #111111;
  --dark-2:      #1A1A1A;
  --dark-3:      #242424;
  --white:       #F8F6F0;
  --gray:        #888888;
  --gray-light:  #CCCCCC;

  --font-display: 'Playfair Display', serif;
  --font-body:    'Jost', sans-serif;

  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-gold: 0 0 40px rgba(201, 168, 76, 0.2);
  --border-gold: 1px solid rgba(201, 168, 76, 0.3);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  min-width: 320px;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
iframe { max-width: 100%; display: block; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Selection ──────────────────────────────────────────────── */
::selection { background: var(--gold); color: var(--black); }

/* ── Preloader ──────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-ring {
  width: 60px; height: 60px;
  border: 2px solid var(--dark-3);
  border-top: 2px solid var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
}

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

/* ── Section Titles ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.section-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.25rem 0 2rem;
}
.section-divider.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Navbar ─────────────────────────────────────────────────── */
#mainNav {
  background: rgba(10, 10, 10, 0.0);
  padding: 1.25rem 0;
  transition: all 0.4s ease;
  z-index: 1000;
}
#mainNav.scrolled {
  background: rgba(10, 10, 10, 0.97) !important;
  padding: 0.75rem 0;
  border-bottom: var(--border-gold);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.navbar-brand span { color: var(--gold); }

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,246,240,0.75) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--gold) !important; }
.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 2rem); }

.navbar-toggler {
  border: var(--border-gold);
  padding: 0.4rem 0.6rem;
  color: var(--gold);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201,168,76,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 50%, rgba(201,168,76,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gray-light);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-stats {
  display: flex; gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: var(--border-gold);
  margin-top: 2.5rem;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.25rem;
}
.hero-visual {
  position: relative;
}
.hero-phone-card {
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}
.hero-phone-card::before {
  content: '';
  position: absolute; top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-icon-wrap {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  box-shadow: 0 8px 32px rgba(201,168,76,0.3);
}
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: var(--border-gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.hero-services-list {
  margin-top: 1.5rem;
}
.hero-service-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  font-size: 0.875rem;
  color: var(--gray-light);
}
.hero-service-item:last-child { border-bottom: none; }
.hero-service-item i { color: var(--gold); width: 16px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  color: var(--black) !important;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.5s ease;
}
.btn-gold:hover::before { transform: translateX(150%) skewX(-15deg); }
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,168,76,0.4);
  color: var(--black) !important;
}

.btn-outline-gold {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent;
  color: var(--gold) !important;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--black) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.btn-gold,
.btn-outline-gold {
  justify-content: center;
  text-align: center;
  white-space: normal;
}

/* ── Sections ───────────────────────────────────────────────── */
.section-dark   { background: var(--black); }
.section-dark-2 { background: var(--dark); }
.section-dark-3 { background: var(--dark-2); }

section { padding: 7rem 0; }

/* ── Feature Cards ──────────────────────────────────────────── */
.feature-card {
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201,168,76,0.5);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
  color: var(--black);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.feature-text {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ── Service Cards ──────────────────────────────────────────── */
.service-card {
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.5);
}
.service-card-header {
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  padding: 2rem;
  text-align: center;
  position: relative;
  border-bottom: var(--border-gold);
}
.service-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
}
.service-card-body { padding: 1.75rem 2rem; }
.service-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}
.service-price span { font-size: 0.8rem; font-weight: 300; color: var(--gray); }

.service-list li {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--gray-light);
}
.service-list li i { color: var(--gold); font-size: 0.7rem; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-card {
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  transition: all var(--transition);
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 1rem; left: 1.5rem;
  line-height: 1;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201,168,76,0.4);
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--gray);
}
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.5rem; }

/* ── About Section ──────────────────────────────────────────── */
.about-portrait {
  position: relative;
  display: inline-block;
}
.portrait-frame {
  width: 100%; max-width: 380px;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--dark-3), var(--dark-2));
  border: var(--border-gold);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 7rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}
.portrait-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.1));
  pointer-events: none;
}
.portrait-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.portrait-badge .num { font-size: 2rem; line-height: 1; }
.portrait-badge .label { font-size: 0.75rem; font-weight: 400; }

.about-value {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.5rem;
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.about-value:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateX(6px);
}
.about-value-icon {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-value-title {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.about-value-text { font-size: 0.85rem; color: var(--gray); }

/* ── Contact ────────────────────────────────────────────────── */
.contact-card {
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 16px;
  padding: 3rem;
  overflow-wrap: anywhere;
}
.contact-info-item {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(201,168,76,0.1);
  border: var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.contact-info-item:hover .contact-info-icon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
}
.contact-info-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.2rem;
}
.contact-info-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.form-control {
  width: 100%;
  background: var(--dark-3) !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
  border-radius: 8px !important;
  color: var(--white) !important;
  padding: 0.9rem 1.25rem !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  transition: all var(--transition);
}
.form-control::placeholder { color: var(--gray) !important; }
.form-control:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15) !important;
  border-color: rgba(201,168,76,0.6) !important;
  background: var(--dark-2) !important;
}
textarea.form-control { resize: vertical; min-height: 140px; }

.form-select {
  background: var(--dark-3) !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
  border-radius: 8px !important;
  color: var(--white) !important;
  padding: 0.9rem 1.25rem !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  width: 100%;
}
.form-select option { background: var(--dark-3); }
.form-select:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15) !important;
  border-color: rgba(201,168,76,0.6) !important;
}

.alert {
  border-radius: 10px !important;
  border: none !important;
  font-size: 0.9rem;
  padding: 1rem 1.5rem;
}
.alert-success { background: rgba(40,167,69,0.15) !important; color: #6fcf97 !important; }
.alert-danger  { background: rgba(220,53,69,0.15) !important; color: #eb5757 !important; }

/* ── WhatsApp Float Button ──────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 9998;
  display: flex; align-items: center; gap: 0.75rem;
  background: #25D366;
  color: #fff !important;
  padding: 0.85rem 1.5rem 0.85rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 30px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  animation: floatPulse 3s ease-in-out infinite;
}
.whatsapp-float i { font-size: 1.4rem; }
.whatsapp-float:hover {
  background: #128C7E;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
  color: #fff !important;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 50px rgba(37,211,102,0.6); }
}

/* ── Back to Top ────────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 2rem; left: 2rem;
  z-index: 9997;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: var(--border-gold);
  color: var(--gold);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover  { background: var(--gold); color: var(--black); }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: var(--border-gold);
  padding: 5rem 0 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-brand span { color: var(--gold); }
.footer-desc { font-size: 0.875rem; color: var(--gray); line-height: 1.8; max-width: 300px; }
.footer-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--gray);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-links a::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-links a:hover::before { width: 20px; }

.footer-contact-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
  overflow-wrap: anywhere;
}
.footer-contact-item i { color: var(--gold); width: 16px; }

.footer-divider {
  border-top: 1px solid rgba(201,168,76,0.1);
  margin: 2.5rem 0 1.5rem;
}
.footer-copy { font-size: 0.8rem; color: var(--gray); }

/* ── Admin ──────────────────────────────────────────────────── */
.admin-body {
  background: var(--dark);
  min-height: 100vh;
}
.admin-login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%),
    var(--dark);
}
.admin-login-card {
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 20px;
  padding: 3.5rem;
  width: 100%; max-width: 440px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.admin-sidebar {
  width: 260px;
  background: var(--dark-2);
  border-right: var(--border-gold);
  min-height: 100vh;
  padding: 2rem 0;
  position: fixed; top: 0; left: 0;
  display: flex; flex-direction: column;
  z-index: 100;
}
.admin-content {
  margin-left: 260px;
  padding: 2.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}
.admin-sidebar-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0 1.5rem 2rem;
  border-bottom: var(--border-gold);
  margin-bottom: 1.5rem;
}
.admin-nav-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.admin-nav-link:hover,
.admin-nav-link.active {
  color: var(--gold);
  background: rgba(201,168,76,0.06);
  border-left-color: var(--gold);
}
.admin-nav-link i { width: 18px; font-size: 1rem; }

.admin-mobile-nav {
  display: none;
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}
.admin-mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.admin-mobile-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.admin-mobile-brand span {
  color: var(--gold);
}
.admin-mobile-user {
  font-size: 0.74rem;
  color: var(--gray);
  overflow-wrap: anywhere;
}
.admin-mobile-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: var(--border-gold);
  background: rgba(201,168,76,0.08);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-mobile-toggle:focus {
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
  outline: none;
}
.admin-mobile-menu {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.admin-mobile-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(201,168,76,0.12);
  background: var(--dark-3);
  color: var(--gray-light);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
  transition: all var(--transition);
}
.admin-stat-card > div:last-child {
  min-width: 0;
  flex: 1 1 auto;
}
.admin-mobile-link i {
  width: 18px;
  flex-shrink: 0;
  color: var(--gold);
}
.admin-mobile-link:hover,
.admin-mobile-link.active {
  color: var(--white);
  border-color: rgba(201,168,76,0.45);
  background: rgba(201,168,76,0.08);
}
.admin-mobile-link-danger {
  color: #f2b3b3;
}

.admin-stat-card {
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex; align-items: center; gap: 1.5rem;
  transition: all var(--transition);
}
.admin-stat-card:hover { border-color: rgba(201,168,76,0.5); transform: translateY(-3px); }
.admin-stat-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.admin-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  overflow-wrap: anywhere;
}
.admin-stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-table-card {
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 14px;
  overflow: hidden;
}
.admin-table-head { padding: 1.25rem 1.5rem; border-bottom: var(--border-gold); }
.admin-table-title { font-family: var(--font-display); font-size: 1.1rem; }

.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-striped-bg: rgba(201,168,76,0.03) !important;
  --bs-table-hover-bg: rgba(201,168,76,0.06) !important;
  color: var(--white) !important;
}
.table > :not(caption) > * > * { border-bottom-color: rgba(201,168,76,0.1) !important; }
.table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold) !important;
  font-weight: 600;
  padding: 0.9rem 1rem;
}
.table td { padding: 0.9rem 1rem; font-size: 0.875rem; vertical-align: middle; }

.badge-status {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
}
.badge-nouveau  { background: rgba(201,168,76,0.15); color: var(--gold); }
.badge-en_cours { background: rgba(33,150,243,0.15); color: #64b5f6; }
.badge-traite   { background: rgba(76,175,80,0.15);  color: #81c784; }
.badge-archive  { background: rgba(158,158,158,0.15); color: #9e9e9e; }

/* ── Page Header (Bannière pages internes) ─────────────────── */
.page-header {
  background: var(--dark);
  border-bottom: var(--border-gold);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
}
.breadcrumb { background: none !important; padding: 0 !important; }
.breadcrumb-item { font-size: 0.8rem; color: var(--gray); }
.breadcrumb-item.active { color: var(--gold); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gray); }
.breadcrumb-item a { color: var(--gray); }
.breadcrumb-item a:hover { color: var(--gold); }

/* ── Animations ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX( 30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  section { padding: 5rem 0; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-title { font-size: clamp(2.5rem, 8vw, 4rem); }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  #mainNav {
    background: rgba(10, 10, 10, 0.97);
    padding: 0.85rem 0;
    border-bottom: var(--border-gold);
  }
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem 0 0.25rem;
    border-top: 1px solid rgba(201,168,76,0.15);
  }
  .navbar-nav {
    align-items: stretch !important;
    gap: 0.35rem;
  }
  .nav-link {
    padding: 0.85rem 0 !important;
  }
  .nav-link::after {
    left: 0;
  }
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 72px;
  }
  .hero-phone-card,
  .contact-card,
  .admin-login-card {
    padding: 2rem;
  }
  .service-card-header,
  .service-card-body,
  .feature-card,
  .testimonial-card {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .portrait-badge {
    right: 1rem;
    bottom: 1rem;
  }
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
  }
  #backToTop {
    left: 1rem;
    bottom: 1rem;
  }
  .admin-sidebar { display: none; }
  .admin-mobile-nav { display: block !important; }
  .admin-content { margin-left: 0; padding: 1.5rem; }
  .admin-stat-card {
    min-height: 100%;
    padding: 1.25rem;
    gap: 1rem;
    align-items: flex-start;
  }
  .admin-stat-num {
    font-size: 1.65rem;
  }
  .admin-table-card {
    overflow: hidden;
  }
  .table-responsive {
    border-radius: 14px;
  }
}
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  section {
    padding: 4rem 0;
  }
  .page-header {
    padding: 7rem 0 3rem;
  }
  .page-header-title {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }
  .section-title {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }
  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    line-height: 1.08;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 2rem;
  }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .hero-stats > div {
    flex: 1 1 140px;
  }
  .hero-phone-card {
    border-radius: 16px;
    padding: 1.5rem;
  }
  .hero-icon-wrap {
    width: 82px;
    height: 82px;
    font-size: 2rem;
  }
  .feature-card,
  .service-card-header,
  .service-card-body,
  .testimonial-card,
  .about-value {
    padding: 1.35rem;
  }
  .contact-card { padding: 2rem 1.5rem; }
  .contact-info-item {
    align-items: flex-start;
    gap: 1rem;
  }
  .contact-info-icon {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
  .btn-gold,
  .btn-outline-gold {
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .admin-mobile-nav {
    padding: 0.9rem;
  }
  .admin-mobile-nav-head {
    align-items: flex-start;
  }
  .admin-mobile-brand {
    font-size: 0.95rem;
  }
  .admin-stat-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .admin-stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .admin-stat-num {
    font-size: 1.4rem;
  }
  .admin-stat-label {
    font-size: 0.76rem;
  }
  .admin-mobile-link .badge-status {
    margin-left: auto;
  }
  .admin-table-head {
    padding: 1rem;
  }
  .admin-table-title {
    font-size: 1rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .admin-login-card { padding: 2.5rem 1.75rem; }
  .whatsapp-float {
    padding: 0.8rem 1rem;
    border-radius: 999px;
  }
  .whatsapp-float .wa-text { display: none; }
  .footer-brand,
  .footer-desc,
  .footer-title,
  .footer-copy {
    text-align: center;
  }
  .footer-desc {
    max-width: none;
  }
  .footer-links a,
  .footer-contact-item {
    justify-content: center;
  }
  .breadcrumb {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 0.25rem !important;
  }
}
@media (max-width: 399.98px) {
  .navbar-brand {
    font-size: 1.15rem;
  }
  .hero-stats > div {
    flex-basis: 100%;
  }
  .btn-gold,
  .btn-outline-gold {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  .admin-content {
    padding: 1rem;
  }
  .admin-mobile-link {
    padding: 0.8rem 0.85rem;
    font-size: 0.8rem;
  }
  .admin-stat-card {
    padding: 1rem;
  }
  .admin-stat-num {
    font-size: 1.2rem;
  }
  .admin-stat-label {
    font-size: 0.72rem;
  }
}

.tariff-note {
  max-width: 760px;
  color: var(--gray-light);
  line-height: 1.85;
}
.tariff-search-card,
.tariff-card,
.tariff-summary-card {
  background: var(--dark-2);
  border: var(--border-gold);
  border-radius: 16px;
}
.tariff-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.tariff-summary-card { padding: 1.35rem; }
.tariff-summary-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}
.tariff-summary-value {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold);
}
.tariff-search-card {
  padding: 1.1rem;
}
.tariff-search-group {
  align-items: stretch;
}
.tariff-search-group .input-group-text {
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.2);
  border-right: none;
  color: var(--gold);
}
.tariff-search-group .form-control {
  border-left: none !important;
}
.tariff-search-meta {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--gray);
}
.tariff-empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--gray);
  background: rgba(201,168,76,0.03);
  border: 1px dashed rgba(201,168,76,0.24);
  border-radius: 16px;
  margin-bottom: 1.5rem;
}
.tariff-empty-state i {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 1.4rem;
}
.tariff-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.tariff-card {
  padding: 1.25rem;
  height: 100%;
}
.tariff-card-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.tariff-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}
.tariff-card-subtitle {
  font-size: 0.8rem;
  color: var(--gray);
}
.tariff-card-section + .tariff-card-section { margin-top: 1rem; }
.tariff-card-label {
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.tariff-card-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.tariff-card-prices.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tariff-card-item {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.1);
}
.tariff-card-item span { display: block; }
.tariff-card-item span:first-child {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
}
.tariff-card-item span:last-child {
  margin-top: 0.4rem;
  color: var(--gold);
  font-weight: 600;
}
.admin-price-form { padding: 1.5rem; }
.admin-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.admin-price-grid .full { grid-column: 1 / -1; }
.admin-price-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.admin-price-card {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.12);
}
.admin-price-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray);
}
.admin-price-card-value {
  margin-top: 0.4rem;
  color: var(--gold);
  font-weight: 600;
}
.admin-pwa-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  width: min(420px, calc(100vw - 2rem));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(17,17,17,0.96);
  border: var(--border-gold);
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
}
.admin-pwa-text {
  min-width: 0;
}
.admin-pwa-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}
.admin-pwa-text span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--gray-light);
  line-height: 1.45;
}
.admin-pwa-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
}
.admin-pwa-btn {
  border: none;
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.admin-pwa-btn.secondary {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.28);
  color: var(--gold);
}
.admin-pwa-btn:disabled {
  opacity: 0.75;
}
@media (max-width: 991.98px) {
  .tariff-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-price-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tariff-summary-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .tariff-card-grid,
  .tariff-card-prices,
  .tariff-card-prices.two-cols {
    grid-template-columns: 1fr;
  }
  .admin-price-grid,
  .admin-price-card-grid {
    grid-template-columns: 1fr;
  }
  .admin-pwa-bar {
    left: 1rem;
    right: 1rem;
    width: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .admin-pwa-actions {
    justify-content: stretch;
  }
  .admin-pwa-btn {
    width: 100%;
  }
}
