:root {
  --noir: #0a0a0a;
  --blanc: #f8f6f3;
  --creme: #eee9e1;
  --fond: #f3f0eb;
  --accent: #b08d57;
  --accent2: #d4bc8a;
  --gris: #6b6560;
  --gris2: #9a9490;
  --gris3: #c4bfb8;
  --bleu: #1a2e4a;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--blanc);
  color: var(--noir);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--accent);
  color: var(--blanc);
}

/* NAV */
nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: 90%;
  max-width: 1060px;
  padding: 0 2rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 246, 243, 0.8);
  backdrop-filter: blur(20px) saturate(1.3);
  border-radius: 100px;
  border: 1px solid rgba(176, 141, 87, 0.1);
  box-shadow: 0 2px 16px rgba(10, 10, 10, 0.03);
}
.nl {
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--bleu);
  text-decoration: none;
  font-family: Montserrat;
}
.nl span {
  color: var(--accent);
}
.nk {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.nk a {
  text-decoration: none;
  color: var(--gris);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nk a:hover,
.nk a.active {
  color: var(--noir);
}
.ncta {
  text-decoration: none;
  color: var(--blanc) !important;
  background: linear-gradient(135deg, #b08d57, #d4bc8a);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  transition: all 0.4s;
}
.ncta:hover {
  box-shadow: 0 8px 24px rgba(176, 141, 87, 0.3);
}

/* PAGE HERO */
.page-hero {
  padding: 110px 4% 50px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.page-hero p {
  font-size: 0.92rem;
  color: var(--gris);
  font-weight: 300;
  line-height: 1.7;
}

/* SHARED */
.stag {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.stag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}
.stag-c {
  justify-content: center;
}
.stag-c::before {
  display: none;
}
.sec-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

/* ============================================
   SECTION 1 — GOUVERNANCE DOCUMENTAIRE (noir)
   ============================================ */
.s-gouv {
  background: var(--noir);
  color: var(--blanc);
  padding: 5rem 4%;
  position: relative;
  overflow: hidden;
}
.s-gouv::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(176, 141, 87, 0.04),
    transparent 70%
  );
}
.s-gouv .stag {
  color: var(--accent2);
}
.s-gouv .stag::before {
  background: var(--accent2);
}

.gouv-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 4rem;
}
.gouv-top h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--blanc);
}
.gouv-top p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(248, 246, 243, 0.55);
  font-weight: 300;
  margin-bottom: 1rem;
}
.gouv-top .vq {
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}
.gouv-top .vq q {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(248, 246, 243, 0.8);
}
.gouv-top .vq cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent2);
  text-transform: uppercase;
  font-weight: 500;
}

/* Services grid inside gouv */
.gouv-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.gs {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  transition: all 0.4s;
}
.gs:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}
.gs-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(176, 141, 87, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.gs-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gs h4 {
  font-size: 0.92;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.gs p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(248, 246, 243, 0.4);
  font-weight: 300;
}

/* Stats strip */
.gouv-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(248, 246, 243, 0.06);
}
.gstat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.gstat .n {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}
.gstat .l {
  font-size: 0.75rem;
  color: rgba(248, 246, 243, 0.35);
  font-weight: 300;
  line-height: 1.4;
}

/* ============================================
   SECTION 2 — SYSTEMES INTELLIGENTS (crème)
   ============================================ */
.s-tech {
  background: var(--creme);
  padding: 5rem 4%;
}
.s-tech .stag {
  color: var(--accent);
}
.s-tech .stag::before {
  background: var(--accent);
}

.tech-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
.tech-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.tech-intro p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--gris);
  font-weight: 300;
  margin-bottom: 0.8rem;
}
.tech-highlight {
  background: var(--noir);
  color: var(--blanc);
  padding: 1.5rem;
  margin-top: 1rem;
  border-left: 2px solid var(--accent);
}
.tech-highlight p {
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(248, 246, 243, 0.65);
  font-weight: 300;
  margin: 0;
}
.tech-highlight strong {
  color: var(--accent2);
  font-weight: 500;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.tc {
  background: var(--blanc);
  border: 1px solid rgba(176, 141, 87, 0.08);
  padding: 2rem;
  transition: all 0.4s;
}
.tc:hover {
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.05);
  transform: translateY(-3px);
}
.tc-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(176, 141, 87, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.tc-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tc h4 {
  font-size: 0.92;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.tc p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--gris);
  font-weight: 300;
}

/* IA banner inside tech */
.ia-banner {
  background: var(--noir);
  color: var(--blanc);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}
.ia-banner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.ia-banner h3 em {
  color: var(--accent);
  font-style: italic;
}
.ia-banner p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(248, 246, 243, 0.5);
  font-weight: 300;
}
.ia-feats {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.ia-f {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.ia-f-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(176, 141, 87, 0.25);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ia-f-icon svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ia-f span {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(248, 246, 243, 0.65);
}

/* ============================================
   SECTION 3 — INFLUENCE (blanc)
   ============================================ */
.s-infl {
  background: var(--blanc);
  padding: 5rem 4%;
}
.s-infl .stag {
  color: var(--accent);
}
.s-infl .stag::before {
  background: var(--accent);
}

.infl-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}
.infl-top h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.infl-top p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--gris);
  font-weight: 300;
  margin-bottom: 0.8rem;
}

.infl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.ic {
  padding: 2rem;
  border: 1px solid rgba(176, 141, 87, 0.08);
  transition: all 0.4s;
}
.ic:hover {
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.04);
  transform: translateY(-3px);
}
.ic-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(176, 141, 87, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.ic-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic h4 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.ic p {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--gris);
  font-weight: 300;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--fond);
  padding: 5rem 4%;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.tcard {
  background: var(--blanc);
  border: 1px solid rgba(176, 141, 87, 0.06);
  padding: 2rem;
  position: relative;
}
.tcard::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 0.8rem;
  left: 1.5rem;
  line-height: 1;
}
.tcard blockquote {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--gris);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.2rem;
  padding-top: 1.5rem;
}
.tcard-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tcard-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--creme);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  color: var(--accent);
  border: 1px solid rgba(176, 141, 87, 0.1);
}
.tcard-name {
  font-size: 0.75rem;
  font-weight: 500;
}
.tcard-role {
  font-size: 0.6rem;
  color: var(--gris2);
  font-weight: 300;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
  text-align: center;
  padding: 4rem 4%;
  border-top: 1px solid rgba(176, 141, 87, 0.06);
}
.partners h3 {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gris2);
  margin-bottom: 2rem;
}
.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 4rem;
}
.partner-row span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--noir);
  opacity: 0.12;
  letter-spacing: 0.03em;
  transition: opacity 0.3s;
}
.partner-row span:hover {
  opacity: 0.35;
}

/* CTA */
.cta-bottom {
  text-align: center;
  padding: 5rem 4%;
  background: var(--noir);
  color: var(--blanc);
}
.cta-bottom h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.cta-bottom h2 em {
  font-style: italic;
  color: var(--accent);
}
.cta-bottom p {
  font-size: 0.88rem;
  color: rgba(248, 246, 243, 0.5);
  font-weight: 300;
  margin-bottom: 2rem;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--noir);
  background: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: all 0.4s;
}
.cta-btn:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(176, 141, 87, 0.3);
}

/* FOOTER */
footer {
  background: var(--noir);
  color: rgba(248, 246, 243, 0.3);
  padding: 2.5rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.62rem;
  border-top: 1px solid rgba(248, 246, 243, 0.04);
}
footer a {
  color: var(--accent2);
  text-decoration: none;
}
.flinks {
  display: flex;
  gap: 1.5rem;
}

/* REVEAL */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv.vis {
  opacity: 1;
  transform: translateY(0);
}
.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.2s;
}
.d3 {
  transition-delay: 0.3s;
}
.d4 {
  transition-delay: 0.3s;
}
.d5 {
  transition-delay: 0.35s;
}
.d6 {
  transition-delay: 0.4s;
}

@media (max-width: 960px) {
  nav {
    width: 94%;
    padding: 0 1rem;
    border-radius: 14px;
  }
  .nk {
    display: none;
  }
  .page-hero {
    padding: 85px 5% 30px;
  }
  .gouv-top,
  .tech-intro,
  .infl-top,
  .ia-banner {
    grid-template-columns: 1fr;
  }
  .gouv-services,
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .infl-grid {
    grid-template-columns: 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .gouv-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  footer {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}
