@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@200;300;400;500&display=swap');

:root {
  --noir:    #1d1d1f;
  --gris1:   #6e6e73;
  --gris2:   #86868b;
  --gris3:   #d2d2d7;
  --fond:    #f5f5f7;
  --blanc:   #ffffff;
  --or:      #8a7350;
  --bleu:    #10162f;
}

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'Inter', sans-serif;
  font-weight: 300;
  color: var(--noir);
  background: var(--blanc);
  line-height: 1.75;
  min-width: 0;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.3px;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }

/* ── NAV ────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 200;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--noir);
}
.logo span { color: var(--or); }
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .3px;
  color: var(--gris1);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--noir); }

/* ── HERO ───────────────────────────────────── */
.hero {
  width: 100%;
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  image-rendering: -webkit-optimize-contrast;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0,0,0,.55) 100%
  );
}
.hero-body {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 90px;
}
.hero-eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 6.5rem);
  color: var(--blanc);
  max-width: 840px;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: rgba(255,255,255,.75); }
.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.7;
}

/* Hero sous-pages */
.hero-sm {
  height: 72vh;
  min-height: 520px;
  align-items: center;
  justify-content: center;
}
.hero-sm .hero-veil {
  background: rgba(0,0,0,.55);
}
.hero-sm .hero-body {
  padding-bottom: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-sm .hero-eyebrow { justify-content: center; }
.hero-sm h1 {
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 24px rgba(0,0,0,.8);
}
.hero-sm .hero-sub {
  margin: 0 auto;
  text-shadow: 0 1px 12px rgba(0,0,0,.8);
}
.hero-sm .hero-eyebrow {
  text-shadow: 0 1px 10px rgba(0,0,0,.8);
}

/* ── SECTION GÉNÉRIQUE ──────────────────────── */
.section { padding: 120px 48px; }
.container { max-width: 1200px; margin: 0 auto; }

/* ── EDITO (image + texte côte à côte) ──────── */
.edito {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.edito-photo {
  overflow: hidden;
  min-height: 580px;
}
.edito-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 9s ease;
}
.edito-photo:hover img { transform: scale(1.04); }
.edito-copy {
  background: var(--fond);
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 28px;
}
.edito-copy h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-bottom: 32px;
  color: var(--noir);
}
.edito-copy h2 em { font-style: italic; color: var(--gris1); }
.edito-copy p {
  font-size: .97rem;
  color: var(--gris1);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ── GRILLE MÉTIERS ─────────────────────────── */
.metiers-bg { background: var(--blanc); }
.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}
.section-intro h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-top: 16px;
  color: var(--noir);
}
.section-intro p {
  font-size: 1.05rem;
  color: var(--gris1);
  margin-top: 20px;
  line-height: 1.75;
}
.metiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.metier-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 3/2;
}
.metier-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
  filter: brightness(.85);
}
.metier-card:hover img {
  transform: scale(1.06);
  filter: brightness(.65);
}
.metier-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 55%);
  display: flex;
  flex-direction:column;
  justify-content: flex-end;
  padding: 44px;
  transition: background .4s;
}
.metier-card:hover .metier-caption {
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 100%);
}
.metier-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
  letter-spacing: 2px;
}
.metier-caption h3 {
  font-size: 2rem;
  color: var(--blanc);
  margin-bottom: 10px;
}
.metier-caption p {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  max-width: 380px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s, transform .4s;
}
.metier-card:hover .metier-caption p {
  opacity: 1;
  transform: translateY(0);
}
.metier-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s .05s, transform .35s .05s, gap .25s;
}
.metier-card:hover .metier-link { opacity: 1; transform: translateY(0); }
.metier-link:hover { gap: 16px; }
.metier-link::after { content: '→'; }

/* ── VALEURS ────────────────────────────────── */
.valeurs-bg { background: var(--fond); }
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  margin-top: 64px;
  border-radius: 18px;
  overflow: hidden;
}
.valeur {
  background: var(--blanc);
  padding: 56px 48px;
  transition: background .3s;
  text-align: center;
}
.valeur:hover { background: #f0f0f2; }
.valeur-line { display: none; }
.valeur h4 { font-size: 1.65rem; margin-bottom: 14px; }
.valeur p { font-size: .9rem; color: var(--gris1); line-height: 1.8; }

/* ── SOLUTIONS ──────────────────────────────── */
.solutions-bg { background: var(--blanc); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--gris3);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 64px;
}
.solution {
  background: var(--fond);
  padding: 48px 40px;
  position: relative;
  transition: background .3s;
  text-align: center;
}
.solution:hover { background: var(--blanc); }
.sol-num { display: none; }
.solution h4 { font-size: 1.4rem; margin-bottom: 12px; font-weight: 400; }
.solution p { font-size: .88rem; color: var(--gris1); line-height: 1.8; text-align: justify; }

/* ── RECRUTEMENT ATOUTS ─────────────────────── */
.atouts-bg { background: var(--fond); }
.atouts-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 64px;
}
.atout {
  background: var(--blanc);
  padding: 48px 40px;
  border-radius: 18px;
  transition: transform .35s, box-shadow .35s;
  text-align: center;
}
.atout:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.07);
}
.atout-num { display: none; }
.atout h4 { font-size: 1.35rem; margin-bottom: 12px; font-weight: 400; }
.atout p { font-size: .88rem; color: var(--gris1); line-height: 1.8; }

/* ── CONTACT ────────────────────────────────── */
.contact-bg { background: var(--bleu); }
.contact-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.contact-inner .eyebrow { color: rgba(255,255,255,.45); }
.contact-inner h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  color: var(--blanc);
  margin: 16px 0 24px;
}
.contact-inner h2 em { font-style: italic; color: rgba(255,255,255,.55); }
.contact-inner > p {
  font-size: 1rem;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin-bottom: 60px;
}
.contact-line {
  width: 40px; height: 1px;
  background: var(--or);
  margin: 0 auto 60px;
}
.contact-items {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}
.ci .ci-label {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 10px;
}
.ci .ci-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blanc);
}

/* ── AVIS CLIENTS ───────────────────────────── */
.avis-bg { background: var(--fond); overflow: hidden; }
.avis-global {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.avis-etoiles { color: #f5a623; font-size: 1.3rem; letter-spacing: 2px; }
.avis-note { font-size: 1.1rem; font-weight: 500; color: var(--noir); }
.avis-count { font-size: .88rem; color: var(--gris1); }
.avis-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 48px 64px 56px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.avis-track::-webkit-scrollbar { display: none; }
.avis-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--blanc);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.avis-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avis-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--noir);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .5px;
  flex-shrink: 0;
}
.avis-name { font-size: .9rem; font-weight: 500; color: var(--noir); }
.avis-date { font-size: .78rem; color: var(--gris2); margin-top: 2px; }
.avis-stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; }
.avis-card p { font-size: .85rem; color: var(--gris1); line-height: 1.75; flex: 1; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--bleu);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .logo { font-size: 1rem; color: rgba(255,255,255,.6); }
footer .logo span { color: rgba(138,115,80,.7); }
footer .copy { font-size: .75rem; color: rgba(255,255,255,.25); }
footer .legal {
  font-size: .82rem;
  color: #ffffff;
  line-height: 2;
  border-top: 1px solid rgba(255,255,255,.3);
  padding-top: 24px;
}

/* ── HAMBURGER ──────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--noir);
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  nav { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.15rem; color: var(--noir); }

  /* Hero */
  .hero { min-height: 560px; }
  .hero-body { padding: 0 20px 56px; }
  .hero-sm { height: 58vh; min-height: 400px; }
  .hero-sm .hero-body { padding: 0 20px; }

  /* Sections */
  .section { padding: 64px 20px; }
  .section-intro { margin-bottom: 48px; }

  /* Edito */
  .edito { grid-template-columns: 1fr; }
  .edito-photo { min-height: 280px; }
  .edito-copy { padding: 52px 28px; }

  /* Grilles */
  .metiers-grid { grid-template-columns: 1fr; }
  .valeurs-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .valeur { padding: 40px 28px; }
  .solutions-grid { grid-template-columns: 1fr !important; border-radius: 12px; }
  .solution { padding: 36px 28px; }
  .solution[style] { grid-column: auto !important; }
  .atouts-grid { grid-template-columns: 1fr; gap: 14px; }
  .atout { padding: 36px 28px; }

  /* Contact */
  .contact-items { gap: 36px; flex-direction: column; align-items: center; }

  /* Footer */
  footer { padding: 28px 20px; }
  .footer-top { flex-direction: column; gap: 10px; text-align: center; }
  footer .legal { font-size: .74rem; line-height: 1.8; }

  /* Avis */
  .avis-track { padding: 28px 20px 40px; }
  .avis-card { flex: 0 0 260px; }
}

/* ── REVEAL ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .15s; }
.reveal-delay2 { transition-delay: .3s; }
