@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&display=swap');

* {
  box-sizing: border-box;
}


body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #16283A;
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: auto;
}

/* Navigation */

.nav {
  background: #fff;
  border-bottom: 1px solid #e8e4df;
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 230px;
  height: 110px;
  object-fit: contain;
  margin: 0;
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
}

.menu a:hover,
.menu a.active {
  color: #C85A28;
}

.menu .cta {
  background: #C85A28;
  color: #fff;
  padding: 11px 16px;
}

.burger {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  color: #C85A28;
}

/* Accueil — Hero */

.hero {
  min-height: 650px;
  background: #16283A;
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Filigrane cordiste */
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image: url("assets/filigranecordiste.svg.png");
  background-repeat: no-repeat;
  background-position: right 8% center;
  background-size: auto 90%;
  opacity: 0.42;
  pointer-events: none;
}

/* Le texte reste devant le filigrane */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 100px;
  max-width: 800px;
left: -125px;
}

.eyebrow,
.kicker {
  color: #C85A28;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: .98;
  margin: 18px 0 24px;
  letter-spacing: -.04em;
}

.hero h1 em {
  color: #E36E38;
  font-style: normal;
}

.hero p {
  font-size: 19px;
  max-width: 690px;
  color: #dbe2e7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 20px;
  font-weight: 900;
  letter-spacing: .05em;
  border: 1px solid #C85A28;
}

.btn-primary {
  background: #C85A28;
  color: #fff;
}
.btn-primary .btn-subtext {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.2;
  color: #E5E5E5;
}
.btn-ghost {
  color: #fff;
  border-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bandeau des 3 engagements */

.stats {
  background: #f5f1eb;
  border-top: 1px solid #e4ddd5;
  border-bottom: 1px solid #e4ddd5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat {
  min-height: 145px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-right: 1px solid #ddd6ce;
}

.stat:last-child {
  border-right: 0;
}

.stat-icon {
  width: 58px;
  min-width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C85A28;
}

.stat-icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: #16283A;
  font-size: 17px;
  line-height: 1.25;
}

.stat span {
  display: block;
}

.stat span:last-child {
  color: #66737d;
  font-size: 13px;
  line-height: 1.45;
}

/* Sections générales */

.section {
  padding: 90px 0;
}

.cream {
  background: #f5f1eb;
}
/* Réduction de l'espace entre les prestations et la méthode */
.section:has(+ .cream) {
    padding-bottom: 60px;
}

.section.cream {
    padding-top: 60px;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 45px;
}

.section-head h2,
.detail-grid h2,
.form-card h2,
.info-card h2 {
  font-size: 42px;
  line-height: 1.05;
  margin: 10px 0;
}

.section-head p {
  color: #66737d;
}

/* Prestations */

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

.service-card {
  border: 1px solid #ddd6ce;
  background: #fff;
  overflow: hidden;
}

.service-card img,
.detail-grid img,
.project img {
  width: 100%;
  display: block;
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.service-card .inner {
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.service-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 22px;
  color: #C85A28;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
}

/* Étapes */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.step {
  border-top: 2px solid #C85A28;
  padding-top: 18px;
}

.num {
  font-weight: 900;
  color: #C85A28;
}

.step h3 {
  margin: 6px 0;
}

.step p {
  color: #66737d;
  font-size: 14px;
}

/* Zone */

.zone {
  background: #16283A;
  color: #fff;
}
.section.zone {
  padding: 30px 0 30px;
}
.zone-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 50px;
  align-items: center;
}

.zone ul {
  padding-left: 20px;
  color: #d9e0e5;
}

.zone-content {
  min-width: 0;
}

.zone h2 {
  margin: 18px 0 34px;
  font-size: clamp(46px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.035em;
}

.zone h2 span {
  color: #E36E38;
}

.zone-map-image {
  display: block;
  width: 88%;
  height: auto;
  max-height: 470px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 22px;
}
.zone-content > p {
  max-width: 610px;
  color: #fff;
  font-size: 18px;
}

.zone li {
  margin: 5px 0;
}

.zone-extra {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.zone-extra p {
  margin: 0 0 12px;
  color: #b8c4d0;
  font-size: 13px;
  line-height: 1.55;
}

.zone-extra strong {
  color: #fff;
}

.zone-map-card {
  background: #F5F1EA;
  border-radius: 14px;
  padding: 22px 28px 22px;
  color: #16283A;
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

.zone-legend {
  display: grid;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #ddd6ce;
}

.legend-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 15px;
  align-items: start;
}

.legend-marker {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
}

.legend-main {
  background: #C85A28;
}

.legend-wide {
  border: 3px solid #16283A;

  background: repeating-linear-gradient(
    135deg,
    transparent 0px,
    transparent 3px,
    #16283A 3px,
    #16283A 4px
  );
}

.legend-item strong {
  display: block;
  margin-bottom: 3px;
  color: #16283A;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.legend-item p {
  margin: 0;
  color: #66737d;
  font-size: 12px;
  line-height: 1.5;
}

/* Bandeaux */

.band {
  background: #C85A28;
  color: #fff;
  padding: 12px 0;
}

.band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 19px;
}

/* Bouton blanc du bandeau */
.band-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #C85A28;

    border: none;
    border-radius: 14px;

    padding: 12px 24px;

    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;

    transition: transform .2s ease, background .2s ease;
}

.band-contact-btn:hover {
    background: #F5F1EA;
    color: #C85A28;
    transform: translateY(-2px);
}
.band .btn {
  background: #ffffff;
  color: #C85A28;
  border: none;
  border-radius: 20px;
  padding: 20px 32px;
  font-weight: 800;
  text-transform: uppercase;
}

.band .btn:hover {
  background: #16283A;
  color: #ffffff;
}

/* Footer */

.footer {
  background: #101d29;
  color: #dce3e7;
  padding: 60px 0 20px;
}
.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #dce3e7;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: #C85A28;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-item:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr;
  gap: 80px;
  align-items: start;
}
.footer h3 {
  color: #C85A28;
  font-size: 22px;
  margin: 0 0 22px;
  line-height: 1.2;
}
/* Séparation visuelle des colonnes */
.footer-grid > div {
  min-width: 0;
}

.footer-grid > div + div {
  border-left: 1px solid rgba(255,255,255,.15);
  padding-left: 40px;
}

/* Zone & engagement */
.footer-zone-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-zone-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 16px;
  color: #dce3e7;
  line-height: 1.55;
}

.footer-zone-list li:last-child {
  margin-bottom: 0;
}

.footer-zone-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #C85A28;
  font-size: 20px;
  line-height: 1.3;
}
.footer ul {
  padding: 0;
  list-style: none;
}

.footer li {
  margin: 5px 0;
}

.copyright {
  border-top: 1px solid #30404d;
  margin-top: 40px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #aeb9c0;
  width: 100%;
box-sizing: border-box;
flex-wrap: wrap;
}

/* Pages internes */

.page-hero {
  background: #16283A;
  color: #fff;
  padding: 90px 0;
}

.page-hero p {
  max-width: 700px;
  color: #dbe2e7;
  font-size: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  padding: 60px 0;
  border-bottom: 1px solid #ddd6ce;
  align-items: center;
}

.detail-grid ul {
  padding-left: 20px;
}

.detail-grid li {
  margin: 8px 0;
}

/* Réalisations */

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

.project {
  background: #fff;
  border: 1px solid #ddd6ce;
}

.caption {
  padding: 14px;
  font-weight: 800;
}

.filterbar {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter {
  border: 1px solid #16283A;
  background: #fff;
  padding: 9px 14px;
  cursor: pointer;
}

.filter.active {
  background: #16283A;
  color: #fff;
}

.hidden {
  display: none !important;
}

.notice {
  margin-top: 30px;
  padding: 18px;
  background: #f5f1eb;
  color: #66737d;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 30px;
}

.form-card,
.info-card {
  background: #fff;
  border: 1px solid #ddd6ce;
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 800;
}

.required {
  color: #C85A28;
}

input,
select,
textarea {
  font: inherit;
  border: 1px solid #cfc7bf;
  padding: 13px;
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.info-block {
  padding: 17px 0;
  border-bottom: 1px solid #e5ded7;
}

.info-block b,
.info-block span {
  display: block;
}

.info-block span {
  color: #66737d;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.badge {
  font-size: 11px;
  font-weight: 900;
  padding: 7px 9px;
  border: 1px solid #C85A28;
  color: #C85A28;
}

.form-status {
  margin-top: 15px;
  font-weight: 700;
}

.success {
  color: #277a48;
}

.error {
  color: #a42d2d;
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: .5s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
/* =========================================
   PAGE CONTACT - COORDONNEES
========================================= */

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}

.info-with-icon {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
}

.info-icon {
  padding-top: 2px;
}

.info-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #C85A28;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.info-with-icon b {
  display: block;
  margin-bottom: 5px;
}

.info-with-icon a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.info-with-icon a:hover {
  color: #C85A28;
}
/* =========================================
   PAGE CONTACT - FILIGRANE HERO
========================================= */

.contact-page .page-hero {
    position: relative;
    overflow: hidden;
}

.contact-page .page-hero::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);

    width: 420px;
    height: 85%;

    background-image: url("assets/filigranecordiste.svg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.42;

    pointer-events: none;
    z-index: 0;
}

.contact-page .page-hero .container {
    position: relative;
    z-index: 1;
}
/* ===== Photos page Services ===== */

.service-detail img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* ===== Photos page Services ===== */

.service-image-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.service-detail-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Toiture */
.service-detail-image-1 {
    object-position: center center;
}

/* Façade */
.service-detail-image-2 {
    object-position: center 45%;
}

/* Gouttières */
.service-detail-image-3 {
    object-position: center center;
}

/* Réparations */
.service-detail-image-4 {
    object-position: center 55%;
}
/* ===== POURQUOI LA CORDE ===== */

.why-rope {
  background: #F5F1EA;
}

.why-rope-head {
  max-width: 820px;
  margin: 0 auto 45px;
  text-align: center;
}

.why-rope-head h2 {
  margin: 10px 0 30px;
  font-size: 48px;
  line-height: 1.05;
  color: #16283A;
  position: relative;
}
.why-rope-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);

  width: 52px;
  height: 3px;

  background: #C85A28;
  border-radius: 2px;
}

.why-rope-head p {
  margin: 0;
  color: #66737d;
  font-size: 17px;
  line-height: 1.7;
}

.why-rope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
/* Titres des cartes Pourquoi la corde */
.why-rope-grid h3 {
  color: #C85A28;
}
.why-card {
  background: #ffffff;
  border: 1px solid #ddd6ce;
  border-radius: 14px;
  padding: 26px 22px;
  min-height: 230px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(22, 40, 58, .08);
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #16283A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  margin: 0 0 10px;
  color: #16283A;
  font-size: 22px;
}

.why-card p {
  margin: 0;
  color: #66737d;
  font-size: 14px;
  line-height: 1.55;
}

.why-trust {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.why-trust span {
  padding: 10px 16px;
  border: 1px solid #C85A28;
  border-radius: 999px;
  color: #C85A28;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
}

.why-compare {
  margin-top: 42px;
  background: #ffffff;
  border: 1px solid #ddd6ce;
  border-radius: 14px;
  padding: 28px;
}

.why-compare h3 {
  margin: 0 0 20px;
  color: #16283A;
  font-size: 24px;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e7e1da;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: #16283A;
  color: #ffffff;
  font-size: 13px;
}

.compare-table th:nth-child(2) {
  color: #C85A28;
}

.compare-table td {
  color: #66737d;
  font-size: 13px;
}

.compare-table td:first-child {
  color: #16283A;
  font-weight: 800;
}

.compare-note {
  margin: 16px 0 0;
  color: #66737d;
  font-size: 12px;
  line-height: 1.5;
}
/* ===== RESTAURATION DU BESOIN AU CHANTIER ===== */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 6%;
  right: 6%;
  border-top: 2px dashed #C85A28;
  opacity: .7;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  padding-top: 0;
  border-top: 0;
}

.step-badge {
  position: relative;
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
}

.step-icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #16283A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-circle svg {
  width: 34px !important;
  height: 34px !important;
  fill: none !important;
  stroke: #ffffff !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-number {
  position: absolute;
  right: -2px;
  bottom: -3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #C85A28;
  color: #ffffff;
  border: 3px solid #F5F1EA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.step .num {
  display: none;
}

.step h3 {
  margin: 0 0 10px;
  color: #16283A;
  font-size: 20px;
}

.step p {
  margin: 0;
  color: #66737d;
  font-size: 14px;
  line-height: 1.55;
}
/* Tablette */
/* ===== FOND BLEU PLEINE LARGEUR PARTIE BASSE ACCUEIL ===== */

.zone {
  position: relative;
  background: #16283A;
}

.zone::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #16283A;
  z-index: -1;
}

.zone {
  z-index: 0;
}
/* Zone d'intervention - hauteur plus compacte */
.zone {
  padding-top: 55px;
  padding-bottom: 55px;
}

.zone-map-card {
  padding: 28px;
}

.zone-map-image {
  max-height: 330px;
  width: 100%;
  object-fit: contain;
}
/* ===== Zone d’intervention - ajustements visuels ===== */

/* "Zone d’intervention" en blanc */
.zone-content .kicker {
  color: #ffffff;
}

/* "Normandie" en orange */
.zone-content h2 {
  color: #C85A28;
}

/* "+ Nord de la France" en blanc */
.zone-content h2 span {
  color: #ffffff;
}

/* Petit trait orange sous le titre */
.zone-content h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: #C85A28;
  margin-top: 18px;
}

/* Paragraphe descriptif en gris clair */
.zone-content > p {
  color: #A0AEC0;
}

/* =========================================
   SOUS-MENU SERVICES COMPACT
   ========================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 5000;
  overflow: visible;
}

.nav-inner {
  position: relative;
  overflow: visible;
}

.nav-services {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav-services-link {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 5200;
}

/* Sous-menu vertical ancré sous “Services” */
.services-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;

  width: 240px;

  /* Même effet glassmorphism que le menu actuel */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(22, 40, 58, 0.10);
  border-radius: 10px;

  box-shadow: 0 6px 20px rgba(22, 40, 58, 0.08);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-8px);

  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;

  z-index: 5100;
}

/* Petite flèche vers le lien Services */
.services-mega::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-left: 1px solid rgba(22, 40, 58, 0.10);
  border-top: 1px solid rgba(22, 40, 58, 0.10);
  transform: rotate(45deg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Liste verticale */
.services-mega-inner {
  display: block;
  width: 100%;
  padding: 6px 0;
}

/* Items */
.services-mega-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;

  padding: 13px 16px;

  border-radius: 0;
  border-bottom: 1px solid rgba(22, 40, 58, 0.08);

  background: transparent;

  font-family: "Barlow Condensed", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;

  text-decoration: none !important;
  color: #16283A !important;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.services-menu-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;

  fill: none;
  stroke: #C85A28;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.services-mega-card:last-child {
  border-bottom: 0;
}

/* Hover */
.services-mega-card:hover {
  background: rgba(200, 90, 40, 0.08);
  color: #C85A28 !important;
  transform: translateX(4px);
}

/* Les anciens éléments du mega menu ne sont plus utilisés */
.services-mega-number,
.services-mega-card h3,
.services-mega-card p {
  display: none;
}

/* Overlay flouté : inchangé */
.services-overlay {
  position: fixed;

  top: 110px;
  left: 0;
  right: 0;
  bottom: 0;

  background: rgba(22, 40, 58, 0.42);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 220ms ease,
    visibility 220ms ease;

  z-index: 4900;
}

/* État ouvert */
body.services-menu-open .services-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.services-menu-open .services-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Position du scroll après clic */
.detail-grid {
  scroll-margin-top: 130px;
}

@media (max-width: 850px) {
/* Mega menu Services - mobile / tablette */
.services-overlay {
  display: none;
}

.services-mega {
  position: static;
  width: 100%;

  display: none;

  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: none;

  box-shadow: none;
  border: 0;
}

.nav-services {
  display: block;
  width: 100%;
}

.nav-services.mobile-open .services-mega {
  display: block;
}

.services-mega-inner {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px 0;
}

.services-mega-card {
  padding: 12px 0;
}
  .menu {
    display: none;
  }

  .nav.open .menu {
    display: flex;
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
  }

  .burger {
    display: block;
  }

  .stats-grid,
  .service-grid,
  .steps,
  .footer-grid,
  .contact-grid,
  .detail-grid,
  .zone-grid,
  .section-head {
    grid-template-columns: 1fr;
  }
.stat {
  border-right: 0;
  border-bottom: 1px solid #ddd6ce;
}

.stat:last-child {
  border-bottom: 0;
}
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 560px;
  }

.hero-content {
  padding: 90px 0;
  left: 0;
}

  .hero h1,
  .page-hero h1 {
    font-size: 50px;
  }

  .hero-bg {
    background-position: right -110px center;
    background-size: auto 75%;
    opacity: 0.14;
  }

  .band .container,
  .copyright {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

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

  .field.full {
    grid-column: auto;
  }
}

/* Téléphone */

@media (max-width: 520px) {
/* Du besoin au chantier - téléphone */
.steps {
  grid-template-columns: 1fr;
}

.step-badge {
  width: 68px;
  height: 68px;
}

.step-icon-circle {
  width: 68px;
  height: 68px;
}

.step-icon-circle svg {
  width: 30px !important;
  height: 30px !important;
}
  /* Pourquoi la corde - téléphone */
  .why-rope-grid {
    grid-template-columns: 1fr;
  }

  .why-rope-head {
    margin-bottom: 32px;
  }

  .why-rope-head h2 {
    font-size: 34px;
  }

  .why-card {
    min-height: 0;
  }

  .why-compare {
    padding: 18px 14px;
  }

  .why-trust {
    justify-content: flex-start;
  }

  .why-trust span {
    width: 100%;
    text-align: center;
  }

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

  /* puis tout le reste de ton code actuel */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 65px 0;
  }

  .logo img {
    width: 170px;
    height: 90px;
  }

  .hero-bg {
    background-position: right -140px center;
    background-size: auto 65%;
    opacity: 0.10;
  }
    .band-message {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .band-contact-btn {
    width: 100%;
    text-align: center;
  }
}
/* =========================================
   DU BESOIN AU CHANTIER — BADGES & ICÔNES
   ========================================= */

.steps {
  position: relative;
}

/* Ligne pointillée orange reliant les 4 étapes */
.steps::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 34px;
  right: 34px;
  border-top: 2px dashed #C85A28;
  opacity: .75;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  border-top: 0;
  padding-top: 0;
  border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(22, 40, 58, .08);
}

.step-badge {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
}

.step-icon-circle {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #16283A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 14px rgba(22, 40, 58, .14);
}

.step-icon-circle svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-number {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #C85A28;
  color: #fff;
  border: 3px solid #F5F1EA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

/* Les anciens numéros texte ne sont plus utilisés */
.step .num {
  display: none;
}

/* Tablette / téléphone */
@media (max-width: 900px) {
   /* Du besoin au chantier - tablette / téléphone */
  .steps::before {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

/* Pourquoi la corde - tablette / téléphone */
.why-rope-grid {
  grid-template-columns: repeat(2, 1fr);
}

.why-rope-head h2 {
  font-size: 40px;
}

.why-compare {
  padding: 22px;
}
    /* Filigrane page Contact */
    .contact-page .page-hero::after {
        width: 260px;
        height: 70%;
        right: -45px;
        opacity: 0.14;
    }

    .steps::before {
        display: none;
    }

  .step {
    padding-top: 0;
  }
  /* Footer tablette et téléphone */
.footer-grid {
  grid-template-columns: 1fr;
  gap: 34px;
}

.footer-grid > div + div {
  border-left: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-left: 0;
  padding-top: 28px;
}

.footer h3 {
  margin-bottom: 16px;
  font-size: 20px;
}
}
/* =========================================
   CTA + FOOTER - FONDS PLEINE LARGEUR
   ========================================= */

.band {
    box-shadow: 0 0 0 100vmax #C85A28;
    clip-path: inset(0 -100vmax);
}

.footer {
    box-shadow: 0 0 0 100vmax #101D29;
    clip-path: inset(0 -100vmax);
}

/* =========================================
   FOOTER - SOULIGNEMENT ORANGE AU SURVOL
   ========================================= */

/* Navigation */
.footer-grid > div:nth-child(2) li a {
    display: inline-block;
    color: inherit;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
    transition: border-color .2s ease;
}

.footer-grid > div:nth-child(2) li a:hover {
    border-bottom-color: #C85A28;
}

/* Téléphone + email */
.footer-contact-item span {
    display: inline-block;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
    transition: border-color .2s ease;
}

.footer-contact-item:hover span {
    border-bottom-color: #C85A28;
}
/* =========================================
   PAGE CONTACT - TITRE
   ========================================= */

.contact-page .page-hero h1 {
  position: relative;
}

.contact-page .contact-title-accent {
  color: #C85A28;
}

.contact-page .page-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 50px;
  height: 3px;
  background: #C85A28;
  border-radius: 2px;
}
/* =========================================
   PAGE SERVICES - HERO
   ========================================= */

.services-hero {
  position: relative;
  overflow: hidden;
}

/* Mot orange dans le titre */
.services-title-accent {
  color: #C85A28;
}

/* Petite ligne orange sans déplacer le texte */
.services-hero h1 {
  position: relative;
  z-index: 2;
}

.services-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -22px;
  width: 50px;
  height: 3px;
  background: #C85A28;
  border-radius: 2px;
}

.services-hero h1 {
  margin-bottom: 48px;
}

/* Le texte reste au-dessus du filigrane */
.services-hero .container {
  position: relative;
  z-index: 2;
}

/* Filigrane cordiste */
.services-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 2%;
  bottom: 0;

  width: 30%;

  background-image: url("assets/filigranecordiste.svg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;

  opacity: 0.42;

  pointer-events: none;
  z-index: 1;
}
/* =========================================
   PAGE RÉALISATIONS - HERO
   ========================================= */

.realisations-hero {
  position: relative;
  overflow: hidden;
}

/* Titre au-dessus du filigrane */
.realisations-hero .container {
  position: relative;
  z-index: 2;
}

.realisations-hero h1 {
  position: relative;
  color: #FFFFFF;
  margin-bottom: 48px;
}

/* Petite ligne orange */
.realisations-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -22px;

  width: 50px;
  height: 3px;

  background: #C85A28;
  border-radius: 2px;
}

/* Filigrane cordiste */
.realisations-hero::after {
  content: "";
  position: absolute;

  top: 0;
  right: 20%;
  bottom: 0;

  width: 30%;

  background-image: url("assets/filigranecordiste.svg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;

  opacity: 0.42;

  pointer-events: none;
  z-index: 1;
}
  </div>
</footer>
/* =========================================
   CARTES SERVICES ACCUEIL - HOVER
   ========================================= */

.service-card {
  cursor: pointer;
  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 30px rgba(22, 40, 58, 0.16);
}

/* Zoom léger de l'image */
.service-card img {
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

/* Flèche du lien Découvrir */
.service-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link {
  transform: translateX(4px);
}
/* =========================================
   PAGE SERVICES - SECTIONS DÉTAILLÉES
   ========================================= */

[data-service-details] {
  position: relative;
}

/* =========================================
   CORDE VERTICALE TEXTURÉE
   ========================================= */

[data-service-details]::before {
  content: "";
  position: absolute;

  top: 0;
  bottom: 0;

  left: 50%;
  transform: translateX(-50%);

  width: 6px;

  background:
    repeating-linear-gradient(
      135deg,
      #B9582E 0px,
      #B9582E 3px,
      #D67848 3px,
      #D67848 6px,
      #8F4A32 6px,
      #8F4A32 8px
    );

  border-radius: 999px;

  box-shadow:
    inset 1px 0 rgba(255,255,255,0.25),
    inset -1px 0 rgba(22,40,58,0.12),
    0 0 5px rgba(200,90,40,0.12);

  z-index: 1;
}

/* Bloc d'un service */
.service-detail-block {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
  align-items: center;

  padding: 90px 70px;
  margin: 0;

  border: none;
}

/* Alternance de fond */
.service-detail-block:nth-child(odd) {
  background: #FFFFFF;
}

.service-detail-block:nth-child(even) {
  background: #F7F3ED;
}

/* Image */
.service-detail-block .service-image-frame {
  overflow: hidden;
  border-radius: 16px;

  box-shadow: 0 12px 30px rgba(22, 40, 58, 0.10);

  position: relative;
  z-index: 2;
}

.service-detail-block .service-detail-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Texte */
.service-detail-content {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

.service-detail-content h2 {
  position: relative;
  z-index: 2;

  margin: 0 0 24px;

  color: #16283A;
}

.service-detail-content p,
.service-detail-content ul {
  position: relative;
  z-index: 2;
}

/* Grand numéro en arrière-plan */
.service-big-number {
  position: absolute;

  top: -52px;
  left: -8px;

  font-size: clamp(90px, 9vw, 150px);
  line-height: 1;

  font-weight: 800;
  letter-spacing: -0.05em;

  color: rgba(200, 90, 40, 0.10);

  pointer-events: none;
  user-select: none;

  z-index: 0;
}
/* Chiffres plus lisibles sur les blocs beige :
   02 Façade et 04 Réparations */
.service-detail-2 .service-big-number,
.service-detail-4 .service-big-number {
  color: rgba(126, 93, 72, 0.22);
}
/* Repères sur la corde */

/* =========================================
   ALTERNANCE IMAGE / TEXTE
   ========================================= */

/* 1 Toiture + 3 Gouttières :
   image gauche / texte droite */
.service-detail-1 .service-image-frame,
.service-detail-3 .service-image-frame {
  grid-column: 1;
}

.service-detail-1 .service-detail-content,
.service-detail-3 .service-detail-content {
  grid-column: 2;
}

/* 2 Façade + 4 Réparations :
   texte gauche / image droite */
.service-detail-2 .service-image-frame,
.service-detail-4 .service-image-frame {
  grid-column: 2;
}

.service-detail-2 .service-detail-content,
.service-detail-4 .service-detail-content {
  grid-column: 1;
  grid-row: 1;
}

/* =========================================
   PAGE SERVICES - VERSION MOBILE
   ========================================= */

@media (max-width: 850px) {

  [data-service-details]::before {
    display: none;
  }

  .service-detail-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 20px;
  }

  .service-detail-block .service-image-frame,
  .service-detail-block .service-detail-content {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .service-rope-dot {
    display: none;
  }

  .service-big-number {
    top: -35px;
    left: 0;
    font-size: 90px;
  }
}
.why-rope .why-card h3 {
  color: #C85A28;
}
/* =========================================
   TABLEAU COMPARATIF - ACCÈS PAR CORDE
   ========================================= */

/* Toute la colonne "Accès par corde" */
.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
  background: rgba(200, 90, 40, 0.08);
  border-left: 2px solid #C85A28;
  border-right: 2px solid #C85A28;
}

/* En-tête "Accès par corde" */
.compare-table thead th:nth-child(2) {
  color: #FFFFFF;
  background:
    linear-gradient(rgba(200, 90, 40, 0.18), rgba(200, 90, 40, 0.18)),
    #16283A;

  border-top: 2px solid #C85A28;
}

/* Ferme l'encadrement orange en bas de la colonne */
.compare-table tbody tr:last-child td:nth-child(2) {
  border-bottom: 2px solid #C85A28;
}
/* ===== PHOTOS RÉALISATIONS ===== */

.project {
  border: 1px solid #ddd5cc;
  background: #fff;
  overflow: hidden;
}

.project-image {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #16283A;
}

.project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.project-number {
  position: absolute;
  top: 16px;
  left: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

.project-content {
  padding: 20px 18px;
  min-height: 82px;
}

.project-content h3 {
  margin: 0;
  color: #16283A;
  font-size: 21px;
  line-height: 1.35;
}

.project.hidden {
  display: none;
}
/* =========================================
   SUPPRESSION DES ANCIENS NUMÉROS
   ========================================= */

.portfolio-grid .project::before,
.portfolio-grid .project::after,
[data-portfolio-grid] .project::before,
[data-portfolio-grid] .project::after {
  content: none !important;
  display: none !important;
}


/* =========================================
   LIGHTBOX RÉALISATIONS AU SURVOL
   ========================================= */

.portfolio-hover-lightbox {
  position: fixed;

  left: 0;
  width: 100vw;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;
  box-sizing: border-box;

  background: rgba(9, 20, 31, 0.88);

  opacity: 0;
  visibility: hidden;

  /*
  IMPORTANT :
  la lightbox ne capte jamais la souris.
  La carte continue donc de recevoir
  correctement mouseenter / mouseleave.
  */
  pointer-events: none;

  z-index: 9000;

  transition:
    opacity 250ms ease,
    visibility 250ms ease;
}


.portfolio-hover-lightbox.active {
  opacity: 1;
  visibility: visible;
}


.portfolio-hover-lightbox-image {
  display: block;

  width: auto;
  height: auto;

  max-width: 92vw;
  max-height: calc(100% - 40px);

  object-fit: contain;

  transform: scale(0.94);
  opacity: 0;

  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.45);

  transition:
    transform 250ms ease,
    opacity 250ms ease;
}


.portfolio-hover-lightbox.active
.portfolio-hover-lightbox-image {
  transform: scale(1);
  opacity: 1;
}


/* Header toujours devant */

header.nav {
  position: relative;
  z-index: 10000;
}


/* Curseur */

[data-portfolio-grid] .project {
  cursor: zoom-in;
}


@media (max-width: 850px) {

  [data-portfolio-grid] .project {
    cursor: default;
  }

}
/* =========================================
   GALERIE RÉALISATIONS - PRIORITÉ AU SURVOL
   ========================================= */

[data-portfolio-grid] .project {
  position: relative;
  z-index: 1;
}

[data-portfolio-grid] .project:hover {
  z-index: 20;
}
/* =========================================
   GALERIE - ZOOM UNIQUEMENT SUR LA PHOTO
   ========================================= */

.portfolio-grid .project {
  cursor: default;
}

.portfolio-grid .project > img {
  cursor: zoom-in;
}

.portfolio-grid .caption {
  cursor: default;
}
/* =========================================
   FILTRES RÉALISATIONS - PILULES
   ========================================= */

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}

/* Boutons */
.filterbar .filter {
  appearance: none;
  border: 1px solid rgba(22, 40, 58, 0.18);

  background: #FFFFFF;
  color: #16283A;

  padding: 10px 18px;

  border-radius: 999px;

  font-family: "Barlow Condensed", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;

  transition: all 0.2s ease;
}

/* Hover des filtres inactifs */
.filterbar .filter:not(.active):hover {
  background: rgba(200, 90, 40, 0.08);
  border-color: #C85A28;
  color: #C85A28;
}

/* Filtre actif */
.filterbar .filter.active {
  background: #C85A28;
  border-color: #C85A28;
  color: #FFFFFF;
}

/* Petit effet au clic */
.filterbar .filter:active {
  transform: translateY(1px);
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 850px) {

  .filterbar {
    gap: 8px;
  }

  .filterbar .filter {
    padding: 9px 15px;
    font-size: 15px;
  }

}
/* =========================================
   FILTRES RÉALISATIONS - STYLE FINAL
   ========================================= */

.filterbar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;

  /* Espace entre les pilules */
  column-gap: 12px !important;
  row-gap: 10px !important;

  /* Espace entre les filtres et les photos */
  margin-bottom: 28px !important;
}

/* Tous les boutons */
button.filter,
.filter {
  background: #FFFFFF !important;
  color: #16283A !important;

  border: 1px solid rgba(22, 40, 58, 0.22) !important;
  border-radius: 999px !important;

  padding: 10px 19px !important;

  font-family: "Barlow Condensed", Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;

  cursor: pointer !important;

  transition: all 0.2s ease !important;
}

/* Hover des filtres inactifs */
button.filter:not(.active):hover,
.filter:not(.active):hover {
  background: rgba(200, 90, 40, 0.08) !important;
  border-color: #C85A28 !important;
  color: #C85A28 !important;
}

/* Filtre actif */
button.filter.active,
.filter.active {
  background: #C85A28 !important;
  border-color: #C85A28 !important;
  color: #FFFFFF !important;
}

/* Mobile */
@media (max-width: 850px) {

  .filterbar {
    gap: 8px !important;
  }

  button.filter,
  .filter {
    padding: 9px 15px !important;
    font-size: 15px !important;
  }
}
/* =========================================
   ESPACEMENT FILTRES RÉALISATIONS
   ========================================= */

.filterbar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;

  gap: 10px 12px !important;

  margin-bottom: 28px !important;
}

[data-portfolio-grid] {
  margin-top: 0 !important;
}
/* =========================================
   FILTRES RÉALISATIONS - ESPACEMENTS
   ========================================= */

.filters {
  display: flex !important;
  flex-wrap: wrap !important;

  gap: 12px !important;

  margin-bottom: 28px !important;
}
/* Réduit uniquement l'espace entre le bandeau bleu
   et les filtres de la page Réalisations */

.filters {
  margin-top: -40px !important;
}
/* Filigrane cordiste - opacité uniforme sur tout le site */
.hero-bg {
  opacity: 0.42 !important;
}
/* =========================================
   HEADER - PAGE RÉALISATIONS UNIQUEMENT
   ========================================= */

.page-realisations .page-hero {
  min-height: 180px !important;
}

.page-realisations .page-hero .container {
  padding-top: 1px !important;
  padding-bottom: 1px !important;
}
/* =========================================
   CTA ORANGE - ACCUEIL / SERVICES / RÉALISATIONS
   ========================================= */

/* Contact exclu */
body:not(.contact-page) .band {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

/* Bouton blanc */
body:not(.contact-page) .band .btn {
  padding-top: 13px !important;
  padding-bottom: 13px !important;

  /* On conserve le padding horizontal actuel */
  padding-left: 32px !important;
  padding-right: 32px !important;

  border-radius: 2px !important;
}

/* Garde le contenu parfaitement centré */
body:not(.contact-page) .band .container {
  align-items: center !important;
}
/* =========================================
   CTA - PAGE SERVICES UNIQUEMENT
   Même bouton que sur l'accueil
   ========================================= */

.page-services .band .btn {
  font-size: 16px !important;
  padding: 12px 24px !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* =========================================
   CTA - PAGE SERVICES UNIQUEMENT
   Même bouton que sur l'accueil
   ========================================= */

.page-realisations .band .btn {
  font-size: 16px !important;
  padding: 12px 24px !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* =========================================
   TABLEAU COMPARATIF - ACCÈS PAR CORDE
   ========================================= */

/* Supprime toute bordure dure sur la colonne */
.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
  border-left: none !important;
  border-right: none !important;
}

/* Header Accès par corde */
.compare-table th:nth-child(2) {
  background: #C85A28 !important;
  color: #FFFFFF !important;

  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Cellules de la colonne Accès par corde */
.compare-table td:nth-child(2) {
  background: rgba(200, 90, 40, 0.08) !important;
}

/* Coins inférieurs de la dernière cellule */
.compare-table tbody tr:last-child td:nth-child(2) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
/* Liens Zone & engagement vers Sécurité */
.footer-security-link {
  color: inherit;
  text-decoration: none;

  display: inline;
  padding-bottom: 2px;

  background-image: linear-gradient(#C85A28, #C85A28);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size .3s ease;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.footer-security-link:hover {
  background-size: 100% 2px;
}

.footer-security-link::after {
  display: none;
}

/* =========================================================
   SUPPRESSION FILIGRANE DES HEROES — TÉLÉPHONE UNIQUEMENT
   ========================================================= */

@media (max-width: 600px) {

  /* Accueil */
  .hero-bg {
    display: none !important;
  }

  /* Services / Entretien & maintenance */
  .services-hero::after {
    display: none !important;
  }

  /* Réalisations */
  .realisations-hero::after {
    display: none !important;
  }

  /* Sécurité & Certifications */
  .security-page .security-hero::after {
    display: none !important;
  }

  /* Contact */
  .contact-page .page-hero::after {
    display: none !important;
  }

}
/* =========================================================
   SUPPRESSION FILIGRANE HERO - TÉLÉPHONE UNIQUEMENT
   ========================================================= */

@media screen and (max-width: 767px) {

  /* ACCUEIL */
  .hero .hero-bg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background-image: none !important;
  }

  /* SERVICES */
  .services-hero::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
    opacity: 0 !important;
  }

  /* RÉALISATIONS */
  .page-realisations .realisations-hero::after,
  .page-realisations .page-hero::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
    opacity: 0 !important;
  }

  /* SÉCURITÉ */
  .security-page .security-hero::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
    opacity: 0 !important;
  }

  /* CONTACT */
  .contact-page .page-hero::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
    opacity: 0 !important;
  }


  /* =========================
     FOOTER MOBILE
     ========================= */

  /* Téléphone et e-mail : une ligne chacun */
  .footer-contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .footer-contact-item svg {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
  }


  /* Navigation : conservée, mais compacte */
  .footer-grid > div:nth-child(2) {
    display: block !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
  }

  .footer-grid > div:nth-child(2) h3 {
    display: block !important;
    margin: 0 0 10px !important;
    font-size: 17px !important;
  }

  .footer-grid > div:nth-child(2) nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }

  .footer-grid > div:nth-child(2) nav a {
    margin: 0 !important;
    padding: 2px 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }


  /* Supprime uniquement Zone & engagement */
  .footer-grid > div:nth-child(3) {
    display: none !important;
  }

}
/* =========================================
   MENU MOBILE - CENTRAGE DES LIENS
   ========================================= */

@media screen and (max-width: 767px) {
  .menu a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* =========================================================
   FOOTER + CTA COMPACTS — TÉLÉPHONE UNIQUEMENT
   ========================================================= */

@media screen and (max-width: 767px) {

  /* =========================
     BANDEAU CTA ORANGE
     ========================= */

  .band {
    padding: 14px 0 !important;
  }

  .band .container {
    display: grid !important;
    gap: 12px !important;
    text-align: center !important;
    font-size: 16px !important;
  }

  .band .btn,
  .band-contact-btn {
    width: 100% !important;
    padding: 13px 18px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    margin: 0 !important;
  }


  /* =========================
     FOOTER GÉNÉRAL
     ========================= */

  .footer {
    padding: 24px 0 12px !important;
  }

  .footer-grid {
    display: block !important;
  }


  /* =========================
     MASQUER LE TEXTE ENTREPRISE
     On garde uniquement tel/email
     ========================= */

  .footer-grid > div:first-child > h3,
  .footer-grid > div:first-child > p {
    display: none !important;
  }


  /* =========================
     SUPPRIMER NAVIGATION
     ========================= */

  .footer-grid > div:nth-child(2) {
    display: none !important;
  }


  /* =========================
     SUPPRIMER ZONE & ENGAGEMENT
     ========================= */

  .footer-grid > div:nth-child(3) {
    display: none !important;
  }


  /* =========================
     CONTACT COMPACT
     ========================= */

  .footer-contact {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;

    gap: 8px 18px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-contact-item {
    display: inline-flex !important;
    align-items: center !important;

    gap: 6px !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .footer-contact-item svg {
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px !important;
  }


  /* =========================
     COPYRIGHT / LÉGAL
     ========================= */

  .copyright {
    margin-top: 16px !important;
    padding-top: 10px !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;

    gap: 3px 8px !important;

    text-align: center !important;

    font-size: 9px !important;
    line-height: 1.3 !important;
  }

  .copyright span {
    margin: 0 !important;
  }

}
/* ==================================================
   FOOTER - VERSION MOBILE UNIQUEMENT
   ================================================== */

@media screen and (max-width: 767px) {

  /* Téléphone et e-mail : chacun sur sa ligne */
  .footer-contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .footer-contact-item svg {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
  }


  /* Réaffiche le bloc Navigation */
  .footer-grid > div:nth-child(2) {
    display: block !important;
    width: 100% !important;
    margin-top: 18px !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
  }

  /* Titre Navigation */
  .footer-grid > div:nth-child(2) h3 {
    display: block !important;
    margin: 0 0 10px !important;
    font-size: 17px !important;
  }

  /* Pages une par ligne */
  .footer-grid > div:nth-child(2) nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
  }

  .footer-grid > div:nth-child(2) nav a {
    display: block !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }


  /* Supprime uniquement Zone & engagement */
  .footer-grid > div:nth-child(3) {
    display: none !important;
  }
/* Titre Accès Vertical Solutions - footer mobile */
.footer-grid > div:first-child > h3 {
  display: block !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  color: #C85A28 !important;
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* Supprime uniquement le paragraphe descriptif */
.footer-grid > div:first-child > p {
  display: none !important;
}

/* Titre Navigation : exactement le même style */
.footer-grid > div:nth-child(2) h3 {
  display: block !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  color: #C85A28 !important;
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
  /* Même typographie pour coordonnées ET liens Navigation */
.footer-contact-item,
.footer-contact-item span,
.footer-grid > div:nth-child(2) nav a {
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}
  /* Même espacement sous les deux titres du footer */
.footer-grid > div:first-child h3 {
  margin-bottom: 24px !important;
}

.footer-grid > div:nth-child(2) h3 {
  margin-bottom: 24px !important;
}
  /* CENTRAGE CTA SERVICES + RÉALISATIONS - MOBILE UNIQUEMENT */
.services-page .band .container,
.page-services .band .container,
.page-realisations .band .container,
.realisations-page .band .container {
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
}

.services-page .band strong,
.page-services .band strong,
.page-realisations .band strong,
.realisations-page .band strong {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.services-page .band .btn,
.page-services .band .btn,
.page-realisations .band .btn,
.realisations-page .band .btn {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
/* Hamburger orange - toutes les pages - mobile uniquement */
.burger {
  color: #C85A28 !important;
}
  /* =========================================
   DU BESOIN AU CHANTIER - CARTES MOBILE
   ========================================= */

.steps {
  gap: 28px 18px !important;
}

.step {
  background: #FFFFFF !important;
  padding: 22px !important;
  border-radius: 14px !important;

  border: 1px solid rgba(22, 40, 58, 0.08) !important;

  box-shadow:
    0 8px 22px rgba(22, 40, 58, 0.08) !important;
}

/* Évite que les contenus collent au bord */
.step h3 {
  margin-top: 16px !important;
}

.step p {
  margin-bottom: 0 !important;
}
  /* =========================================
   TABLEAU COMPARATIF - COLONNE CRITÈRE FIXE
   MOBILE UNIQUEMENT
   ========================================= */

.compare-table-wrap {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* 1re colonne fixe */
.compare-table th:first-child,
.compare-table td:first-child {
  position: sticky !important;
  left: 0 !important;
  z-index: 3 !important;

  background: #FFFFFF !important;

  box-shadow:
    8px 0 12px -10px rgba(22, 40, 58, 0.45) !important;
}

/* En-tête "Critère" */
.compare-table th:first-child {
  z-index: 5 !important;
  background: #16283A !important;
  color: #FFFFFF !important;
}

/* Empêche la colonne fixe de devenir trop étroite */
.compare-table th:first-child,
.compare-table td:first-child {
  min-width: 145px !important;
  width: 145px !important;
}

/* Garde les autres colonnes suffisamment larges pour permettre le swipe */
.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  min-width: 185px !important;
}
  /* =========================================
   INDICATION SWIPE TABLEAU - MOBILE
   ========================================= */

.compare-swipe-hint {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;

  margin: 10px 4px 4px 0;

  color: #16283A !important;
font-size: 12px;
font-weight: 700 !important;
  line-height: 1.2;

  opacity: 1;
  transform: translateY(0);

  transition:
    opacity .35s ease,
    transform .35s ease;

  pointer-events: none;
}

.compare-swipe-icon {
  font-size: 15px;
  color: #16283A !important;
  font-weight: 700 !important;
}

/* Disparition après le premier swipe utilisateur */
.compare-swipe-hint.is-hidden {
  opacity: 0;
  transform: translateY(-3px);
}
  /* FIN DU BLOC MOBILE */
}
  /* =========================================
   TABLETTE UNIQUEMENT
   ========================================= */

@media screen and (min-width: 768px) and (max-width: 1024px) {
  
  /* ACCUEIL - supprimer le filigrane */
  .hero .hero-bg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background-image: none !important;
  }

  /* RÉALISATIONS - supprimer le filigrane */
  .page-realisations .realisations-hero::after,
  .page-realisations .page-hero::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
    opacity: 0 !important;
  }

  /* SÉCURITÉ - supprimer le filigrane */
  .security-page .security-hero::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
    opacity: 0 !important;
  }

  /* CONTACT - supprimer le filigrane */
  .contact-page .page-hero::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
    opacity: 0 !important;
  }
  /* =========================================
   FOOTER - TABLETTE UNIQUEMENT
   ========================================= */

/* Masque uniquement le paragraphe descriptif
   sous "Accès Vertical Solutions" */
.footer-grid > div:first-child > p {
  display: none !important;
}

/* Supprime entièrement "Zone & engagement" */
.footer-grid > div:nth-child(3) {
  display: none !important;
}
  /* =========================================
   CENTRAGE "SERVICES" - TABLETTE UNIQUEMENT
   ========================================= */

.menu > .nav-services {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.menu > .nav-services > .nav-services-link {
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}
  /* MENU HAMBURGER - TABLETTE UNIQUEMENT */

.nav.open .menu {
  position: absolute !important;
  top: 110px !important;

  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  transform: translateX(-50%) !important;

  box-sizing: border-box !important;
  background: #FFFFFF !important;

  padding: 20px !important;
  margin: 0 !important;

  border: 0 !important;
  border-top: 1px solid #C85A28 !important;
  box-shadow: none !important;

  flex-direction: column !important;
  align-items: center !important;
}

.nav.open .menu > a,
.nav.open .nav-services {
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
/* ACCUEIL - 4 FAMILLES D'INTERVENTION - TABLETTE UNIQUEMENT */

.service-card .inner {
  min-height: 0 !important;
  height: auto !important;
  padding: 22px !important;
}

.service-link {
  margin-top: 24px !important;
  padding-top: 0 !important;
}
/* ACCUEIL - PHOTOS 4 FAMILLES - TABLETTE UNIQUEMENT */

.service-card img {
  width: 100% !important;
  height: 615px !important;

  object-fit: cover !important;
  object-position: center top !important;

  display: block !important;
}
  /* ==================================================
   TABLETTE UNIQUEMENT — DU BESOIN AU CHANTIER
   ================================================== */

  /* Grille des 4 étapes */
  .steps {
    gap: 28px 32px !important;
  }

  /* Les 4 étapes deviennent des cartes */
  .steps > * {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 28px !important;

    border: 1px solid rgba(22, 40, 58, 0.07) !important;

    box-shadow:
      0 8px 24px rgba(22, 40, 58, 0.08) !important;

    box-sizing: border-box;
  }

  .compare-swipe-hint {
  display: none !important;
}

/* 4 FAMILLES D'INTERVENTION - TABLETTE */
.service-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

.service-grid > * {
  width: 100% !important;
  min-width: 0 !important;
}

.service-grid img {
  width: 100% !important;
  height: 300px !important;
  object-fit: cover !important;
}

} /* FIN TABLETTE */
  
  /* =========================================
   ORDINATEUR UNIQUEMENT
   Masque "Swipez pour comparer"
   ========================================= */

@media screen and (min-width: 1025px) {
  .compare-swipe-hint {
    display: none !important;
  }
}
