/* ============================================================
   ECOTECH SOLUTIONS — Feuille de style principale
   ============================================================ */

:root {
  --navy: #0B1929;
  --navy-deep: #060F1A;
  --navy-light: #142640;
  --ivory: #F5F1E8;
  --ivory-dim: #E8E2D3;
  --gold: #B8935A;
  --gold-light: #D4B583;
  --gold-pale: rgba(184, 147, 90, 0.12);
  --line: rgba(245, 241, 232, 0.12);
  --line-strong: rgba(245, 241, 232, 0.25);
  --text-dim: rgba(245, 241, 232, 0.55);
  --text-soft: rgba(245, 241, 232, 0.75);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--ivory);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--navy-deep); }

/* ========== NAVIGATION ========== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.scrolled {
  padding: 16px 56px;
  background: rgba(11, 25, 41, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.logo-link {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.logo-link:hover { opacity: 0.75; }
.logo-mark { display: none; }
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--ivory);
  position: relative;
  padding-left: 0;
}
.logo-text::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
}
.nav-links {
  display: flex; align-items: center; gap: 44px;
  list-style: none;
}
.nav-links > li > a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  padding: 8px 0;
}
.nav-links > li > a:hover { color: var(--gold); }
.nav-links > li { position: relative; }
.has-submenu > a::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 8px;
  transition: transform 0.3s;
}
.submenu {
  position: absolute;
  top: 100%; left: -24px;
  min-width: 260px;
  background: var(--navy-deep);
  border: 1px solid var(--line);
  padding: 16px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  margin-top: 12px;
}
.has-submenu:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block;
  padding: 12px 28px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.25s;
  border-left: 2px solid transparent;
}
.submenu a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  padding-left: 32px;
  background: rgba(184, 147, 90, 0.04);
}
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 12px 26px !important;
  letter-spacing: 2px !important;
  transition: all 0.4s !important;
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.nav-cta:hover { color: var(--navy-deep) !important; }
.nav-cta:hover::before { transform: translateX(0); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  padding: 0 56px;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(20, 38, 64, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(184, 147, 90, 0.08) 0%, transparent 60%);
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' /%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-lines {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.hero-lines::before, .hero-lines::after {
  content: ''; position: absolute;
  background: var(--line);
}
.hero-lines::before {
  top: 0; bottom: 0; left: 40%;
  width: 1px;
}
.hero-lines::after {
  left: 0; right: 0; top: 75%;
  height: 1px;
}
.hero-content {
  position: relative; z-index: 2; max-width: 1280px;
  margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 420px; gap: 80px;
  align-items: center; padding-top: 80px;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  opacity: 0;
  animation: slideUp 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(56px, 7.5vw, 108px);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 40px;
  color: var(--ivory);
}
h1 .line { display: block; overflow: hidden; }
h1 .line-inner {
  display: block;
  transform: translateY(110%);
  animation: riseUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
h1 .line:nth-child(1) .line-inner { animation-delay: 0.4s; }
h1 .line:nth-child(2) .line-inner { animation-delay: 0.55s; }
h1 .line:nth-child(3) .line-inner { animation-delay: 0.7s; }
h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 56px;
  font-weight: 300;
  opacity: 0;
  animation: slideUp 1s 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-actions {
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 1s 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
  padding: 20px 36px;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  letter-spacing: 4px;
}
.btn-ghost {
  color: var(--ivory);
  border: 1px solid var(--line-strong);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ivory);
  letter-spacing: 4px;
}
.btn .arrow { width: 20px; height: 1px; background: currentColor; position: relative; transition: width 0.3s; }
.btn .arrow::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 28px; }

/* Monogramme hero */
.hero-visual {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1.6s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.ring { position: absolute; inset: 0; border: 1px solid var(--line-strong); border-radius: 50%; }
.ring-2 { inset: 40px; border-color: var(--line); }
.ring-3 { inset: 80px; border-style: dashed; border-color: rgba(184, 147, 90, 0.2); animation: slowSpin 120s linear infinite; }
.ring-4 { inset: 120px; border-color: var(--line); }
.monogram {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 120px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: -8px;
}
.monogram span:first-child { opacity: 0.4; }
.orbit-mark {
  position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform-origin: 0 0;
}
.orbit-mark.m1 { animation: orbitAnim 20s linear infinite; --r: 190px; }
.orbit-mark.m2 { animation: orbitAnim 30s linear infinite reverse; --r: 150px; opacity: 0.5; width: 4px; height: 4px; }
.hero-tick-label {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-down {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 2;
  opacity: 0;
  animation: slideUp 1s 1.6s forwards;
}
.scroll-down-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s infinite;
}

/* ========== MARQUEE ========== */
.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  background: var(--navy-deep);
  overflow: hidden;
}
.marquee {
  display: flex; gap: 80px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 80px;
}
.marquee-item::after {
  content: '❖';
  font-style: normal;
  color: var(--gold);
  font-size: 14px;
}

/* ========== SECTIONS ========== */
section { padding: 120px 56px; position: relative; }

.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 400;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.eyebrow-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-dim);
  margin-left: 8px;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--ivory);
  margin-bottom: 32px;
  max-width: 900px;
}
h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 640px;
  font-weight: 300;
}

/* ========== MANIFESTO ========== */
.manifesto {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.manifesto-right h2 { margin-bottom: 48px; }
.manifesto-right .lead { margin-bottom: 32px; }
.manifesto-signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--gold);
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* ========== METRICS ========== */
.metrics {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.4s;
}
.metric:last-child { border-right: none; }
.metric:hover { background: rgba(184, 147, 90, 0.02); }
.metric-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 72px;
  line-height: 1;
  color: var(--ivory);
  margin-bottom: 16px;
  letter-spacing: -3px;
}
.metric-num em { font-style: italic; color: var(--gold); font-size: 0.7em; }
.metric-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 400;
}
.metric-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 8px;
}

/* ========== EXPERTISES ========== */
.expertises-header {
  max-width: 1280px; margin: 0 auto 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
}
.expertise-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.expertise {
  padding: 56px 40px 56px 0;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.4s;
  cursor: pointer;
}
.expertise:first-child { padding-left: 0; }
.expertise:nth-child(2) { padding-left: 40px; }
.expertise:nth-child(3) { padding-left: 40px; border-right: none; }
.expertise:hover { background: rgba(184, 147, 90, 0.03); }
.expertise-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 32px;
  letter-spacing: 2px;
}
.expertise-icon {
  width: 56px; height: 56px;
  margin-bottom: 40px;
  color: var(--gold);
}
.expertise-icon svg { width: 100%; height: 100%; stroke-width: 1; }
.expertise h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.expertise h3 em { font-style: italic; color: var(--gold); }
.expertise p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.expertise-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.tag {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 12px;
  border: 1px solid var(--line);
}
.expertise-link {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: gap 0.3s;
}
.expertise-link:hover { gap: 20px; }

/* ========== ALLIANCE PAC + PV ========== */
.alliance-section {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 120px 56px;
  position: relative;
}
.alliance-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 30%, rgba(184, 147, 90, 0.05), transparent 70%);
  pointer-events: none;
}
.alliance-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  position: relative;
  z-index: 1;
}
.alliance-flow {
  display: flex; align-items: stretch; gap: 16px;
  margin: 48px 0 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.flow-step {
  flex: 1;
  min-width: 180px;
  display: flex; flex-direction: column; gap: 12px;
}
.flow-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
}
.flow-text strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--ivory);
  margin-bottom: 8px;
}
.flow-text span {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
}
.flow-arrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--gold);
  align-self: center;
  font-style: italic;
}
.alliance-cta {
  display: flex; gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ========== SERVICES DETAIL / CLIENTÈLES ========== */
.services-detail {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-row {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row:last-child { border-bottom: none; }
.service-row-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 3px;
}
.service-row h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 48px;
  color: var(--ivory);
  margin-top: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.service-row h3 em { font-style: italic; color: var(--gold); }
.service-row-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 600px;
}
.service-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.service-features li {
  font-size: 14px;
  color: var(--ivory);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}
.service-features li::before {
  content: '❖';
  position: absolute; left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 3px;
}

/* ========== METHOD ========== */
.method { max-width: 1280px; margin: 0 auto; }
.method-header { margin-bottom: 72px; max-width: 720px; }
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.method-step {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.method-step:last-child { border-right: none; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 32px;
  letter-spacing: -2px;
}
.step-num::after {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
  margin-top: 16px;
}
.method-step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--ivory);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.method-step p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ========== TESTIMONIAL ========== */
.testimonial-section {
  padding: 130px 56px;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.testimonial { max-width: 980px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 200px;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.3;
  color: var(--ivory);
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}
.testimonial blockquote em { color: var(--gold); font-style: italic; }
.testimonial cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.testimonial cite strong {
  display: block;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 6px;
}

/* ========== PARTNERS ========== */
.partners { max-width: 1280px; margin: 0 auto; text-align: center; }
.partners-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 48px;
  letter-spacing: 2px;
}
.partners-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--text-soft);
  letter-spacing: 2px;
  transition: color 0.3s;
  text-transform: uppercase;
}
.partner-item:hover { color: var(--gold); }

/* Grille des garanties (page photovoltaïque) */
.guarantees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.guarantee-item {
  display: flex;
  gap: 24px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.4s;
}
.guarantee-item:hover { background: rgba(184, 147, 90, 0.03); }
.guarantee-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -1px;
  min-width: 40px;
  flex-shrink: 0;
  padding-top: 4px;
}
.guarantee-body h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--ivory);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.2px;
}
.guarantee-body h4 em { font-style: italic; color: var(--gold); }
.guarantee-body p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1024px) {
  .guarantees-grid { grid-template-columns: 1fr; }
  .guarantee-item[style*="grid-column"] { grid-column: 1 !important; }
}

/* Grille clients (remplace l'ancienne liste partenaires) */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.client-item {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  transition: background 0.4s;
}
.client-item:nth-child(5n) { border-right: none; }
.client-item:nth-last-child(-n+5) { border-bottom: none; }
.client-item:hover { background: rgba(184, 147, 90, 0.03); }
.client-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--ivory);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: 0.3px;
}
.client-dept {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}
@media (max-width: 1024px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .client-item:nth-child(5n) { border-right: 1px solid var(--line); }
  .client-item:nth-child(2n) { border-right: none; }
  .client-item:nth-last-child(-n+5) { border-bottom: 1px solid var(--line); }
  .client-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 640px) {
  .clients-grid { grid-template-columns: 1fr; }
  .client-item { border-right: none !important; }
}

/* ========== CTA FINAL ========== */
.cta-final {
  padding: 140px 56px;
  position: relative;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(184, 147, 90, 0.08), transparent 70%);
}
.cta-content { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.cta-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 32px;
  letter-spacing: 2px;
}
.cta-final h2 {
  margin: 0 auto 48px;
  font-size: clamp(48px, 6vw, 88px);
}
.cta-contact {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.cta-contact-item {
  display: flex; flex-direction: column; gap: 8px;
  text-align: center;
}
.cta-contact-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cta-contact-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.3s;
}
.cta-contact-val:hover { color: var(--gold); }

/* ========== FOOTER ========== */
footer {
  background: var(--navy-deep);
  padding: 100px 56px 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.footer-brand .logo-text { font-size: 14px; letter-spacing: 3px; margin-bottom: 24px; display: block; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 320px;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* ================================================== */
/* ========== STYLES PAGES INTERNES ========== */
/* ================================================== */

/* Hero simplifié pour pages internes */
.page-hero {
  min-height: 70vh;
  padding: 200px 56px 120px;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

/* Nouvelle disposition : titre à gauche, illustration à droite */
.page-hero-layout {
  position: relative; z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  min-height: 50vh;
}
.page-hero-illustration {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  opacity: 0;
  animation: fadeIn 1.4s 0.6s forwards;
}
.page-hero-illustration svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.page-hero-illustration .draw {
  stroke: var(--ivory);
  stroke-width: 1;
  fill: none;
  opacity: 0.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-hero-illustration .draw-accent {
  stroke: var(--gold);
  stroke-width: 1;
  fill: none;
  opacity: 0.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-hero-illustration .draw-thin {
  stroke: var(--ivory);
  stroke-width: 0.5;
  fill: none;
  opacity: 0.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-hero-illustration .draw-dash {
  stroke: var(--gold);
  stroke-width: 0.75;
  fill: none;
  opacity: 0.6;
  stroke-linecap: round;
  stroke-dasharray: 2 4;
}
.page-hero-illustration .fill-ivory {
  fill: var(--ivory);
  opacity: 0.1;
}
/* Légère rotation lente des illustrations techniques */
.illustration-rotate {
  animation: slowSpin 180s linear infinite;
  transform-origin: center;
}
.page-hero-illustration .orbit-ring {
  animation: slowSpin 180s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.page-hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -2px;
  line-height: 0.95;
  margin-bottom: 0;
}
.page-hero-meta {
  display: flex; flex-direction: column; gap: 32px;
}
.page-hero-meta .lead {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 480px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 48px;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--gold); }

/* Tags de page hero */
.page-hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.page-hero-tags .tag {
  padding: 8px 16px;
  font-size: 11px;
}

/* Section éditoriale */
.editorial {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
}
.editorial-sticky {
  position: sticky;
  top: 140px;
}
.editorial-body p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.editorial-body p strong {
  color: var(--ivory);
  font-weight: 500;
}
.editorial-body p em {
  color: var(--gold);
  font-style: italic;
}
.editorial-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  color: var(--ivory);
  margin: 64px 0 24px;
  letter-spacing: -0.5px;
}
.editorial-body h3 em { font-style: italic; color: var(--gold); }

/* Boîte de mise en valeur d'une info CEE/0€ */
.highlight-box {
  background: var(--navy-deep);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  padding: 40px 48px;
  margin: 48px 0;
  position: relative;
}
.highlight-box-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.highlight-box h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 32px;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.highlight-box h4 em { font-style: italic; color: var(--gold); }
.highlight-box p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Grille de scénarios (pour PAC : 100% vs hybride) */
.scenarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 48px 0;
}
.scenario {
  border: 1px solid var(--line);
  padding: 48px;
  position: relative;
  transition: border-color 0.4s, background 0.4s;
}
.scenario:hover {
  border-color: var(--gold);
  background: rgba(184, 147, 90, 0.02);
}
.scenario.featured {
  border-color: var(--gold);
  background: rgba(184, 147, 90, 0.03);
}
.scenario-badge {
  position: absolute; top: -10px; left: 32px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 4px 14px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}
.scenario-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.scenario h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--ivory);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.scenario h4 em { font-style: italic; color: var(--gold); }
.scenario-desc {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 32px;
}
.scenario ul {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.scenario li {
  font-size: 14px;
  color: var(--ivory);
  padding: 8px 0 8px 24px;
  position: relative;
  line-height: 1.6;
}
.scenario li::before {
  content: '❖';
  position: absolute; left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 12px;
}

/* Process / étapes numérotées grandes */
.process-steps {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-step {
  padding: 56px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; gap: 32px;
}
.process-step:nth-child(2n) { border-right: none; }
.process-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 64px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -2px;
  min-width: 80px;
}
.process-step-body h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--ivory);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.process-step-body p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* Fiche CEE — bloc officiel */
.cee-card {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--navy-deep);
  border: 1px solid var(--line);
  padding: 64px 72px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.cee-card-label {
  display: flex; flex-direction: column; gap: 12px;
}
.cee-card-label .eyebrow { margin-bottom: 16px; }
.cee-card-code {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -2px;
  font-weight: 300;
  margin-bottom: 16px;
}
.cee-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ivory);
  margin-bottom: 24px;
}
.cee-card-body p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 20px;
}
.cee-card-body ul {
  list-style: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cee-card-body li {
  font-size: 14px;
  color: var(--ivory);
  padding: 10px 0 10px 24px;
  position: relative;
}
.cee-card-body li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--gold);
  font-size: 12px;
}

/* Table comparative scénarios (pour PAC) */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}
.compare-table th,
.compare-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.compare-table th {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.5px;
}
.compare-table tbody td:first-child {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  width: 30%;
}
.compare-table tbody td {
  color: var(--ivory);
}

/* Section cross-sell vers PAC/PV combo */
.combo-callout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 64px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: var(--navy-deep);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: center;
}
.combo-callout h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.combo-callout h3 em { font-style: italic; color: var(--gold); }
.combo-callout p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.8;
}

/* ========== ANIMATIONS ========== */
@keyframes riseUp { to { transform: translateY(0); } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes orbitAnim {
  from { transform: rotate(0deg) translateX(var(--r)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(var(--r)) rotate(-360deg); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  nav { padding: 20px 32px; }
  .nav-links > li > a:not(.nav-cta) { display: none; }
  nav .logo-link, nav .nav-cta { display: flex; }
  nav .nav-links { gap: 0; }
  section { padding: 100px 32px; }
  .hero, .page-hero { padding-left: 32px; padding-right: 32px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .manifesto, .alliance-inner, .editorial, .page-hero-content, .page-hero-layout, .combo-callout { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-illustration { max-width: 280px; margin: 40px auto 0; }
  .expertises-header { grid-template-columns: 1fr; gap: 40px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise { padding: 40px 0 !important; border-right: none !important; border-bottom: 1px solid var(--line); }
  .service-row { grid-template-columns: 1fr; gap: 32px; padding: 60px 0; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { border-bottom: 1px solid var(--line); }
  .metric:nth-child(2n) { border-right: none; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-step { border-bottom: 1px solid var(--line); }
  .method-step:nth-child(2n) { border-right: none; }
  .partners-list { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-contact { gap: 24px; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; }
  .cee-card { grid-template-columns: 1fr; gap: 32px; padding: 48px; }
  .editorial-sticky { position: static; }
  .alliance-flow { flex-direction: column; }
  .flow-arrow { display: none; }
}
@media (max-width: 640px) {
  nav, section, .hero, .page-hero, .alliance-section { padding-left: 24px; padding-right: 24px; }
  .page-hero { padding-top: 140px; padding-bottom: 80px; }
  .footer-inner { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; }
  .method-steps { grid-template-columns: 1fr; }
  .method-step { border-right: none; }
  .partners-list { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cee-card { padding: 32px 24px; }
  .process-step { padding: 40px 24px; }
  .scenario { padding: 32px 24px; }
  .combo-callout { padding: 48px 24px; }
}
