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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0b0b0b;
  color: #f3f0e9;
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

:root {
  --black: #0a0a0a;
  --black-2: #101010;
  --cream: #ece8df;
  --cream-2: #e3ded4;

  --white: #f3f0e9;
  --grey: #96918a;
  --grey-dark: #69645e;

  --orange: #ef5724;

  --line-dark: rgba(255,255,255,.12);
  --line-light: rgba(0,0,0,.14);
}


/* HEADER */

.site-header {
  height: 88px;
  background: #090909;
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  height: 100%;

  padding: 0 clamp(24px, 3.3vw, 64px);

  display: grid;

  grid-template-columns: 220px minmax(0, 1fr) 170px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 24px;
  line-height: 1;
  font-weight: 600;

  letter-spacing: .24em;
}

.brand-sub {
  margin-top: 6px;

  color: #a9a39b;

  font-size: 8px;
  font-weight: 500;

  letter-spacing: .1em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(18px, 2vw, 32px);
}

.main-nav a {
  position: relative;

  padding: 32px 0;

  color: #c6c1ba;

  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;

  height: 1px;

  background: var(--orange);

  transition: right .2s ease;
}

.main-nav a:hover::after {
  right: 0;
}

.header-cta {
  height: 44px;

  border: 1px solid var(--orange);

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  color: var(--orange);

  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;

  transition: .2s ease;
}

.header-cta:hover {
  color: white;
  background: var(--orange);
}


/* HERO */

.hero {
  height: auto;

  min-height: 680px;

  max-height: none;

  display: grid;

  grid-template-columns: 52% 48%;

  border-bottom: 1px solid var(--line-dark);
}

.hero-copy {
  position: relative;

  padding: 64px clamp(28px, 3.3vw, 64px) 0;

  display: flex;
  flex-direction: column;

  background: var(--black);
  min-width: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 28px;

  color: var(--orange);

  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-kicker span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  margin: 0;

  max-width: 700px;

  font-family: "Barlow Condensed", sans-serif;

  font-size: clamp(56px, 5.25vw, 96px);
  font-weight: 600;

  line-height: .98;

  letter-spacing: -.02em;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero h1 em::after {
  content: none;
  color: var(--orange);
}

.hero-description {
  max-width: 470px;

  margin: 28px 0 0;

  color: #b9b3aa;

  font-size: 16px;

  line-height: 1.65;
}

.text-link {
  width: fit-content;

  margin-top: 24px;
  padding-bottom: 7px;

  border-bottom: 1px solid var(--orange);

  color: var(--orange);

  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 12px 0;
  min-height: 44px;
}

.text-link span {
  margin-left: 13px;
}

.hero-info {
  min-height: 0;

  margin-top: 40px;

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  border-top: 1px solid var(--line-dark);
}

.hero-info-item {
  padding: 20px 16px;

  border-right: 1px solid var(--line-dark);
}

.hero-info-item:first-child {
  padding-left: 0;
}

.hero-info-item:last-child {
  border-right: 0;
}

.info-icon {
  display: block;

  margin-bottom: 10px;

  color: var(--orange);

  font-family: "Barlow Condensed", sans-serif;

  font-size: 18px;
}

.hero-info strong {
  display: block;

  color: #d9d5cd;

  font-size: 11px;
  font-weight: 600;

  line-height: 1.45;
  text-transform: uppercase;
}

.hero-info small {
  display: block;

  margin-top: 5px;

  color: #aaa399;

  font-size: 10px;
  text-transform: uppercase;
  line-height: 1.5;
}


/* HERO IMAGE */

.hero-media {
  position: relative;
  overflow: hidden;

  background: #151515;
}

.hero-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}

.hero-media:hover img {
  transform: scale(1.02);
}

.hero-media::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.26) 0%,
      transparent 18%,
      transparent 100%
    );

  pointer-events: none;
}

.hero-media-label {
  position: absolute;
  z-index: 3;

  left: 28px;
  bottom: 28px;

  display: flex;
  flex-direction: column;
}

.hero-media-label span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
}

.hero-media-label small {
  margin-top: 4px;

  color: rgba(255,255,255,.55);

  font-size: 9px;
  letter-spacing: .17em;
}

.hero-media-index {
  position: absolute;
  z-index: 3;

  right: 28px;
  bottom: 28px;

  color: rgba(255,255,255,.6);

  font-size: 10px;
  letter-spacing: .1em;
}


/* Informations pratiques : deux colonnes lisibles */
.hero-info-item:nth-child(odd) { padding-left: 0; }
.hero-info-item:nth-child(even) { border-right: 0; }
.hero-info-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }

/* TABLETTE : menu visible sur une seconde ligne */
@media (max-width: 1100px) {
  .site-header { height: auto; }
  .header-inner { grid-template-columns: minmax(0, 1fr) 170px; gap: 0 20px; padding-top: 18px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 28px; margin-top: 14px; }
  .main-nav a { padding: 16px 0; font-size: 13px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 48px 32px 0; }
  .hero h1 { font-size: clamp(56px, 8vw, 82px); }
  .hero-media { height: 420px; }
}

/* MOBILE */
@media (max-width: 700px) {
  .header-inner { padding: 16px 20px 0; grid-template-columns: minmax(0, 1fr) 125px; gap: 0 12px; }
  .brand-name { font-size: 21px; letter-spacing: .18em; }
  .brand-sub { font-size: 7px; letter-spacing: .02em; }
  .header-cta { height: 40px; font-size: 10px; gap: 8px; }
  .main-nav { justify-content: flex-start; gap: 20px; overflow-x: auto; min-width: 0; max-width: 100%; margin-top: 12px; }
  .main-nav a { flex-shrink: 0; font-size: 12px; padding: 14px 0; }
  .hero-copy { padding: 40px 22px 0; }
  .hero-kicker { font-size: 10px; gap: 10px; margin-bottom: 24px; }
  .hero h1 { font-size: clamp(38px, 10.1vw, 68px); line-height: 1; }
  .hero-description { font-size: 15px; margin-top: 24px; }
  .text-link { font-size: 11px; }
  .hero-info { margin-top: 32px; }
  .hero-info-item { padding: 18px 12px; }
  .hero-info strong { font-size: 10px; }
  .hero-info small { font-size: 10px; }
  .hero-media { height: 300px; }
  .hero-media-label { left: 22px; bottom: 22px; }
  .hero-media-index { right: 22px; bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* SERVICES — BANDE CRÈME */
.solutions {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  padding: 44px clamp(24px, 3.3vw, 64px);
  background: var(--cream);
  color: #171715;
}
.solutions-intro { display: flex; flex-direction: column; align-items: flex-start; padding-right: 28px; }
.section-label { display: block; color: var(--orange); font-size: 10px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.solutions h2, .about-extracta h2 { font-family: "Barlow Condensed", sans-serif; font-weight: 600; text-transform: uppercase; }
.solutions h2 { margin: 22px 0 0; font-size: clamp(30px, 2.7vw, 46px); line-height: 1.04; letter-spacing: -.015em; }
.solutions-dash { width: 12px; height: 1px; margin: 22px 0; background: currentColor; }
.solutions-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: auto; padding: 12px 0 8px; border-bottom: 1px solid rgba(0,0,0,.35); font-size: 10px; font-weight: 600; line-height: 1.5; text-transform: uppercase; }
.solution-card { min-width: 0; padding: 4px clamp(18px, 2.2vw, 36px); border-left: 1px solid rgba(0,0,0,.14); }
.solution-number { display: block; font-size: 12px; letter-spacing: .06em; }
.solution-icon { display: block; width: 38px; height: 38px; margin-top: 24px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.solution-card h3::before { content: ""; display: block; width: 13px; height: 2px; margin-bottom: 20px; background: var(--orange); }
.solution-card h3 { margin: 22px 0 0; font-family: "Barlow Condensed", sans-serif; font-size: clamp(22px, 1.8vw, 28px); font-weight: 600; line-height: 1.1; text-transform: uppercase; }
.solution-card p { max-width: 230px; margin: 12px 0 0; color: #514c45; font-size: 14px; line-height: 1.6; }
.solutions-link:hover { color: #a93612; border-color: currentColor; }

/* PRÉSENTATION SEO */
.seo-intro {
  padding: clamp(72px, 8vw, 120px) clamp(24px, 3.3vw, 64px);
  background: var(--cream-2);
  color: #171715;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.seo-intro-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.seo-intro h2 {
  max-width: 940px;
  margin: 22px 0 48px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.seo-intro-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  padding-top: 36px;
  border-top: 1px solid var(--line-light);
}

.seo-intro-content p {
  max-width: 380px;
  margin: 0;
  color: #514c45;
  font-size: 15px;
  line-height: 1.75;
}

.seo-intro-content a {
  color: #171715;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.seo-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 46px;
}

.seo-intro-actions .text-link {
  margin-top: 0;
}

@media (max-width: 900px) {
  .seo-intro-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .seo-intro-content p {
    max-width: 720px;
  }
}

@media (max-width: 700px) {
  .seo-intro {
    padding: 64px 22px;
  }

  .seo-intro h2 {
    margin-bottom: 34px;
    font-size: clamp(38px, 12vw, 54px);
  }

  .seo-intro-content {
    padding-top: 28px;
  }

  .seo-intro-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 36px;
  }
}

/* À PROPOS */
.about-extracta { display: grid; grid-template-columns: 38% minmax(0, 1fr) 64px; min-height: 460px; background: var(--black); color: var(--white); }
.about-copy { padding: clamp(36px, 4vw, 64px) clamp(24px, 3.3vw, 64px); }
.about-extracta h2 { margin: 24px 0; font-size: clamp(42px, 4vw, 64px); line-height: 1; letter-spacing: -.015em; }
.about-copy p { max-width: 360px; margin: 0 0 14px; color: #b9b3aa; font-size: 15px; line-height: 1.7; }
.about-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 18px; padding: 12px 0; border-bottom: 1px solid var(--orange); color: var(--orange); font-size: 11px; font-weight: 600; line-height: 1.5; text-transform: uppercase; }
.about-photo { position: relative; min-height: 460px; overflow: hidden; background: #191919; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-signature { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 24px 0; background: var(--cream); color: #38332e; }
.about-signature span { writing-mode: vertical-rl; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.about-signature i { width: 1px; height: 32px; background: rgba(0,0,0,.25); }

@media (max-width: 1100px) {
  .solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; padding: 36px 28px; }
  .solutions-intro { grid-column: 1 / -1; padding: 0 0 28px; border-bottom: 1px solid rgba(0,0,0,.14); }
  .solutions h2 { font-size: 40px; }
  .solution-card { padding: 0 24px; }
  .solution-card:nth-child(even) { padding-left: 0; border-left: 0; }
  .about-extracta { grid-template-columns: 45% minmax(0, 1fr) 44px; }
  .about-copy { padding: 36px 28px; }
}
@media (max-width: 700px) {
  .solutions { padding: 32px 22px; gap: 28px 0; }
  .solution-card { padding: 0 0 0 18px; }
  .solution-card:nth-child(even) { padding-right: 18px; }
  .solution-card h3 { font-size: 24px; }
  .solution-card p { font-size: 14px; }
  .about-extracta { grid-template-columns: minmax(0, 1fr) 40px; }
  .about-copy { grid-column: 1 / -1; padding: 36px 22px; }
  .about-extracta h2 { font-size: 48px; }
  .about-photo { min-height: 320px; }
  .about-signature { gap: 16px; }
  .about-signature i { height: 20px; }
}

/* Logo officiel SVG */
.brand { min-width: 0; }
.brand-logo { display: block; width: 220px; max-width: 100%; height: auto; }
@media (max-width: 700px) {
  .brand-logo { width: 180px; }
}


/* MARQUES — logos blancs sur fond noir, sans animation automatique.
   Chaque marque dispose de son propre fichier, issu de son site officiel. */
.brands-band { padding: 32px clamp(22px, 3.3vw, 64px); background: #090909; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.brands-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.brands-heading h2 { margin: 0; color: var(--orange); font: 600 11px/1.5 "Inter", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.brands-heading span { color: #a9a39b; font-size: 11px; }
.brands-scroll { overflow-x: auto; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: #6e6e6e #090909; scroll-snap-type: x proximity; }
.brands-scroll:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
.brands-list { display: flex; align-items: center; gap: 28px; width: max-content; list-style: none; padding: 0; margin: 0; }
.brands-list li { flex: 0 0 auto; scroll-snap-align: start; }
@media (max-width: 700px) {
 .brands-band { padding-top: 26px; padding-bottom: 22px; }
 .brands-heading { flex-direction: column; gap: 6px; margin-bottom: 20px; }
 .brands-list { gap: 18px; }
}

/* Logos indépendants, affichage blanc en grand */
.brands-list { gap: 52px; }
.brandmark { display: flex; align-items: center; justify-content: center; width: 260px; height: 120px; overflow: hidden; }
.brandmark img { position: static; display: block; width: 240px; height: 96px; object-fit: contain; filter: brightness(0) invert(1); }
.brandmark-1 img, .brandmark-5 img, .brandmark-7 img { filter: grayscale(1) invert(1) brightness(3); mix-blend-mode: screen; }
.brandmark-9 img, .brandmark-10 img { width: 420px; height: 200px; max-width: none; flex-shrink: 0; }
@media (max-width: 700px) { .brands-list { gap: 28px; } .brandmark { width: 240px; } }
