/* ============================================
   PAGI PRO — Site vitrine — feuille de styles
   Direction artistique : sobre, premium, BTP
   Palette : Vert PAGI + Anthracite + Blanc cassé
   ============================================ */

/* ---------- 1. Reset & Tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }

:root {
  /* Couleurs */
  --green: #6FA82C;          /* Vert PAGI principal */
  --green-dark: #4F7B1F;     /* Vert foncé hover */
  --green-light: #E9F4DC;    /* Vert très clair fond */
  --anthracite: #0F1B2D;     /* Texte foncé / fond sombre */
  --anthracite-soft: #1F2A3F;
  --slate: #475569;          /* Texte secondaire */
  --slate-light: #94A3B8;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;        /* Fond alterné sections */
  --bg-warm: #F4EFE6;        /* Beige sable BTP discret */
  --border: #E5E7EB;
  --shadow-sm: 0 2px 8px rgba(15, 27, 45, 0.06);
  --shadow: 0 8px 32px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 27, 45, 0.12);

  /* Typo */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --container: 1200px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--anthracite);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--anthracite); font-weight: 600; }

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

/* ---------- 3. Typographie utilitaires ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  position: relative;
  padding-left: 32px;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 2px;
  background: var(--green);
}
.section-eyebrow.light { color: #A8D17A; }
.section-eyebrow.light::before { background: #A8D17A; }

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  margin-bottom: 24px;
}

.section-intro {
  font-size: 1.0625rem;
  max-width: 640px;
  color: var(--slate);
}
.section-head { margin-bottom: 56px; }

.lead {
  font-size: 1.125rem;
  color: var(--anthracite-soft);
  margin-bottom: 24px;
}

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(111, 168, 44, 0.3);
}
.btn-secondary {
  background: var(--anthracite);
  color: #fff;
  border-color: var(--anthracite);
}
.btn-secondary:hover {
  background: var(--anthracite-soft);
  border-color: var(--anthracite-soft);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--anthracite);
  border-color: #fff;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1FB855;
  border-color: #1FB855;
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 42px;
  width: auto;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--anthracite);
  letter-spacing: -0.02em;
  display: none; /* visible si pas de logo image */
}
.logo-text-accent { color: var(--green); }
.logo-text small {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--slate);
  margin-left: 4px;
  letter-spacing: 0.1em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list {
  display: flex;
  gap: 28px;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--anthracite-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.25s var(--ease);
}
.nav-link:hover { color: var(--green); }
.nav-link:hover::after { width: 100%; }

.nav-cta { padding: 10px 20px; font-size: 0.9rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--anthracite);
  transition: all 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 27, 45, 0.92) 0%, rgba(15, 27, 45, 0.78) 50%, rgba(79, 123, 31, 0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #A8D17A;
  margin-bottom: 24px;
  padding: 6px 16px;
  background: rgba(111, 168, 44, 0.15);
  border: 1px solid rgba(168, 209, 122, 0.3);
  border-radius: 100px;
}
.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 28px;
}
.hero-title .accent {
  color: #A8D17A;
  font-weight: 700;
}
.hero-subtitle {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 660px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 800px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #A8D17A;
  line-height: 1;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
  line-height: 1.4;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 4px;
  animation: scroll 2s infinite;
}
@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 7. Sections génériques ---------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section-dark {
  background: var(--anthracite);
  color: #CBD5E1;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark strong { color: #fff; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ---------- 8. Section Entreprise ---------- */
.section-entreprise { background: var(--bg); }

.entreprise-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.entreprise-visual img {
  width: 100%;
  height: 580px;
  object-fit: cover;
}
.visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.97);
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
}
.visual-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--anthracite);
}
.visual-badge span {
  font-size: 0.875rem;
  color: var(--slate);
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.fact strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.fact span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--anthracite);
  font-weight: 600;
}

/* ---------- 9. Valeurs (section-dark) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.value-card:hover {
  border-color: rgba(168, 209, 122, 0.3);
  background: rgba(111, 168, 44, 0.08);
  transform: translateY(-4px);
}
.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(168, 209, 122, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A8D17A;
  margin-bottom: 20px;
}
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: #fff;
}
.value-card p {
  font-size: 0.9375rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* ---------- 10. Services ---------- */
.section-services { background: var(--bg-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 14px;
  color: var(--anthracite);
}
.service-card p {
  font-size: 0.9375rem;
  margin-bottom: 20px;
  color: var(--slate);
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tags li {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 100px;
}

.service-card.service-cta {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card.service-cta::before { background: #A8D17A; transform: scaleX(1); }
.service-card.service-cta h3 { color: #fff; }
.service-card.service-cta p { color: #CBD5E1; }

/* ---------- 11. Pourquoi (Why) ---------- */
.section-why { background: var(--bg); }
.why-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 540px;
}
.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-list {
  margin-top: 32px;
}
.why-list li {
  position: relative;
  padding: 18px 0 18px 56px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.why-list li:last-child { border-bottom: none; }
.why-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 18px;
  width: 36px;
  height: 36px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.why-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--anthracite);
}

/* ---------- 12. Méthode (Steps) ---------- */
.section-methode { background: var(--bg-warm); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--green) 20%, var(--green) 80%, transparent);
  opacity: 0.3;
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 76px;
  height: 76px;
  background: #fff;
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 24px;
  border: 3px solid var(--green);
  box-shadow: var(--shadow-sm);
}
.step h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
.step p {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- 13. Réalisations ---------- */
.section-realisations { background: var(--bg); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.project-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.project-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .project-img img { transform: scale(1.05); }

.project-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.project-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 12px;
  line-height: 1.35;
}
.project-meta {
  font-size: 0.8125rem;
  color: var(--slate);
  margin-bottom: 8px;
  font-weight: 500;
}
.project-role {
  font-size: 0.8125rem;
  color: var(--slate-light);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.realisations-cta {
  text-align: center;
  background: var(--bg-soft);
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.realisations-cta p {
  margin-bottom: 20px;
  color: var(--slate);
}

/* ---------- 14. FAQ ---------- */
.section-faq { background: var(--bg-soft); }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  transition: all 0.25s var(--ease);
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--green);
}
.faq-item summary {
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  color: var(--anthracite);
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 56px;
  font-family: var(--font-display);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}
.faq-item[open] summary::after {
  content: '−';
  background: var(--green);
  color: #fff;
}
.faq-content {
  padding: 0 28px 24px;
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- 15. Devis / Contact ---------- */
.section-devis {
  background: var(--anthracite);
  color: #CBD5E1;
}
.section-devis .section-title { color: #fff; }
.grid-2-devis { gap: 64px; align-items: start; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}
.contact-list li {
  padding-left: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #A8D17A;
  margin-bottom: 4px;
}
.contact-list a {
  color: #fff;
  font-weight: 500;
  font-size: 1.0625rem;
  transition: color 0.2s var(--ease);
}
.contact-list a:hover { color: #A8D17A; }
.contact-list span:not(.contact-label) { color: #CBD5E1; font-size: 0.9375rem; }

.devis-form {
  background: #fff;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  color: var(--slate);
  box-shadow: var(--shadow-lg);
}
.devis-form h3 {
  font-size: 1.5rem;
  color: var(--anthracite);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.devis-form label {
  display: block;
  margin-bottom: 18px;
}
.devis-form label > span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--anthracite);
  margin-bottom: 6px;
}
.devis-form input:not([type="checkbox"]),
.devis-form select,
.devis-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--anthracite);
  background: #fff;
  transition: border-color 0.2s var(--ease);
}
.devis-form input:focus,
.devis-form select:focus,
.devis-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(111, 168, 44, 0.12);
}
.devis-form textarea { resize: vertical; min-height: 120px; }

.form-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--slate);
  margin: 8px 0 24px !important;
  line-height: 1.5;
}
.form-consent input { width: auto !important; margin-top: 3px; }
.form-consent span { font-weight: 400 !important; color: var(--slate) !important; margin: 0 !important; }

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate-light);
  margin-top: 14px;
}

/* ---------- 16. Footer ---------- */
.site-footer {
  background: #0A1424;
  color: #94A3B8;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-logo { height: 48px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.4;
}
.footer-legal {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #64748B;
}
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}
.footer-col ul li {
  margin-bottom: 12px;
  font-size: 0.9375rem;
}
.footer-col a { color: #94A3B8; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #A8D17A; }
.footer-contact li { line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 17. WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- 18. Animations reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1024px) {
  .section { padding: 96px 0; }
  .grid-2 { gap: 56px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 78px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
    border-top: 1px solid var(--border);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    gap: 4px;
  }
  .nav-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-link::after { display: none; }
  .nav-cta { width: 100%; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .grid-2 > div:last-child { order: -1; }
  .grid-2-devis > div:last-child { order: 0; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { flex: 1; min-width: 0; padding: 14px 16px; font-size: 0.9rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding-top: 32px; gap: 20px; }
  .hero-scroll { display: none; }

  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .projects-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .devis-form { padding: 32px 24px; }

  .entreprise-visual img { height: 380px; }
  .why-visual { min-height: 320px; }
  .why-visual img { height: 320px; }

  .company-facts { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.625rem; }
  .btn-lg { padding: 14px 24px; font-size: 0.9375rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

/* ---------- 20. Print ---------- */
@media print {
  .site-header, .menu-toggle, .whatsapp-float, .hero-scroll, .devis-form { display: none; }
  body { color: #000; background: #fff; }
}
