/* =========================================================
   HIGH FIVE RH — Feuille de style principale
   Palette : vert / noir / blanc — DM Serif Display + DM Sans
   ========================================================= */

:root {
  --green: #5a7a5a;
  --green-dark: #3a5a3a;
  --green-light: #e8f0e8;
  --green-mid: #8aaa8a;
  --black: #1a1a1a;
  --off-white: #f7f5f0;
  --white: #ffffff;
  --border: rgba(90, 122, 90, 0.2);
  --text-muted: #5c5c5c;
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* Accessibilité : lien d'évitement + focus visible */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-dark);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
  font-size: 14px;
}
.skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { width: 80px; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.1rem;
  align-items: center;
}
.nav-menu a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--black);
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] { color: var(--green); }
.nav-menu a[aria-current="page"]:not(.nav-cta) { border-bottom: 1px solid var(--green); }

.nav-cta {
  background: var(--green-dark);
  color: var(--white) !important;
  padding: 11px 24px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green); }
.nav-cta[aria-current="page"] { border-bottom: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  width: 40px;
  height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   SECTIONS — communs
   ========================================================= */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 400;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.section-intro {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 640px;
  line-height: 1.8;
}
.section-divider {
  width: 40px;
  height: 2px;
  background: var(--green);
  margin: 1.5rem 0 3rem;
}
.section-intro + .section-intro { margin-top: 1.25rem; }
.section--light { background: var(--off-white); }
.section--white { background: var(--white); }

.inline-link {
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--green-mid);
  transition: color 0.2s, border-color 0.2s;
}
.inline-link:hover { color: var(--green); border-color: var(--green); }

.text-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--green-mid);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--green); border-color: var(--green); }

/* =========================================================
   HERO — page d'accueil
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  padding-top: var(--nav-h);
}
.hero-left {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.hero-title em { color: var(--green-mid); font-style: italic; }
.hero-title .h1-sub {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.4px;
  line-height: 1.6;
  color: var(--green-mid);
  margin-top: 1.75rem;
  max-width: 520px;
}
.hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero-cta {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
  border-radius: 2px;
  align-self: flex-start;
}
.hero-cta:hover { background: var(--green); transform: translateY(-1px); }
.hero-note {
  margin-top: 1rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}





/* =========================================================
   HERO — pages intérieures
   ========================================================= */
.page-hero {
  background: var(--black);
  padding: calc(var(--nav-h) + 5rem) 2rem 4.5rem;
}
.page-hero .section-tag { color: var(--green-mid); }
.page-hero .section-divider { background: var(--green); }
.page-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.12;
  color: var(--white);
  font-weight: 400;
  max-width: 900px;
}
.page-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 300;
  line-height: 1.8;
  max-width: 660px;
}

/* Fil d'Ariane */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: 0.5; }

/* =========================================================
   À PROPOS (+ portrait)
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.about-portrait img {
  width: 100%;
  border-radius: 2px;
}
.about-portrait figcaption {
  margin-top: 1rem;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
}
.about-qualities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}
.quality {
  background: var(--off-white);
  padding: 1.25rem;
  font-size: 14px;
  color: var(--green-dark);
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.4;
}
.about-body blockquote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.5;
  border-left: 3px solid var(--green);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.about-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1rem;
}

/* =========================================================
   PRESTATIONS
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 3rem;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card { background: var(--white); padding: 3rem; display: flex; flex-direction: column; }
.service-card--dark { background: var(--black); }
.service-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--green-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.service-card--dark .service-num { color: rgba(255, 255, 255, 0.09); }
.service-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}
.service-card--dark .service-title { color: var(--white); }
.service-subtitle {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.service-card--dark .service-subtitle { color: var(--green-mid); }
.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2rem;
}
.service-card--dark .service-desc { color: rgba(255, 255, 255, 0.65); }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  font-size: 14px;
  color: var(--black);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.service-card--dark .service-list li { color: rgba(255, 255, 255, 0.82); }
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--green);
}
.service-footer {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}
.service-card--dark .service-footer { color: var(--green-mid); }
.service-card--dark .text-link { color: var(--green-mid); border-color: rgba(255, 255, 255, 0.3); }
.service-card--dark .text-link:hover { color: var(--white); border-color: var(--white); }

/* Bloc prestation détaillé (page Prestations) */
.offer { padding: 6rem 2rem; }
.offer--alt { background: var(--off-white); }
.offer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}
.offer-aside {
  border-left: 2px solid var(--green);
  padding-left: 1.75rem;
  position: sticky;
  top: calc(var(--nav-h) + 3rem);
}
.offer-aside h3 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  font-weight: 500;
}
.offer-aside h3 + ul { margin-bottom: 2rem; }
.offer-aside ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.offer-aside li { font-size: 14px; color: var(--text-muted); font-weight: 300; line-height: 1.6; }
.offer-body h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--green-dark);
  margin: 2.5rem 0 1rem;
}
.offer-body p { font-size: 15px; color: var(--black); font-weight: 300; line-height: 1.85; margin-bottom: 1rem; }
.offer-body ul { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin: 1.5rem 0; }
.offer-body ul li {
  font-size: 15px;
  padding-left: 1.4rem;
  position: relative;
  color: var(--black);
  font-weight: 300;
  line-height: 1.65;
}
.offer-body ul li strong { font-weight: 500; color: var(--black); }
.offer-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1px;
  background: var(--green);
}

/* =========================================================
   MÉTHODE
   ========================================================= */
.section--dark-green { background: var(--green-dark); }
.section--dark-green .section-title { color: var(--white); }
.section--dark-green .section-tag { color: var(--green-mid); }
.section--dark-green .section-intro { color: rgba(255, 255, 255, 0.65); }
.section--dark-green .section-divider { background: var(--green-mid); }
.section--dark-green .text-link { color: var(--green-mid); border-color: rgba(255, 255, 255, 0.3); }
.section--dark-green .text-link:hover { color: var(--white); border-color: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  list-style: none;
}
.step { background: var(--green-dark); padding: 2.5rem 2rem; }
.step-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.14);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.step-title { font-size: 16px; font-weight: 500; color: var(--white); margin-bottom: 1rem; }
.step-goal {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}
.step-text { font-size: 14px; color: rgba(255, 255, 255, 0.65); font-weight: 300; line-height: 1.7; }

.value-box {
  margin-top: 4rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.value-item { padding: 2rem; background: var(--green-dark); }
.value-title { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 0.5rem; }
.value-text { font-size: 13px; color: rgba(255, 255, 255, 0.6); font-weight: 300; line-height: 1.7; }

/* =========================================================
   CAS TYPIQUES
   ========================================================= */
.cas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  list-style: none;
}
.cas-item {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 2px;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Lien de renvoi à l’intérieur d’une carte : collé en bas, marge réduite */
.cas-item .text-link { margin-top: auto; padding-top: 1.25rem; font-size: 13px; }
.cas-item:hover { border-color: var(--green); transform: translateY(-2px); }
.cas-item--accent { border-color: var(--green); background: var(--green-light); }
.cas-icon {
  width: 36px;
  height: 36px;
  background: var(--green-light);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.cas-item--accent .cas-icon { background: var(--white); }
.cas-icon svg { width: 18px; height: 18px; stroke: var(--green-dark); fill: none; stroke-width: 1.5; }
.cas-title { font-size: 15px; font-weight: 500; color: var(--black); line-height: 1.45; }
.cas-item--accent .cas-title { color: var(--green-dark); }

/* =========================================================
   FAQ (accordéon accessible)
   ========================================================= */
.faq-list { margin-top: 3rem; border-top: 1px solid var(--border); }
.faq-page { max-width: 820px; }
.faq-page .faq-list { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 3rem 1.5rem 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--green-dark);
  position: relative;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0.5rem;
  top: 1.25rem;
  font-size: 22px;
  font-weight: 300;
  color: var(--green);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--green); }
.faq-answer {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.85;
  padding: 0 3rem 1.75rem 0;
}
.faq-answer p + p { margin-top: 0.75rem; }

/* =========================================================
   BANDEAU DE RÉFÉRENCES (carrousel défilant)
   ========================================================= */
.refs {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.refs .section-tag {
  color: var(--black);
  margin-bottom: 2rem;
  text-align: center;
  padding: 0 1.5rem;
}
.refs-marquee {
  display: flex;
  width: 100%;
  /* dégradé sur les bords : les noms apparaissent et disparaissent en douceur */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.refs-track {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
  flex-shrink: 0;
  min-width: 100%;
  justify-content: space-around;
  animation: refs-scroll 45s linear infinite;
}
.refs-track li {
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--green-dark);
  opacity: 0.7;
  white-space: nowrap;
}
.refs-marquee:hover .refs-track { animation-play-state: paused; }

@keyframes refs-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Sans animation : la liste s’affiche simplement, centrée et sur plusieurs lignes */
@media (prefers-reduced-motion: reduce) {
  .refs-marquee {
    flex-wrap: wrap;
    justify-content: center;
    -webkit-mask-image: none;
    mask-image: none;
    padding: 0 1.5rem;
  }
  .refs-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 1rem 2.25rem; padding-right: 0; flex-shrink: 1; min-width: 0; width: 100%; }
  .refs-track[aria-hidden="true"] { display: none; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.section--black { background: var(--black); }
.section--black .section-title { color: var(--white); }
.section--black .section-tag { color: var(--green-mid); }
.section--black .section-divider { background: var(--green); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-left p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}
.contact-details--top { margin-top: 0; padding-top: 0; border-top: none; }
.contact-detail { display: flex; align-items: baseline; gap: 1rem; }
.contact-detail-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-mid);
  min-width: 62px;
}
.contact-detail-value { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.contact-detail-value a { color: rgba(255, 255, 255, 0.85); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.contact-detail-value a:hover { color: var(--white); border-color: var(--white); }

.deliverable-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
}
.deliverable-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--green-mid);
  margin-bottom: 1.5rem;
}
.deliverable-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.deliverable-list li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 1.5rem;
  position: relative;
  font-weight: 300;
  line-height: 1.5;
}
.deliverable-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--green);
}
.cta-email {
  display: block;
  width: 100%;
  background: var(--green-dark);
  color: var(--white);
  text-decoration: none;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  transition: background 0.2s;
  border-radius: 2px;
}
.cta-email:hover { background: var(--green); }
.cta-note { margin-top: 1rem; font-size: 12px; color: rgba(255, 255, 255, 0.35); text-align: center; font-weight: 300; }

/* Bande de rappel avant footer */
.cta-band { background: var(--green-light); padding: 4rem 2rem; text-align: center; }
.cta-band h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--green-dark);
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.cta-band p { font-size: 15px; color: var(--green-dark); opacity: 0.85; font-weight: 300; margin-bottom: 2rem; }
.cta-band .hero-cta { align-self: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #111; padding: 3rem 2rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-grid {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem 2.5rem;
}
.footer-grid h2 {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-grid p, .footer-grid li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  line-height: 1.9;
}
.footer-grid ul { list-style: none; }
.footer-grid a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.2s; }
.footer-grid a:hover { color: var(--green-mid); }
.footer-logo img { width: 90px; margin-bottom: 1.25rem; }
.footer-linkedin {
  display: inline-block;
  margin-top: 1rem;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-linkedin:hover { color: var(--green-mid); border-color: var(--green-mid); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.45); text-decoration: none; }
.footer-bottom a:hover { color: var(--green-mid); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* =========================================================
   PAGE LÉGALE
   ========================================================= */
.legal { padding: 4rem 2rem 6rem; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-inner h2 {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-dark);
  margin: 3rem 0 0.75rem;
}
.legal-inner h3 { font-size: 15px; font-weight: 500; color: var(--black); margin: 1.5rem 0 0.5rem; }
.legal-inner p, .legal-inner li {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
}
.legal-inner ul { padding-left: 1.5rem; margin: 0.5rem 0 1rem; }
.legal-inner p { margin-bottom: 0.75rem; }
.legal-inner a { color: var(--green-dark); }
.legal-date { font-size: 12px; color: var(--text-muted); }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.legal-table th, .legal-table td {
  border: 1px solid var(--border);
  padding: 0.75rem;
  font-size: 13.5px;
  text-align: left;
  font-weight: 300;
  color: var(--text-muted);
  vertical-align: top;
}
.legal-table th { background: var(--off-white); font-weight: 500; color: var(--green-dark); }

/* =========================================================
   BANDEAU COOKIES
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  border-top: 2px solid var(--green);
  padding: 1.5rem 2rem;
  z-index: 150;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-text { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); font-weight: 300; line-height: 1.6; max-width: 620px; }
.cookie-text a { color: var(--green-mid); }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 11px 24px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid var(--green-mid);
  background: none;
  color: var(--white);
  transition: background 0.2s, color 0.2s;
}
.cookie-btn:hover { background: rgba(255, 255, 255, 0.08); }
.cookie-btn--accept { background: var(--green-dark); border-color: var(--green-dark); }
.cookie-btn--accept:hover { background: var(--green); border-color: var(--green); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .about-grid, .offer-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .offer-aside { position: static; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .cas-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
  .about-portrait { max-width: 400px; }
}

/* Le menu passe en burger dès 1040 px : au-delà, les 5 entrées agrandies
   se chevauchaient avec le logo entre 769 et 1040 px. */
@media (max-width: 1040px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { border-bottom: 1px solid var(--border); }
  .nav-menu li:last-child { border-bottom: none; padding-top: 1rem; }
  .nav-menu a { display: block; padding: 1rem 0; font-size: 16px; }
  .nav-menu a[aria-current="page"]:not(.nav-cta) { border-bottom: none; }
  .nav-cta { text-align: center; padding: 14px 20px; }
}

@media (max-width: 768px) {
  .site-nav { padding: 0 1.25rem; }
  .nav-menu { padding: 0.5rem 1.25rem 1.5rem; }
  .hero { min-height: 76vh; }
  .hero-left { padding: 4.5rem 1.5rem; }
  .page-hero { padding: calc(var(--nav-h) + 3rem) 1.5rem 3.5rem; }

  .section, .offer, .cta-band { padding: 4rem 1.5rem; }
  .services-grid, .steps-grid, .cas-grid, .value-box, .about-qualities { grid-template-columns: 1fr; }
  .service-card { padding: 2.5rem 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-portrait { max-width: 100%; }
  .faq-item summary { padding-right: 2.5rem; font-size: 15px; }
  .faq-answer { padding-right: 0; }
  .refs { padding: 2.5rem 0; }
  .refs .section-tag { margin-bottom: 1.5rem; }
  .refs-track { gap: 2.25rem; padding-right: 2.25rem; animation-duration: 30s; }
  .refs-track li { font-size: 12.5px; letter-spacing: 2px; }
  .cookie-banner { padding: 1.25rem 1.25rem 1.5rem; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
  /* les tableaux légaux ne débordent plus : défilement horizontal contenu */
  .legal-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .legal-table tbody, .legal-table thead { display: table; width: 100%; min-width: 420px; }
  .contact-detail { flex-wrap: wrap; }
}

/* Très petits écrans (iPhone SE et assimilés) */
@media (max-width: 400px) {
  .section, .offer, .cta-band { padding: 3.25rem 1.15rem; }
  .hero-left { padding: 3.5rem 1.15rem; }
  .page-hero { padding: calc(var(--nav-h) + 2.25rem) 1.15rem 2.75rem; }
  .service-card { padding: 2rem 1.35rem; }
  .cas-item { padding: 1.5rem; }
  .seo-prefooter { padding: 2.5rem 1.15rem; }
  .legal-inner { padding: 0 1.15rem; }
}

/* =========================================================
   BLOC SEO AVANT PIED DE PAGE
   ========================================================= */
.seo-prefooter {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 3.5rem 2rem;
}
.seo-prefooter-inner { max-width: 1100px; margin: 0 auto; }
.seo-prefooter h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 1.5rem;
}
.seo-prefooter-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}
.seo-prefooter-body p {
  font-size: 14px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--text-muted);
  margin: 0;
  text-wrap: pretty;
}
.seo-prefooter-body a { color: var(--green-dark); }

@media (max-width: 900px) {
  .seo-prefooter { padding: 3rem 1.5rem; }
  .seo-prefooter-body { grid-template-columns: 1fr; gap: 1.25rem; }
}
