/* ════════════════════════════════════════════════
   WebForge – Studio Web Challans
   Design: Light Professional
   Hero sombre pour l'impact, sections blanches
════════════════════════════════════════════════ */

/* Lien d'évitement clavier (a11y) : caché jusqu'au focus au Tab */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: #d4910a;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }
/* Cible du skip-link : pas de contour disgracieux au focus programmatique */
#main:focus { outline: none; }

:root {
  --bg:          #f7f8fa;
  --bg-white:    #ffffff;
  --bg-soft:     #f0f3f8;
  --bg-navy:     #0d1b2a;
  --bg-navy-2:   #132338;
  --accent:      #d4910a;
  --accent-light:#fef3dc;
  --accent-hover:#e8a020;
  --teal:        #0e9e99;
  --teal-light:  #e3f8f7;
  --text:        #0d1b2a;
  --text-mid:    #2d4162;
  --text-muted:  #5a6e8a;
  --text-light:  #8a9ab8;
  --border:      #dde3ee;
  --border-soft: #edf0f7;
  --shadow-sm:   0 2px 8px rgba(13,27,42,0.07);
  --shadow:      0 4px 20px rgba(13,27,42,0.10);
  --shadow-lg:   0 12px 40px rgba(13,27,42,0.14);
  --shadow-xl:   0 24px 60px rgba(13,27,42,0.18);
  --radius:    14px;
  --radius-sm: 8px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  background: var(--bg-navy);
  transition: background var(--transition), box-shadow var(--transition);
}
/* Home page seulement : transparent pendant l'animation du hero */
.navbar.navbar--hero-init {
  background: transparent;
  box-shadow: none;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav-container {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 2px;
  color: white;
  transition: color var(--transition);
}
.navbar.scrolled .nav-logo { color: var(--text); }
.logo-bracket { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 6px 12px; border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: white; }
.navbar.scrolled .nav-links a { color: var(--text-muted); }
.navbar.scrolled .nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-account { color: rgba(255,255,255,0.9) !important; font-weight: 600 !important; }
.navbar.scrolled .nav-account { color: var(--text) !important; }
.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }
.nav-cta--ghost {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: rgba(255,255,255,0.8) !important;
}
.nav-cta--ghost:hover { background: rgba(255,255,255,0.1) !important; }
.navbar.scrolled .nav-cta--ghost { border-color: var(--border) !important; color: var(--text-muted) !important; }
.navbar.scrolled .nav-cta--ghost:hover { background: var(--bg-soft) !important; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; width: 36px; height: 36px; border-radius: 6px; transition: background var(--transition); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.22s ease, background var(--transition); transform-origin: center; }
.navbar.scrolled .nav-toggle span { background: var(--text); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MESSAGES ── */
.messages-container { position: fixed; top: 80px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 8px; max-width: 380px; }
.alert { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; animation: slideIn 0.3s ease; box-shadow: var(--shadow); }
.alert--success { background: #f0fdf4; color: #15803d; border-left: 3px solid #22c55e; }
.alert--error   { background: #fef2f2; color: #dc2626; border-left: 3px solid #ef4444; }
.alert--info    { background: #eff6ff; color: #2563eb; border-left: 3px solid #3b82f6; }
.alert-close { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 18px; color: inherit; opacity: 0.5; }
@keyframes slideIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer; transition: all var(--transition); border: none; white-space: nowrap; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,145,10,0.35); }
.btn-ghost { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.btn-navy { background: var(--bg-navy); color: white; }
.btn-navy:hover { background: var(--bg-navy-2); transform: translateY(-2px); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
/* Kicker éditorial : losange or (rappel du logo « Z ») + label or, sans pastille.
   Fonctionne sur fond clair comme sur fond sombre (le losange suit la couleur). */
.section-tag { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); background: none; padding: 0; margin-bottom: 14px; }
.section-tag::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); border-radius: 1px; flex-shrink: 0; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 14%, transparent); }
.section-title { font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); letter-spacing: 1px; color: var(--text); margin-bottom: 14px; line-height: 1.1; }
.section-desc { font-size: 17px; color: var(--text-muted); max-width: 580px; margin: 0 auto; line-height: 1.7; }
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #071220 0%, #0d1b2a 50%, #132338 100%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, #0d1b2a 100%); }
.hero::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px; background: var(--bg); clip-path: ellipse(60% 100% at 50% 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; max-width: 820px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 20px; }
.hero-tag::before { content: ''; display: block; width: 32px; height: 2px; background: var(--accent); }
.hero-title { font-family: var(--font-display); font-size: clamp(54px, 9vw, 96px); letter-spacing: 2px; line-height: 1.0; color: white; margin-bottom: 24px; }
.hero-accent { color: var(--accent); border-right: 3px solid var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { border-color: transparent; } }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.65); margin-bottom: 36px; max-width: 580px; line-height: 1.7; }
.hero-subtitle strong { color: white; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.5); }
.trust-item i { color: var(--teal); font-size: 12px; }
.hero-scroll { position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); z-index: 3; }
.hero-scroll span { display: block; width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.2); border-radius: 12px; position: relative; }
.hero-scroll span::after { content: ''; position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: 4px; height: 8px; background: var(--accent); border-radius: 2px; animation: scrollDot 2s ease infinite; }
@keyframes scrollDot { 0%,100%{top:6px;opacity:1} 50%{top:18px;opacity:0.4} }

/* ── STATS ── */
.stats-bar { background: var(--bg-white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.stat-item { padding: 36px 20px; border-right: 1px solid var(--border); position: relative; }
.stat-item:last-child { border-right: none; }
.stat-item::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--accent); transition: width 0.4s ease; }
.stat-item:hover::after { width: 60%; }
.stat-number { font-family: var(--font-display); font-size: 52px; letter-spacing: 2px; color: var(--text); line-height: 1; margin-bottom: 6px; }
.stat-number .counter { color: var(--accent); }
.stat-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; }

/* ── SERVICES ── */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all var(--transition); position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 50px; height: 50px; border-radius: var(--radius-sm); background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-muted); margin-bottom: 18px; transition: all var(--transition); }
.service-card:hover .service-icon { background: var(--accent-light); color: var(--accent); }
.service-icon--accent { background: var(--accent-light); color: var(--accent); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.service-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.65; }
.service-price { font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.service-link { font-size: 13px; font-weight: 600; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; transition: color var(--transition), gap var(--transition); }
.service-link:hover { color: var(--accent); gap: 10px; }

/* ── PROCESS ── */
.process { background: var(--bg-navy); }
.process .section-title { color: white; }
.process .section-tag { background: none; color: #e8b34a; }
.process-steps { display: flex; align-items: flex-start; }
.process-step { flex: 1; text-align: center; padding: 24px; }
.process-line { flex-shrink: 0; width: 60px; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(212,145,10,0.2)); margin-top: 36px; }
.step-number { font-family: var(--font-display); font-size: 60px; color: rgba(212,145,10,0.25); line-height: 1; margin-bottom: 8px; }
.step-content h3 { font-size: 17px; font-weight: 700; color: white; margin-bottom: 8px; }
.step-content p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ── PORTFOLIO ── */
.portfolio { background: var(--bg-white); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.portfolio-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-white); transition: all var(--transition); box-shadow: var(--shadow-sm); }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: transparent; }
.portfolio-img { position: relative; height: 200px; overflow: hidden; }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.82)); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; opacity: 0; transition: opacity var(--transition); }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.portfolio-overlay h4 { font-size: 15px; font-weight: 700; color: white; }
.portfolio-overlay p  { font-size: 12px; color: rgba(255,255,255,0.6); }
.portfolio-info { padding: 16px 18px; }
.portfolio-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 4px; background: var(--accent-light); color: var(--accent); margin-bottom: 6px; }
.portfolio-tag--green  { background: #f0fdf4; color: #16a34a; }
.portfolio-tag--amber  { background: var(--accent-light); color: var(--accent); }
.portfolio-tag--purple { background: #f5f3ff; color: #7c3aed; }
.portfolio-info h4 { font-size: 14px; font-weight: 600; color: var(--text); }
.portfolio-cta { text-align: center; margin-top: 48px; }

/* ── PRICING ── */
.pricing { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 36px; align-items: start; }
.pricing-card { background: var(--bg-white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px 28px; position: relative; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); }
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pricing-card--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); transform: translateY(-6px); }
.pricing-card--featured:hover { transform: translateY(-10px); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; font-size: 11px; font-weight: 800; padding: 4px 14px; border-radius: 20px; white-space: nowrap; box-shadow: 0 4px 12px rgba(212,145,10,0.4); }
.pricing-header { text-align: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.pricing-icon { font-size: 28px; color: var(--accent); margin-bottom: 12px; }
.pricing-header h3 { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; color: var(--text); margin-bottom: 8px; }
.pricing-range { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.pricing-sub { font-size: 13px; color: var(--text-muted); }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.pricing-features li i.fa-check { color: var(--teal); }
.pricing-features li.muted { opacity: 0.4; }
.pricing-features li.muted i.fa-times { color: #ef4444; }
.pricing-maintenance { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.maintenance-badge { font-size: 14px; font-weight: 700; color: var(--teal); white-space: nowrap; }
.maintenance-plans { display: flex; gap: 16px; flex-wrap: wrap; flex: 1; }
.mp { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 130px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.mp--featured { background: var(--accent-light); }
.mp-name  { font-size: 13px; font-weight: 700; color: var(--text); }
.mp-price { font-size: 22px; font-weight: 800; color: var(--text); }
.mp--featured .mp-name, .mp--featured .mp-price { color: var(--accent); }
.mp-desc  { font-size: 12px; color: var(--text-muted); }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--bg-soft); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.stars { color: var(--accent); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #e85520); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: white; flex-shrink: 0; }
.testimonial-author strong { font-size: 14px; font-weight: 700; color: var(--text); display: block; }
.testimonial-author span  { font-size: 12px; color: var(--text-muted); }

/* ── FAQ ── */
.faq { background: var(--bg-white); }
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow var(--transition); }
.faq-item.open { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(212,145,10,0.2); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: none; border: none; color: var(--text); font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; gap: 12px; transition: color var(--transition); }
.faq-question:hover { color: var(--accent); }
.faq-question i { flex-shrink: 0; color: var(--accent); transition: transform var(--transition); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 22px 18px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── CTA ── */
.cta-section { padding: 80px 0; background: var(--bg); }
.cta-box { background: linear-gradient(135deg, var(--bg-navy) 0%, #1a3050 100%); border-radius: 20px; padding: 60px 52px; display: flex; align-items: center; justify-content: space-between; gap: 40px; box-shadow: var(--shadow-xl); position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(212,145,10,0.12), transparent 70%); }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); letter-spacing: 1px; color: white; margin-bottom: 10px; }
.cta-content p { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-badges { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.cta-badge { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); }
.cta-badge i { color: var(--teal); width: 16px; text-align: center; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: linear-gradient(135deg, var(--bg-navy) 0%, #1a3050 100%); text-align: center; position: relative; }
.page-hero--short { padding: 120px 0 60px; }
.page-hero .section-tag { background: none; color: #e8b34a; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(38px, 6vw, 64px); letter-spacing: 1px; color: white; margin: 10px 0 12px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.6); }
.page-hero::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 60px; background: var(--bg); clip-path: ellipse(70% 100% at 50% 100%); }

/* ── BOOKING ── */
.booking-section { padding: 60px 0 100px; background: var(--bg); }
.booking-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 52px; align-items: start; }
.booking-info h2 { font-family: var(--font-display); font-size: 34px; letter-spacing: 1px; color: var(--text); margin-bottom: 28px; }
.booking-steps { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.bs { display: flex; gap: 16px; align-items: flex-start; }
.bs-num { font-family: var(--font-display); font-size: 36px; color: var(--accent); line-height: 1; flex-shrink: 0; min-width: 40px; }
.bs-text strong { font-size: 15px; font-weight: 700; color: var(--text); display: block; margin-bottom: 4px; }
.bs-text p      { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.booking-guarantees { display: flex; flex-direction: column; gap: 10px; }
.guarantee { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.guarantee i { color: var(--teal); }
.booking-form-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px; padding: 36px; box-shadow: var(--shadow-lg); }
.booking-form-card h3 { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; color: var(--text); margin-bottom: 6px; }
.form-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

/* ── FORMS ── */
.form-section-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin: 24px 0 14px; display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--border-soft); }
.form-section-title:first-child { margin-top: 0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; }
.form-control, input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="date"], select, textarea {
  width: 100%; padding: 11px 14px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-family: var(--font-body); font-size: 14px; transition: border-color var(--transition), background var(--transition), box-shadow var(--transition); outline: none; -webkit-appearance: none;
}
.form-control:focus, input:focus, select:focus, textarea:focus { border-color: var(--accent); background: var(--bg-white); box-shadow: 0 0 0 3px rgba(212,145,10,0.12); }
select option { background: white; color: var(--text); }
.form-error { color: #dc2626; font-size: 12px; margin-top: 4px; font-weight: 500; }
.form-hint  { color: var(--text-light); font-size: 12px; margin-top: 4px; display: block; }
.form-legal { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 12px; line-height: 1.5; }
.required-star { color: var(--accent); }
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 14px; }
.password-requirements { margin: -8px 0 16px; font-size: 12px; color: var(--text-light); }

/* ── AUTH ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 24px 60px; background: var(--bg); }
.auth-card { width: 100%; max-width: 440px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: var(--shadow-xl); }
.auth-card--wide { max-width: 600px; }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-logo { font-family: var(--font-display); font-size: 28px; letter-spacing: 2px; display: inline-block; margin-bottom: 16px; color: var(--text); }
.auth-header h1 { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.auth-header p  { font-size: 14px; color: var(--text-muted); }
.auth-footer { text-align: center; margin-top: 24px; border-top: 1px solid var(--border); padding-top: 20px; }
.auth-footer p { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }
.auth-footer a { color: var(--accent); font-weight: 600; }
.auth-icon { font-size: 48px; color: var(--accent); margin-bottom: 16px; }
.auth-icon--success { color: #16a34a; }
.auth-error { background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px; padding: 16px; color: #dc2626; text-align: center; margin-bottom: 20px; }

/* ── SUCCESS ── */
.success-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 24px; background: var(--bg); }

/* ── ERROR PAGES (404, 403, 400) ── */
.error-page {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #071220 0%, #0d1b2a 60%, #132338 100%);
  overflow: hidden;
  padding: 100px 24px 60px;
}
.error-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 580px;
}
.error-code {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 32px;
}
.error-digit {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 140px);
  color: rgba(255,255,255,0.08);
  line-height: 1;
  letter-spacing: -2px;
}
.error-diamond svg { filter: drop-shadow(0 0 24px rgba(212,145,10,0.4)); }
.error-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  color: white;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.error-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 36px;
}
.error-actions {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 40px;
}
.error-links {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
}
.error-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.error-links a:hover { color: var(--accent); }

/* ── CONTACT PAGE ── */
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin: 24px 0 32px; }
.ci-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon { width: 40px; height: 40px; background: var(--accent-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 16px; flex-shrink: 0; }
.ci-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ci-item p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.ci-item a { color: var(--accent); font-weight: 600; }
.contact-alt { border-top: 1px solid var(--border); padding-top: 24px; }
.contact-alt p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.form-hint { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── BLOG LIST ── */
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.blog-filter { font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 20px; border: 1.5px solid var(--border); color: var(--text-muted); transition: all var(--transition); }
.blog-filter:hover, .blog-filter--active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.blog-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow var(--transition), transform var(--transition); position: relative; content-visibility: auto; contain-intrinsic-size: auto 280px; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-meta { display: flex; align-items: center; gap: 12px; }
.blog-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); background: var(--accent-light); padding: 3px 10px; border-radius: 20px; }
.blog-time { font-size: 12px; color: var(--text-muted); }
.blog-time i { margin-right: 3px; }
.blog-card-title { font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--text); }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border-soft); }
.blog-date { font-size: 12px; color: var(--text-light); }
.blog-date i { margin-right: 4px; }
.blog-read-more { font-size: 13px; font-weight: 600; color: var(--accent); }
.blog-read-more i { margin-left: 4px; font-size: 11px; transition: transform var(--transition); }
.blog-card:hover .blog-read-more i { transform: translateX(3px); }
.blog-admin-bar { display: flex; gap: 12px; padding-top: 10px; border-top: 1px dashed var(--border); margin-top: 4px; }
.blog-admin-bar a { font-size: 12px; color: var(--text-muted); }
.blog-admin-bar a:hover { color: var(--accent); }
.blog-admin-delete:hover { color: #ef4444 !important; }
.blog-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; }
.blog-page-info { font-size: 14px; color: var(--text-muted); }

/* ── BLOG DETAIL ── */
.blog-detail-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.6); }
.blog-body { padding: 60px 0; }
.blog-content-wrap { max-width: 760px; margin: 0 auto; }
.prose { font-size: 17px; line-height: 1.85; color: var(--text-mid); }
.prose h1, .prose h2, .prose h3 { font-family: var(--font-display); color: var(--text); margin: 40px 0 16px; line-height: 1.2; }
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 24px; }
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { margin: 0 0 20px 24px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose em { color: var(--accent); font-style: normal; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose blockquote { border-left: 4px solid var(--accent); padding: 12px 24px; background: var(--accent-light); border-radius: 0 8px 8px 0; margin: 24px 0; color: var(--text-mid); font-style: italic; }
.prose code { background: var(--bg-soft); border: 1px solid var(--border); padding: 2px 6px; border-radius: 4px; font-family: 'Fira Mono', monospace; font-size: 14px; color: var(--teal); }
.prose pre { background: var(--bg-navy); color: #e2e8f0; padding: 20px; border-radius: var(--radius-sm); overflow-x: auto; margin: 24px 0; }
.prose pre code { background: none; border: none; color: inherit; font-size: 14px; padding: 0; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.blog-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 24px 0; border-top: 1px solid var(--border); margin-top: 48px; }
.blog-author { display: flex; align-items: center; gap: 12px; }
.blog-author-avatar { font-size: 36px; color: var(--text-muted); }
.blog-author strong { display: block; font-size: 15px; color: var(--text); }
.blog-author span { font-size: 13px; color: var(--text-muted); }
.blog-share { display: flex; align-items: center; gap: 12px; }
.blog-share span { font-size: 13px; color: var(--text-muted); }
.blog-share a { font-size: 20px; color: var(--text-muted); transition: color var(--transition); }
.blog-share a:hover { color: var(--accent); }
.blog-cta-box { background: linear-gradient(135deg, #0d1b2a, #132338); border-radius: var(--radius); padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; }
.blog-cta-box h3 { font-family: var(--font-display); font-size: 24px; color: white; margin-bottom: 8px; }
.blog-cta-box p { font-size: 15px; color: rgba(255,255,255,0.6); }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) { .blog-grid, .blog-grid--3 { grid-template-columns: 1fr; } .blog-cta-box { flex-direction: column; } }

/* ── STAR RATING ── */
.star-rating-field { display: flex; gap: 4px; margin-top: 4px; }
.star-label { cursor: pointer; font-size: 28px; color: #dde3ee; transition: color var(--transition); }
.star-label input { display: none; }
.star-label i { pointer-events: none; }
.success-card { background: var(--bg-white); border: 1px solid #bbf7d0; border-radius: 16px; padding: 48px; text-align: center; max-width: 540px; box-shadow: var(--shadow-xl); }
.success-icon { font-size: 56px; color: #16a34a; margin-bottom: 20px; }
.success-card h1 { font-size: 30px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.success-card p  { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; }
.success-info { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.success-info div { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.success-info i { color: var(--teal); }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── DASHBOARD ── */
.dashboard-page { padding: 100px 0 60px; min-height: 100vh; background: var(--bg); }
.dashboard-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.dashboard-header h1 { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.dashboard-header p  { color: var(--text-muted); font-size: 15px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 40px; }
.ds-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); }
.ds-icon       { font-size: 24px; color: var(--text-light); }
.ds-icon--amber{ color: var(--accent); }
.ds-icon--green{ color: #16a34a; }
.ds-value { font-family: var(--font-display); font-size: 40px; color: var(--text); line-height: 1; }
.ds-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.dashboard-section { margin-bottom: 40px; }
.dashboard-section h2 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.appointments-table-wrapper { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.appointments-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--bg-white); }
.appointments-table th { padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.appointments-table td { padding: 14px 16px; color: var(--text-muted); border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.appointments-table tr:last-child td { border: none; }
.appointments-table tr:hover td { background: var(--bg); }
.status-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.status-pending  { background: var(--accent-light); color: var(--accent); }
.status-confirmed{ background: #f0fdf4; color: #16a34a; }
.status-cancelled{ background: #fef2f2; color: #dc2626; }
.status-done     { background: var(--bg-soft); color: var(--text-muted); }
.empty-state { text-align: center; padding: 48px; background: var(--bg-white); border: 2px dashed var(--border); border-radius: var(--radius); }
.empty-state i { font-size: 48px; color: var(--text-light); margin-bottom: 16px; display: block; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state p  { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.account-info { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ai-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.ai-row:last-child { border: none; }
.ai-row span   { color: var(--text-muted); }
.ai-row strong { color: var(--text); }

/* ── LEGAL ── */
.legal-page { padding: 110px 0 80px; background: var(--bg); }
.legal-page h1 { font-family: var(--font-display); font-size: 52px; letter-spacing: 1px; color: var(--text); margin-bottom: 40px; }
.legal-page section { margin-bottom: 32px; }
.legal-page h2 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.legal-page p  { font-size: 15px; color: var(--text-muted); line-height: 1.8; }

/* ── FOOTER ── */
.footer { background: var(--bg-navy); color: white; }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { font-family: var(--font-display); font-size: 28px; letter-spacing: 2px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: rgba(255,255,255,0.4); transition: all var(--transition); }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-links h4, .footer-contact h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links ul a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links ul a:hover { color: var(--accent); }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { font-size: 14px; color: rgba(255,255,255,0.5); display: flex; align-items: flex-start; gap: 10px; }
.contact-list i { color: var(--accent); width: 14px; flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.contact-list a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 18px 0; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); text-align: center; }
.footer-bottom a:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid, .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 36px; }
  .pricing-card--featured { transform: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .process-steps { flex-direction: column; align-items: center; }
  .process-line { width: 2px; height: 40px; background: linear-gradient(180deg, var(--accent), transparent); margin: 0; }
  .booking-layout { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; text-align: center; }
  .cta-badges { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links {
    display: flex;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(13,27,42,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 12px 16px 20px;
    flex-direction: column; gap: 4px; align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s 0.28s;
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease;
  }
  .nav-links.open li { animation: mobileNavItem 0.32s cubic-bezier(0.4,0,0.2,1) both; }
  .nav-links.open li:nth-child(1) { animation-delay: 0.04s; }
  .nav-links.open li:nth-child(2) { animation-delay: 0.08s; }
  .nav-links.open li:nth-child(3) { animation-delay: 0.12s; }
  .nav-links.open li:nth-child(4) { animation-delay: 0.16s; }
  .nav-links.open li:nth-child(5) { animation-delay: 0.20s; }
  .nav-links.open li:nth-child(6) { animation-delay: 0.24s; }
  .nav-links.open li:nth-child(7) { animation-delay: 0.28s; }
  @keyframes mobileNavItem {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .nav-links a,
  .nav-links button[type="submit"],
  .navbar.scrolled .nav-links a,
  .navbar.scrolled .nav-links button[type="submit"] { color: rgba(255,255,255,0.72) !important; padding: 12px 16px; width: 100%; text-align: left; font-size: 15px; font-weight: 500; border-radius: 8px; border: none !important; background: transparent !important; }
  .nav-links a:hover,
  .nav-links button[type="submit"]:hover,
  .navbar.scrolled .nav-links a:hover,
  .navbar.scrolled .nav-links button[type="submit"]:hover { color: white !important; background: rgba(255,255,255,0.08) !important; }
  /* Connexion / Mon compte */
  .nav-links .nav-account,
  .navbar.scrolled .nav-links .nav-account { color: rgba(255,255,255,0.9) !important; }
  /* Déconnexion */
  .nav-links .nav-cta--ghost,
  .navbar.scrolled .nav-links .nav-cta--ghost { background: rgba(255,255,255,0.08) !important; color: rgba(255,255,255,0.8) !important; border: none !important; text-align: left !important; }
  .nav-links .nav-cta--ghost:hover,
  .navbar.scrolled .nav-links .nav-cta--ghost:hover { background: rgba(255,255,255,0.14) !important; color: white !important; }
  /* Prendre RDV : séparation + bouton amber pleine largeur */
  .nav-links li:has(.nav-cta:not(.nav-cta--ghost)) { margin-top: 10px; }
  .nav-links .nav-cta:not(.nav-cta--ghost),
  .navbar.scrolled .nav-links .nav-cta:not(.nav-cta--ghost) { background: var(--accent) !important; color: white !important; text-align: center !important; padding: 13px 16px !important; border-radius: 8px !important; }
  .nav-links .nav-cta:not(.nav-cta--ghost):hover,
  .navbar.scrolled .nav-links .nav-cta:not(.nav-cta--ghost):hover { background: var(--accent-hover) !important; }
  .nav-toggle { display: flex; }
  .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dashboard-header { flex-direction: column; gap: 16px; }
  .booking-form-card { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 48px; }
  .hero-actions { flex-direction: column; }
  .cta-box { padding: 32px 20px; }
  .auth-card { padding: 24px 18px; }
  .pricing-maintenance { flex-direction: column; }
}

/* ── LOGO SVG ── */
.nav-logo { display: flex; align-items: center; color: white; transition: color var(--transition), opacity var(--transition); }
.nav-logo:hover { opacity: 0.85; }
.logo-svg { display: block; }

/* Quand la navbar est scrollée (fond blanc), In et Web passent en navy */
/* Le Z et le diamant restent toujours en or (fill="#d4910a" inline) */
.navbar.scrolled .nav-logo { color: var(--text); }

/* ════════════════════════════════════════════════
   HERO SCROLL ASSEMBLY
════════════════════════════════════════════════ */

.hero-assembly-wrapper {
  position: relative;
  height: 280vh;
}

.hero-assembly-wrapper .hero {
  position: sticky;
  top: 0;
  height: 100vh;
}

@media (max-width: 768px) {
  .hero-assembly-wrapper { height: 240vh; }
}

/* ── Replay button ── */
.hero-replay-btn {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(212,145,10,0.10);
  border: 1.5px solid rgba(212,145,10,0.30);
  color: rgba(212,145,10,0.65);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, transform 0.45s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-replay-btn:hover {
  background: rgba(212,145,10,0.22);
  border-color: rgba(212,145,10,0.65);
  color: #d4910a;
  transform: rotate(-180deg);
}

.hero-replay-btn:active {
  transform: rotate(-360deg);
  transition-duration: 0.2s;
}

@media (max-width: 768px) {
  .hero-replay-btn {
    bottom: 32px;
    right: 24px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}