:root {
  --bg: #f6f3ed;
  --paper: #ffffff;
  --ink: #1f2933;
  --muted: #667085;
  --line: #e6e0d6;
  --brand: #214e3f;
  --brand-dark: #15342a;
  --brand-2: #c88a2d;
  --soft: #eaf2ec;
  --soft-2: #fff8ea;
  --shadow: 0 22px 60px rgba(31, 41, 51, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { width: min(860px, calc(100% - 40px)); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 237, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 224, 214, 0.85);
}

.contact-strip {
  background: var(--brand);
  color: #fff;
  font-size: 0.88rem;
}

.strip-content {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.strip-content a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.logo {
  display: inline-grid;
  line-height: 1.05;
  min-width: 210px;
}

.logo span:first-child {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand);
}

.logo span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-weight: 650;
  color: #344054;
  font-size: 0.96rem;
}

.navlinks a:hover { color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
  border: 1px solid var(--brand);
  box-shadow: 0 10px 28px rgba(33, 78, 63, 0.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
  box-shadow: 0 14px 34px rgba(33, 78, 63, 0.24);
}

.btn.secondary {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.btn.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.94rem;
}

.hero {
  padding: 84px 0 62px;
  background:
    radial-gradient(circle at top left, rgba(200, 138, 45, 0.16), transparent 36%),
    linear-gradient(180deg, #fbf7ef, var(--bg));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 48px;
  align-items: center;
}

.hero-copy { max-width: 680px; }

.eyebrow {
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 850;
  font-size: 0.78rem;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin: 14px 0 20px;
  font-size: clamp(2.45rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(1.07rem, 1.7vw, 1.24rem);
  color: #475467;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: #475467;
  font-weight: 700;
  font-size: 0.88rem;
}

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid rgba(230, 224, 214, 0.9);
  transform: rotate(1.2deg);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 18px 20px 20px;
  color: #475467;
  font-size: 0.96rem;
  background: #fff;
}

.section { padding: 72px 0; }

.intro-section { padding-top: 32px; }

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-card,
.card,
.offer,
.price-card,
.project,
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(31, 41, 51, 0.06);
}

.intro-card {
  padding: 24px;
}

.intro-card strong {
  color: var(--brand);
  font-size: 1.03rem;
}

.intro-card p { margin: 8px 0 0; color: #475467; }

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-header p { color: #475467; font-size: 1.07rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 28px;
}

.card h3 { color: var(--brand); }

.card p,
.offer p,
.price-card p { color: #475467; }

ul { padding-left: 1.2em; margin: 14px 0 0; }
li { margin: 6px 0; }

.visual-section {
  background: var(--soft);
  border-block: 1px solid rgba(33, 78, 63, 0.08);
}

.split {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 48px;
  align-items: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  color: #344054;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 900;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 170px 170px;
  gap: 14px;
}

.visual-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 34px rgba(31, 41, 51, 0.12);
}

.visual-grid img:first-child {
  grid-row: span 2;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.offer {
  padding: 24px;
  display: flex;
  min-height: 300px;
  flex-direction: column;
}

.offer small {
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 850;
}

.charge {
  margin-top: auto;
  padding-top: 16px;
  color: var(--brand);
  font-weight: 800;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
}

.price {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.04em;
  margin: 18px 0;
}

.contact-section { padding-top: 42px; }

.contact-card {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(33, 78, 63, 0.96), rgba(21, 52, 42, 0.96)),
    var(--brand);
  color: #fff;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}

.contact-card .eyebrow { color: #f3c77d; }
.contact-card .btn {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
  box-shadow: none;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Exemples */
.examples-hero {
  padding-bottom: 54px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.projects {
  display: grid;
  gap: 26px;
}

.project {
  overflow: hidden;
}

.project-photo,
.project-gallery,
.residential-grid {
  width: 100%;
}

.project-photo {
  height: 330px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  height: 330px;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.project-gallery img,
.residential-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery img + img {
  border-left: 1px solid var(--line);
}

.residential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 260px;
  border-bottom: 1px solid var(--line);
}

.residential-grid img + img {
  border-left: 1px solid var(--line);
}

.project-content {
  padding: 30px;
}

.project-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

.project-top p { color: #475467; margin-bottom: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  white-space: nowrap;
  font-weight: 850;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.project-metrics div {
  padding: 14px;
  border-radius: 16px;
  background: var(--soft-2);
  border: 1px solid #f0dfbd;
}

.project-metrics small {
  display: block;
  color: #7a5a23;
  font-weight: 750;
  margin-bottom: 4px;
}

.project-metrics strong {
  display: block;
  color: var(--brand);
  font-size: 1.04rem;
}

.project-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.project-body h3 { color: var(--brand); }

.note {
  color: #667085;
  font-size: 0.96rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 18px;
}

.footer {
  padding: 36px 0;
  background: #192821;
  color: rgba(255, 255, 255, 0.82);
}

.footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 28px;
}

.footer strong { color: #fff; }

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
    min-height: auto;
  }

  .navlinks {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .split,
  .intro-grid,
  .cards,
  .pricing,
  .contact-card,
  .project-top,
  .project-body {
    grid-template-columns: 1fr;
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-media {
    transform: none;
  }

  .project-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .strip-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
    gap: 3px;
  }

  .hero {
    padding: 54px 0 42px;
  }

  .section {
    padding: 52px 0;
  }

  .offer-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .visual-grid {
    grid-template-rows: none;
  }

  .visual-grid img {
    min-height: 190px;
  }

  .offer {
    min-height: auto;
  }

  .project-photo,
  .project-gallery {
    height: auto;
  }

  .project-gallery,
  .residential-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .project-gallery img,
  .residential-grid img {
    height: 220px;
  }

  .project-gallery img + img,
  .residential-grid img + img {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .project-content {
    padding: 22px;
  }

  .project-metrics {
    grid-template-columns: 1fr;
  }
}


/* --- Version précédente restaurée : galeries enrichies sans restructuration V12 --- */
.trust-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 4px;
}
.trust-row span {
  white-space: nowrap;
}
.project-gallery.gallery-four,
.project-gallery.gallery-five {
  display: grid;
  height: 330px;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.project-gallery.gallery-four { grid-template-columns: repeat(4, 1fr); }
.project-gallery.gallery-five { grid-template-columns: repeat(5, 1fr); }
.project-gallery.gallery-four img,
.project-gallery.gallery-five img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-gallery.gallery-four img + img,
.project-gallery.gallery-five img + img {
  border-left: 1px solid var(--line);
}
.residential-grid-large {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  height: 520px;
}
.residential-grid-large img:nth-child(n + 5) { border-top: 1px solid var(--line); }
.residential-grid-large img:nth-child(4n + 1) { border-left: 0; }
@media (max-width: 980px) {
  .trust-row { flex-wrap: wrap; overflow-x: visible; }
  .project-gallery.gallery-four,
  .project-gallery.gallery-five { height: auto; grid-template-columns: repeat(2, 1fr); }
  .project-gallery.gallery-four img,
  .project-gallery.gallery-five img { height: 240px; }
  .project-gallery.gallery-four img:nth-child(2n+1),
  .project-gallery.gallery-five img:nth-child(2n+1) { border-left: 0; }
  .project-gallery.gallery-four img:nth-child(n+3),
  .project-gallery.gallery-five img:nth-child(n+3) { border-top: 1px solid var(--line); }
  .residential-grid-large { grid-template-columns: repeat(2, 1fr); height: auto; }
}
@media (max-width: 680px) {
  .project-gallery.gallery-four,
  .project-gallery.gallery-five,
  .residential-grid-large { grid-template-columns: 1fr; }
  .project-gallery.gallery-four img,
  .project-gallery.gallery-five img,
  .residential-grid-large img { height: 220px; }
  .project-gallery.gallery-four img + img,
  .project-gallery.gallery-five img + img,
  .residential-grid-large img + img { border-left: 0; border-top: 1px solid var(--line); }
}


/* --- Base V7 restaurée : bandeau AMO/PV/ISO à droite + photo en dessous --- */
.hero {
  padding: 72px 0 44px;
}

.hero-grid-bandeau {
  grid-template-columns: minmax(0, 1.08fr) 545px;
  gap: 72px;
  align-items: start;
}

.hero-copy {
  max-width: 760px;
}

.hero-side-card {
  align-self: start !important;
  justify-self: end;
  width: 545px;
  max-width: 545px;
  margin-top: 124px;
  display: block;
}

.framed-offer.compact {
  display: block;
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  padding: 26px 36px;
  border-radius: 34px;
  background: rgba(255,255,255,0.84);
  border: 1px solid #ddd8cd;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.05);
}

.framed-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 22px;
  padding: 24px 0;
  align-items: center;
}

.framed-row + .framed-row {
  border-top: 2px solid #e0dbd1;
}

.framed-key {
  font-weight: 900;
  font-size: 3.45rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brand);
}

.framed-text {
  max-width: 305px;
  font-size: 0.96rem;
  line-height: 1.6;
  font-weight: 620;
  color: #667085;
}

.hero-photo-section {
  padding-top: 12px;
  padding-bottom: 42px;
}

.hero-media-below {
  max-width: 920px;
  margin: 0 auto;
  border-radius: 28px;
  transform: none;
}

.hero-media-below img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
}

.hero-media-below figcaption {
  display: none;
}

@media (max-width: 1240px) {
  .hero-grid-bandeau {
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 44px;
  }
  .hero-side-card {
    width: 500px;
    max-width: 500px;
    margin-top: 108px;
  }
  .framed-offer.compact {
    padding: 24px 30px;
  }
  .framed-row {
    grid-template-columns: 96px 1fr;
    gap: 18px;
  }
  .framed-key {
    font-size: 3rem;
  }
  .framed-text {
    max-width: 288px;
    font-size: 0.93rem;
  }
}

@media (max-width: 980px) {
  .hero-grid-bandeau {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-side-card {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }
  .framed-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .framed-text {
    max-width: none;
  }
}


/* --- V8.5 : logo, bandeaux exemples, news, cadre AMO/PV/ISO réduit --- */
body {
  font-family: Eurostile, "Eurostile Extended", Microgramma, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.05;
  min-width: 250px;
}
.logo-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 42px;
  border-radius: 999px;
}
.logo-text {
  display: inline-grid;
  line-height: 1.05;
}
.logo-text span:first-child,
.logo > span:first-child {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand);
}
.logo-text span:last-child,
.logo > span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
}
.nav { gap: 18px; }
.navlinks { gap: 16px; font-size: 0.92rem; }
.navlinks a.active { color: var(--brand); }
.hero-title-lines {
  display: flex;
  flex-direction: column;
  gap: 0.02em;
  max-width: 11.5ch;
}
.hero-title-lines span { display: block; }
.hero-grid-bandeau {
  grid-template-columns: minmax(0, 1.18fr) 410px;
  gap: 54px;
  align-items: start;
}
.hero-side-card {
  width: 410px;
  max-width: 410px;
  margin-top: 70px;
}
.framed-offer.compact {
  padding: 18px 24px;
  border-radius: 28px;
}
.framed-row {
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 15px 0;
}
.framed-row + .framed-row { border-top-width: 1px; }
.framed-key { font-size: 2.35rem; }
.framed-text {
  max-width: 260px;
  font-size: 0.86rem;
  line-height: 1.45;
}
.trust-row span { white-space: nowrap; }
.approach-photo-single {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 31, 18, 0.10);
  background: #edf2ee;
}
.approach-photo-single img {
  width: 100%;
  height: auto;
}
.project-with-banner .project-banner {
  margin: 0 0 1.1rem;
  border-radius: 24px;
  overflow: hidden;
  background: #edf2ee;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}
.project-with-banner .project-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.project-with-banner .project-gallery,
.project-with-banner .residential-grid { display: none; }
.news-hero { padding-bottom: 34px; }
.news-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.news-sidebar {
  position: relative;
}
.news-sticky {
  position: sticky;
  top: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.06);
}
.news-sticky strong {
  display: block;
  margin-top: 10px;
  font-size: 1.35rem;
  color: var(--brand);
}
.news-article {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow);
}
.news-article h2 {
  margin-top: 8px;
}
.news-meta {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.86rem;
}
.news-warning {
  padding: 14px 16px;
  border: 1px solid rgba(200, 138, 45, 0.28);
  background: var(--soft-2);
  border-radius: 18px;
  color: #72502a;
  font-weight: 650;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.news-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.9rem;
}
.news-table th,
.news-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.news-table th {
  color: var(--brand);
  background: #f8f6f1;
  font-weight: 850;
}
.news-table tr:last-child td { border-bottom: 0; }
.news-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.news-points p {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.68);
}
@media (max-width: 1240px) {
  .hero-grid-bandeau { grid-template-columns: minmax(0, 1fr) 370px; gap: 36px; }
  .hero-side-card { width: 370px; max-width: 370px; margin-top: 62px; }
  .framed-key { font-size: 2.1rem; }
  .framed-text { max-width: 230px; font-size: 0.82rem; }
  .navlinks { gap: 12px; font-size: 0.88rem; }
  .btn.small { padding: 0 12px; }
}
@media (max-width: 980px) {
  .hero-grid-bandeau { grid-template-columns: 1fr; gap: 26px; }
  .hero-side-card { width: 100%; max-width: none; margin-top: 0; }
  .hero-title-lines { max-width: none; }
  .framed-row { grid-template-columns: 1fr; gap: 8px; }
  .framed-text { max-width: none; }
  .news-layout { grid-template-columns: 1fr; }
  .news-sticky { position: static; }
  .news-points { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .logo { min-width: 0; gap: 10px; }
  .logo-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .news-article { padding: 24px; }
  .project-with-banner .project-banner { border-radius: 18px; }
  .approach-photo-single { border-radius: 18px; }
}

/* Correctif logo : annule l'héritage trop petit de l'ancien sélecteur .logo span:last-child */
.logo .logo-text {
  color: inherit;
  font-size: 1rem;
}
.logo .logo-text span:first-child {
  font-size: 1rem;
}
.logo .logo-text span:last-child {
  font-size: 0.86rem;
}


/* --- V8.8 : nouvelle news photovoltaïque --- */
.news-quote {
  margin: 24px 0;
  padding: 22px 26px;
  border-left: 5px solid var(--brand);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(234, 242, 236, 0.92), rgba(255,255,255,0.78));
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 800;
}
.news-points-wide {
  margin: 20px 0;
}
.news-steps {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}
.news-steps div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.68);
}
.news-steps span {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}
.news-steps strong {
  color: var(--brand);
}
.news-steps p {
  margin: 0;
}
.news-source-note {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(33, 78, 63, 0.12);
  border-radius: 20px;
  background: #f8f6f1;
  color: #4c5968;
}
.news-source-note h3 {
  margin-top: 0;
}


/* --- Section profil --- */
.profile-section {
  background: linear-gradient(180deg, rgba(238, 243, 238, 0.8), rgba(255, 255, 255, 0.95));
}
.profile-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(27, 82, 65, 0.14);
  border-radius: 30px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 20px 44px rgba(20, 32, 42, 0.08);
}
.profile-main h2 {
  margin: 0.35rem 0 1rem;
}
.profile-main p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}
.profile-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.profile-details article {
  background: #f8faf7;
  border: 1px solid rgba(27, 82, 65, 0.12);
  border-radius: 22px;
  padding: 1.1rem;
}
.profile-details strong {
  display: block;
  color: var(--green);
  font-size: 1rem;
  margin-bottom: 0.45rem;
}
.profile-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .profile-card,
  .profile-details {
    grid-template-columns: 1fr;
  }
}


/* --- V9 : News semaine 20, IRVE et ombrières --- */
.use-cases-section {
  background: linear-gradient(180deg, #fff, rgba(234, 242, 236, 0.55));
  border-block: 1px solid rgba(33, 78, 63, 0.08);
}
.use-case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.use-case-card {
  min-height: 310px;
}
.news-stack {
  display: grid;
  gap: 28px;
}
.news-infographic-preview {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.06);
}
.news-infographic-preview img {
  width: 100%;
  height: auto;
}
.news-infographic-preview figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  background: #f8f6f1;
}
.news-archive {
  background: rgba(255,255,255,0.66);
  box-shadow: 0 10px 28px rgba(31, 41, 51, 0.05);
}
.news-archive-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}
.profile-details strong { color: var(--brand); }
@media (max-width: 980px) {
  .use-case-grid { grid-template-columns: 1fr; }
}
