/* ============================================
   KAYSETAL NETTOYAGE — Feuille de style principale
   ============================================ */

/* --- Variables CSS --- */
:root {
  --primary-cyan: #00b4d8;
  --primary-dark: #0d1b2a;
  --heading-dark: #1b2a4a;
  --text-body: #444444;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --accent-green: #27ae60;
  --footer-bg: #0a1628;
  --footer-text: #c0c8d4;
  --cyan-line: #00b4d8;
  --border-light: #e0e0e0;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Titres --- */
h1, h2, h3, h4 {
  color: var(--heading-dark);
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* --- Boutons CTA --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-cyan {
  background: var(--primary-cyan);
  color: var(--text-light);
}

.btn-cyan:hover {
  filter: brightness(0.9);
  transform: scale(1.02);
  color: var(--text-light);
}

.btn-green {
  background: var(--accent-green);
  color: var(--text-light);
}

.btn-green:hover {
  filter: brightness(0.9);
  transform: scale(1.02);
  color: var(--text-light);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* --- Animations fade-in au scroll --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Sous-titres de section --- */
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 750px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-white);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

/* Navigation principale */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--heading-dark);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--primary-cyan);
}

/* Dropdown indicator */
.nav-list > li > a .dropdown-arrow {
  font-size: 0.7rem;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

/* Sous-menu dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 8px 0;
}

.nav-list > li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-body);
  transition: all 0.3s ease;
}

.dropdown li a:hover {
  color: var(--primary-cyan);
  background: var(--bg-light);
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--heading-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.6)), #c4a882;
  margin-top: 70px;
  overflow: hidden;
}

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

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-cta-group .btn i {
  margin-right: 8px;
}

.hero-image {
  flex-shrink: 0;
  width: 350px;
  height: 420px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #b0c4d8, #d0dde8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--heading-dark);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

.hero-image .placeholder-img i {
  font-size: 3rem;
  color: var(--primary-cyan);
  margin-bottom: 12px;
}

/* Hero compact (pages internes) */
.hero-compact {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.75)), #c4a882;
  margin-top: 70px;
}

.hero-compact h1 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero-compact p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   SECTIONS GENERIQUES
   ============================================ */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-white {
  background: var(--bg-white);
}

.section-dark {
  background: var(--primary-dark);
}

.section-dark h2,
.section-dark h3 {
  color: var(--text-light);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section-footer-dark {
  background: var(--footer-bg);
}

/* ============================================
   PILIERS D'EXCELLENCE — 4 cartes
   ============================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.pillar-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.pillar-icon i {
  font-size: 1.5rem;
  color: var(--text-light);
}

.pillar-card h3 {
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.95rem;
}

/* ============================================
   PRESTATIONS — 4 cartes avec image
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.service-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--heading-dark);
  font-size: 0.85rem;
  font-weight: 500;
}

.service-card-img i {
  font-size: 2.5rem;
  color: var(--primary-cyan);
  margin-bottom: 10px;
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  margin-bottom: 12px;
}

.service-card-body p {
  font-size: 0.92rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Grille 2x2 pour hub services */
.services-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.services-grid-2x2 .service-card-img {
  height: 250px;
}

/* ============================================
   TRIPLE EXIGENCE (fond sombre, 2 colonnes)
   ============================================ */
.triple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.triple-text h2 {
  color: var(--text-light);
  margin-bottom: 24px;
}

.triple-text p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.triple-image {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.triple-image i {
  font-size: 3rem;
  color: var(--primary-cyan);
  margin-bottom: 12px;
}

/* ============================================
   CARROUSEL / SLIDER
   ============================================ */
.slider-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--heading-dark);
  font-size: 1rem;
  font-weight: 500;
}

.slide i {
  font-size: 3rem;
  color: var(--primary-cyan);
  margin-bottom: 12px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--heading-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background: var(--primary-cyan);
  color: var(--text-light);
}

.slider-btn.prev {
  left: 16px;
}

.slider-btn.next {
  right: 16px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--primary-cyan);
  transform: scale(1.2);
}

/* ============================================
   COORDONNEES — 3 cartes contact
   ============================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.contact-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-card-icon i {
  font-size: 1.4rem;
  color: var(--primary-cyan);
}

.contact-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  word-break: break-word;
}

.contact-card p {
  font-size: 0.92rem;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-doc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--footer-text);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-doc-link:hover {
  background: rgba(0, 180, 216, 0.15);
  border-color: var(--primary-cyan);
  color: var(--text-light);
}

.footer-doc-link i {
  font-size: 1.2rem;
  color: var(--primary-cyan);
  flex-shrink: 0;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col p {
  color: var(--footer-text);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--footer-text);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover,
.footer-col ul li a.active {
  color: var(--primary-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--primary-cyan);
  margin-top: 4px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
  color: var(--footer-text);
  font-size: 0.9rem;
}

.footer-contact-item a:hover {
  color: var(--primary-cyan);
}

/* Barre inferieure footer */
.footer-bottom {
  border-top: 1px solid var(--cyan-line);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--footer-text);
}

.footer-bottom .footer-tagline {
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 8px;
  font-style: italic;
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.social-fb {
  background: #1877f2;
  color: white;
}

.social-tw {
  background: #2a2a2a;
  color: white;
}

.social-ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: white;
}

/* ============================================
   PAGE SERVICES DETAIL
   ============================================ */
.service-detail-intro {
  font-size: 1.1rem;
  max-width: 800px;
  margin-bottom: 40px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-list-item:hover {
  background: rgba(0, 180, 216, 0.06);
}

.service-list-item i {
  color: var(--primary-cyan);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.service-list-item span {
  font-size: 0.95rem;
}

/* Avantages 3 cartes */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.advantage-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.advantage-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.advantage-card i {
  font-size: 2rem;
  color: var(--primary-cyan);
  margin-bottom: 16px;
}

.advantage-card h3 {
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.92rem;
}

/* ============================================
   PAGE A PROPOS
   ============================================ */
.about-story {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
}

.value-card i {
  font-size: 2.5rem;
  color: var(--primary-cyan);
  margin-bottom: 20px;
}

.value-card h3 {
  margin-bottom: 12px;
}

/* Compteurs */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.counter-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.counter-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 8px;
  display: block;
}

.counter-label {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* Pourquoi nous choisir */
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.why-item i {
  color: var(--primary-cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============================================
   PAGE ENGAGEMENTS
   ============================================ */
.engagement-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: start;
}

.engagement-icon {
  width: 72px;
  height: 72px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.engagement-icon i {
  font-size: 1.8rem;
  color: var(--primary-cyan);
}

.engagement-content h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.engagement-content p {
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================
   GALERIE
   ============================================ */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--border-light);
  border-radius: 30px;
  background: var(--bg-white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-body);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-cyan);
  color: var(--text-light);
  border-color: var(--primary-cyan);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item .gallery-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--heading-dark);
}

.gallery-item .gallery-img i {
  font-size: 2rem;
  color: var(--primary-cyan);
  margin-bottom: 8px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 180, 216, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay i {
  font-size: 2rem;
  color: var(--text-light);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  max-height: 80vh;
  width: 90%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.lightbox-img {
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  font-size: 1.2rem;
  border-radius: 12px;
}

.lightbox-img i {
  font-size: 4rem;
  margin-bottom: 16px;
  color: var(--primary-cyan);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

/* ============================================
   FORMULAIRES
   ============================================ */
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--heading-dark);
}

.form-group label .required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--heading-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.form-group .error-msg {
  display: none;
  color: #e74c3c;
  font-size: 0.82rem;
  margin-top: 4px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
}

.form-group.error .error-msg {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary-cyan);
}

.form-checkbox label {
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-body);
}

.form-submit {
  text-align: center;
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success i {
  font-size: 3rem;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 12px;
  color: var(--heading-dark);
}

/* Contact page - 2 colonnes */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon-box {
  width: 48px;
  height: 48px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon-box i {
  color: var(--primary-cyan);
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.9rem;
}

.contact-info-item a {
  color: var(--primary-cyan);
}

.contact-info-item a:hover {
  text-decoration: underline;
}

/* Carte Google */
.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 48px;
}

.map-wrapper iframe {
  display: block;
}

/* ============================================
   RESPONSIVE — TABLETTE (768-1024px)
   ============================================ */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .triple-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards .contact-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid > :last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-image {
    width: 280px;
    height: 340px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================ */
@media (max-width: 768px) {
  .section {
    padding: 50px 16px;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero {
    min-height: auto;
    padding: 60px 0 40px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-image {
    width: 220px;
    height: 280px;
  }

  .hero-compact {
    min-height: 30vh;
    padding: 40px 16px;
  }

  .hero-compact h1 {
    font-size: 1.8rem;
  }

  /* Navigation mobile */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    padding-top: 80px;
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav-list > li > a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--bg-light);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    display: none;
    background: var(--bg-light);
    padding: 0;
  }

  .dropdown.open {
    display: block;
  }

  .dropdown li a {
    padding: 12px 24px 12px 40px;
  }

  .burger {
    display: flex;
  }

  /* Overlay mobile */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
  }

  .nav-overlay.active {
    display: block;
  }

  /* Grilles */
  .pillars-grid,
  .services-grid,
  .services-grid-2x2,
  .contact-cards,
  .values-grid,
  .advantages-grid,
  .counters-grid,
  .why-list {
    grid-template-columns: 1fr;
  }

  .contact-cards .contact-card:last-child,
  .advantages-grid > :last-child {
    grid-column: auto;
    max-width: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-wrapper {
    padding: 24px 20px;
  }

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

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

  .triple-image {
    height: 280px;
  }

  .slide {
    height: 300px;
  }

  .engagement-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .engagement-icon {
    margin: 0 auto;
  }

  .lightbox-img {
    height: 300px;
  }
}

/* ============================================
   UTILITAIRES
   ============================================ */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* Lien texte cyan */
a.link-cyan {
  color: var(--primary-cyan);
}

a.link-cyan:hover {
  text-decoration: underline;
}

/* Skip to content (accessibilite) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary-cyan);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 9999;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 8px;
}
