/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --rouge-fonce: #7f1d1d;
  --rouge-vif: #dc2626;
  --rouge-clair: #fecaca;
  --rouge-doux: #fee2e2;
  --rouge-accent: #b91c1c;
  --blanc: #ffffff;
  --gris-clair: #f8f4f4;
  --gris-texte: #3d2a2a;
  --ombre-douce: 0 20px 35px -10px rgba(127, 29, 29, 0.25);
  --ombre-forte: 0 30px 50px -15px rgba(127, 29, 29, 0.4);
  --radius: 28px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 82px;      /* hauteur du header fixe */
  --header-height-mobile: 72px;
  --bottom-nav-height: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gris-clair);
  color: var(--gris-texte);
  line-height: 1.6;
  overflow-x: hidden;
  /* padding pour compenser les éléments fixes */
  padding-top: var(--header-height);
  padding-bottom: 0;
  min-height: 100vh;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--rouge-fonce);
  margin-bottom: 1.5rem;
}
h2 i {
  color: var(--rouge-vif);
  font-size: 2rem;
}

.lead {
  font-size: 1.15rem;
  color: #5a3e3e;
  max-width: 700px;
  margin-bottom: 2rem;
}

/* ============================================================
   HEADER (fixe)
   ============================================================ */
.main-header {
  background: rgba(127, 29, 29, 0.96);
  backdrop-filter: blur(12px);
  color: white;
  padding: 0.6rem 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.main-header.scrolled {
  padding: 0.4rem 1.5rem;
  background: rgba(127, 29, 29, 0.99);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}
.main-header.scrolled .logo img {
  height: 48px;
}

/* Navigation desktop */
.nav-desktop {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav-desktop a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: #ffb3b3;
  transition: var(--transition);
}
.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}
.nav-desktop a.active {
  color: #ffd6d6;
}

/* Indicateur ouvert/fermé */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  padding: 4px 14px 4px 10px;
  border-radius: 40px;
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.3s;
}
.status-text {
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  font-size: 0.75rem;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
  padding: 0.2rem 0.5rem;
}

/* ============================================================
   CONTENU PRINCIPAL
   ============================================================ */
.page-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 2.5rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--ombre-douce);
  border-left: 6px solid var(--rouge-vif);
  transition: var(--transition);
}
section:hover {
  box-shadow: var(--ombre-forte);
}

/* ============================================================
   HERO (accueil)
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, #7f1d1d 0%, #b91c1c 50%, #dc2626 100%);
  color: white;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  border-left: none;
  box-shadow: none;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.hero .tagline {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}
.top-chrono {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 10px 28px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0.5rem 0 1.5rem;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
}
.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}
.hero-left, .hero-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.hero-left img, .hero-right img {
  max-height: 460px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 20px;
}
.hero-left img:hover, .hero-right img:hover {
  transform: scale(1.03);
}
@media (max-width: 860px) {
  .hero-left, .hero-right {
    display: none;
  }
  .hero-container {
    justify-content: center;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero .tagline {
    font-size: 1.1rem;
  }
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rouge-vif), var(--rouge-fonce));
  color: white;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(220, 38, 38, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--rouge-vif);
  border: 2px solid var(--rouge-vif);
}
.btn-outline:hover {
  background: var(--rouge-vif);
  color: white;
  transform: translateY(-3px);
}
.mt-2 {
  margin-top: 1.5rem;
}

/* ============================================================
   GRILLES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.service-card {
  background: var(--blanc);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(220, 38, 38, 0.15);
  transition: var(--transition);
  display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 40px -12px rgba(220, 38, 38, 0.3);
  border-color: var(--rouge-vif);
}
.service-card img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.service-card i {
  font-size: 48px;
  color: var(--rouge-vif);
  margin-bottom: 0.5rem;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.price-tag {
  display: inline-block;
  background: var(--rouge-vif);
  color: white;
  padding: 4px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}
.btn-small {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rouge-vif);
}

/* ============================================================
   ACCESSOIRES
   ============================================================ */
.accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.accessory-card {
  background: var(--rouge-doux);
  border-radius: 20px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}
.accessory-card:hover {
  transform: scale(1.03);
  background: #fdd6d6;
}
.accessory-card i {
  font-size: 2.2rem;
  color: var(--rouge-vif);
  margin-bottom: 0.5rem;
}
.accessory-card h4 {
  font-size: 1rem;
  color: var(--rouge-fonce);
}

/* ============================================================
   GALLERY (composants cassés)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.gallery-item .caption {
  padding: 0.8rem 1rem;
  background: var(--blanc);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--rouge-fonce);
  text-align: center;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.contact-info {
  background: var(--rouge-doux);
  padding: 2rem;
  border-radius: 24px;
}
.info-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.info-row i {
  font-size: 1.5rem;
  color: var(--rouge-vif);
  width: 30px;
  margin-top: 4px;
}

/* ============================================================
   PLAN & HORAIRES
   ============================================================ */
.map-card {
  background: var(--rouge-doux);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
}
.map-card img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 16px;
  margin: 1rem 0;
}
.horaire-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid #fccccc;
}
.horaire-row:last-child {
  border-bottom: none;
}

/* ============================================================
   BOUTIQUE / VALEURS
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.value-card {
  background: var(--rouge-doux);
  padding: 1.8rem;
  border-radius: 24px;
  text-align: center;
}

/* ============================================================
   BRAND GRID (pages marques)
   ============================================================ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.brand-card {
  background: var(--blanc);
  border-radius: 24px;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid rgba(220,38,38,0.12);
  transition: var(--transition);
  cursor: default;
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-douce);
  border-color: var(--rouge-vif);
}
.brand-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.brand-card h4 {
  font-size: 1.1rem;
  color: var(--rouge-fonce);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  color: var(--rouge-vif);
  text-decoration: none;
  font-weight: 500;
}
.back-link:hover {
  text-decoration: underline;
}

/* ============================================================
   PRICE BLOCK (accueil)
   ============================================================ */
.price-block {
  background: var(--rouge-doux);
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 2rem;
}
.price-big {
  font-size: 3rem;
  font-weight: 800;
  color: var(--rouge-vif);
}
.badge-express {
  display: inline-block;
  background: var(--rouge-vif);
  color: white;
  padding: 6px 24px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--rouge-fonce);
  color: white;
  margin-top: 2rem;
  width: 100%;
}
footer a {
  color: #ffd6d6;
  text-decoration: none;
  font-weight: 500;
}
footer a:hover {
  text-decoration: underline;
}

/* ============================================================
   BOTTOM NAV (mobile) – toujours en bas
   ============================================================ */
.bottom-nav-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  justify-content: space-around;
  padding: 8px 8px 12px;
  box-shadow: 0 -6px 25px rgba(0,0,0,0.08);
  border-top: 2px solid var(--rouge-vif);
  z-index: 999;
  height: var(--bottom-nav-height);
}
.nav-item-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  color: #4b2e2e;
  text-decoration: none;
  transition: var(--transition);
}
.nav-item-mobile i {
  font-size: 22px;
  color: var(--rouge-vif);
}
.nav-item-mobile.active {
  color: var(--rouge-vif);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  body {
    padding-top: var(--header-height-mobile);
    padding-bottom: var(--bottom-nav-height);
  }
  .main-header {
    height: var(--header-height-mobile);
    padding: 0.4rem 1rem;
  }
  .main-header.scrolled {
    padding: 0.3rem 1rem;
  }
  .logo img {
    height: 50px;
  }
  .main-header.scrolled .logo img {
    height: 42px;
  }
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .bottom-nav-mobile {
    display: flex;
  }
  .page-content {
    padding: 1rem 1rem 1.5rem;
  }
  section {
    padding: 1.8rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding: 1.5rem 1rem;
    min-height: auto;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero .tagline {
    font-size: 1.1rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .status-indicator {
    font-size: 0.7rem;
    padding: 4px 10px 4px 8px;
  }
  .status-dot {
    width: 8px;
    height: 8px;
  }
  .status-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 500px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero .tagline {
    font-size: 1rem;
  }
  .hero-stats {
    gap: 1rem;
  }
  .stat-number {
    font-size: 1.4rem;
  }
  section {
    padding: 1.2rem 1rem;
  }
  .page-content {
    padding: 0.8rem 0.8rem 1rem;
  }
  .price-big {
    font-size: 2.2rem;
  }
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   MENTIONS LEGALES – ligne de crédit
   ============================================================ */
.credit-wrapper {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
  text-align: center;
  margin-top: 2px;
}
.credit-wrapper.open {
  max-height: 70px;
  opacity: 1;
}
.credit-content {
  font-size: 13px;
  padding: 10px 0 4px;
  color: #ddd;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.credit-content img {
  height: 32px;
  width: auto;
  vertical-align: middle;
  margin-left: 8px;
  border-radius: 4px;
  background: white;
  padding: 2px;
}