/* NewHorizon - ClimaTech - Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Thème frais / ice */
  --background: hsl(195 25% 98%);
  --foreground: hsl(210 30% 18%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(210 30% 18%);
  --primary: #3a86ff;
  --primary-foreground: hsl(0 0% 100%);
  --muted-foreground: hsl(210 20% 45%);
  --border: hsl(200 25% 90%);
  --blue-deep: #2a6be8;
  --blue-vivid: #3a86ff;
  --blue-glow: #6babff;
  --ice: hsl(195 30% 96%);
  --gradient-hero: linear-gradient(135deg, #2a6be8 0%, #3a86ff 50%, #2e7aff 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, hsla(195 40% 97%, 0.9) 100%);
  --gradient-card: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(195 20% 99%) 100%);
  --gradient-blue-subtle: linear-gradient(135deg, rgba(58,134,255,0.12) 0%, rgba(58,134,255,0.06) 100%);
  --gradient-cta: linear-gradient(135deg, #2a6be8 0%, #3a86ff 100%);
  --shadow-lg: 0 10px 40px -8px rgba(30, 100, 130, 0.08), 0 4px 16px -4px rgba(30, 100, 130, 0.04);
  --shadow-glow: 0 0 30px -5px rgba(30, 120, 160, 0.2);
  --shadow-card-hover: 0 20px 50px -12px rgba(30, 100, 130, 0.12), 0 0 30px -5px rgba(30, 120, 160, 0.08);
  --radius: 0.75rem;
}

* { box-sizing: border-box; }

/* Écran de chargement */
.page-loader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.page-loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.page-loader-inner .logo-box {
  width: 4rem; height: 4rem; border-radius: 1rem;
}
.page-loader-inner .logo-box svg { width: 2rem; height: 2rem; }
.page-loader-inner .font-display {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; }

/* Layout */
.container { max-width: 1400px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
.min-h-screen { min-height: 100vh; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: #fff;
  transition: all 0.5s ease;
  padding: 1.25rem 0;
}
.navbar.scrolled {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: none; }
@media (min-width: 768px) {
  .nav-links { display: flex; align-items: center; gap: 2rem; }
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground);
  text-decoration: none; position: relative; transition: color 0.3s;
}
.nav-links a:hover { color: var(--foreground); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: none; }
@media (min-width: 768px) {
  .nav-cta { display: flex; align-items: center; gap: 0.75rem; }
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; border-radius: 0.5rem;
  cursor: pointer; transition: all 0.3s; text-decoration: none; border: none; font-family: inherit;
}
.btn-ghost { background: transparent; color: var(--muted-foreground); }
.btn-ghost:hover { color: var(--foreground); }
.btn-cta {
  background: var(--gradient-cta); color: var(--primary-foreground);
  box-shadow: var(--shadow-glow); border-radius: 0.5rem;
}
.btn-cta:hover { box-shadow: 0 10px 30px -5px rgba(0,0,0,0.2); }
/* Comportement hover comme CTA fin de page (sans grossir) */
.btn-cta, .cta-block .btn-white, .cta-block .btn-outline-white,
.hero-btns .btn-outline, .service-card-body .service-cta { transition: all 0.3s ease; }
.hero-btns .btn-outline:hover,
.service-card-body .service-cta:hover { box-shadow: 0 10px 30px -5px rgba(0,0,0,0.2); }
.logo-box {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  background: var(--gradient-cta); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow); transition: transform 0.3s;
}
.logo-box svg { width: 1.25rem; height: 1.25rem; color: white; }
.font-display { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; }
.text-gradient-blue {
  background-image: linear-gradient(135deg, #3a86ff 0%, #5a9fff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mobile-menu-btn { display: block; padding: 0.5rem; background: none; border: none; cursor: pointer; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }
.mobile-menu-btn svg { width: 1.5rem; height: 1.5rem; color: var(--foreground); }

/* Mobile menu - pleine page sur mobile */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 2rem 1.5rem;
  background: #fff;
  backdrop-filter: blur(24px);
  box-shadow: none;
  border: none;
  border-radius: 0;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.5rem;
}
.mobile-menu.open {
  display: flex;
  animation: fadeInScale 0.3s ease-out;
}
.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--foreground);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn-cta,
.mobile-menu-cta { margin-top: 1rem; width: 100%; justify-content: center; padding: 1rem 2rem; color: #fff !important; }
.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-close:hover { color: var(--primary); background: rgba(0,0,0,0.05); }
.mobile-menu-close svg { width: 1.5rem; height: 1.5rem; }
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Hero */
.hero {
  position: relative; min-height: 70vh; display: flex; align-items: center; overflow: hidden;
  padding-top: 4rem; padding-bottom: 4rem;
}
.hero { background: #fff; }
.hero-container {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
}
@media (min-width: 1024px) {
  .hero-container { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.hero-content { position: relative; z-index: 10; max-width: 56rem; }
.hero-gallery {
  display: block; position: relative; z-index: 5;
  width: 100%; margin-top: 2rem;
}
.hero-gallery-single {
  width: 100%; min-height: 220px; max-height: 38vh; border-radius: 1rem;
}
.hero-gallery-single img {
  width: 100%; height: 100%; min-width: 100%; min-height: 100%;
  object-fit: cover; object-position: center; display: block;
  min-height: 220px; max-height: 38vh;
}
@media (min-width: 640px) {
  .hero-gallery-single { min-height: 300px; max-height: 42vh; }
  .hero-gallery-single img { min-height: 300px; max-height: 42vh; }
}
@media (min-width: 1024px) {
  .hero-gallery {
    margin-top: 0; margin-left: auto; max-width: 720px;
  }
  .hero-gallery-single {
    min-height: 380px; max-height: 55vh; border-radius: 1.25rem;
  }
  .hero-gallery-single img {
    min-height: 380px; max-height: 55vh;
    object-fit: cover; object-position: center;
  }
}
@media (min-width: 1280px) {
  .hero-gallery { max-width: 820px; }
  .hero-gallery-single { min-height: 420px; max-height: 58vh; }
  .hero-gallery-single img {
    min-height: 420px; max-height: 58vh;
    object-fit: cover; object-position: center;
  }
}
.hero-gallery-item {
  border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); background: var(--ice);
}
.hero-gallery-item img {
  width: 100%; height: 100%; min-width: 100%; min-height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.badge-hero {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.4); border-radius: 9999px;
  padding: 0.5rem 1rem; margin-bottom: 2rem; box-shadow: var(--shadow-lg);
}
.badge-hero span { font-size: 0.875rem; font-weight: 500; }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 700; line-height: 0.95;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.125rem; color: var(--muted-foreground); max-width: 36rem;
  line-height: 1.6; margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-btns .btn { padding: 0.875rem 2rem; font-size: 1rem; border-radius: 1rem; }
.hero-btns .btn-outline {
  background: #e85c2a;
  border: 1px solid #e85c2a;
  color: #fff;
}
.hero-btns .btn-outline:hover {
  background: #d94a1f;
  border-color: #d94a1f;
  box-shadow: 0 4px 20px rgba(232, 92, 42, 0.4);
}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 32rem; margin-top: 3rem; }
@media (min-width: 640px) {
  .hero-stats { gap: 2rem; margin-top: 4rem; }
}
.hero-stats .value { font-size: 1.5rem; font-weight: 700; }
@media (min-width: 640px) {
  .hero-stats .value { font-size: 1.875rem; }
}
.hero-stats .label { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }
@media (min-width: 640px) {
  .hero-stats .label { font-size: 0.875rem; }
}

/* Floating cards (desktop) */
.hero-cards { display: none; position: absolute; right: 2rem; top: 50%; transform: translateY(-50%); }
@media (min-width: 1024px) {
  .hero-cards { display: flex; flex-direction: column; gap: 1.5rem; }
}
.hero-card {
  background: rgba(255,255,255,0.8); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.5); border-radius: 1rem;
  padding: 1.25rem; width: 14rem; box-shadow: var(--shadow-lg);
  transition: all 0.5s;
}
.hero-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.hero-card .icon-box {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  background: var(--gradient-blue-subtle); display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.hero-card .icon-box svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.hero-card .title { font-weight: 600; font-size: 0.875rem; }
.hero-card .desc { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.float-anim { animation: float 6s ease-in-out infinite; }
.float-anim-delay { animation: float 6s ease-in-out 2s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.8s ease-out forwards; }
.animate-fade-up-1 { animation: fadeUp 0.8s ease-out 0.15s forwards; opacity: 0; }
.animate-fade-up-2 { animation: fadeUp 0.8s ease-out 0.3s forwards; opacity: 0; }
.animate-fade-up-3 { animation: fadeUp 0.8s ease-out 0.45s forwards; opacity: 0; }

/* Sections - espacement identique entre toutes les sections */
section { position: relative; }
:root {
  --section-pad-y: 5rem;
  --section-pad-y-sm: 4rem;
}
@media (min-width: 768px) {
  :root { --section-pad-y: 6.5rem; }
}
@media (min-width: 1024px) {
  :root { --section-pad-y: 8rem; }
}
.section-pad {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}
#avantages.section-pad {
  padding-top: var(--section-pad-y-sm);
}
@media (min-width: 768px) {
  #avantages.section-pad { padding-top: var(--section-pad-y); }
}
.section-head { max-width: 42rem; margin-bottom: 3rem; }
@media (min-width: 768px) {
  .section-head { margin-bottom: 4rem; }
}
.section-label { font-size: 0.875rem; font-weight: 600; color: var(--primary); letter-spacing: 0.05em; text-transform: uppercase; }
.section-title { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; margin-top: 0.75rem; letter-spacing: -0.02em; line-height: 1.2; }
.section-desc { color: var(--muted-foreground); font-size: 1rem; margin-top: 1rem; line-height: 1.6; }
@media (min-width: 640px) {
  .section-desc { font-size: 1.125rem; }
}

/* Banderole logos partenaires */
.logo-strip {
  background: #fff; padding: 2rem 0;
}
.logo-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem 3rem;
}
.logo-strip-item {
  display: flex; align-items: center; justify-content: center;
  opacity: 0.75; transition: opacity 0.25s;
}
.logo-strip-item:hover { opacity: 1; }
.logo-strip-item img {
  width: auto; height: 2.5rem; max-width: 120px; object-fit: contain;
}
@media (min-width: 640px) {
  .logo-strip-inner { gap: 2.5rem 3.5rem; }
  .logo-strip-item img { height: 2.75rem; }
}
@media (min-width: 1024px) {
  .logo-strip { padding: 2.5rem 0; }
  .logo-strip-inner { gap: 3rem 4rem; justify-content: space-between; }
  .logo-strip-item img { height: 3rem; }
}

/* Services */
#services { background: var(--gradient-blue-subtle); background-opacity: 0.5; }
#services::before { content: ''; position: absolute; inset: 0; background: var(--gradient-blue-subtle); opacity: 0.5; z-index: 0; }
#services .container { position: relative; z-index: 10; }
.services-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; } }
.service-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 1.25rem;
  box-shadow: var(--shadow-lg); overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.service-card-image {
  width: 100%; aspect-ratio: 4/3; flex-shrink: 0;
  overflow: hidden; background: var(--ice);
}
.service-card-image img {
  width: 100%; height: 100%; min-width: 100%; min-height: 100%;
  object-fit: cover; object-position: center; display: block;
}
@media (min-width: 1024px) {
  .service-card { min-height: 420px; }
  .service-card-image { aspect-ratio: 16/10; }
}
.service-card-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 1.75rem 2rem; background: #fff;
}
.service-card-body h3 { font-size: 1.375rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--foreground); }
.service-card-body .service-price { margin: 0 0 0.75rem; }
.service-price-value { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.service-price-value small { font-weight: 500; font-size: 0.875rem; color: var(--muted-foreground); }
.service-card-desc {
  font-size: 0.9375rem; color: var(--muted-foreground); line-height: 1.55;
  margin: 0 0 1.25rem; flex: 1;
}
.service-card-body .service-cta {
  margin-top: auto; font-size: 0.9375rem; font-weight: 600;
  padding: 0.75rem 1.5rem;
}
.service-card-body .service-cta:hover { opacity: 0.95; }
.service-cta svg { flex-shrink: 0; }

/* Section Nos réalisations : image en arrière-plan, overlay semi-transparent */
.realisations-section {
  position: relative;
  padding: 5rem 1.5rem 6rem;
  background-image: url("https://picsum.photos/seed/clim1/1200/800");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.realisations-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 40, 0.97);
  z-index: 0;
}
.realisations-section .realisations-inner,
.realisations-section .realisations-title,
.realisations-section .realisations-desc,
.realisations-section .services-gallery-grid { position: relative; z-index: 1; }
.realisations-inner {
  max-width: 75rem; margin: 0 auto;
  padding: 0 1rem;
}
.realisations-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700;
  color: #fff; text-align: center; margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.realisations-desc {
  font-size: 1.125rem; color: rgba(255,255,255,0.85);
  text-align: center; max-width: 36rem; margin: 0 auto 3rem;
  line-height: 1.6;
}
.realisations-section .services-gallery-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 0; padding: 0;
}
@media (min-width: 640px) {
  .realisations-section .services-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .realisations-inner { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .realisations-section { padding: 6rem 2rem 7rem; }
  .realisations-section .services-gallery-grid { gap: 1.5rem; }
  .realisations-desc { margin-bottom: 3.5rem; }
}
.services-gallery-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  max-width: 75rem; margin: 0 auto; padding: 0 1rem;
}
@media (min-width: 640px) { .services-gallery-grid { grid-template-columns: repeat(3, 1fr); padding: 0 1.5rem; } }
@media (min-width: 1024px) { .services-gallery-grid { gap: 1.25rem; } }
.services-gallery-item {
  position: relative;
  border-radius: 1rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15); box-shadow: var(--shadow-lg);
  background: #0d2d4a; aspect-ratio: 4/3;
  cursor: pointer; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left;
}
.realisations-section .services-gallery-caption { color: #fff; }
.realisations-section .services-gallery-caption .size { opacity: 0.9; }
.services-gallery-item img {
  width: 100%; height: 100%; min-width: 100%; min-height: 100%;
  object-fit: cover; object-position: center; display: block;
  transition: transform 0.4s ease;
}
.services-gallery-item:hover img { transform: scale(1.05); }
.services-gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
  text-align: center;
}
.services-gallery-item:hover .services-gallery-caption { opacity: 1; }
.services-gallery-caption .size {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.95;
}

/* About */
.about-section { background: var(--background); }
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about-visual {
  position: relative; min-height: 320px;
}
.about-visual-bg {
  position: absolute;
  top: 0; left: 0;
  width: 85%; height: 90%;
  background: url("https://picsum.photos/seed/about-bg/900/700") center/cover no-repeat;
  border-radius: 0.5rem;
  filter: brightness(0.5) contrast(1.1);
  z-index: 0;
}
.about-visual-main {
  position: relative; z-index: 1;
  margin-top: 2.5rem; margin-left: 2rem;
  border-radius: 1rem; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.about-visual-main img {
  width: 100%; height: auto; display: block;
  min-height: 280px; object-fit: cover;
}
@media (min-width: 640px) {
  .about-visual { min-height: 400px; }
  .about-visual-main { margin-left: 3rem; }
  .about-visual-main img { min-height: 360px; }
}
@media (min-width: 1024px) {
  .about-visual { min-height: 440px; }
  .about-visual-main img { min-height: 400px; }
}
.about-content { position: relative; }
.about-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.about-icon svg { width: 1.5rem; height: 1.5rem; }
.about-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 700;
  line-height: 1.2; color: var(--foreground);
  margin: 0 0 1.25rem;
}
.about-text {
  font-size: 1rem; color: var(--muted-foreground); line-height: 1.65;
  margin: 0 0 1rem;
}
.about-text:last-of-type { margin-bottom: 1.5rem; }
.about-cta-wrap { margin: 0; }
.about-cta-wrap .btn-cta { padding: 0.875rem 2rem; font-size: 1rem; }

/* Advantages */
#avantages { background: transparent; }
.advantages-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .advantages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .advantages-grid { grid-template-columns: repeat(4, 1fr); } }
#avantages .section-head { text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
.adv-card {
  background: var(--gradient-card); border-radius: 1.5rem; padding: 1.75rem;
  border: 1px solid hsl(0 0% 90% / 0.5); box-shadow: var(--shadow-lg);
  transition: all 0.5s; text-align: center;
}
.adv-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-8px); }
.adv-card .icon-wrap {
  width: 4rem; height: 4rem; border-radius: 1rem;
  background: var(--gradient-blue-subtle); margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.adv-card:hover .icon-wrap { box-shadow: var(--shadow-glow); }
.adv-card .metric { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.adv-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.adv-card p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* Avantages + Avis dans la même section */
.section-avis-block {
  margin-top: 5rem;
}
.section-head-avis {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* Avis clients - Carousel (1 visible mobile, slide auto 5s ; desktop avec boutons) */
.testimonials-carousel-wrap {
  position: relative;
  margin-top: 0;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .testimonials-carousel-wrap { padding: 0 4rem; }
}
@media (min-width: 1024px) {
  .testimonials-carousel-wrap { padding: 0 5rem; }
}
.testimonials-viewport { overflow: hidden; width: 100%; }
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  width: 400%;
  transition: transform 0.5s ease;
}
@media (min-width: 1024px) {
  .testimonials-track { width: 133.333%; }
}
.testimonial-card {
  flex: 0 0 calc(25% - 1.125rem);
  min-width: 0;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 2px solid #000;
  box-shadow: none;
  transition: box-shadow 0.3s;
}
@media (min-width: 768px) {
  .testimonial-card { padding: 1.75rem; }
}
.testimonial-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.testimonial-stars { color: #f59e0b; font-size: 1.125rem; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.testimonial-text { font-size: 0.9375rem; color: var(--muted-foreground); line-height: 1.6; margin: 0 0 1.25rem; font-style: italic; }
.testimonial-author { display: flex; flex-direction: column; gap: 0.15rem; }
.testimonial-name { font-weight: 600; font-size: 0.9375rem; color: var(--foreground); }
.testimonial-role { font-size: 0.8125rem; color: var(--muted-foreground); }
/* Boutons carousel : masqués sur mobile */
.testimonials-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  z-index: 2;
  color: #fff;
}
@media (min-width: 768px) {
  .testimonials-btn { display: flex; }
}
.testimonials-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.testimonials-btn svg { stroke: currentColor; }
.testimonials-btn-prev { left: 0.5rem; }
.testimonials-btn-next { right: 0.5rem; }
@media (min-width: 1024px) {
  .testimonials-btn-prev { left: 0; }
  .testimonials-btn-next { right: 0; }
}
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.testimonials-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(0 0% 85%);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s;
}
.testimonials-dot.active { background: var(--primary); }
.testimonials-dot:hover { background: hsl(0 0% 75%); }

/* CTA */
#contact .cta-block {
  border-radius: 2.5rem; overflow: hidden; padding: 4rem 2rem;
  background: var(--gradient-hero); text-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
@media (min-width: 640px) { #contact .cta-block { padding: 5rem 2rem; gap: 2rem; } }
.cta-block h2 { color: white; font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.cta-block p { color: rgba(255,255,255,0.8); font-size: 1.125rem; line-height: 1.6; margin: 0; max-width: 36rem; }
.cta-block .btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 0; }
.cta-block .btn-white {
  background: #fff; color: #000; border: 1px solid rgba(0,0,0,0.1);
  padding: 0.875rem 2rem; font-size: 1rem; border-radius: 1rem; cursor: pointer; font-weight: 500;
  transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.cta-block .btn-white:hover {
  background: hsl(0 0% 96%); border-color: rgba(0,0,0,0.2);
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.2);
}
.cta-block .btn-outline-white {
  background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3);
  padding: 0.875rem 2rem; font-size: 1rem; border-radius: 1rem; cursor: pointer; font-weight: 500;
  transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.cta-block .btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.2);
}

/* Footer */
footer { border-top: 1px solid rgba(255,255,255,0.1); background: #000; color: hsl(0 0% 90%); }
.footer-inner { padding: 4rem 0 0; }
@media (max-width: 639px) {
  .footer .container { padding-left: 1.5rem; }
}
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 2.5rem 2rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand { flex: 1 1 100%; max-width: 22rem; }
.footer-right {
  display: flex; flex-wrap: wrap; gap: 2rem 2.5rem;
  justify-content: flex-start; align-items: flex-start;
}
/* Mobile : Pages, Mentions légales et Contact dans la même colonne */
@media (max-width: 639px) {
  .footer-right { flex-direction: column; width: 100%; }
}
.footer-col-group {
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 640px) {
  .footer-right { justify-content: flex-end; }
  .footer-col-group { flex-direction: row; gap: 2rem 2.5rem; }
}
@media (min-width: 1024px) { .footer-brand { flex: 0 0 auto; } .footer-right { flex: 0 0 auto; margin-left: auto; } }
.footer-logo {
  display: inline-flex; align-items: center; gap: 0.625rem;
  text-decoration: none; color: hsl(0 0% 95%); font-size: 1.25rem; font-weight: 700;
  margin-bottom: 1rem;
}
.footer-logo:hover { color: hsl(0 0% 95%); }
.footer-brand p { color: hsl(0 0% 70%); max-width: 22rem; line-height: 1.6; margin: 0; font-size: 0.9375rem; }
.footer-col h4 { font-weight: 600; margin: 0 0 1rem; font-size: 1rem; color: hsl(0 0% 95%); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.6rem; font-size: 0.875rem; color: hsl(0 0% 70%); }
.footer a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--primary); }
.footer-contact { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.footer-contact svg { width: 1rem; height: 1rem; color: #fff; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding: 1.5rem 0 2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.875rem; color: hsl(0 0% 65%);
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.footer-legal-links a { color: hsl(0 0% 65%); }
.footer-legal-links a:hover { color: var(--primary); }

/* Pages légales (mentions, CGU, confidentialité, cookies) */
.legal-page { padding: 6rem 0 4rem; min-height: 60vh; }
.legal-content { max-width: 48rem; }
.legal-content h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.legal-updated { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--foreground); }
.legal-content p { color: var(--muted-foreground); line-height: 1.7; margin: 0 0 1rem; }
.legal-content a { color: var(--primary); }
.legal-content a:hover { text-decoration: underline; }
.legal-list { margin: 0 0 1rem; padding-left: 1.5rem; color: var(--muted-foreground); line-height: 1.7; }

/* Pages service (détail) */
.service-page { padding-top: 6rem; }
.service-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: #3a86ff;
  color: #fff;
}
.service-hero .section-label { margin-bottom: 0.5rem; color: rgba(255,255,255,0.9); }
.service-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; color: #fff; }
.service-hero-desc {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}
/* Présentation du service : texte à gauche, image à droite */
.service-content-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .service-content-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.service-content-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-content-image.service-image-rotating {
  position: relative;
  min-height: 260px;
  aspect-ratio: 4/3;
}
.service-content-image .service-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.service-content-image .service-slide-img.active {
  opacity: 1;
  z-index: 1;
}
@media (min-width: 1024px) {
  .service-content-image { position: sticky; top: 7rem; }
  .service-content-image.service-image-rotating { position: sticky; top: 7rem; }
}
.service-content-image img:not(.service-slide-img) {
  width: 100%;
  height: auto;
  display: block;
  min-height: 260px;
  object-fit: cover;
}
.service-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.service-cta-block h2,
.service-cta-block p,
.service-cta-block .btn { margin-left: auto; margin-right: auto; }

/* Page Devis */
.devis-hero {
  padding-top: 5rem; padding-bottom: 4rem; position: relative; overflow: hidden;
  background: #3a86ff;
  text-align: center;
}
.devis-hero .container {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.devis-hero .badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 9999px;
  padding: 0.5rem 1rem; margin: 0;
}
.devis-hero .badge span { font-size: 0.875rem; color: rgba(255,255,255,0.9); }
.devis-hero h1 {
  color: white; font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 700;
  text-align: center; margin: 0;
}
.devis-hero .text-glow { color: var(--blue-glow); }
.devis-hero p {
  color: rgba(255,255,255,0.7); font-size: 1.125rem;
  margin: 0; max-width: 36rem; text-align: center;
}
.devis-form-section { padding: 5rem 0; position: relative; }
.devis-form-section::before { content: ''; position: absolute; inset: 0; background: var(--gradient-blue-subtle); opacity: 0.4; z-index: 0; }
.devis-form-section .container { position: relative; z-index: 10; }
.devis-form { max-width: 48rem; margin: 0 auto; }
.form-block { margin-bottom: 2.5rem; }
.form-block h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.form-block .required { color: var(--primary); }
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.type-btn, .service-btn {
  padding: 1.5rem; border-radius: 1rem; border: 2px solid hsl(0 0% 90% / 0.8);
  background: var(--gradient-card); cursor: pointer; text-align: left; transition: all 0.3s;
  font-family: inherit; font-size: 1rem;
}
.type-btn:hover, .service-btn:hover { border-color: hsl(0 0% 70%); box-shadow: var(--shadow-lg); }
.type-btn.selected, .service-btn.selected { border-color: var(--primary); background: hsl(0 0% 0% / 0.05); box-shadow: var(--shadow-glow); }
.type-btn .icon, .service-btn .icon { margin-bottom: 0.75rem; }
.type-btn .icon svg, .service-btn .icon svg { width: 2rem; height: 2rem; }
.type-btn.selected .icon svg, .service-btn.selected .icon svg { color: var(--primary); }
.type-btn:not(.selected) .icon svg, .service-btn:not(.selected) .icon svg { color: var(--muted-foreground); }
.coord-card { background: var(--gradient-card); border-radius: 1.5rem; padding: 2rem; border: 1px solid hsl(0 0% 90% / 0.8); box-shadow: var(--shadow-lg); }
.coord-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .coord-grid { grid-template-columns: repeat(2, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.875rem; font-weight: 500; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem; border-radius: 0.75rem;
  border: 1px solid hsl(0 0% 90%); background: var(--background);
  font-family: inherit; font-size: 1rem; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: none; min-height: 120px; padding-left: 1rem; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-foreground); pointer-events: none; }
.devis-submit { text-align: center; margin-top: 2rem; }
.devis-submit .btn-cta { padding: 0.875rem 3rem; font-size: 1rem; border-radius: 1rem; }
.devis-submit p { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 1rem; }
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); padding: 1rem 1.5rem; background: var(--foreground); color: white; border-radius: 0.75rem; box-shadow: var(--shadow-lg); z-index: 100; opacity: 0; visibility: hidden; transition: all 0.3s; }
.toast.show { opacity: 1; visibility: visible; }

/* Lightbox réalisations */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; box-sizing: border-box;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox[hidden] { display: none !important; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.9); cursor: pointer;
}
.lightbox-content {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 85vh;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.lightbox-content img {
  max-width: 100%; max-height: 75vh; width: auto; height: auto;
  object-fit: contain; border-radius: 0.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: #fff; font-size: 1.125rem; margin: 0; text-align: center;
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 2;
  width: 3rem; height: 3rem; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.2); color: #fff; font-size: 1.75rem; line-height: 1;
  cursor: pointer; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
