:root {
  --ink: #12100e;
  --cream: #f2e9dc;
  --green: #3e8914;
  --green-ink: #2f6b0f;
  --blue: #36558f;
  --header: 6rem;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --display: "Archivo", "Inter", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(76rem, calc(100% - 2rem));
  margin-inline: auto;
}

.serif { font-family: var(--serif); }

.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #234f08;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section { padding: 4.5rem 0; }
.section-tint {
  background: rgb(18 16 14 / 0.035);
  border-block: 1px solid rgb(18 16 14 / 0.06);
}
.lead {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: rgb(18 16 14 / 0.72);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
}

.btn {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.85rem;
  padding: 0.7rem 1.25rem;
  background: var(--green-ink);
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(18 16 14 / 0.12), 0 4px 12px rgb(62 137 20 / 0.28);
}
.btn:hover { background: #347410; }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgb(242 233 220 / 0.35);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-line {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgb(54 85 143 / 0.4);
  box-shadow: none;
}
.btn-line:hover { background: rgb(54 85 143 / 0.08); }
.btn-block { width: 100%; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid rgb(18 16 14 / 0.1);
  background: rgb(242 233 220 / 0.97);
}
header.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px);
  pointer-events: none;
}
.header-bar {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; min-width: 0; }
.brand img {
  height: 4.25rem;
  width: auto;
  max-width: min(8.5rem, 34vw);
  object-fit: contain;
}
.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 1px solid rgb(54 85 143 / 0.35);
  border-radius: 0.75rem;
  background: var(--cream);
  color: var(--blue);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav a,
.nav summary {
  border-radius: 0.6rem;
  color: var(--blue);
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.45rem 0.7rem;
}
.nav a:hover,
.nav summary:hover,
.nav a[aria-current="page"] { background: rgb(54 85 143 / 0.1); font-weight: 650; }
.nav-drop { position: relative; }
.nav-drop summary {
  list-style: none;
  cursor: pointer;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.mega {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}
.mega-col p,
.mega h2,
.mega > div > p {
  margin: 0 0 0.4rem;
  color: rgb(18 16 14 / 0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mega a { display: block; padding: 0.35rem 0; font-weight: 650; }
.phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.4rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.header-cta { display: none; margin-left: 0.4rem; min-height: 2.75rem; font-size: 1rem; }
body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(242 233 220 / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(242 233 220 / 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}
.hero-top, .hero-grid, .hero h1 { position: relative; }
.hero-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgb(242 233 220 / 0.2);
  padding: 2.5rem 0 1.4rem;
  color: rgb(242 233 220 / 0.78);
  font-size: 0.95rem;
}
.hero-top a { color: inherit; text-decoration: none; }
.hero h1 {
  max-width: 12ch;
  margin: 2.2rem 0 0;
  color: var(--cream);
  font-size: clamp(2.6rem, 7.4vw, 6.6rem);
  letter-spacing: -0.065em;
  line-height: 0.96;
}
.hero h1 span { display: block; color: rgb(242 233 220 / 0.65); }
.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  padding: 2rem 0 2.5rem;
}
.hero p { margin: 0; max-width: 49ch; color: rgb(242 233 220 / 0.82); }
.price-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.1rem;
  border: 1px solid rgb(242 233 220 / 0.2);
  border-radius: 0.85rem;
  padding: 0.7rem 1rem;
  color: rgb(242 233 220 / 0.75);
}
.price-chip strong { font-family: var(--serif); font-size: 1.6rem; color: var(--cream); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.marquee {
  overflow: hidden;
  border-top: 1px solid rgb(242 233 220 / 0.15);
  padding: 1rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 36s linear infinite;
}
.marquee-group { display: flex; flex: 0 0 auto; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: 1.5rem;
  color: rgb(242 233 220 / 0.88);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }

.facts, .cards, .benefits, .steps, .communes, .blog-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.facts {
  grid-template-columns: 1fr;
  border-block: 1px solid rgb(18 16 14 / 0.15);
  padding: 1.1rem 0;
}
.cards { grid-template-columns: 1fr; }
.card, .soft, .rail-card, .rail-links, .rail-meta {
  border: 1px solid rgb(18 16 14 / 0.1);
  border-radius: 1rem;
  background: var(--cream);
}
.card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.3rem 1.35rem 1.2rem;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(18 16 14 / 0.05);
}
.card:hover { border-color: rgb(62 137 20 / 0.45); }
.card strong { font-family: var(--serif); font-size: 1.35rem; }
.card p { margin: 0.55rem 0 0; color: rgb(18 16 14 / 0.7); }
.card .more { margin-top: auto; padding-top: 1rem; color: var(--blue); font-weight: 700; }
.card .tarif { margin-top: 0.8rem; color: var(--blue); font-weight: 700; }
.benefits { grid-template-columns: 1fr; }
.benefit { border-top: 2px solid var(--green); padding-top: 1rem; }
.benefit span { color: var(--blue); font-family: var(--serif); font-weight: 600; }
.benefit h3 { margin: 0.8rem 0 0; font-family: var(--serif); font-size: 1.45rem; }
.benefit p { margin: 0.6rem 0 0; color: rgb(18 16 14 / 0.7); }
.benefit a { color: var(--blue); font-weight: 700; }
.quotes { display: grid; gap: 1rem; }
.quote {
  margin: 0;
  border-radius: 1rem;
  background: var(--cream);
  padding: 1.3rem;
  border: 1px solid rgb(18 16 14 / 0.08);
}
.quote p { margin: 0; }
.quote footer { margin-top: 1rem; font-weight: 700; }
.steps { grid-template-columns: 1fr; border-top: 1px solid rgb(18 16 14 / 0.15); }
.steps li { border-bottom: 1px solid rgb(18 16 14 / 0.15); padding: 1.4rem 0; list-style: none; }
.step-no {
  display: block;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}
.photos {
  background: var(--blue);
  color: var(--cream);
}
.photos .eyebrow {
  color: var(--cream);
}
.photo-grid { display: grid; gap: 1.25rem; }
.photo-grid > figure { margin: 0; min-width: 0; }
.photo-grid figcaption { margin: 0 0 0.6rem; font-weight: 700; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0; min-width: 0; }
.shot {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 1rem;
  background: rgb(18 16 14 / 0.35);
}
.shot img,
.pair img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}
.tag {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.tag-before { background: var(--cream); color: var(--ink); }
.tag-after { background: var(--ink); color: var(--cream); }
.communes { grid-template-columns: 1fr 1fr; }
.communes a, .pills a {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgb(18 16 14 / 0.1);
  border-radius: 0.8rem;
  padding: 0.4rem 0.8rem;
  background: var(--cream);
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.pills { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.pills a { border-radius: 999px; padding-inline: 1rem; }
.faq { border-bottom: 1px solid rgb(18 16 14 / 0.12); }
.faq summary { cursor: pointer; padding: 0.9rem 0; font-weight: 700; }
.faq summary h3 { display: inline; margin: 0; font-size: 1.05rem; }
.faq div { padding-bottom: 0.8rem; color: rgb(18 16 14 / 0.78); }
.band {
  background: var(--ink);
  color: var(--cream);
  padding: 4.5rem 0;
}
.band .title, .band .eyebrow { color: var(--cream); }
.band p { color: rgb(242 233 220 / 0.78); }
.band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.band-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  margin-top: 2rem;
  border-top: 1px solid rgb(242 233 220 / 0.15);
  padding-top: 1.2rem;
  color: rgb(242 233 220 / 0.72);
  font-size: 0.95rem;
}

.page-hero { padding: 2.5rem 0 1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1rem; padding: 0; list-style: none; color: rgb(18 16 14 / 0.65); font-size: 0.92rem; }
.crumbs a { color: var(--blue); }
.page-hero h1 { margin: 0; max-width: 18ch; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 600; line-height: 1.1; }
.layout {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}
.rail { display: grid; align-content: start; gap: 1rem; }
.rail-card, .rail-links, .rail-meta { padding: 1.3rem; }
.rail-card h2 { margin: 0; font-family: var(--serif); font-size: 1.35rem; }
.rail-price { margin: 0.8rem 0 0; border-radius: 0.8rem; background: rgb(54 85 143 / 0.07); padding: 0.8rem 1rem; color: var(--blue); }
.rail-links p, .foot h2 { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.rail-links ul, .foot ul { margin: 0.8rem 0 0; padding: 0; list-style: none; }
.rail-links a, .foot a { color: var(--blue); font-weight: 650; text-decoration: none; }
.rail-meta p { margin: 0.7rem 0 0; }
.rail-meta a { color: var(--blue); }

.corps { max-width: 70ch; color: rgb(18 16 14 / 0.88); font-size: 1.0625rem; }
.corps > :first-child { margin-top: 0; }
.corps p, .corps li { line-height: 1.75; }
.corps p, .corps ul, .corps ol, .corps blockquote, .corps table, .corps .photos { margin-top: 1.125rem; }
.corps h2 { margin: 2.6rem 0 0; font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.25; }
.corps h3 { margin: 1.6rem 0 0; font-size: 1.25rem; }
.corps a { color: var(--blue); font-weight: 650; }
.corps a:hover { color: var(--green-ink); }
.corps ul:not(.prix):not(.services), .corps ol { padding-left: 1.3rem; }
.corps li::marker { color: var(--green); }
.corps ul.prix, .corps ul.services { display: grid; gap: 0.75rem; margin-left: 0; padding: 0; list-style: none; max-width: none; }
.corps ul.prix li, .corps ul.services li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  border: 1px solid rgb(18 16 14 / 0.1);
  border-radius: 0.85rem;
  background: var(--cream);
  padding: 1rem 1.15rem;
}
.corps ul.prix strong { color: var(--blue); }
.corps .prix-ligne {
  border-left: 3px solid var(--green);
  border-radius: 0 0.85rem 0.85rem 0;
  background: rgb(62 137 20 / 0.08);
  padding: 1rem 1.15rem;
  font-weight: 650;
}
.corps table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; border: 1px solid rgb(18 16 14 / 0.12); border-radius: 0.8rem; }
.corps th, .corps td { min-width: 8rem; padding: 0.75rem 0.9rem; border-bottom: 1px solid rgb(18 16 14 / 0.1); text-align: left; vertical-align: top; }
.corps th { background: rgb(18 16 14 / 0.04); }
.corps blockquote { margin-left: 0; border-left: 3px solid var(--green); border-radius: 0 0.7rem 0.7rem 0; background: rgb(18 16 14 / 0.04); padding: 0.8rem 1rem; }
.corps .photos, .corps .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.75rem; max-width: none; }
.corps figure { margin: 0; border: 1px solid rgb(18 16 14 / 0.1); border-radius: 0.9rem; padding: 0.45rem; background: #fff; overflow: hidden; }
.corps figcaption { margin-top: 0.4rem; font-size: 0.9rem; }
.corps img {
  width: 100%;
  height: 18rem;
  max-height: 22rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.7rem;
  background: #fff;
}
.faq-list { display: grid; gap: 0.4rem; margin-top: 1rem; }
.blog-grid { grid-template-columns: 1fr; }
.blog-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid rgb(18 16 14 / 0.1);
  border-radius: 1rem;
  padding: 1.2rem;
  text-decoration: none;
}
.blog-card time { color: rgb(18 16 14 / 0.65); font-size: 0.9rem; }
.blog-card strong { margin-top: 0.4rem; font-family: var(--serif); font-size: 1.25rem; }
.blog-card span { margin-top: auto; padding-top: 1rem; color: var(--blue); font-weight: 700; }

form.devis {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  margin-top: 1.5rem;
  border: 1px solid rgb(18 16 14 / 0.1);
  border-radius: 1rem;
  padding: 1.3rem;
}
form.devis h2 { margin: 0; font-family: var(--serif); }
label, legend { font-size: 0.92rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 3rem;
  margin-top: 0.35rem;
  border: 1px solid rgb(18 16 14 / 0.2);
  border-radius: 0.75rem;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  padding: 0.55rem 0.8rem;
}
textarea { min-height: 7rem; }
fieldset { margin: 0; border: 0; padding: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 0.4rem; }
.choices label {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgb(18 16 14 / 0.15);
  border-radius: 0.75rem;
  padding: 0.4rem 0.7rem;
  font-weight: 600;
}
.choices input { width: auto; min-height: 0; margin: 0; }
.confirm {
  border-radius: 0.8rem;
  background: rgb(62 137 20 / 0.1);
  padding: 0.9rem 1rem;
}
.confirm-error { background: rgb(180 40 40 / 0.1); }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
button.btn:disabled { opacity: 0.65; cursor: wait; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

footer.site-footer { background: var(--ink); color: rgb(242 233 220 / 0.86); }
.foot-brand { display: flex; align-items: center; gap: 0.8rem; color: var(--cream); font-family: var(--serif); font-size: 1.45rem; text-decoration: none; }
.foot-brand img {
  height: 4rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
  border-radius: 0.8rem;
  background: var(--cream);
  padding: 0.25rem;
}
.foot { display: grid; gap: 2rem; padding: 3rem 0; }
.foot a { color: rgb(242 233 220 / 0.86); font-weight: 600; }
.foot a:hover { color: var(--cream); }
.foot-grid { display: grid; gap: 1.5rem; }
.copy { margin: 0; border-top: 1px solid rgb(242 233 220 / 0.1); padding: 1rem 0; color: rgb(242 233 220 / 0.55); font-size: 0.8rem; }

.mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  border-top: 1px solid rgb(18 16 14 / 0.12);
  background: var(--cream);
  padding: 0.7rem 0.8rem calc(0.7rem + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgb(18 16 14 / 0.08);
}
.mobile-bar a,
.mobile-bar .btn,
.mobile-bar .btn-line {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  border-radius: 0.85rem;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-bar .btn {
  background: var(--green-ink);
  color: var(--cream);
  border: 0;
  box-shadow: 0 1px 2px rgb(18 16 14 / 0.12), 0 4px 12px rgb(62 137 20 / 0.28);
}
.mobile-bar .btn-line,
.mobile-bar a[href^="tel"] {
  background: var(--cream);
  color: var(--blue);
  border: 1.5px solid rgb(54 85 143 / 0.45);
  box-shadow: none;
}
body.nav-open .mobile-bar {
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 700px) {
  .facts, .benefits, .cards, .blog-grid { grid-template-columns: 1fr 1fr; }
  .communes { grid-template-columns: 1fr 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.2fr 1fr 0.8fr; }
  .corps .pair { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav-toggle { display: none; }
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .phone { display: none; }
  .nav { min-width: 0; }
  .cards { grid-template-columns: 1fr 1fr 1fr; }
  .card-feature { grid-column: span 2; }
  .benefits, .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { border-bottom: 0; border-right: 1px solid rgb(18 16 14 / 0.15); padding-right: 1rem; }
  .steps li:last-child { border-right: 0; }
  .layout { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; }
  .rail { position: sticky; top: calc(var(--header) + 1rem); }
  .split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: end; }
  .nav-drop .mega {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 50%;
    width: min(52rem, calc(100vw - 2rem));
    transform: translateX(-40%);
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgb(18 16 14 / 0.1);
    border-radius: 1rem;
    background: var(--cream);
    box-shadow: 0 18px 40px rgb(18 16 14 / 0.16);
  }
  .nav-drop:hover .mega,
  .nav-drop:focus-within .mega,
  .nav-drop[open] .mega { display: grid; }
  .blog-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 1280px) {
  .phone { display: inline-flex; }
}

@media (max-width: 1099px) {
  form.devis { padding-bottom: 5.5rem; }
  .nav.is-open {
    display: flex;
    position: fixed;
    z-index: 48;
    top: var(--header);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--cream);
    padding: 0.75rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgb(18 16 14 / 0.08);
  }
  .nav.is-open > a,
  .nav.is-open > .nav-drop > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 2.85rem;
    padding: 0.7rem 0.85rem;
    font-size: 1.05rem;
    font-weight: 650;
  }
  .nav.is-open > .nav-drop > summary::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex: 0 0 auto;
  }
  .nav.is-open > .nav-drop[open] > summary::after {
    transform: rotate(-135deg) translate(0.1rem, 0.1rem);
  }
  .nav.is-open .nav-drop {
    border-radius: 0.6rem;
  }
  .nav.is-open .mega {
    display: grid;
    position: static;
    width: auto;
    transform: none;
    box-shadow: none;
    gap: 1rem;
    margin: 0.15rem 0 0.5rem;
    padding: 0.65rem 0.85rem 0.85rem;
    border-radius: 0.75rem;
    background: rgb(18 16 14 / 0.035);
  }
  .nav.is-open .mega a {
    padding: 0.55rem 0.35rem;
    font-size: 0.98rem;
  }
  .nav.is-open .header-cta,
  .nav.is-open .phone {
    display: inline-flex;
    margin: 0.55rem 0 0;
    width: 100%;
    justify-content: center;
  }
  .nav.is-open .phone {
    min-height: 2.85rem;
    border: 1.5px solid rgb(54 85 143 / 0.35);
    border-radius: 0.85rem;
  }
  .nav.is-open .header-cta {
    min-height: 3.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Bandeau de consentement cookies */
.fc-consent {
  position: fixed;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.2rem;
  max-width: 62rem;
  margin: 0 auto;
  border: 1px solid rgb(18 16 14 / 0.14);
  border-radius: 0.9rem;
  background: var(--cream);
  padding: 0.9rem 1rem;
  box-shadow: 0 12px 32px rgb(18 16 14 / 0.16);
  font-size: 0.92rem;
  line-height: 1.45;
}
.fc-consent[hidden] { display: none; }
.fc-consent p { margin: 0; max-width: 40rem; }
.fc-consent a { color: var(--blue); }
.fc-consent-actions { display: flex; gap: 0.6rem; }
.fc-consent-btn {
  min-height: 2.6rem;
  border: 1.5px solid rgb(54 85 143 / 0.45);
  border-radius: 0.7rem;
  background: transparent;
  padding: 0.5rem 1.1rem;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.fc-consent-btn-accept {
  border-color: var(--green-ink);
  background: var(--green-ink);
  color: var(--cream);
}
@media (max-width: 1099px) {
  .fc-consent { bottom: calc(5.4rem + env(safe-area-inset-bottom)); }
}

/* Questions frequentes */
.faq { margin-top: 1.25rem; display: grid; gap: 0.6rem; }
.faq details {
  border: 1px solid rgb(18 16 14 / 0.16);
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.2rem 1rem;
}
.faq summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-weight: 700;
  color: var(--blue);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 0.95rem; line-height: 1.7; }
.faq summary:focus-visible { outline: 3px solid var(--green-ink); outline-offset: 2px; border-radius: 0.4rem; }

/* Les liens du corps ne doivent pas ecraser la couleur des boutons */
.corps a.btn, .corps a.btn-ghost, .corps .btn { color: var(--cream); }
.corps a.btn-line { color: var(--blue); }
.corps a.btn-ghost:hover { color: var(--ink); }

/* Le bouton d'en-tete garde son contraste sur fond vert */
.nav a.btn, .nav a.btn:hover, .nav a.btn:focus { color: var(--cream); }
.nav a.btn-line { color: var(--blue); }
