/* ============================================
   SETUP AVENIR - CSS Principal
   Palette: #3E48BD (bleu) #BDA23E (or) #484D7D (violet) #686045 (bronze) #33343D (sombre)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bleu:      #3E48BD;
  --or:        #BDA23E;
  --violet:    #484D7D;
  --bronze:    #686045;
  --sombre:    #33343D;
  --bg:        #1E1F28;
  --bg2:       #26273A;
  --bg3:       #2E3050;
  --texte:     #E8E9F3;
  --texte2:    #A8AABF;
  --sidebar-w: 260px;
  --accent:    var(--or);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--texte);
  display: block;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sombre) 0%, var(--bg2) 100%);
  position: fixed;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--bleu);
  z-index: 100;
}

.sidebar-logo {
  padding: 28px 20px 20px;
  border-bottom: 1px solid rgba(62,72,189,0.4);
  text-align: center;
}

.sidebar-logo img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(189,162,62,0.5));
}

.sidebar-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--or);
  letter-spacing: 2px;
  margin-top: 8px;
  text-transform: uppercase;
}

.sidebar-logo-sub {
  font-size: 11px;
  color: var(--texte2);
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav.sidebar-nav {
  padding: 12px 0;
  flex: 1;
}

nav.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--texte2);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  border-left: 3px solid transparent;
  position: relative;
  white-space: nowrap;
}

nav.sidebar-nav a:hover,
nav.sidebar-nav a.active {
  color: var(--or);
  background: rgba(62,72,189,0.15);
  border-left-color: var(--or);
}

nav.sidebar-nav a .icon {
  width: 16px;
  text-align: center;
  font-size: 14px;
}

.sidebar-contact {
  padding: 12px 16px;
  border-top: 1px solid rgba(62,72,189,0.4);
  background: rgba(0,0,0,0.2);
}

.sidebar-contact p {
  font-size: 10px;
  color: var(--texte2);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-contact .phone {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--or);
  display: block;
  text-decoration: none;
}

.sidebar-contact .phone:hover { color: #fff; }

.sidebar-hours {
  font-size: 10px;
  color: var(--bronze);
  margin-top: 4px;
  line-height: 1.3;
}

.availability-note {
  font-size: 10px;
  color: var(--or);
  margin: 4px 0 6px;
  line-height: 1.4;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  min-height: 100vh;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/devanture.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(62,72,189,0.55) 0%, rgba(33,34,45,0.8) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 60px 60px;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: var(--bleu);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 6px;
}

.hero-title span { color: var(--or); }

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  color: var(--texte2);
  margin-bottom: 30px;
  letter-spacing: 0.3px;
}

.hero-desc {
  font-size: 16px;
  color: rgba(232,233,243,0.85);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--bleu);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  border: 2px solid var(--bleu);
}

.btn-primary:hover { background: #5060d0; border-color: #5060d0; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--or);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  border: 2px solid var(--or);
}

.btn-secondary:hover { background: rgba(189,162,62,0.15); transform: translateY(-1px); }

.hero-stats {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  gap: 40px;
  z-index: 2;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--or);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--texte2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== SECTIONS ===== */
section {
  padding: 46px 60px;
}

section:nth-child(even) { background: var(--bg2); }

.section-label {
  font-size: 11px;
  color: var(--or);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}

.section-desc {
  color: var(--texte2);
  max-width: 600px;
  margin-bottom: 30px;
  font-size: 15px;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg3);
  border: 1px solid rgba(62,72,189,0.3);
  border-radius: 8px;
  padding: 30px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bleu), var(--or));
  opacity: 0;
  transition: opacity 0.25s;
}

.service-card:hover {
  border-color: var(--bleu);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(62,72,189,0.2);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(62,72,189,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  border: 1px solid rgba(62,72,189,0.4);
}

.service-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--texte2);
  font-size: 14px;
  line-height: 1.6;
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* ===== INFO BAND ===== */
.info-band {
  background: linear-gradient(135deg, var(--bleu) 0%, var(--violet) 100%);
  padding: 50px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  align-items: center;
}

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

.info-item .icon { font-size: 32px; margin-bottom: 10px; }
.info-item h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.info-item p { color: rgba(255,255,255,0.75); font-size: 14px; }

/* ===== ABOUT / DEVANTURE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid rgba(62,72,189,0.4);
  object-fit: cover;
  max-height: 400px;
}

.about-text h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.about-text h2 span { color: var(--or); }

.about-text p {
  color: var(--texte2);
  margin-bottom: 16px;
  font-size: 15px;
}

.google-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(189,162,62,0.12);
  border: 1px solid rgba(189,162,62,0.3);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 24px;
  width: fit-content;
}

.stars { color: var(--or); font-size: 20px; letter-spacing: 2px; }
.google-text { font-size: 13px; color: var(--texte2); }
.google-text strong { color: var(--or); }

/* ===== PRESTATION PAGE ===== */
.prestations-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.prestation-item {
  background: var(--bg3);
  border: 1px solid rgba(62,72,189,0.3);
  border-radius: 8px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  transition: border-color 0.2s;
}

.prestation-item:hover { border-color: var(--or); }

.prestation-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--or);
  background: rgba(189,162,62,0.1);
  border: 1px solid rgba(189,162,62,0.3);
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
}

.prestation-item h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.prestation-item p { color: var(--texte2); font-size: 13px; }

/* ===== RÉCUP DONNÉES PAGE ===== */
.recuperation-hero {
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  padding: 50px 60px;
  border-bottom: 2px solid var(--bleu);
}

.recuperation-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.recuperation-hero h1 span { color: var(--or); }

.recuperation-hero p {
  color: var(--texte2);
  font-size: 16px;
  max-width: 650px;
  line-height: 1.7;
}

.recup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.recup-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 340px;
  border: 2px solid rgba(62,72,189,0.4);
}

.scenario-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.scenario-card {
  background: var(--bg3);
  border-left: 4px solid var(--bleu);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
}

.scenario-card.gold { border-left-color: var(--or); }
.scenario-card.bronze { border-left-color: var(--bronze); }

.scenario-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.scenario-card p { color: var(--texte2); font-size: 14px; }

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tarif-card {
  background: var(--bg3);
  border: 1px solid rgba(62,72,189,0.3);
  border-radius: 8px;
  padding: 22px 24px;
}

.tarif-card h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--or);
  margin-bottom: 8px;
}

.tarif-card p { color: var(--texte2); font-size: 14px; }

.tarif-note {
  margin-top: 30px;
  background: rgba(62,72,189,0.1);
  border: 1px solid rgba(62,72,189,0.4);
  border-radius: 8px;
  padding: 20px 24px;
  color: var(--texte2);
  font-size: 14px;
}

.tarif-note strong { color: var(--bleu); }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info-block {
  background: var(--bg3);
  border: 1px solid rgba(62,72,189,0.3);
  border-radius: 8px;
  padding: 32px;
}

.contact-info-block h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.contact-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-row .icon {
  font-size: 22px;
  width: 36px;
  flex-shrink: 0;
}

.contact-row .contact-detail strong {
  display: block;
  color: var(--or);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-row .contact-detail p,
.contact-row .contact-detail a {
  color: var(--texte);
  font-size: 15px;
  text-decoration: none;
}

.contact-row .contact-detail a:hover { color: var(--or); }

.map-container {
  width: 100%;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(62,72,189,0.4);
  margin-top: 20px;
}

.map-container iframe { width: 100%; height: 100%; border: none; filter: brightness(0.85) saturate(0.8); }

.services-extra {
  background: rgba(189,162,62,0.08);
  border: 1px solid rgba(189,162,62,0.25);
  border-radius: 8px;
  padding: 22px 26px;
  margin-top: 24px;
}

.services-extra h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--or);
  margin-bottom: 10px;
}

.services-extra ul {
  list-style: none;
  color: var(--texte2);
  font-size: 14px;
}

.services-extra ul li { padding: 3px 0; }
.services-extra ul li::before { content: '→ '; color: var(--bleu); }

/* ===== À PROPOS ===== */
.about-hero {
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  border-bottom: 2px solid var(--bleu);
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--bleu), var(--or));
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--or);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.timeline-item h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--or);
  margin-bottom: 4px;
}

.timeline-item p { color: var(--texte2); font-size: 14px; }

/* ===== MONTAGE PC ===== */
.montage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.montage-card {
  background: var(--bg3);
  border: 1px solid rgba(62,72,189,0.3);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s;
}

.montage-card:hover {
  border-color: var(--or);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.montage-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.montage-card-body { padding: 22px; }

.montage-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.montage-card p { color: var(--texte2); font-size: 14px; line-height: 1.6; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.step {
  background: var(--bg3);
  border: 1px solid rgba(62,72,189,0.3);
  border-radius: 8px;
  padding: 22px;
  text-align: center;
}

.step-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--bleu);
  line-height: 1;
  margin-bottom: 8px;
}

.step h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.step p { color: var(--texte2); font-size: 13px; }

/* ===== FOOTER ===== */
.footer,
.footer-bottom {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  box-sizing: border-box;
}

.footer {
  background: var(--sombre);
  border-top: 2px solid rgba(62,72,189,0.5);
  padding: 18px 35px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}

.footer h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--or);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.footer p, .footer a {
  color: var(--texte2);
  font-size: 12px;
  text-decoration: none;
  line-height: 1.5;
}

.footer a:hover { color: var(--or); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 10px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--texte2);
  border-top: 1px solid rgba(62,72,189,0.3);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  padding: 50px 60px 40px;
  border-bottom: 2px solid var(--bleu);
}

.page-header h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: #fff;
}

.page-header h1 span { color: var(--or); }

.page-header p { color: var(--texte2); font-size: 16px; margin-top: 8px; max-width: 600px; }

/* ===== HAMBURGUER MOBILE ===== */
.menu-toggle {
  display: none;
  position: fixed;
  top: 16px; left: 16px;
  z-index: 200;
  background: var(--bleu);
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 42px; height: 42px;
  font-size: 20px;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }

  .menu-toggle { display: flex; align-items: center; justify-content: center; }

  .sidebar {
    transform: translateX(-260px);
    width: 260px;
    transition: transform 0.3s ease;
  }

  .sidebar.open { transform: translateX(0); }

  .main-content { margin-left: 0; }

  .footer,
  .footer-bottom {
    margin-left: 0;
    width: 100%;
  }

  .hero-title { font-size: 40px; }
  .hero-content { padding: 80px 30px 40px; }
  .hero-stats { position: static; padding: 20px 30px 40px; gap: 24px; }
  .hero { flex-direction: column; align-items: flex-start; }

  section { padding: 50px 30px; }

  .about-grid,
  .recup-grid,
  .contact-grid,
  .about-hero { grid-template-columns: 1fr; }

  .footer { grid-template-columns: 1fr; padding: 22px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 12px 24px; }
}
