/* ==========================================================================
   Bentejac Frères — Couverture & Zinguerie — Bordeaux
   ========================================================================== */

:root {
  --navy: #0d1235;
  --navy-soft: #1a2150;
  --blue: #1596d1;
  --blue-dark: #0e7ab0;
  --green: #78b41e;
  --green-dark: #4d8a0c;
  --green-deep: #3d7106;
  --cream: #eef5f9;
  --cream-deep: #dcebf3;
  --paper: #ffffff;
  --ink: #0d1235;
  --ink-soft: #4a5270;
  --white: #ffffff;

  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(13,18,53, 0.08);
  --shadow-md: 0 14px 40px rgba(13,18,53, 0.16);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--green-dark); color: var(--white); padding: .6em 1em;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px; background: var(--green-dark);
}

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.6em;
  background: var(--green-dark);
  color: var(--white);
  border: 1px solid var(--green-dark);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--light {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.btn--light:hover { background: var(--white); }

.btn--lg { padding: 1em 2em; font-size: 1rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid rgba(13,18,53,.08);
}
.header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; line-height: 1.1; flex-shrink: 0; }
.header__actions { flex-shrink: 0; }
.brand__logo { height: 38px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; white-space: nowrap; }
.brand__mark {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--blue);
}
.brand__mark span { color: var(--navy); }
.brand__sub {
  font-family: var(--font-head);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-top: 3px;
}

.nav { display: flex; gap: 22px; }
.nav__link {
  font-size: .95rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  padding: 6px 0; position: relative;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--navy); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--green-dark);
}

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .92rem; color: var(--navy); white-space: nowrap;
}
.header__phone svg { width: 18px; height: 18px; color: var(--green-dark); }

.menu-toggle {
  display: none; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--navy); border-radius: var(--radius);
  padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer;
}
.menu-toggle__bars { display: flex; flex-direction: column; gap: 3px; }
.menu-toggle__bars span { width: 16px; height: 2px; background: var(--navy); display: block; }

.menu-panel {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy);
  color: var(--white);
  display: flex; flex-direction: column;
  padding: 72px 24px 24px;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .35s ease, visibility 0s linear .35s;
}
.menu-panel.is-open { transform: translateY(0); visibility: visible; transition-delay: 0s; }
.menu-panel__list { margin-top: auto; }
.menu-panel__foot { margin-bottom: auto; }
.menu-panel__close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--white);
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.menu-panel__list { display: flex; flex-direction: column; gap: 10px; }
.menu-panel__link {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-head); font-size: 1.6rem; padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.menu-panel__link span { font-size: .8rem; color: rgba(255,255,255,.5); font-family: var(--font-body); }
.menu-panel__foot {
  margin-top: 40px; display: flex; flex-direction: column; gap: 8px;
  color: rgba(255,255,255,.7); font-size: .92rem;
}
.menu-panel__foot a { color: var(--white); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f1f7fb 0%, #ffffff 100%);
  color: var(--ink);
}
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 42%;
  background: linear-gradient(165deg, rgba(120,180,30,.14), rgba(21,150,209,.12));
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  padding: 72px 24px 48px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.1; margin-bottom: .55em;
}
.hero h1 em { color: var(--green-dark); font-style: normal; }
.hero__desc { color: var(--ink-soft); font-size: 1.1rem; max-width: 480px; }
.hero__cta { display: flex; gap: 14px; margin-top: 1.8em; flex-wrap: wrap; }

.hero__visual { position: relative; }
.hero__visual::before {
  content: ""; position: absolute; right: -16px; bottom: -16px; width: 72%; height: 72%;
  background: var(--green); opacity: .28; border-radius: 18px;
}
.hero__visual img {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 30% center;
  border-radius: 18px; box-shadow: var(--shadow-md);
}
.hero__badge {
  position: absolute; left: -22px; bottom: -20px; z-index: 2;
  background: var(--white); border-radius: 12px; padding: 14px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
}
.hero__badge b { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--green-dark); line-height: 1; }
.hero__badge span { font-size: .8rem; font-weight: 600; color: var(--ink-soft); line-height: 1.3; }

.hero__points {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 0 24px 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hero__points li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); font-weight: 600; font-size: .92rem; color: var(--navy);
}
.hero__points svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--cream-deep); color: var(--green-dark); flex-shrink: 0; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--white);
  color: var(--navy);
  border-top: 1px solid rgba(13,18,53,.08);
  border-bottom: 1px solid rgba(13,18,53,.08);
  overflow: hidden;
  padding: 14px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee span { font-weight: 600; font-size: .92rem; white-space: nowrap; letter-spacing: .02em; }
.marquee i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head {
  max-width: 640px; margin-bottom: 56px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .ink-soft { color: rgba(255,255,255,.7); }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(13,18,53,.08);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card__icon svg { width: 26px; height: 26px; color: var(--green-dark); }
.service-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.service-card p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 0; }
.service-card__link { display: inline-flex; gap: .4em; margin-top: 14px; font-weight: 600; font-size: .88rem; color: var(--green-dark); }

/* ---------- Process ---------- */
.process {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  counter-reset: step;
}
.process__step { position: relative; padding-top: 10px; }
.process__step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--green-dark);
  opacity: .5;
  display: block;
  margin-bottom: 12px;
}
.process__step h3 { font-size: 1.15rem; }
.process__step p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.stat b {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--green);
}
.stat span { font-size: .85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.bg-navy .stat span { color: rgba(255,255,255,.65); }

/* ---------- Zone ---------- */
.zone {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.zone__mapwrap { width: 100%; }
.zone__map-svg {
  display: block; width: 100%; height: auto; aspect-ratio: 1;
  border-radius: var(--radius); box-shadow: var(--shadow-md); background: var(--cream-deep);
}
.zone__mapnote {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px;
  margin: 12px 0 0; font-size: .8rem; color: var(--ink-soft);
}
.zone__mapnote a { color: var(--green-dark); font-weight: 600; }
.zone__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4em; }
.zone__list li {
  background: var(--white); border: 1px solid rgba(13,18,53,.1);
  padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.testimonial__stars { color: var(--green-dark); letter-spacing: .1em; margin-bottom: 14px; }
.testimonial p { font-style: italic; color: var(--ink); }
.testimonial__author { font-weight: 600; font-size: .9rem; color: var(--navy); }
.testimonial__role { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Badges / certifications ---------- */
.badges { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.badge {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 140px; text-align: center;
}
.badge__icon {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.badge__icon svg { width: 30px; height: 30px; color: var(--blue-dark); }
.badge span { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }


.cta-banner {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: .2em; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }

/* ---------- Page header (sous-pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; pointer-events: none;
}
.page-hero::before {
  width: 30%;
  background: linear-gradient(165deg, #8cc63f, var(--green-dark));
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 14% 100%);
  opacity: .9;
}
.page-hero::after {
  width: 22%;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  clip-path: polygon(66% 0, 100% 0, 100% 100%, 34% 100%);
  opacity: .8;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero p, .page-hero h1 { max-width: 60%; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1em; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 600px; }

/* ---------- Prestations détaillées ---------- */
.service-detail {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid rgba(13,18,53,.08);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail__visual {
  background: var(--cream-deep);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.service-detail__visual svg { width: 34%; height: 34%; color: var(--blue-dark); }
.service-detail__visual::after {
  content: "Photo à venir";
  position: absolute; bottom: 14px; font-size: .76rem; color: var(--ink-soft);
}
.service-detail__num {
  font-family: var(--font-head); font-size: 1rem; color: var(--green-dark); font-weight: 700;
}
.service-detail h2 { margin-top: .3em; }
.service-detail__points { margin-top: 1.2em; display: flex; flex-direction: column; gap: 10px; }
.service-detail__points li { display: flex; gap: 10px; font-size: .95rem; }
.service-detail__points svg { width: 20px; height: 20px; color: var(--green-dark); flex-shrink: 0; margin-top: 2px; }

/* ---------- À propos / entreprise ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.about-grid__visual {
  background: var(--cream-deep);
  border-radius: var(--radius);
  aspect-ratio: 5/4;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-grid__visual svg { width: 30%; height: 30%; color: var(--blue-dark); }
.about-grid__visual::after {
  content: "Photo de l'équipe — à venir";
  position: absolute; bottom: 14px; font-size: .76rem; color: var(--ink-soft);
}

.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--cream-deep); }
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -34px; top: 2px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--green-dark);
  border: 3px solid var(--paper);
}
.timeline__year { font-family: var(--font-head); font-weight: 700; color: var(--green-dark); }
.timeline__item h3 { font-size: 1.05rem; margin: .2em 0; }
.timeline__item p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 20px; }
.value-card__icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--green-dark);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.value-card__icon svg { width: 28px; height: 28px; color: var(--white); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item__icon svg { width: 20px; height: 20px; color: var(--green-dark); }
.contact-item h3 { font-size: .98rem; margin-bottom: .2em; }
.contact-item p, .contact-item a { color: var(--ink-soft); font-size: .94rem; margin: 0; }
.contact-item a:hover { color: var(--green-dark); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9rem; }
.hours-table td { padding: 4px 0; color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--navy); }

.form-card {
  background: var(--white); border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(13,18,53,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; padding: .75em .9em; border: 1px solid rgba(13,18,53,.18);
  border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-dark);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }

.map-placeholder {
  margin-top: 40px;
  background: var(--cream-deep);
  border-radius: var(--radius);
  aspect-ratio: 16/5;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: .9rem; gap: 10px;
}
.map-placeholder svg { width: 22px; height: 22px; color: var(--blue-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 24px; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand { font-family: var(--font-head); font-size: 1.4rem; color: var(--white); margin-bottom: .5em; }
.footer__brand span { color: var(--green); }
.footer__col h4 { color: var(--white); font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1em; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: .82rem; flex-wrap: wrap; gap: 12px;
}
.footer__socials { display: flex; gap: 14px; }
.footer__socials a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.footer__socials svg { width: 16px; height: 16px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .header__phone { display: none; }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .menu-toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; padding: 44px 24px 36px; gap: 40px; }
  .hero__points { grid-template-columns: 1fr; gap: 12px; padding-bottom: 40px; }
  .hero__visual img { aspect-ratio: 3 / 2; }
  .hero__badge { left: 12px; bottom: -22px; }
  .hero__points { padding-top: 14px; }
  .hero::before { width: 70%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .zone, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .page-hero::before { width: 18%; opacity: .55; }
  .page-hero::after { width: 12%; opacity: .45; }
  .page-hero p, .page-hero h1 { max-width: 100%; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .header__actions .btn { display: none; }
  .brand__logo { height: 32px; }
  .brand__mark { font-size: .85rem; white-space: nowrap; }
  .hero::before { display: none; }
  .hero__inner { padding-top: 32px; }
  .menu-toggle { padding: 8px 12px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .brand__sub { font-size: .55rem; white-space: nowrap; }
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px; flex-direction: column; text-align: center; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}


/* ---------- Photos / réalisations ---------- */
.service-detail__visual--photo { overflow: hidden; }
.service-detail__visual--photo::after { display: none; }
.service-detail__visual--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.about-grid__visual--photo { overflow: hidden; }
.about-grid__visual--photo::after { display: none; }
.about-grid__visual--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.gallery-filters button {
  font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; background: var(--white);
  border: 1px solid rgba(13,18,53,.18); color: var(--navy);
  transition: background .2s, color .2s, border-color .2s;
}
.gallery-filters button:hover { border-color: var(--green-dark); }
.gallery-filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }

.gallery { columns: 3; column-gap: 20px; }
.gallery__item {
  break-inside: avoid; margin: 0 0 20px; position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--cream-deep); cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery__item[hidden] { display: none; }
.gallery__item img { width: 100%; height: auto; display: block; transition: transform .35s ease; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  font-size: .82rem; font-weight: 600; color: var(--white);
  background: linear-gradient(to top, rgba(13,18,53,.82), rgba(13,18,53,0));
}

.preview-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.preview-strip a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--cream-deep); }
.preview-strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.preview-strip a:hover img { transform: scale(1.05); }
.section-cta { text-align: center; margin-top: 36px; }

.video-block { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.video-block video { display: block; width: 280px; max-width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 22px; background: var(--navy); box-shadow: var(--shadow-md); }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(13,18,53,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox button {
  position: absolute; top: 18px; right: 22px; background: none; border: none;
  color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer;
}

@media (max-width: 980px) {
  .gallery { columns: 2; }
  .preview-strip { grid-template-columns: repeat(2, 1fr); }
  .video-block { grid-template-columns: 1fr; justify-items: start; gap: 28px; }
}
@media (max-width: 600px) {
  .gallery { column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }
}

/* ---------- Hiérarchie typographique ---------- */
:root { --text-body: #5c6382; --text-lead: #2f3763; }

body { font-size: 16px; }
p { color: var(--text-body); line-height: 1.75; }

/* Titres */
h1 { font-weight: 800; letter-spacing: -.02em; }
h2 { font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
h3 { font-weight: 700; letter-spacing: -.005em; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); line-height: 1.06; }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.5rem); line-height: 1.08; }
.section-head h2, .service-detail h2, .about-grid h2, .zone h2, .video-block h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.8rem);
}
.section-head h2::after, .service-detail h2::after, .about-grid h2::after,
.zone h2::after, .video-block h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue)); margin-top: 18px;
}
.section-head--center h2::after { margin-left: auto; margin-right: auto; }
.service-card h3, .process__step h3, .value-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: .45em; }
.testimonial__author { font-family: var(--font-head); font-weight: 700; }

/* Surtitres */
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .18em; margin-bottom: 1.1em; }
.service-detail__num { font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-dark); }

/* Sous-titres (chapeaux) */
.section-head p, .hero__desc {
  font-size: 1.2rem; font-weight: 500; line-height: 1.6; color: var(--text-lead);
}
.page-hero p { font-size: 1.2rem; font-weight: 500; line-height: 1.6; color: rgba(255,255,255,.88); }
.cta-banner p { font-size: 1.1rem; font-weight: 500; }

/* Texte courant */
.service-card p, .process__step p, .value-card p, .service-detail p, .about-grid p,
.contact-item p, .form-card > p {
  font-size: .98rem; font-weight: 400; line-height: 1.75; color: var(--text-body);
}
.service-detail__points li { font-size: 1rem; font-weight: 500; color: var(--navy); }
.service-card p { font-size: .94rem; }

/* Prestations : le nom de la prestation est le titre, la phrase en dessous est le sous-titre */
.service-detail__num {
  display: block;
  font-size: clamp(1.7rem, 2.8vw, 2.15rem); line-height: 1.15; font-weight: 800;
  font-family: var(--font-head); text-transform: none; color: var(--navy); letter-spacing: -.01em;
}
.service-detail h2 {
  font-size: clamp(1rem, 1.4vw, 1.12rem); font-weight: 600; line-height: 1.35;
  color: var(--blue-dark); margin-top: .6em;
}
.service-detail h2::after { width: 48px; height: 3px; margin-top: 14px; }

/* Mentions légales */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.legal h2::after { display: none; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 1rem; line-height: 1.7; }
.legal ul { display: flex; flex-direction: column; gap: 6px; margin: .8em 0 0; padding-left: 1.2em; list-style: disc; }
.legal a { color: var(--blue-dark); text-decoration: underline; }
.legal .todo { background: #fff3c4; color: #5c4a00; padding: 0 .3em; border-radius: 3px; }
.footer__bottom a:hover { color: var(--white); text-decoration: underline; }

/* Trois prestations / trois chiffres */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
