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

/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --primary: #1B2A6B;
  --primary-dark: #111d4e;
  --primary-light: #2d4299;
  --secondary: #E8B94F;
  --secondary-dark: #c9a03a;
  --secondary-light: #f5d07a;
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #f1f3f9;
  --gray-200: #e2e6f0;
  --gray-300: #cbd2e0;
  --gray-500: #8892a4;
  --gray-700: #4a5568;
  --gray-900: #1a202c;
  --text: #1a202c;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --spacing: 8px;
  --container: 1240px;
  --transition: 0.25s ease;
  --band-height: 44px;
  --nav-height: 68px;
  --header-total: calc(var(--band-height) + var(--nav-height));
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-total);
}

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-light); line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   SCROLL REVEAL
=========================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.btn-primary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 185, 79, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: var(--radius); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ===========================
   BADGE
=========================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 185, 79, 0.15);
  color: var(--secondary-dark);
  border: 1px solid rgba(232, 185, 79, 0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* ===========================
   HIGHLIGHT BAND
=========================== */
.highlight-band {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--band-height);
  background: var(--secondary);
  color: var(--primary);
  text-align: center;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.highlight-band a { color: var(--primary); text-decoration: underline; }

/* ===========================
   NAVIGATION
=========================== */
.navbar {
  position: fixed;
  top: var(--band-height);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(27, 42, 107, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar.scrolled {
  background: rgba(27, 42, 107, 0.98);
  box-shadow: 0 4px 24px rgba(27,42,107,0.3);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon svg { width: 20px; height: 20px; }
.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links a.active { color: var(--secondary); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '▾';
  margin-left: 4px;
  font-size: 0.75rem;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text) !important;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.88rem !important;
  background: transparent !important;
}
.dropdown-menu a:hover { background: var(--gray-50) !important; color: var(--primary) !important; }
.dropdown-menu .dm-icon {
  width: 28px; height: 28px;
  background: var(--gray-100);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-cta { margin-left: 8px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-total);
  left: 0; right: 0; bottom: 0;
  background: var(--primary);
  z-index: 999;
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:hover { color: var(--secondary); }
.mobile-menu .mobile-cta {
  margin-top: 16px;
  background: var(--secondary);
  color: var(--primary) !important;
  text-align: center;
  border-radius: var(--radius);
  font-weight: 700;
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: calc(100vh - var(--header-total));
  background: var(--primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0 60px;
  /* body already adds padding-top: header-total, hero sits flush */
  margin-top: calc(-1 * var(--header-total));
  padding-top: calc(var(--header-total) + 60px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/10617604/pexels-photo-10617604.jpeg?auto=compress&cs=tinysrgb&h=650&w=940');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(232, 185, 79, 0.08);
}
.hero-shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-shape-2 { width: 300px; height: 300px; bottom: -100px; left: -50px; }
.hero-shape-3 { width: 150px; height: 150px; top: 30%; right: 20%; background: rgba(255,255,255,0.05); }

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { color: var(--white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 185, 79, 0.2);
  color: var(--secondary);
  border: 1px solid rgba(232, 185, 79, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--secondary); }
.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
}
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

.hero-visual {
  position: relative;
}
.hero-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.4s ease;
}
.hero-mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.hero-mockup-bar {
  background: var(--gray-100);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-url {
  flex: 1;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--gray-500);
}
.hero-mockup img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ===========================
   SECTION COMMONS
=========================== */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header p { font-size: 1.05rem; margin-top: 12px; }

/* ===========================
   SERVICES CARDS
=========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--secondary);
}
.service-card-icon {
  width: 56px; height: 56px;
  background: rgba(27, 42, 107, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}
.service-card h3 { margin-bottom: 10px; color: var(--primary); }
.service-card p { font-size: 0.92rem; margin-bottom: 20px; }
.service-card-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary-dark);
}
.service-card-price span { font-size: 0.8rem; font-weight: 400; color: var(--gray-500); }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 16px;
  transition: gap var(--transition);
}
.service-card-link:hover { gap: 10px; color: var(--secondary-dark); }

/* ===========================
   PROCESS
=========================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.process-step-num {
  width: 64px; height: 64px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(27,42,107,0.3);
}
.process-step h4 { color: var(--primary); margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; }

/* ===========================
   REALISATIONS
=========================== */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.realisation-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  background: var(--white);
  border: 1px solid var(--border);
}
.realisation-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.realisation-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.realisation-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.realisation-card:hover .realisation-img img { transform: scale(1.05); }
.realisation-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.realisation-body { padding: 24px; }
.realisation-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary); }
.realisation-body p { font-size: 0.88rem; margin-bottom: 16px; }
.realisation-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.realisation-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===========================
   PRICING TABLE
=========================== */
.pricing-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
  gap: 16px;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:hover { background: var(--gray-50); }
.pricing-row-name { font-weight: 500; color: var(--text); }
.pricing-row-name small { display: block; color: var(--text-light); font-size: 0.8rem; font-weight: 400; margin-top: 2px; }
.pricing-row-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.pricing-row-price.highlight { color: var(--secondary-dark); }
.pricing-header {
  background: var(--primary);
  color: var(--white);
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}
.pricing-header span { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.7); }

/* ===========================
   SIMULATOR
=========================== */
.simulator-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.simulator-body { padding: 40px; }
.sim-options {
  display: grid;
  gap: 24px;
}
.sim-group label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.sim-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sim-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--white);
  color: var(--text);
}
.sim-choice:has(input:checked) {
  border-color: var(--primary);
  background: rgba(27, 42, 107, 0.06);
  color: var(--primary);
}
.sim-choice input { display: none; }
.sim-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sim-qty-btn {
  width: 36px; height: 36px;
  background: var(--gray-100);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  transition: background var(--transition);
}
.sim-qty-btn:hover { background: var(--gray-200); }
.sim-qty-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  min-width: 40px;
  text-align: center;
}
.sim-result {
  background: var(--primary);
  color: var(--white);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sim-result-label { font-size: 0.9rem; opacity: 0.7; margin-bottom: 4px; }
.sim-result-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary);
}
.sim-result-detail { font-size: 0.8rem; opacity: 0.6; margin-top: 2px; }
.sim-result-cta { flex-shrink: 0; }

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,185,79,0.1) 0%, transparent 70%);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .badge { background: rgba(232,185,79,0.2); color: var(--secondary); }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===========================
   VILLES INDEX
=========================== */
.villes-search-bar {
  max-width: 600px;
  margin: 0 auto 48px;
  position: relative;
}
.villes-search-bar input {
  width: 100%;
  padding: 16px 56px 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color var(--transition);
}
.villes-search-bar input:focus { border-color: var(--primary); }
.villes-search-icon {
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
}
.villes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.ville-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.ville-chip:hover {
  border-color: var(--primary);
  background: rgba(27, 42, 107, 0.04);
  color: var(--primary);
  transform: translateX(2px);
}
.ville-chip-arrow { color: var(--secondary-dark); font-size: 0.8rem; }

/* ===========================
   VILLE PAGE
=========================== */
.page-hero {
  background: var(--primary);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { opacity: 0.4; }
.page-hero h1 { color: var(--white); }
.page-hero h1 span { color: var(--secondary); }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-top: 12px; max-width: 620px; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.sticky-sidebar {
  position: sticky;
  top: calc(var(--header-total) + 20px);
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sidebar-card-header {
  background: var(--primary);
  color: var(--white);
  padding: 24px;
}
.sidebar-card-header h3 { color: var(--white); font-size: 1.1rem; }
.sidebar-card-header p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 4px; }
.sidebar-card-body { padding: 0; }
.sidebar-form { padding: 0 !important; }

/* Formulaire Tally */
.tally-embed-wrapper { padding: 0; }

.nearby-cities {
  margin-top: 24px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.nearby-cities h4 { color: var(--primary); margin-bottom: 16px; font-size: 1rem; }
.nearby-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nearby-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}
.nearby-link:hover { border-color: var(--primary); color: var(--primary); }

/* ===========================
   CONTENT SECTIONS
=========================== */
.content-section { margin-bottom: 48px; }
.content-section h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--secondary);
  display: inline-block;
}
.content-section p { margin-bottom: 14px; line-height: 1.8; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.check-list li::before {
  content: '✓';
  color: var(--secondary-dark);
  font-weight: 700;
  background: rgba(232,185,79,0.15);
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  transition: background var(--transition);
  user-select: none;
  font-size: 0.95rem;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question.active { background: var(--primary); color: var(--white); }
.faq-toggle { transition: transform var(--transition); font-size: 1.2rem; }
.faq-question.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-answer.open {
  padding: 16px 20px;
  max-height: 400px;
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info { order: 2; }
.contact-form-col { order: 1; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-text h4 { color: var(--primary); margin-bottom: 4px; }
.contact-info-text p { font-size: 0.9rem; }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo-text { color: var(--white); font-size: 1.35rem; }
.footer-brand p { font-size: 0.88rem; margin: 16px 0 24px; line-height: 1.7; }
.footer-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 185, 79, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(232, 185, 79, 0.25);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.footer-col h4 {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: '→';
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition);
  color: var(--secondary);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--secondary); }
.footer-bottom a:hover { text-decoration: underline; }

/* Sticky footer mobile */
.sticky-footer-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--primary);
  padding: 12px 16px;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.sticky-footer-bar .btn { width: 100%; justify-content: center; }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--secondary); font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: 0.9rem;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); }

/* ===========================
   TRUST ROW
=========================== */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item svg { color: var(--primary); opacity: 0.5; }

/* ===========================
   SERVICE PAGE HERO
=========================== */
.service-page-hero {
  background: var(--primary);
  padding: 60px 0 80px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.service-page-hero h1 { color: var(--white); }
.service-page-hero h1 span { color: var(--secondary); }
.service-page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin-top: 12px; }
.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.feature-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-text h4 { color: var(--primary); margin-bottom: 4px; font-size: 0.95rem; }
.feature-text p { font-size: 0.85rem; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .content-grid { grid-template-columns: 1fr; }
  .sticky-sidebar { position: static; }
}

@media (max-width: 768px) {
  :root {
    --band-height: 40px;
    --nav-height: 60px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 64px 0; }

  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .hero-btns { justify-content: center; }
  .hero p { margin-left: auto; margin-right: auto; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { max-width: 100%; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-col { order: 1; }
  .contact-info { order: 2; }

  .content-grid { grid-template-columns: 1fr; }

  .realisations-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .pricing-row { padding: 14px 18px; }
  .simulator-body { padding: 24px; }
  .sim-result { padding: 24px; }
  .sim-result-price { font-size: 2rem; }

  .sticky-footer-bar { display: block; }
  body { padding-bottom: 68px; }

  .villes-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
  .hero-stat-value { font-size: 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}