:root {
  --navy: #08263B;
  --navy-dark: #061A28;
  --navy-soft: #1C3148;
  --gold: #C49A63;
  --gold-dark: #A77A43;
  --gold-light: #E5D0AE;
  --bg: #F7F2EA;
  --card: #FFFFFF;
  --text: #08263B;
  --muted: #6F7782;
  --container: 1619.2px;
  --font-title: Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-card: 0 19.2px 44.8px rgba(8, 19, 31, .08);
  --shadow-heavy: 0 32px 72px rgba(8, 19, 31, .16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #F7F1E7;
}

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

.site-container {
  width: min(var(--container), calc(100% - 176px));
  margin-inline: auto;
}

/* Header pleine largeur, comme la référence */
.topbar {
  height: 49.6px;
  background: var(--navy-dark);
  color: #fff;
  font-size: 19.2px;
}

.topbar .site-container {
  height: 49.6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 38.4px;
}

.topbar i {
  color: #fff;
  opacity: .9;
}

.navbar-wrap {
  height: 121.6px;
  background: #fff;
  border-bottom: 1px solid rgba(16, 35, 56, .07);
}

.navbar {
  height: 121.6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14.4px;
  min-width: 304px;
}

.logo--header {
  gap: 10px;
  min-width: 0;
}

.logo--header .logo__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
}

.logo__mark {
  width: 78.4px;
  height: 78.4px;
  position: relative;
  border: 4.8px solid var(--navy);
  border-radius: 16px;
  background: #fff;
}

.logo__mark::before {
  content: "";
  position: absolute;
  left: 12.8px;
  top: 20.8px;
  width: 44.8px;
  height: 33.6px;
  border: 6.4px solid var(--navy);
  border-top: 0;
  transform: skewY(-17deg);
}

.logo__mark::after {
  content: "";
  position: absolute;
  top: 11.2px;
  right: 11.2px;
  width: 12.8px;
  height: 12.8px;
  background: #C99A52;
  border-radius: 2px;
  box-shadow: -24px 32px 0 #C99A52, 0 32px 0 #C99A52;
}

.logo strong {
  display: block;
  font-size: 46.4px;
  line-height: .86;
  letter-spacing: -.05em;
  font-weight: 900;
  color: var(--navy);
}

.logo span span {
  display: block;
  font-size: 14.4px;
  letter-spacing: .28em;
  font-weight: 900;
  color: #C99A52;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 51.2px;
  font-size: 20.8px;
  font-weight: 800;
}

.nav-menu a {
  position: relative;
  padding: 46.4px 0;
}

.nav-menu a.active,
.nav-menu a:hover {
  color: #C99A52;
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  height: 2px;
  background: #C99A52;
  border-radius: 1598.4px;
}

.btn {
  min-height: 70.4px;
  border-radius: 1598.4px;
  padding: 0 35.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14.4px;
  border: 0;
  font-weight: 900;
  font-size: 20.8px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #d96b43, #c85f3e);
  color: #fff;
}

.btn-primary:hover {
  background: #a84f33;
  color: #fff;
}

.btn-outline {
  background: rgba(16, 35, 56, .35);
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
}

/* Hero : image de fond + dégradé comme la capture */
.hero {
  min-height: 550.4px;
  color: #fff;
  background-color: var(--navy-dark);
  background-image:
    linear-gradient(90deg,
      #061A28 0%,
      #061A28 30%,
      rgba(8, 19, 31, .96) 43%,
      rgba(8, 19, 31, .76) 53%,
      rgba(8, 19, 31, .34) 66%,
      rgba(8, 19, 31, 0) 77%),
    url("hero-roofer.png");
  background-size: 100% 100%, auto 100%;
  background-position: left top, right center;
  background-repeat: no-repeat;
}

.hero .site-container {
  min-height: 550.4px;
  display: flex;
  align-items: center;
}

.hero__content {
  width: 720px;
  padding-bottom: 12.8px;
}

.kicker {
  margin-bottom: 24px;
  color: #C99A52;
  font-size: 17.6px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .17em;
}

.hero h1,
.section-title,
.about-card h2,
.real-card h2,


.hero h1 {
  margin: 0;
  max-width: 672px;
  color: #fff;
  font-size: 72px;
  font-weight: 700;
}

.hero h1 span {
  color: #C99A52;
}

.hero p {
  margin: 25.6px 0 0;
  max-width: 576px;
  color: rgba(255, 255, 255, .88);
  font-size: 22.4px;
  line-height: 1.45;
}

.hero__actions {
  margin-top: 35.2px;
  display: flex;
  gap: 24px;
  align-items: center;
}

/* Bande avantages */
.features {
  position: relative;
  z-index: 5;
  margin-top: -49.6px;
}

.features__box {
  min-height: 100.8px;
  background: #fff;
  border-radius: 19.2px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 35, 56, .06);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.feature {
  min-height: 100.8px;
  display: flex;
  align-items: center;
  gap: 20.8px;
  padding: 0 44.8px;
  border-right: 1px solid rgba(16, 35, 56, .08);
}

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

.feature i {
  font-size: 44.8px;
  color: #C99A52;
}

.feature strong {
  display: block;
  font-size: 19.2px;
  line-height: 1.18;
}

.feature span {
  display: block;
  font-size: 17.6px;
  color: var(--text);
  line-height: 1.12;
}

/* Fond principal */
.main-bg {
  background:
    radial-gradient(circle at 100% 47%, rgba(229, 208, 174, .18), transparent 19%),
    #F7F1E7;
}

.section {
  padding: 92.8px 0 0;
}

/* Services */
.expertise {
  display: grid;
  grid-template-columns: 328px 1fr;
  gap: 44.8px;
  align-items: start;
}

.section-title {
  margin: 0;
  font-size: 41.6px;
  color: var(--text);
}

.title-line {
  width: 56px;
  height: 2px;
  background: #C99A52;
  margin-top: 27.2px;
}

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

.service-card {
  background: #fff;
  min-height: 348.8px;
  border-radius: 12.8px;
  border: 1px solid rgba(16, 35, 56, .06);
  overflow: hidden;
  box-shadow: 0 12.8px 28.8px rgba(8, 19, 31, .05);
}

.service-card__img {
  height: 116.8px;
  background: var(--image) center / cover no-repeat;
}

.service-card__body {
  padding: 19.2px 17.6px 16px;
}

.service-card__icon {
  display: block;
  color: #C99A52;
  font-size: 36.8px;
  line-height: 1;
  margin-bottom: 14.4px;
}

.service-card h3 {
  margin: 0 0 12.8px;
  font-family: var(--font-body);
  letter-spacing: 0;
  font-size: 20.8px;
  line-height: 1.05;
  font-weight: 900;
  color: var(--text);
}

.service-card p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

.service-card a {
  color: #C99A52;
  font-size: 16px;
  font-weight: 900;
}

/* À propos / Réalisations */
.split-section {
  padding-top: 62.4px;
}

.about-real-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 35px;
}

.about-card {
  min-height: 403.2px;
  background: var(--navy-dark);
  color: #fff;
  border-radius: 20.8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 40% 60%;
  box-shadow: var(--shadow-card);
}

.about-card__img {
  margin: 25.6px;
  border-radius: 12.8px;
  background: url("about-house.png") center / cover no-repeat;
}

.about-card__body {
  padding: 40px 35.2px 35.2px 0;
}

.about-card .kicker,
.real-card .kicker {
  font-size: 16px;
  margin-bottom: 12.8px;
}

.about-card h2 {
  margin: 0 0 17.6px;
  font-size: 35.2px;
  color: #fff;
}

.about-card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.45;
}

.stats {
  margin-top: 30.4px;
  display: flex;
  gap: 49.6px;
}

.stats strong {
  display: block;
  font-size: 43.2px;
  line-height: 1;
}

.stats span {
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
}

.real-card {
  min-height: 403.2px;
  padding: 20px;
  background: #fff;
  border-radius: 20.8px;
  border: 1px solid rgba(16, 35, 56, .06);
  box-shadow: var(--shadow-card);
}

.real-card h2 {
  margin: 0;
  font-size: 35.2px;
  color: var(--text);
}



.before-after::after {
  content: "‹ ›";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 51.2px;
  height: 51.2px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 19.2px;
}







/* Process / Avis */


. .reviews {
  padding-top: 32px;
  padding-bottom: 44.8px;
}

.review-grid {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 21px;
}

.review-card {
  min-height: 138px;
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .06);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(8, 19, 31, .04);
  padding: 21px;
}

.stars {
  color: #F4A72C;
  font-size: 19px;
  letter-spacing: .12em;
}

.review-card p {
  margin: 11px 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

.review-card strong {
  font-size: 16px;
}

/* CTA footer */
.cta-band {
  background: #C99A52;
  color: #fff;
}

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

.cta-left {
  display: flex;
  gap: 22.4px;
  align-items: center;
}

.cta-icon {
  width: 68.8px;
  height: 68.8px;
  border-radius: 50%;
  background: #fff;
  color: #C99A52;
  display: grid;
  place-items: center;
  font-size: 33.6px;
}

.cta-left strong {
  display: block;
  font-size: 27.2px;
}

.cta-left span {
  font-size: 19.2px;
  color: rgba(255, 255, 255, .86);
}

.btn-footer {
  background: var(--navy-dark);
  color: #fff;
}

.btn-phone {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .48);
  color: #fff;
}

/* Footer */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .75);
}

.footer-inner {
  padding: 40px 0 25.6px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.45fr 1.25fr;
  gap: 51.2px;
}

.footer .logo__mark {
  border-color: #fff;
}

.footer .logo__mark::before {
  border-color: #fff;
  border-top: 0;
}

.footer .logo strong {
  color: #fff;
}

.footer p,
.footer li {
  font-size: 17.6px;
  line-height: 1.45;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer h4 {
  margin: 0 0 16px;
  color: #C99A52;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 16px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 19.2px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: rgba(255, 255, 255, .55);
}

@media (max-width: 1000px) {
  .site-container {
    width: min(100% - 44.8px, var(--container));
  }

  .navbar-wrap,
  .navbar {
    height: auto;
  }

  .navbar {
    padding: 25.6px 0;
    flex-direction: column;
    gap: 25.6px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__content {
    width: 100%;
  }

  .hero {
    background-image:
      linear-gradient(90deg, #061A28 0%, rgba(8, 19, 31, .92) 100%),
      url("hero-roofer.png");
  }

  .features__grid,
  .service-grid,
  .about-real-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-inner {
    padding: 22.4px 0;
    flex-direction: column;
    gap: 22.4px;
    align-items: flex-start;
  }
}

/* Ajustements V2 160% propres, sans zoom CSS ni transform global */
.service-card {
  min-height: 348px;
}

.service-card__img {
  height: 118px;
}

.hero {
  background-position: left top, right center;
}

.hero__content {
  width: 640px;
}

@media (max-width: 1000px) {
  .site-container {
    width: min(100% - 28px, var(--container));
  }
}


/* Correctif V4 — alignement identique des liens "En savoir plus" dans les service-card */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card p {
  flex: 1;
}

.service-card a {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


/* V6 — process-grid nettoyé : aucun sélecteur process-grid sans point, valeurs 160% appliquées directement. */

/* Correctif V7 — taille finale du titre process */



@media (max-width: 760px) {

  .process-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* Correctif V9 — hauteur finale du before-after */
.real-card {
  min-height: 403.2px;
  padding: 20px;
  background: #fff;
  border-radius: 20.8px;
  border: 1px solid rgba(16, 35, 56, .06);
  box-shadow: var(--shadow-card);
}




/* Correctif V10 — HERO repris proprement
   - plus de split vertical brutal
   - image en fond à droite via pseudo-element
   - gradient au-dessus de l'image
   - texte replacé à gauche
   - titre assez large pour rester sur 2 lignes
*/
.hero {
  position: relative;
  overflow: hidden;
  min-height: 550.4px;
  color: #fff;
  background-color: var(--navy-dark);
  background-image: none !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
  height: 100%;
  background: url("hero-roofer.png") center right / cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      #061A28 0%,
      #061A28 28%,
      rgba(8, 19, 31, .98) 38%,
      rgba(8, 19, 31, .84) 48%,
      rgba(8, 19, 31, .48) 60%,
      rgba(8, 19, 31, .16) 70%,
      rgba(8, 19, 31, 0) 78%);
  z-index: 1;
}

.hero .site-container {
  position: relative;
  z-index: 2;
  width: calc(100% - 176px);
  max-width: none;
  margin-left: 88px;
  margin-right: 88px;
  min-height: 550.4px;
  display: flex;
  align-items: center;
}

.hero__content {
  width: 790px;
  max-width: 790px;
  padding-bottom: 12.8px;
}

.hero h1 {
  margin: 0;
  max-width: 790px;
  color: #fff;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.05;
}

.hero p {
  max-width: 575px;
}

/* On évite que les règles media précédentes recassent le hero trop tôt */
@media (max-width: 1000px) {
  .hero {
    background-image: none !important;
  }

  .hero::before {
    width: 100%;
    opacity: .42;
  }

  .hero::after {
    background: linear-gradient(90deg, #061A28 0%, rgba(8, 19, 31, .96) 58%, rgba(8, 19, 31, .76) 100%);
  }

  .hero .site-container {
    width: min(100% - 44.8px, var(--container));
    margin-left: auto;
    margin-right: auto;
  }

  .hero__content {
    width: 100%;
    max-width: 790px;
  }
}


/* Correctif V11 — HERO dans le container
   Le fond image + gradient est maintenant porté par .hero .site-container,
   pas par .hero en pleine largeur.
*/
.hero {
  position: relative;
  min-height: 550.4px;
  overflow: visible;
  color: #fff;
  background: var(--navy-dark) !important;
  background-image: none !important;
}

.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
}

.hero .site-container {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 176px));
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  min-height: 550.4px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero .site-container::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 66%;
  height: 100%;
  background: url("hero-roofer.png") center right / cover no-repeat;
  z-index: 0;
}

.hero .site-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      #061A28 0%,
      #061A28 30%,
      rgba(8, 19, 31, .98) 41%,
      rgba(8, 19, 31, .86) 51%,
      rgba(8, 19, 31, .52) 63%,
      rgba(8, 19, 31, .18) 73%,
      rgba(8, 19, 31, 0) 82%);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 790px;
  max-width: 790px;
  padding-bottom: 12.8px;
}

.hero h1 {
  max-width: 790px;
  line-height: 1.05;
}

@media (max-width: 1000px) {
  .hero .site-container {
    width: min(100% - 44.8px, var(--container));
    margin-left: auto;
    margin-right: auto;
  }

  .hero .site-container::before {
    width: 100%;
    opacity: .42;
  }

  .hero .site-container::after {
    background: linear-gradient(90deg, #061A28 0%, rgba(8, 19, 31, .96) 58%, rgba(8, 19, 31, .76) 100%);
  }

  .hero__content {
    width: 100%;
    max-width: 790px;
  }
}


/* Correctif V12 — HERO en vrai container
   Cette fois le visuel du hero n'est plus porté par .hero ni directement par .site-container.
   On a un vrai bloc .hero-frame à l'intérieur du container.
*/
.hero {
  position: relative;
  min-height: 550.4px;
  color: #fff;
  background: var(--navy-dark) !important;
  background-image: none !important;
  overflow: visible;
}

.hero::before,
.hero::after,
.hero>.site-container::before,
.hero>.site-container::after {
  display: none !important;
  content: none !important;
}

.hero>.site-container.hero-shell {
  width: min(var(--container), calc(100% - 176px));
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  min-height: 550.4px;
  display: block !important;
  position: relative;
  overflow: visible !important;
  padding: 0;
}

.hero-frame {
  position: relative;
  min-height: 550.4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 67%;
  height: 100%;
  background: url("hero-roofer.png") center right / cover no-repeat;
  z-index: 0;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #061A28 0%,
      #061A28 29%,
      rgba(8, 19, 31, .99) 39%,
      rgba(8, 19, 31, .88) 50%,
      rgba(8, 19, 31, .56) 62%,
      rgba(8, 19, 31, .20) 74%,
      rgba(8, 19, 31, 0) 84%);
}

.hero-frame .hero__content {
  position: relative;
  z-index: 2;
  width: 790px;
  max-width: 790px;
  padding-bottom: 12.8px;
}

.hero-frame h1 {
  max-width: 790px;
  line-height: 1.05;
}

@media (max-width: 1000px) {
  .hero>.site-container.hero-shell {
    width: min(100% - 44.8px, var(--container));
  }

  .hero-frame::before {
    width: 100%;
    opacity: .42;
  }

  .hero-frame::after {
    background: linear-gradient(90deg, #061A28 0%, rgba(8, 19, 31, .96) 58%, rgba(8, 19, 31, .76) 100%);
  }

  .hero-frame .hero__content {
    width: 100%;
    max-width: 790px;
  }
}


/* Correctif V13 — image hero collée à droite de l'écran, texte dans le container
   Le texte reste bon, mais l'image redevient un fond full-right.
*/
.hero {
  position: relative;
  min-height: 550.4px;
  overflow: hidden;
  color: #fff;
  background: var(--navy-dark) !important;
  background-image: none !important;
}

.hero::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  background: url("hero-roofer.png") right center / auto 100% no-repeat;
  z-index: 0;
}

.hero::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #061A28 0%,
      #061A28 35%,
      rgba(8, 19, 31, .98) 45%,
      rgba(8, 19, 31, .86) 55%,
      rgba(8, 19, 31, .55) 64%,
      rgba(8, 19, 31, .22) 73%,
      rgba(8, 19, 31, 0) 82%);
}

.hero>.site-container.hero-shell {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 176px));
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  min-height: 550.4px;
  display: flex !important;
  align-items: center;
  padding: 0;
  overflow: visible !important;
}

.hero-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 550.4px;
  overflow: visible !important;
  display: flex;
  align-items: center;
  background: transparent !important;
}

.hero-frame::before,
.hero-frame::after,
.hero>.site-container::before,
.hero>.site-container::after {
  display: none !important;
  content: none !important;
}

.hero-frame .hero__content {
  position: relative;
  z-index: 3;
  width: 790px;
  max-width: 790px;
  padding-bottom: 12.8px;
}

.hero-frame h1,
.hero h1 {
  max-width: 790px;
  line-height: 1.05;
}

@media (max-width: 1000px) {
  .hero::before {
    background-size: cover;
    opacity: .42;
  }

  .hero::after {
    background: linear-gradient(90deg, #061A28 0%, rgba(8, 19, 31, .96) 58%, rgba(8, 19, 31, .76) 100%);
  }

  .hero>.site-container.hero-shell {
    width: min(100% - 44.8px, var(--container));
  }

  .hero-frame .hero__content {
    width: 100%;
    max-width: 790px;
  }
}


/* Correctif V14 — image hero réellement collée à droite
   On arrête de gérer l'image avec les anciens pseudo-elements conflictuels.
   L'image est maintenant un vrai calque .hero-media en position absolute.
*/
.hero {
  position: relative;
  min-height: 550.4px;
  overflow: hidden;
  color: #fff;
  background: #061A28 !important;
  background-image: none !important;
}

.hero::before,
.hero>.site-container::before,
.hero>.site-container::after,
.hero-frame::before,
.hero-frame::after {
  display: none !important;
  content: none !important;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 68vw;
  min-width: 980px;
  max-width: none;
  background-image: url("hero-roofer.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  z-index: 0;
}

.hero::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #061A28 0%,
      #061A28 33%,
      rgba(8, 19, 31, .98) 43%,
      rgba(8, 19, 31, .82) 53%,
      rgba(8, 19, 31, .50) 62%,
      rgba(8, 19, 31, .18) 72%,
      rgba(8, 19, 31, 0) 82%);
}

.hero>.site-container.hero-shell {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 176px));
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  min-height: 550.4px;
  display: flex !important;
  align-items: center;
  padding: 0;
  overflow: visible !important;
}

.hero-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 550.4px;
  overflow: visible !important;
  display: flex;
  align-items: center;
  background: transparent !important;
}

.hero-frame .hero__content {
  position: relative;
  z-index: 3;
  width: 790px;
  max-width: 790px;
  padding-bottom: 12.8px;
}

.hero-frame h1,
.hero h1 {
  max-width: 790px;
  line-height: 1.05;
}

@media (max-width: 1000px) {
  .hero-media {
    width: 100%;
    min-width: 0;
    opacity: .42;
  }

  .hero::after {
    background: linear-gradient(90deg, #061A28 0%, rgba(8, 19, 31, .96) 58%, rgba(8, 19, 31, .76) 100%);
  }

  .hero>.site-container.hero-shell {
    width: min(100% - 44.8px, var(--container));
  }

  .hero-frame .hero__content {
    width: 100%;
    max-width: 790px;
  }
}


/* Correctif V15 — hero 630px + media droite */
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 68vw;
  min-width: 980px;
  max-width: none;
  background-image: url("hero-roofer.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  z-index: 0;
}

.hero {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  color: #fff;
  background: #061A28 !important;
  background-image: none !important;
}

.hero>.site-container.hero-shell,
.hero-frame {
  min-height: 630px;
}

.hero::before,
.hero>.site-container::before,
.hero>.site-container::after,
.hero-frame::before,
.hero-frame::after {
  display: none !important;
  content: none !important;
}


/* Correctif V16 — Processus style bandeau avec flèches */
.process-section {
  padding-top: 44.8px;
  padding-bottom: 14px;
}

.process-board {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(16, 35, 56, 0.08);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(8, 19, 31, 0.04);
  overflow: hidden;
}

.process-intro {
  padding: 22px 28px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-intro .kicker {
  margin-bottom: 12px;
}

.process-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.process-line {
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-top: 18px;
  background: #C99A52;
  border-radius: 999px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  min-width: 0;
}

.process-step {
  position: relative;
  padding: 24px 30px 16px 28px;
  min-height: 108px;
  background: transparent;
}

.process-step:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 28px;
  right: -4px;
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
  color: #C49A63;
  z-index: 2;
}

.process-step__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #C49A63;
}

.process-step__meta i {
  font-size: 18px;
  line-height: 1;
}

.process-step .num {
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  color: #08263B;
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  color: #08263B;
}

.process-step p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #08263B;
  max-width: 150px;
}

@media (max-width: 1240px) {
  .process-board {
    grid-template-columns: 1fr;
  }

  .process-intro {
    padding-bottom: 10px;
  }

  .process-steps {
    border-top: 1px solid rgba(16, 35, 56, 0.06);
  }
}

@media (max-width: 980px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 18px 20px 18px 20px;
    border-top: 1px solid rgba(16, 35, 56, 0.06);
  }

  .process-step:first-child {
    border-top: 0;
  }

  .process-step:not(:last-child)::after {
    content: "";
    display: none;
  }

  .process-step p {
    max-width: none;
  }
}


@media (max-width: 760px) {
  .before-after {
    height: 240px;
  }

  .before-after__handle {
    width: 48px;
    height: 48px;
  }

  .before-after__handle i {
    font-size: 20px;
  }

  .before-tag {
    top: 12px;
    padding: 8px 14px;
    font-size: 12px;
  }
}


/* Correctif V19 — slider avant/après en cover, sans effet de zoom */
.before-after {
  --reveal: 6%;
  position: relative;
  margin: 25.6px 0 20.8px;
  height: 308px;
  border-radius: 15px;
  overflow: hidden;
  background: #dfe5eb;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.before-after__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none;
}

.before-after__img--before {
  z-index: 1;
}

.before-after__after {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
  overflow: hidden;
}

.before-after__img--after {
  z-index: 2;
}

.before-after__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 3px;
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(16, 35, 56, 0.05);
  pointer-events: none;
}

.before-after__handle {
  position: absolute;
  top: 50%;
  left: var(--reveal);
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #08263B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transform: translate(-50%, -50%);
  z-index: 4;
  box-shadow: 0 10px 24px rgba(16, 35, 56, 0.16);
  cursor: ew-resize;
  padding: 0;
}

.before-after__handle i {
  font-size: 24px;
  line-height: 1;
}

.before-tag {
  position: absolute;
  top: 16px;
  padding: 9px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  z-index: 5;
}

.before-tag.left {
  left: 16px;
  background: #08263B;
}

.before-tag.right {
  right: 16px;
  background: #C99A52;
}

@media (max-width: 760px) {
  .before-after {
    height: 240px;
  }

  .before-after__handle {
    width: 48px;
    height: 48px;
  }

  .before-after__handle i {
    font-size: 20px;
  }

  .before-tag {
    top: 12px;
    padding: 8px 14px;
    font-size: 12px;
  }
}


/* Correctif V20 — ajustement process demandé */
.process-step:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 28px;
  right: -4px;
  font-size: 60px;
  line-height: 1;
  font-weight: 300;
  color: #C49A63;
  z-index: 2;
}

.process-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}


/* Correctif V21 — padding bas sur les avis */
.review-grid {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 21px;
  padding-bottom: 20px;
}


/* Correctif V22 — textes process */
.process-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #08263B;
  max-width: 150px;
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
  color: #08263B;
}


/* Correctif V23 — menu mobile */
.mobile-menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: #08263B;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-toggle i {
  font-size: 28px;
  line-height: 1;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 31, .62);
  backdrop-filter: blur(4px);
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(390px, calc(100vw - 28px));
  height: 100%;
  background: #fff;
  color: #08263B;
  padding: 22px;
  box-shadow: -20px 0 50px rgba(8, 19, 31, .24);
  transform: translateX(105%);
  transition: transform .32s ease;
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(16, 35, 56, .08);
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 13px;
  background: #F3EBDD;
  color: #08263B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu__close i {
  font-size: 20px;
  line-height: 1;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  color: #08263B;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  background: #F8F5F1;
}

.mobile-menu__nav a::after {
  content: "›";
  font-size: 28px;
  line-height: 1;
  color: #C99A52;
}

.mobile-menu__nav a.active,
.mobile-menu__nav a:hover {
  background: #08263B;
  color: #fff;
}

.mobile-menu__actions {
  display: grid;
  gap: 12px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(16, 35, 56, .08);
  border-bottom: 1px solid rgba(16, 35, 56, .08);
}

.mobile-menu__actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 52px;
}

.mobile-menu__actions .btn-outline {
  color: #08263B;
  border-color: rgba(16, 35, 56, .18);
  background: #fff;
}

.mobile-menu__infos {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  color: #6c7680;
  font-size: 14px;
  font-weight: 700;
}

.mobile-menu__infos span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu__infos i {
  color: #C99A52;
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 1180px) {

  .nav-menu,
  .navbar>.navbar-cta {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .navbar {
    min-height: 78px;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .navbar-wrap {
    top: 0;
  }

  .navbar {
    min-height: 70px;
  }

  .mobile-menu-toggle {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .mobile-menu__panel {
    width: min(360px, calc(100vw - 20px));
    padding: 18px;
  }
}


/* Correctif V24 — bouton close menu mobile + logo */
.mobile-menu__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 13px;
  background: #F3EBDD;
  color: #08263B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14.4px;
  min-width: 236px;
}


/* Correctif V25 — taille bouton burger mobile */
@media (max-width: 760px) {
  .mobile-menu-toggle {
    width: 60px;
    height: 60px;
    border-radius: 13px;
  }
}


/* Correctif V26 — menu desktop conservé plus longtemps
   Ancien souci : avec le zoom navigateur, le breakpoint 1180px déclenchait le menu mobile trop tôt.
   Nouveau comportement : menu mobile seulement à 1000px CSS et moins.
*/
@media (min-width: 1001px) {
  .nav-menu {
    display: flex !important;
  }

  .navbar>.navbar-cta {
    display: inline-flex !important;
  }

  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1000px) {

  .nav-menu,
  .navbar>.navbar-cta {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
  }
}


/* Correctif V27 — hero mobile propre */
@media (max-width: 1000px) {
  .navbar-wrap {
    height: auto !important;
  }

  .navbar {
    height: 92px !important;
    min-height: 92px !important;
    padding: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  .navbar .logo {
    min-width: auto !important;
    flex-shrink: 1;
  }

  .mobile-menu-toggle {
    flex-shrink: 0;
  }
}

@media (max-width: 760px) {
  .navbar {
    height: 94px !important;
    min-height: 94px !important;
  }

  .hero {
    min-height: auto !important;
    padding: 34px 0 118px !important;
    overflow: hidden !important;
  }

  .hero-media {
    inset: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    opacity: .36 !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  .hero::after {
    background:
      linear-gradient(90deg,
        #061A28 0%,
        rgba(8, 19, 31, .98) 48%,
        rgba(8, 19, 31, .88) 100%) !important;
  }

  .hero>.site-container.hero-shell {
    width: min(100% - 44px, var(--container)) !important;
    min-height: auto !important;
    display: block !important;
    padding: 0 !important;
  }

  .hero-frame {
    min-height: auto !important;
    display: block !important;
    padding: 0 !important;
  }

  .hero-frame .hero__content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .hero .kicker {
    font-size: 15px !important;
    line-height: 1.25 !important;
    letter-spacing: .16em !important;
  }

  .hero h1,
  .hero-frame h1 {
    max-width: 100% !important;
    font-size: clamp(42px, 10.5vw, 52px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
    margin-top: 28px !important;
  }

  .hero p {
    max-width: 100% !important;
    margin-top: 24px !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
  }

  .hero__actions {
    margin-top: 32px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .hero__actions .btn {
    width: 100% !important;
    min-height: 58px !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .features {
    margin-top: -54px !important;
  }
}

@media (max-width: 430px) {

  .hero h1,
  .hero-frame h1 {
    font-size: 42px !important;
  }

  .hero p {
    font-size: 18px !important;
  }
}


/* Correctif V28 — le template ne passe plus en mobile trop tôt
   Mode desktop forcé au-dessus de 760px.
   Le menu mobile + hero mobile s'activent uniquement à 760px et moins.
*/
@media (min-width: 761px) {
  .navbar-wrap {
    height: 121.6px !important;
  }

  .navbar {
    height: 121.6px !important;
    min-height: 121.6px !important;
    padding: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 25.6px !important;
  }

  .nav-menu {
    display: flex !important;
  }

  .navbar>.navbar-cta {
    display: inline-flex !important;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero {
    min-height: 630px !important;
    padding: 0 !important;
  }

  .hero>.site-container.hero-shell,
  .hero-frame {
    min-height: 630px !important;
  }

  .hero-frame .hero__content {
    width: 790px !important;
    max-width: 790px !important;
  }

  .hero h1,
  .hero-frame h1 {
    font-size: 72px !important;
    line-height: 1.05 !important;
    max-width: 790px !important;
    margin-top: 0 !important;
  }

  .hero p {
    max-width: 575px !important;
    font-size: 22.4px !important;
  }

  .hero__actions {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 24px !important;
    width: auto !important;
  }

  .hero__actions .btn {
    width: auto !important;
  }

  .features {
    margin-top: -49.6px !important;
  }
}

@media (max-width: 760px) {

  .nav-menu,
  .navbar>.navbar-cta {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
  }
}


/* Correctif V29 — menu mobile dès 1720px
   Le contenu reste en version desktop/tablette, mais la navigation passe en burger
   pour éviter que le menu horizontal écrase le header.
*/
@media (max-width: 1720px) {

  .nav-menu,
  .navbar>.navbar-cta {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
  }

  .mobile-menu {
    display: block !important;
  }

  .navbar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
}

@media (min-width: 1721px) {
  .nav-menu {
    display: flex !important;
  }

  .navbar>.navbar-cta {
    display: inline-flex !important;
  }

  .mobile-menu-toggle {
    display: none !important;
  }
}


/* Correctif V30 — tout le template passe en mode mobile à 1720px et moins */
@media (max-width: 1720px) {
  :root {
    --container: 760px;
  }

  body {
    overflow-x: hidden;
  }

  .site-container {
    width: min(calc(100% - 44px), var(--container)) !important;
  }

  .topbar {
    display: none !important;
  }

  .navbar-wrap {
    top: 0 !important;
    height: auto !important;
  }

  .navbar {
    height: 94px !important;
    min-height: 94px !important;
    padding: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  .navbar .logo {
    min-width: auto !important;
    flex-shrink: 1;
  }

  .navbar .logo strong {
    font-size: 22px !important;
  }

  .navbar .logo span span,
  .navbar .logo>span>span {
    font-size: 11px !important;
    letter-spacing: .18em !important;
  }

  .nav-menu,
  .navbar>.navbar-cta {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    flex-shrink: 0;
  }

  .mobile-menu {
    display: block !important;
  }

  .hero {
    min-height: auto !important;
    padding: 34px 0 118px !important;
    overflow: hidden !important;
    background: #061A28 !important;
  }

  .hero-media {
    inset: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    opacity: .36 !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  .hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background: linear-gradient(90deg, #061A28 0%, rgba(8, 19, 31, .98) 48%, rgba(8, 19, 31, .88) 100%) !important;
  }

  .hero>.site-container.hero-shell,
  .hero-shell,
  .hero-frame {
    width: min(calc(100% - 44px), var(--container)) !important;
    min-height: auto !important;
    display: block !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .hero-frame .hero__content,
  .hero__content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .hero .kicker {
    font-size: 15px !important;
    line-height: 1.25 !important;
    letter-spacing: .16em !important;
  }

  .hero h1,
  .hero-frame h1 {
    max-width: 100% !important;
    font-size: clamp(42px, 9vw, 52px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
    margin-top: 28px !important;
  }

  .hero p {
    max-width: 100% !important;
    margin-top: 24px !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
  }

  .hero__actions {
    margin-top: 32px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .hero__actions .btn {
    width: 100% !important;
    min-height: 58px !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .features {
    margin-top: -54px !important;
  }

  .features__grid {
    grid-template-columns: 1fr !important;
  }

  .feature {
    min-height: 88px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(16, 35, 56, .08) !important;
  }

  .feature:last-child {
    border-bottom: 0 !important;
  }

  .services-head,
  .services-grid,
  .service-grid,
  .about-real-grid,
  .review-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .services-head {
    gap: 20px !important;
  }

  .service-grid {
    gap: 18px !important;
  }

  .service-card {
    min-height: auto !important;
  }

  .about-real-grid {
    gap: 20px !important;
  }

  .about-card,
  .real-card {
    min-height: auto !important;
  }

  .process-board {
    grid-template-columns: 1fr !important;
  }

  .process-intro {
    padding: 22px 22px 8px !important;
  }

  .process-steps {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .process-step {
    min-height: auto !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(16, 35, 56, .08) !important;
  }

  .process-step::after {
    display: none !important;
  }

  .review-grid {
    gap: 18px !important;
  }

  .reviews .kicker+h2,
  .reviews h2,
  .process-title,
  .services h2,
  .about-card h2,
  .real-card h2 {
    max-width: 100% !important;
  }

  .cta-inner {
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    text-align: center !important;
    padding: 18px 0 !important;
  }

  .cta-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .cta-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .footer-grid {
    gap: 24px !important;
  }

  .footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    text-align: center !important;
  }
}

@media (max-width: 430px) {

  .hero h1,
  .hero-frame h1 {
    font-size: 42px !important;
  }

  .hero p {
    font-size: 18px !important;
  }
}


/* Correctif V31 — largeur max mobile augmentée */
@media (max-width: 1720px) {
  :root {
    --container: 1000px;
  }

  .site-container,
  .hero>.site-container.hero-shell,
  .hero-shell,
  .hero-frame {
    width: min(calc(100% - 44px), 1000px) !important;
    max-width: 1000px !important;
  }
}

@media (max-width: 760px) {

  .site-container,
  .hero>.site-container.hero-shell,
  .hero-shell,
  .hero-frame {
    width: min(calc(100% - 32px), 1000px) !important;
  }
}


/* Correctif V32 — titre expertises au-dessus des cards en mode mobile/tablette */
@media (max-width: 1720px) {
  .expertise {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    align-items: start !important;
  }

  .expertise>div:first-child {
    width: 100% !important;
    max-width: 760px !important;
  }

  .expertise .section-title {
    max-width: 760px !important;
  }

  .service-grid {
    width: 100% !important;
  }
}


/* Correctif V33 — hauteur image service sur mobile */
@media (max-width: 1720px) {
  .service-card__img {
    height: 170px !important;
  }
}


/* Correctif V34 — bloc À propos en colonne à 1100px */
@media (max-width: 1100px) {
  .about-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    overflow: hidden !important;
  }

  .about-card__img {
    width: auto !important;
    height: 360px !important;
    min-height: 360px !important;
    margin: 24px 24px 0 !important;
    border-radius: 14px !important;
    background-image: url("about-house.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
  }

  .about-card__body {
    padding: 28px 24px 30px !important;
  }

  .about-card h2 {
    max-width: 100% !important;
  }

  .about-card p {
    max-width: 100% !important;
  }

  .stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-top: 28px !important;
  }
}

@media (max-width: 560px) {
  .about-card__img {
    height: 260px !important;
    min-height: 260px !important;
    margin: 18px 18px 0 !important;
  }

  .about-card__body {
    padding: 24px 18px 26px !important;
  }

  .stats {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}


/* Correctif V35 — statistiques centrées dans le bloc À propos */
@media (max-width: 1100px) {
  .about-card .stats {
    justify-items: center !important;
    text-align: center !important;
  }

  .about-card .stats>div {
    text-align: center !important;
  }

  .about-card .stats strong,
  .about-card .stats span {
    text-align: center !important;
  }
}

@media (max-width: 560px) {
  .about-card .stats {
    justify-items: center !important;
    text-align: center !important;
  }
}


/* Correctif V36 — bouton réalisations centré à partir de 1100px */
@media (max-width: 1100px) {

  .real-card>.btn,
  .real-card .btn-outline {
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }

  .real-card {
    text-align: left !important;
  }
}


/* Correctif V37 — process 100% mobile : texte plus gros, centré, flèches vers le bas */
@media (max-width: 1100px) {
  .process-board {
    overflow: visible !important;
  }

  .process-intro {
    text-align: center !important;
    padding: 26px 22px 18px !important;
  }

  .process-intro .kicker,
  .process-intro h2,
  .process-intro .underline {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .process-intro h2,
  .process-title {
    font-size: 34px !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .process-steps {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .process-step {
    position: relative !important;
    text-align: center !important;
    padding: 28px 24px 34px !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-top: 1px solid rgba(16, 35, 56, .08) !important;
  }

  .process-step .process-icon,
  .process-step .step-icon,
  .process-step svg,
  .process-step i {
    margin: 0 auto 6px !important;
  }

  .process-step .step-number,
  .process-step strong:first-child {
    display: block !important;
    text-align: center !important;
    font-size: 28px !important;
    line-height: 1 !important;
    margin-bottom: 4px !important;
  }

  .process-step h3 {
    margin: 0 0 8px !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    color: #08263B !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .process-step p {
    margin: 0 auto !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
    color: #08263B !important;
    max-width: 420px !important;
    text-align: center !important;
  }

  .process-step:not(:last-child)::after {
    content: "⌄" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: -24px !important;
    transform: translateX(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid rgba(196, 154, 99, .45) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #C49A63 !important;
    z-index: 3 !important;
  }
}

@media (max-width: 560px) {

  .process-intro h2,
  .process-title {
    font-size: 26px !important;
  }

  .process-step {
    padding: 24px 18px 32px !important;
  }

  .process-step .step-number,
  .process-step strong:first-child {
    font-size: 24px !important;
  }

  .process-step h3 {
    font-size: 19px !important;
  }

  .process-step p {
    font-size: 14px !important;
    max-width: 240px !important;
  }

  .process-step:not(:last-child)::after {
    width: 38px !important;
    height: 38px !important;
    bottom: -20px !important;
    font-size: 28px !important;
  }
}


/* Correctif V38 — process mobile : flèches bien centrées + ligne meta alignée en bas */
@media (max-width: 1100px) {
  .process-step {
    overflow: visible !important;
  }

  .process-step:not(:last-child) {
    padding-bottom: 54px !important;
  }

  .process-step__meta {
    width: 100% !important;
    display: inline-flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 0 14px !important;
    text-align: center !important;
  }

  .process-step__meta i {
    font-size: 22px !important;
    line-height: 1 !important;
    margin: 0 !important;
    transform: translateY(-2px) !important;
  }

  .process-step__meta .num,
  .process-step .num {
    display: inline-block !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    color: #08263B !important;
    margin: 0 !important;
  }

  .process-step:not(:last-child)::after {
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 0 !important;
    transform: translate(-50%, 50%) !important;
    margin: 0 !important;
  }
}

@media (max-width: 560px) {
  .process-step:not(:last-child) {
    padding-bottom: 48px !important;
  }

  .process-step__meta {
    gap: 10px !important;
    margin: 0 0 12px !important;
  }

  .process-step__meta i {
    font-size: 20px !important;
  }

  .process-step__meta .num,
  .process-step .num {
    font-size: 22px !important;
  }

  .process-step:not(:last-child)::after {
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 0 !important;
    transform: translate(-50%, 50%) !important;
  }
}


/* Correctif V39 — icône de flèche du process bien centrée verticalement */
@media (max-width: 1100px) {
  .process-step:not(:last-child)::after {
    content: "" !important;
    display: block !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C49A63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 18px 18px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(196, 154, 99, .45) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 560px) {
  .process-step:not(:last-child)::after {
    content: "" !important;
    display: block !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C49A63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 16px 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(196, 154, 99, .45) !important;
    box-sizing: border-box !important;
  }
}


/* Correctif V40 — process mobile dès 1720px + espace titre/dot */
@media (max-width: 1720px) {
  .process-board {
    overflow: visible !important;
  }

  .process-intro {
    text-align: center !important;
    padding: 30px 22px 22px !important;
  }

  .process-intro .kicker,
  .process-intro h2,
  .process-intro .process-line {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .process-title {
    text-align: center !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
  }

  .process-steps {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .process-step {
    position: relative !important;
    text-align: center !important;
    padding: 42px 24px 58px !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-top: 1px solid rgba(16, 35, 56, .08) !important;
    overflow: visible !important;
  }

  .process-step__meta {
    width: 100% !important;
    display: inline-flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 0 18px !important;
    text-align: center !important;
  }

  .process-step__meta i {
    font-size: 22px !important;
    line-height: 1 !important;
    margin: 0 !important;
    transform: translateY(-2px) !important;
  }

  .process-step__meta .num,
  .process-step .num {
    display: inline-block !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    color: #08263B !important;
    margin: 0 !important;
  }

  .process-step h3 {
    margin: 14px 0 12px !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #08263B !important;
  }

  .process-step p {
    margin: 0 auto !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
    max-width: 420px !important;
    text-align: center !important;
    color: #08263B !important;
  }

  .process-step:not(:last-child)::after {
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 0 !important;
    transform: translate(-50%, 50%) !important;
    margin: 0 !important;
  }
}

@media (max-width: 560px) {
  .process-title {
    font-size: 26px !important;
  }

  .process-step {
    padding: 36px 18px 52px !important;
  }

  .process-step__meta {
    margin-bottom: 16px !important;
  }

  .process-step h3 {
    margin-top: 12px !important;
    font-size: 19px !important;
  }

  .process-step p {
    font-size: 14px !important;
    max-width: 260px !important;
  }
}


/* Correctif V41 — flèches visibles dès 1720px */
@media (max-width: 1720px) {
  .process-step:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 0 !important;
    transform: translate(-50%, 50%) !important;
    width: 44px !important;
    height: 44px !important;
    display: block !important;
    margin: 0 !important;
    z-index: 10 !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C49A63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 18px 18px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(196, 154, 99, .45) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 560px) {
  .process-step:not(:last-child)::after {
    width: 38px !important;
    height: 38px !important;
    background-size: 16px 16px !important;
  }
}


/* Correctif V42 — slider automatique des avis toutes les 5 secondes */
.reviews-slider.review-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 21px;
  padding-bottom: 20px;
  align-items: stretch;
}

.reviews-intro {
  min-width: 0;
}

.reviews-slider__viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.reviews-slider__track {
  display: flex;
  gap: 21px;
  transition: transform .65s ease;
  will-change: transform;
}

.reviews-slider__track .review-card {
  flex: 0 0 calc((100% - 42px) / 3);
  min-width: 0;
}

@media (max-width: 1720px) {
  .reviews-slider.review-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .reviews-intro {
    text-align: center !important;
  }

  .reviews-intro .kicker,
  .reviews-intro .process-title {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .reviews-slider__track .review-card {
    flex: 0 0 100%;
  }
}


/* Correctif V43 — palette navy / gold comme la maquette */
:root {
  --navy-dark: #061A28;
  --navy: #08263B;
  --text: #08263B;
  --gold: #C99A52;
  --gold-light: #D8B16E;
  --cream: #F7F1E7;
  --shadow-card: 0 18px 45px rgba(6, 26, 40, .12);
}

body {
  color: var(--text);
  background: var(--cream);
}

.main-bg {
  background:
    radial-gradient(circle at 100% 47%, rgba(201, 154, 82, .16), transparent 22%),
    var(--cream) !important;
}

/* Header navy */
.topbar,
.navbar-wrap,
.hero,
.footer {
  background: var(--navy-dark) !important;
}

.navbar-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, .10) !important;
}

.navbar .logo strong,
.navbar .nav-menu a,
.navbar-wrap .logo strong {
  color: #fff !important;
}

.navbar .logo span span,
.navbar-wrap .logo>span>span,
.nav-menu a.active,
.nav-menu a:hover,
.kicker,
.service-card a,
.service-card__icon,
.about-card .kicker,
.footer h4,
.footer a,
.stars,
.process-step__meta,
.process-step__meta i {
  color: var(--gold) !important;
}

.nav-menu a.active::after,
.title-line,
.process-line {
  background: var(--gold) !important;
}

/* Logo */
.logo__mark {
  border-color: #fff !important;
  background: transparent !important;
}

.logo__mark::before {
  border-color: #fff !important;
  border-top: 0 !important;
}

.logo__mark::after {
  background: var(--gold) !important;
  box-shadow:
    -28px 28px 0 var(--gold),
    28px 28px 0 var(--gold) !important;
}

/* Boutons */
.btn-primary,
.btn-footer {
  background: var(--gold) !important;
  color: #fff !important;
  border-color: var(--gold) !important;
}

.btn-primary:hover,
.btn-footer:hover {
  background: #B9873E !important;
  border-color: #B9873E !important;
}

.btn-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .42) !important;
}

.real-card .btn-outline {
  color: var(--navy) !important;
  border-color: var(--gold) !important;
  background: #fff !important;
}

/* Hero */
.hero::after {
  background:
    linear-gradient(90deg,
      #061A28 0%,
      #061A28 32%,
      rgba(6, 26, 40, .98) 43%,
      rgba(6, 26, 40, .82) 55%,
      rgba(6, 26, 40, .50) 66%,
      rgba(6, 26, 40, .15) 78%,
      rgba(6, 26, 40, 0) 88%) !important;
}

.hero h1 span {
  color: var(--gold) !important;
}

/* Bande avantages navy */
.features__box {
  background: var(--navy) !important;
  border-color: rgba(255, 255, 255, .10) !important;
  box-shadow: 0 18px 38px rgba(6, 26, 40, .25) !important;
}

.feature {
  border-right-color: rgba(255, 255, 255, .12) !important;
}

.feature i,
.feature strong {
  color: var(--gold) !important;
}

.feature span {
  color: rgba(255, 255, 255, .86) !important;
}

/* Cards */
.service-card,
.real-card,
.review-card,
.process-board {
  background: #fff !important;
  border-color: rgba(8, 38, 59, .08) !important;
  box-shadow: 0 18px 45px rgba(6, 26, 40, .08) !important;
}

.before-tag.right,
.cta-band {
  background: var(--gold) !important;
}

/* À propos + footer */
.about-card {
  background: var(--navy-dark) !important;
}

.about-card h2,
.about-card p,
.footer,
.footer p,
.footer li {
  color: #fff !important;
}

.stats span {
  color: rgba(255, 255, 255, .78) !important;
}

.process-step:not(:last-child)::after {
  border-color: rgba(201, 154, 82, .42) !important;
}

/* Menu mobile */
.mobile-menu-toggle {
  background: var(--navy) !important;
  color: #fff !important;
}

.mobile-menu__close {
  background: var(--cream) !important;
}

.mobile-menu__nav a.active,
.mobile-menu__nav a:hover {
  background: var(--navy) !important;
}

.mobile-menu__nav a::after,
.mobile-menu__infos i {
  color: var(--gold) !important;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(201, 154, 82, .28) !important;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, .10) !important;
}

.cta-icon {
  color: var(--gold) !important;
}

.btn-phone {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .35) !important;
}


/* Correctif V44 — footer CTA + séparation des deux barres du haut */
.cta-band {
  background: var(--navy-dark) !important;
  color: #fff !important;
  border-top: 1px solid rgba(255, 255, 255, .08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

.cta-band p,
.cta-band strong,
.cta-band .cta-text,
.cta-band .cta-title {
  color: #fff !important;
}

/* Suppression de la ligne entre la topbar et la navbar */
.topbar {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.navbar-wrap {
  border-top: 0 !important;
  box-shadow: none !important;
}


/* Correctif V45 — topbar avec séparation + avis plus rapides */
.topbar {
  border-bottom: 0 !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, .10) !important;
}



/* Ajouts de finition - conserve le template existant */
.logo img {
  width: 142px;
  max-width: 100%;
  height: auto;
  display: block;
}

.logo--header img {
  width: 205px;
}

.footer .logo img {
  width: 132px;
}

.template-page-hero .hero__content {
  max-width: 760px;
}

.template-tight {
  padding-top: 32px;
}

.services-page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 35px;
}

.services-page-intro__content,
.services-page-intro__proofs {
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.services-page-intro__content {
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .08);
  padding: 34px;
}

.services-page-intro__content .section-title {
  max-width: none;
  margin: 0;
  color: var(--text);
}

.services-page-intro__content p {
  max-width: 880px;
  margin: 18px 0 0;
  color: #20384e;
  font-size: 18px;
  line-height: 1.65;
}

.services-page-intro__proofs {
  display: grid;
  gap: 14px;
  align-content: center;
  background: var(--navy-dark);
  color: #fff;
  padding: 30px;
}

.services-page-intro__proofs span {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 18px;
  font-size: 17px;
  font-weight: 900;
}

.services-page-intro__proofs i {
  color: var(--gold);
  font-size: 24px;
}

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

.template-service-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.template-guarantee,
.template-contact-card,
.template-legal-card {
  background: var(--navy-dark);
  color: #fff;
  border-radius: 16px;
  padding: 0 0 32px 32px;
  box-shadow: var(--shadow-card);
}

.template-guarantee i {
  color: var(--gold);
  font-size: 54px;
}

.service .template-guarantee,
.reviews-guarantee {
  display: grid;
  gap: 12px;
  margin-top: 35px;
  padding: 30px 32px;
}

.template-guarantee h3,
.template-contact-card h2,
.template-legal-card h2 {
  font-family: var(--font-title);
  font-size: 32px;
}

.template-guarantee p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  line-height: 1.55;
}

.template-guarantee a {
  width: fit-content;
  color: var(--gold);
  font-weight: 900;
}

.template-guarantee-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.template-guarantee-title i {
  flex: 0 0 auto;
  font-size: 42px;
}

.template-guarantee-title h3 {
  margin: 0;
}

.service-detail-side .template-guarantee,
.service .template-guarantee,
.reviews-guarantee {
  gap: 18px;
  padding: 34px;
}

.service-detail-side .template-guarantee h2,
.service-detail-side .template-guarantee h3,
.service .template-guarantee h3,
.reviews-guarantee h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.service-detail-side .template-guarantee p {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: center;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  line-height: 1.45;
}

.service-detail-side .template-guarantee p i {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 34px;
}

.service-detail-side .template-guarantee p strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.service-detail-side .template-guarantee p span {
  display: block;
}

.service-detail-side .template-guarantee .btn,
.service .template-guarantee .btn {
  width: 100%;
  max-width: 360px;
  min-height: 58px;
  margin-top: 4px;
  border-radius: 999px;
  color: var(--text);
  background: var(--gold);
  border-color: var(--gold);
  justify-self: start;
}

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

.template-project {
  min-height: 310px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--navy-dark);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.review-card {
  box-shadow: none !important;
}

.footer-urgent {
  color: var(--gold) !important;
  font-weight: 600;
}

.template-project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 40, 0) 35%, rgba(6, 26, 40, .92) 100%);
}

.template-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.template-project span,
.template-project div {
  position: absolute;
  z-index: 1;
}

.template-project span {
  top: 16px;
  left: 16px;
  background: var(--navy-dark);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 900;
  font-size: 13px;
}

.template-project .template-project-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 26, 40, .9);
  border: 1px solid rgba(201, 154, 82, .35);
  box-shadow: 0 10px 24px rgba(6, 26, 40, .18);
}

.template-project .template-project-tag i {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}

.template-project div {
  left: 22px;
  right: 22px;
  bottom: 20px;
}

.template-project h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.template-wide-real {
  grid-column: 1 / -1;
}

.template-about-full {
  grid-column: 1 / -1;
}

.template-review-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 35px;
  margin-top: 35px;
}

.template-review-list .review-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.template-review-list .review-card.is-hidden {
  display: none;
}

.review-submit-form h2 {
  margin-top: 0;
  color: var(--text);
  font-family: var(--font-title);
}

.template-rating-choice>div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 18px;
}

.template-rating-choice label {
  border: 1px solid rgba(16, 35, 56, .14);
  border-radius: 12px;
  padding: 12px;
  font-weight: 900;
  text-align: center;
}

.template-contact-grid,
.template-city-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 35px;
}

.template-form {
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .06);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.template-form h2,
.template-form .full,
.template-form button {
  grid-column: 1 / -1;
}

.template-form h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 36px;
}

.template-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.25;
}

.template-form input,
.template-form select,
.template-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 35, 56, .16);
  border-radius: 10px;
  padding: 15px 16px;
  background: #fff;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.template-form input::placeholder,
.template-form textarea::placeholder {
  color: rgba(8, 38, 59, .48);
  font-size: 17px;
}

.template-form textarea {
  min-height: 140px;
  resize: vertical;
}

.template-quote-form .quote-upload-field {
  display: grid;
  gap: 10px;
}

.sc-public-autocomplete-wrapper {
  position: relative;
}

.sc-public-autocomplete-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  max-height: 260px;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .14);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 8px;
}

.sc-public-autocomplete-menu.is-open {
  display: grid;
  gap: 6px;
}

.sc-public-autocomplete-menu button,
.sc-autocomplete-loading,
.sc-autocomplete-empty {
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 11px 12px;
  text-align: left;
  color: var(--text);
  font-size: 16px;
}

.sc-public-autocomplete-menu button:hover {
  background: rgba(212, 158, 75, .13);
}

.sc-public-autocomplete-menu strong {
  display: block;
  font-weight: 900;
}

.sc-public-autocomplete-menu span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.sc-upload-box {
  min-height: 132px;
  border: 1px dashed rgba(16, 35, 56, .28);
  border-radius: 14px;
  background: rgba(250, 247, 240, .72);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.sc-upload-box i {
  color: var(--gold);
  font-size: 34px;
}

.sc-upload-box strong {
  font-size: 17px;
}

.sc-upload-box span,
.sc-upload-info {
  color: var(--muted);
  font-size: 14px;
}

.sc-upload-box.is-dragover,
.sc-upload-box.is-ready {
  border-color: var(--gold);
  background: rgba(212, 158, 75, .14);
}

.sc-upload-box.is-error {
  border-color: #c2410c;
  background: rgba(194, 65, 12, .08);
}

.quote-upload-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.template-contact-card {
  display: grid;
  gap: 18px;
}

.template-contact-card p {
  margin: 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 4px 12px;
  font-size: 18px;
  line-height: 1.35;
}

.template-contact-card i {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 34px;
}

.template-contact-card span {
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.35;
}

.template-contact-card strong {
  font-size: 21px;
  line-height: 1.2;
}

/* Contact : formulaire aligné sur le template principal */
.contact-features .site-container {
  position: relative;
}

.contact-features-grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-section {
  padding-top: 35px !important;
}

.template-form-card {
  min-width: 0;
}

.template-form-head {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

.template-form-head h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 38px;
  line-height: 1.08;
  color: var(--text);
}

.template-form-head p {
  margin: 0;
  max-width: 760px;
  color: #20384e;
  font-size: 18px;
  line-height: 1.55;
}

.contact-template-form {
  padding: 38px;
}

.template-form-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.template-form-note i {
  color: var(--gold);
  font-size: 20px;
}

.contact-info-card {
  padding: 34px 32px;
}

.contact-info-card .kicker {
  color: var(--gold);
}

.contact-info-card h2 {
  margin: 0;
  line-height: 1.08;
}

.contact-urgent-box {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  padding: 22px;
}

.contact-urgent-box i {
  color: var(--gold);
  font-size: 38px;
}

.contact-urgent-box strong {
  font-family: var(--font-title);
  font-size: 26px;
  line-height: 1.08;
}

.contact-urgent-box span {
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.45;
}

.contact-urgent-box .btn {
  width: 100%;
  min-height: 56px;
  margin-top: 6px;
}

@media (max-width: 1100px) {
  .contact-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .contact-features-grid {
    grid-template-columns: 1fr;
  }

  .contact-template-form {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }

  .template-form-head h2 {
    font-size: 32px;
  }

  .contact-info-card {
    padding: 28px 22px;
  }
}

.template-city-grid figure {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.template-city-grid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
}

.template-city-grid figcaption {
  margin-top: 10px;
  color: var(--muted);
}

.template-legal-card {
  margin-top: 28px;
  background: #fff;
  color: var(--text);
}

.local-offer-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.local-offer-popup.is-open {
  display: block;
}

.local-offer-popup__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(4px);
}

.local-offer-popup__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1040px, calc(100% - 36px));
  max-height: calc(100vh - 36px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy-dark);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: var(--shadow-heavy);
}

.local-offer-popup__close {
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 18px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-dark);
  font-size: 22px;
}

.local-offer-popup__content {
  padding: 48px;
}

.local-offer-popup__logo {
  width: 180px;
  margin-bottom: 24px;
}

.mobile-menu__head .logo {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--navy-dark);
}

.mobile-menu__head .logo img {
  width: 116px;
}

.mobile-menu__head .logo--header img {
  width: 168px;
}

.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--gold);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-place {
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
}

.offer-place span {
  display: block;
  color: #fff;
  font-weight: 500;
}

.offer-place strong {
  color: var(--gold);
  border: none;
  border-radius: 8px;
  padding: 3px 0px;
  display: block;
  font-size: 35px;
}

.local-offer-popup h2 {
  margin: 12px 0;
  font-family: var(--font-title);
  font-size: 58px;
  line-height: 1.04;
}

.local-offer-popup h2 span,
.offer-discount strong {
  color: var(--gold);
}

.offer-discount {
  font-size: 24px;
}

.local-offer-popup__content>.btn {
  width: 100%;
  margin-top: 12px;
}

.offer-benefits {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: center;
}

.offer-benefits i {
  display: block;
  color: var(--gold);
  font-size: 30px;
}

.local-offer-popup__image {
  position: relative;
  min-height: 640px;
}

.local-offer-popup__image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.local-offer-popup__image>div {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 36px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy-dark);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 14px;
}

.local-offer-popup__image i {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 38px;
}

body.local-offer-open {
  overflow: hidden;
}

html,
body {
  overflow-x: hidden;
}

@media (max-width: 1100px) {

  .template-service-grid,
  .template-project-grid,
  .template-review-list,
  .template-contact-grid,
  .template-city-grid {
    grid-template-columns: 1fr !important;
  }

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

  .local-offer-popup__panel {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .local-offer-popup__image {
    display: none;
  }
}

@media (max-width: 760px) {
  .logo img {
    width: 120px;
  }

  .logo--header img {
    width: 168px;
  }

  .footer .logo img,
  .local-offer-popup__logo {
    width: 136px;
  }

  .mobile-menu__head .logo img {
    width: 108px;
  }

  .mobile-menu__head .logo--header img {
    width: 150px;
  }

  .local-offer-popup__content {
    padding: 28px 20px;
  }

  .local-offer-popup h2 {
    font-size: 40px;
  }

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

/* Rythme vertical demandé */
.section {
  padding: 35px 0 0 !important;
}

.features {
  margin-bottom: 0 !important;
}

.split-section {
  padding-top: 35px !important;
}

.reviews-slider.review-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 21px;
  padding-bottom: 35px !important;
  align-items: stretch;
}

.template-load-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.template-load-more .btn {
  color: var(--text);
  border-color: var(--gold);
  background: var(--gold) !important;
}

/* Page Avis clients */
.reviews-page-shell {
  display: grid;
  gap: 0;
  margin-top: 35px;
  margin-bottom: 35px;
}

.reviews-summary-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
  background: var(--navy-dark);
  color: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-heavy);
  padding: 34px;
  overflow: hidden;
  position: relative;
}

.reviews-summary-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(201, 154, 82, .14);
}

.reviews-summary-main,
.reviews-summary-points {
  position: relative;
  z-index: 1;
}

.reviews-summary-main h2 {
  margin: 0;
  max-width: 680px;
  font-family: var(--font-title);
  font-size: 42px;
  line-height: 1.08;
}

.reviews-summary-main p {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.55;
}

.reviews-score {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: center;
}

.reviews-score strong {
  grid-row: 1 / 3;
  font-family: var(--font-title);
  font-size: 62px;
  line-height: 1;
  color: #fff;
}

.reviews-score span {
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
}

.reviews-summary-points {
  display: grid;
  gap: 14px;
}

.reviews-summary-points article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 14px;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 18px;
}

.reviews-summary-points i {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201, 154, 82, .16);
  color: var(--gold);
  font-size: 26px;
}

.reviews-summary-points strong,
.reviews-summary-points span {
  display: block;
}

.reviews-summary-points span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.template-dynamic-review {
  position: relative;
  min-height: 255px;
  padding: 26px;
  overflow: hidden;
}

.template-dynamic-review::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(201, 154, 82, .1);
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: #fff !important;
  display: grid !important;
  place-items: center;
  font-weight: 900;
  margin: 0 !important;
}

.review-card__top strong {
  display: block;
  color: var(--text);
}

.review-card__top span:not(.review-avatar) {
  color: var(--muted);
  font-size: 14px;
  margin: 2px 0 0;
}

.template-dynamic-review p {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.55;
}

.template-dynamic-review small {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: auto;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(201, 154, 82, .12);
  color: var(--gold);
  font-weight: 900;
}

.reviews-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 35px;
}

.reviews-actions .btn {
  color: var(--text);
  border-color: var(--gold);
  background: var(--gold) !important;
}

.reviews-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.reviews-trust-grid>article {
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .06);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.reviews-trust-grid h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 36px;
  line-height: 1.1;
}

.reviews-trust-grid p {
  margin: 18px 0 0;
  color: #20384e;
  font-size: 17px;
  line-height: 1.55;
}

.reviews-quote-card {
  background: var(--navy-dark) !important;
  color: #fff;
}

.reviews-quote-card i {
  color: var(--gold);
  font-size: 46px;
}

.reviews-quote-card p {
  color: rgba(255, 255, 255, .86);
  font-family: var(--font-title);
  font-size: 28px;
  line-height: 1.22;
}

.reviews-quote-card strong {
  display: block;
  margin-top: 20px;
  color: var(--gold);
}

/* Page commune */
.commune-section {
  padding-top: 35px !important;
  padding-bottom: 35px !important;
}

.commune-hero-grid {
  align-items: stretch;
  margin-bottom: 0 !important;
}

.commune-content-card {
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .06);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 36px;
}

.commune-content-card .section-title {
  max-width: 760px;
}

.commune-content-card p {
  margin: 18px 0 0;
  color: #20384e;
  font-size: 18px;
  line-height: 1.58;
}

.commune-lead {
  font-size: 20px !important;
  color: var(--text) !important;
  font-weight: 700;
}

.commune-highlights {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.commune-highlights span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(201, 154, 82, .1);
  color: var(--text);
  font-weight: 900;
  line-height: 1.22;
}

.commune-highlights i {
  color: var(--gold);
  font-size: 24px;
  flex: 0 0 auto;
}

.commune-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.commune-phone {
  color: var(--text) !important;
  border-color: var(--gold) !important;
  background: #fff !important;
}

.commune-media-card {
  display: grid;
  gap: 18px;
}

.commune-media-card figure {
  margin: 0;
  min-height: 390px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy-dark);
  box-shadow: var(--shadow-heavy);
}

.commune-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commune-media-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(6, 26, 40, .86);
  color: #fff;
  font-weight: 800;
}

.commune-service-note {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--navy-dark);
  color: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.commune-service-note i {
  color: var(--gold);
  font-size: 34px;
}

.commune-service-note strong,
.commune-service-note span {
  display: block;
}

.commune-service-note span {
  color: rgba(255, 255, 255, .76);
  margin-top: 4px;
}

.commune-seo-section {
  padding-top: 0 !important;
  padding-bottom: 35px !important;
}

.commune-services-section {
  padding-top: 0 !important;
  padding-bottom: 35px !important;
}

/* Ajustements demandés */
.propos {
  margin-bottom: 30px;
}

.service {
  margin-bottom: 35px;
}

.hero-media {
  background-image: url("hero-roofer.png") !important;
  background-position: center 24% !important;
  background-size: cover !important;
}

.local-offer-popup__logo {
  width: 230px !important;
  max-width: 82%;
  height: auto !important;
}

.offer-discount strong {
  display: inline-block;
  font-size: 1.42em;
  line-height: 1;
  color: var(--orange);
}

.commune-seo-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
}

.commune-seo-grid>article {
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .06);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.commune-seo-grid p {
  margin: 18px 0 0;
  color: #20384e;
  font-size: 18px;
  line-height: 1.58;
}

.commune-list-card {
  background: var(--navy-dark) !important;
  color: #fff;
}

.commune-list-card h3 {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-size: 32px;
}

.commune-list-card ul {
  margin: 0;
  padding-left: 20px;
}

.commune-list-card li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.45;
}

@media (max-width: 1100px) {

  .commune-highlights,
  .commune-seo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {

  .commune-content-card,
  .commune-seo-grid>article {
    padding: 24px 18px;
  }

  .commune-actions .btn {
    width: 100%;
  }

  .commune-media-card figure {
    min-height: 280px;
  }
}

/* Page À propos */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: stretch;
}

.about-story-card {
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .06);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 42px;
}

.about-story-card h2,
.about-section-head h2 {
  margin: 0;
}

.about-story-card p {
  margin: 22px 0 0;
  color: #20384e;
  font-size: 18px;
  line-height: 1.62;
}

.about-signature {
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  background: rgba(201, 154, 82, .1);
  border-radius: 0 14px 14px 0;
}

.about-signature span {
  display: block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.about-signature strong {
  display: block;
  color: var(--text);
  font-family: var(--font-title);
  font-size: 28px;
  line-height: 1.12;
}

.about-story-media {
  position: relative;
  min-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  background: var(--navy-dark);
}

.about-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 40, 0) 35%, rgba(6, 26, 40, .82) 100%);
}

.about-story-badge {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 6px 16px;
  align-items: center;
  background: rgba(255, 255, 255, .94);
  border-radius: 16px;
  padding: 22px;
  color: var(--text);
}

.about-story-badge i {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 42px;
}

.about-story-badge strong,
.about-story-badge span {
  display: block;
}

.about-story-badge strong {
  font-family: var(--font-title);
  font-size: 26px;
  line-height: 1.05;
}

.about-story-badge span {
  color: var(--muted);
  font-size: 15px;
}

.about-section-head {
  max-width: 740px;
  margin-bottom: 30px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.about-values-grid article {
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .06);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(6, 26, 40, .07);
  padding: 28px;
}

.about-values-grid i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 20px;
}

.about-values-grid h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 27px;
  color: var(--text);
}

.about-values-grid p {
  margin: 0;
  color: #20384e;
  font-size: 16px;
  line-height: 1.5;
}

.about-proof-grid {
  display: grid;
}

.about-timeline-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 32px;
  align-items: start;
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-timeline article {
  position: relative;
  min-height: 210px;
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .06);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(6, 26, 40, .07);
  padding: 28px;
  overflow: hidden;
}

.about-timeline article::after {
  content: "";
  position: absolute;
  right: -35px;
  top: -35px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(201, 154, 82, .13);
}

.about-timeline span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}

.about-timeline h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 26px;
  color: var(--text);
}

.about-timeline p {
  margin: 0;
  color: #20384e;
  line-height: 1.5;
}

@media (max-width: 1100px) {

  .about-story-grid,
  .about-timeline-grid {
    grid-template-columns: 1fr;
  }

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

  .about-story-media {
    min-height: 430px;
  }

  .reviews-summary-card,
  .reviews-trust-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .about-story-card {
    padding: 26px 20px;
  }

  .about-story-card p {
    font-size: 16px;
  }

  .about-signature strong {
    font-size: 23px;
  }

  .about-story-media {
    min-height: 340px;
  }

  .about-story-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

  .about-story-badge i {
    font-size: 34px;
  }

  .about-values-grid,
  .about-timeline {
    grid-template-columns: 1fr;
  }

  .reviews-summary-card {
    padding: 24px 18px;
  }

  .reviews-summary-main h2,
  .reviews-trust-grid h2 {
    font-size: 30px;
  }

  .reviews-score strong {
    font-size: 48px;
  }

  .template-review-list {
    grid-template-columns: 1fr;
  }

  .reviews-trust-grid>article {
    padding: 24px 18px;
  }

  .reviews-quote-card p {
    font-size: 23px;
  }
}

/* Correctif final - avis homepage en slider horizontal 3 / 2 / 1 */
.reviews-slider.review-grid {
  grid-template-columns: 280px minmax(0, 1fr) !important;
}

.reviews-slider__viewport {
  overflow: hidden;
  min-width: 0;
}

.reviews-slider__track {
  display: flex !important;
  gap: 21px;
  transition: transform .65s ease;
  will-change: transform;
}

.reviews-slider__track .review-card {
  flex: 0 0 calc((100% - 42px) / 3) !important;
  min-width: 0;
}

/* Footer propre + coordonnées sur une seule ligne */
.footer-grid {
  grid-template-columns: minmax(220px, 1.45fr) minmax(160px, .85fr) minmax(160px, .85fr) minmax(220px, 1.1fr) minmax(260px, 1.35fr) !important;
  gap: 32px !important;
  align-items: start;
}

.footer-brand p,
.footer-zone p {
  max-width: 310px;
}

.footer-contact {
  min-width: 0;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-item,
.footer-urgent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  color: #fff !important;
  text-decoration: none;
}

.footer-contact-item i,
.footer-urgent i {
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.footer-contact-item span,
.footer-urgent span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.footer-urgent {
  color: var(--gold) !important;
  font-weight: 800;
}

.footer-city-links {
  list-style: none;
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0 0 10px;
}

.footer-city-links a {
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  line-height: 1.25;
}

.footer-city-links a:hover {
  color: var(--gold);
}

.footer-zone > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

/* Zone intervention : vraies pages villes SEO */
.zone-feature-card {
  background: var(--navy-dark);
  color: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.zone-feature-card h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 32px;
}

.zone-feature-card p {
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.5;
}

.zone-feature-links {
  display: grid;
  gap: 10px;
}

.zone-feature-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff !important;
  padding: 12px 14px;
  text-decoration: none;
  font-weight: 800;
}

.zone-tags a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  background: #F3EEE6;
  color: var(--text);
  padding: 13px 16px;
  font-weight: 900;
  text-decoration: none;
}

.zone-tags a i {
  color: var(--gold);
}

.zone-cities-section {
  padding-top: 0 !important;
  padding-bottom: 35px !important;
}

.zone-cities-head {
  margin-bottom: 24px;
}

.zone-cities-head p {
  max-width: 760px;
  color: #20384e;
  font-size: 18px;
  line-height: 1.55;
}

.zone-city-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-height: 620px;
  overflow: auto;
  padding-right: 8px;
}

.zone-city-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  border: 1px solid rgba(16, 35, 56, .08);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 10px 25px rgba(6, 26, 40, .05);
  padding: 12px 14px;
  text-decoration: none;
  font-weight: 900;
}

.zone-city-list small {
  color: var(--gold);
  font-weight: 900;
}

/* Correctif final page À propos : éviter les héritages du bloc home */
.about-story-card {
  min-width: 0;
}

.about-story-card .section-title {
  color: var(--text) !important;
  font-size: clamp(34px, 3.1vw, 52px) !important;
  line-height: 1.08 !important;
  max-width: 720px !important;
}

.about-story-card p {
  color: #20384e !important;
}

.about-story-media {
  min-width: 0;
}

.about-section-head {
  margin-bottom: 24px;
}

.about-section-head .section-title {
  color: var(--text) !important;
}

.about-values-grid article {
  min-width: 0;
}

.about-values-grid h3,
.about-values-grid p {
  overflow-wrap: break-word;
}

.propos {
  margin-bottom: 30px;
}

/* Réalisations : sécurise les cartes quand une image tarde à charger */
.template-project {
  background: var(--navy-dark);
}

.template-project img {
  display: block;
}

/* Page À propos : structure alignée sur le template Sadou */
.about-story-section {
  padding: 35px 0 0;
}

.about-story-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
  margin-bottom: 35px;
}

.about-story-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(16, 35, 56, .08);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 42px;
}

.about-story-panel .section-title {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1.05;
}

.about-story-panel p {
  margin: 22px 0 0;
  color: #20384e;
  font-size: 18px;
  line-height: 1.62;
}

.about-story-panel .about-lead {
  color: var(--text);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.45;
}

.about-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.about-proof-row div {
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 26, 40, .98), rgba(16, 35, 56, .94));
  border: 1px solid rgba(201, 154, 82, .28);
  box-shadow: 0 16px 34px rgba(6, 26, 40, .16);
  padding: 20px;
}

.about-proof-row strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 44px;
  line-height: 1;
}

.about-proof-row span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.about-story-figure {
  position: relative;
  min-width: 0;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--navy-dark);
  box-shadow: var(--shadow-heavy);
}

.about-story-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.about-story-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 40, 0) 35%, rgba(6, 26, 40, .82) 100%);
}

.about-story-figure figcaption {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 6px 16px;
  align-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  color: var(--text);
  padding: 22px;
}

.about-story-figure figcaption i {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 42px;
}

.about-story-figure figcaption strong,
.about-story-figure figcaption span {
  display: block;
}

.about-story-figure figcaption strong {
  font-family: var(--font-title);
  font-size: 25px;
  line-height: 1.05;
}

.about-story-figure figcaption span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.about-values-section {
  padding-top: 0;
}

.about-values-section .about-section-head {
  max-width: 760px;
}

@media (max-width: 1100px) {
  .services-page-intro {
    grid-template-columns: 1fr;
  }

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

  .about-story-layout {
    grid-template-columns: 1fr;
  }

  .about-story-figure {
    min-height: 430px;
  }
}

@media (max-width: 760px) {
  .services-page-intro {
    gap: 18px;
  }

  .services-page-intro__content,
  .services-page-intro__proofs {
    padding: 22px 18px;
  }

  .services-page-intro__content p {
    font-size: 16px;
  }

  .services-page-intro__proofs span {
    font-size: 15px;
    padding: 14px;
  }

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

  .about-story-layout {
    gap: 20px;
  }

  .about-story-panel {
    padding: 26px 20px;
  }

  .about-story-panel p {
    font-size: 16px;
  }

  .about-proof-row {
    grid-template-columns: 1fr;
  }

  .about-story-figure {
    min-height: 340px;
  }

  .about-story-figure figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

  .about-story-figure figcaption i {
    font-size: 34px;
  }
}

/* Connexion admin : page autonome cohérente Sadou */
.auth-main {
  min-height: 100vh;
  background: var(--navy-dark);
}

.auth-page .admin-login-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 35px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 26, 40, .97), rgba(6, 26, 40, .83) 48%, rgba(6, 26, 40, .62)),
    url("hero-roofer.png") center 24% / cover no-repeat;
}

.auth-page .admin-login-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(6, 26, 40, 0), rgba(6, 26, 40, .94));
  pointer-events: none;
}

.admin-login-back {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 35px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 900;
}

.admin-login-back i {
  color: var(--gold);
  font-size: 28px;
}

.auth-page .admin-login-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 32px;
  align-items: center;
}

.admin-login-brand {
  color: #fff;
  padding: 38px 0;
}

.admin-login-brand img {
  width: 260px;
  max-width: 100%;
  margin-bottom: 48px;
}

.admin-login-brand h1 {
  max-width: 680px;
  margin: 10px 0 18px;
  font-family: var(--font-title);
  font-size: clamp(44px, 5vw, 82px);
  line-height: .95;
}

.admin-login-brand p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 20px;
  line-height: 1.55;
}

.auth-page .admin-login-card {
  width: 100%;
  align-self: center;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-heavy);
  padding: 34px;
}

.auth-page .admin-login-submit {
  background: var(--gold) !important;
  color: #fff;
}

.auth-page .admin-login-footer span {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 980px) {
  .auth-page .admin-login-shell {
    grid-template-columns: 1fr;
  }

  .admin-login-brand {
    text-align: center;
    padding: 18px 0 0;
  }

  .admin-login-brand p {
    margin-inline: auto;
  }

  .admin-login-benefits {
    justify-content: center;
  }

  .auth-page .admin-login-card {
    width: min(460px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .auth-page .admin-login-section {
    padding: 78px 18px 24px;
  }

  .admin-login-back {
    top: 22px;
    left: 18px;
  }

  .admin-login-brand {
    padding: 0;
  }

  .admin-login-brand img {
    width: 210px;
    margin-bottom: 26px;
  }

  .auth-page .admin-login-card {
    padding: 24px 18px;
  }
}

@media (max-width: 1100px) {
  .reviews-slider.review-grid {
    grid-template-columns: 1fr !important;
  }

  .reviews-slider__track .review-card {
    flex-basis: calc((100% - 21px) / 2) !important;
  }

  .footer-grid,
  .zone-city-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .reviews-slider__track .review-card {
    flex-basis: 100% !important;
  }

  .footer-grid,
  .zone-city-list {
    grid-template-columns: 1fr !important;
  }

  .footer-contact-item span,
  .footer-urgent span {
    overflow-wrap: anywhere;
  }
}

/* Pages Symfony complémentaires */
.admin-login-section {
  padding: 35px 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 40, .94), rgba(6, 26, 40, .74)),
    url("hero-roofer.png") center 24% / cover no-repeat;
}

.admin-login-shell {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 32px;
  align-items: stretch;
  min-height: 640px;
}

.admin-login-panel,
.admin-login-card {
  border-radius: 18px;
  box-shadow: var(--shadow-heavy);
}

.admin-login-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px;
  color: #fff;
  background: linear-gradient(180deg, rgba(6, 26, 40, .1), rgba(6, 26, 40, .86));
  border: 1px solid rgba(255, 255, 255, .16);
}

.admin-login-logo img {
  width: 240px;
  max-width: 100%;
  margin-bottom: 34px;
}

.admin-login-panel h1 {
  margin: 10px 0 16px;
  font-family: var(--font-title);
  font-size: clamp(42px, 5vw, 76px);
  line-height: .95;
}

.admin-login-panel p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.55;
}

.admin-login-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.admin-login-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 800;
}

.admin-login-card {
  align-self: center;
  background: #fff;
  padding: 34px;
}

.admin-login-card__head {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.admin-login-card__head>span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-dark);
  color: var(--gold);
  font-size: 28px;
}

.admin-login-card h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 34px;
  color: var(--text);
}

.admin-login-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.admin-login-form,
.admin-login-form label {
  display: grid;
  gap: 10px;
}

.admin-login-form {
  gap: 18px;
}

.admin-login-form label {
  font-weight: 900;
  color: var(--text);
}

.admin-field-control {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 56px;
  border: 1px solid rgba(16, 35, 56, .14);
  border-radius: 12px;
  background: #fbfaf7;
}

.admin-login-form input[type="text"],
.admin-login-form input[type="password"] {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
}

.admin-login-form i {
  color: var(--gold);
  text-align: center;
  font-size: 20px;
}

.admin-password-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-login-check {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 700 !important;
}

.admin-login-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.admin-login-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 35, 56, .09);
}

.admin-login-footer a {
  color: var(--text);
  font-weight: 900;
}

.service-detail-grid,
.zone-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 35px;
}

.service-detail-card,
.zone-card {
  background: #fff;
  border-radius: 16px;
  padding: 34px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 35, 56, .07);
}

.service-detail-card p,
.zone-card p {
  color: #20384e;
  font-size: 18px;
  line-height: 1.6;
}

.service-detail-card ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.service-detail-card li i {
  color: var(--gold);
}

.service-advice-card {
  display: grid;
  gap: 26px;
  padding: 34px;
  border-radius: 16px;
  background: var(--navy-dark);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.service-advice-card h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.service-advice-card__items {
  display: grid;
  gap: 18px;
}

.service-advice-card p {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: center;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  line-height: 1.45;
}

.service-advice-card p i {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 34px;
}

.service-advice-card p strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.service-advice-card p span {
  display: block;
}

.service-advice-card .btn {
  justify-self: start;
  width: min(100%, 360px);
  min-height: 58px;
  border-radius: 999px;
  color: var(--text);
  background: var(--gold);
  border-color: var(--gold);
}

.zone-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.zone-tags span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  background: #f6f1e8;
  color: var(--text);
  padding: 13px 14px;
  font-weight: 900;
}

.zone-tags i {
  color: var(--gold);
}

@media (max-width: 980px) {

  .admin-login-shell,
  .service-detail-grid,
  .zone-grid {
    grid-template-columns: 1fr;
  }

  .admin-login-shell {
    min-height: auto;
  }


  .cta-left span {
    font-size: 19.2px;
    color: rgba(255, 255, 255, .86);
    display: none;
  }
}

@media (max-width: 620px) {

  .admin-login-panel,
  .admin-login-card,
  .service-detail-card,
  .zone-card {
    padding: 24px 18px;
  }

  .zone-tags {
    grid-template-columns: 1fr;
  }

  .admin-login-footer {
    flex-direction: column;
  }
}

.footer-urgent {
  color: var(--gold) !important;
  font-weight: 600;
}

.footer-urgent span,
.footer-urgent i {
  color: var(--gold) !important;
}

html {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--navy-dark) !important;
}

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

body>header,
body>header .topbar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Variante vidéo du pop-up administrable */
.local-offer-popup--video .local-offer-popup__panel {
  grid-template-columns: .9fr 1.1fr;
}

.local-offer-popup__image.local-offer-popup__media--video {
  min-height: 640px;
  padding: 34px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 12%, rgba(201, 154, 82, .25), transparent 35%),
    linear-gradient(145deg, #0d3149, #061a28 70%);
}

.local-offer-popup__image > .local-offer-video {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  background: #02090e;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

.local-offer-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.local-offer-video__label {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 16px;
  max-width: calc(100% - 32px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(6, 26, 40, .88);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  pointer-events: none;
}

.local-offer-video__label i {
  color: var(--gold);
  font-size: 20px;
}

.footer-credit__coffee {
  display: inline-block;
  transform: translateY(-1px);
}

.navbar-cta i {
  font-size: 21px;
  line-height: 1;
}

.footer-credit a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Navigation des services + couleur des coordonnees du footer */
.nav-services {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-services > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-services > a i {
  font-size: 13px;
  transition: transform .2s ease;
}

.nav-services__dropdown {
  position: absolute;
  z-index: 120;
  top: calc(100% - 16px);
  left: 50%;
  width: 310px;
  padding: 10px;
  border: 1px solid rgba(201, 154, 82, .35);
  border-radius: 14px;
  background: var(--navy-dark);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.nav-services:hover .nav-services__dropdown,
.nav-services:focus-within .nav-services__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-services:hover > a i,
.nav-services:focus-within > a i {
  transform: rotate(180deg);
}

.nav-menu .nav-services__dropdown a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px !important;
  border-radius: 9px;
  color: #fff !important;
  font-size: 15px;
  line-height: 1.25;
}

.nav-menu .nav-services__dropdown a::after {
  display: none !important;
}

.nav-menu .nav-services__dropdown a:hover,
.nav-menu .nav-services__dropdown a:focus-visible,
.nav-menu .nav-services__dropdown a.active {
  background: rgba(201, 154, 82, .14);
  color: var(--gold) !important;
  outline: none;
}

.mobile-menu__services,
.mobile-menu__subnav {
  display: grid;
  gap: 6px;
}

.mobile-menu__subnav {
  padding: 0 0 4px 16px;
}

.mobile-menu__nav .mobile-menu__subnav a {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(8, 38, 59, .08);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 750;
}

.mobile-menu__nav .mobile-menu__subnav a::after {
  font-size: 22px;
}

.footer-contact p.footer-contact-item,
.footer-contact p.footer-contact-item span {
  color: var(--gold) !important;
}

@media (max-width: 760px) {
  .local-offer-popup--video .local-offer-popup__image {
    min-height: 220px;
    padding: 18px;
  }

  .local-offer-video__label {
    font-size: 11px;
  }
}

.cookie-consent-root [hidden] { display: none !important; }
.cookie-consent-banner {
  position: fixed; z-index: 4200; left: 50%; bottom: 18px;
  width: min(1120px, calc(100% - 32px)); transform: translateX(-50%);
  padding: 22px; display: grid; grid-template-columns: 58px minmax(0, 1fr) 330px;
  gap: 20px; align-items: center; border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px; background: rgba(6,26,40,.98); color: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.38); backdrop-filter: blur(12px);
}
.cookie-consent-banner__icon { width:58px; height:58px; display:grid; place-items:center; border-radius:16px; background:rgba(201,154,82,.14); color:var(--gold); font-size:30px; }
.cookie-consent-banner__copy strong { display:block; margin-bottom:5px; font-family:var(--font-title); font-size:24px; }
.cookie-consent-banner__copy p { margin:0; color:rgba(255,255,255,.78); font-size:14px; line-height:1.5; }
.cookie-consent-banner__copy a { display:inline-block; margin-top:7px; color:var(--gold); font-size:13px; font-weight:900; text-decoration:underline; text-underline-offset:3px; }
.cookie-consent-banner__actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.cookie-btn { min-height:46px; padding:0 16px; border-radius:999px; border:1px solid transparent; font:inherit; font-size:14px; font-weight:900; cursor:pointer; }
.cookie-btn:focus-visible,.cookie-manage-button:focus-visible,.cookie-preferences__close:focus-visible { outline:3px solid rgba(201,154,82,.5); outline-offset:2px; }
.cookie-btn--accept { background:linear-gradient(135deg,#d96b43,#c85f3e); color:#fff; }
.cookie-btn--reject { border-color:rgba(255,255,255,.52); background:transparent; color:#fff; }
.cookie-btn--settings { border-color:rgba(16,35,56,.16); background:#f4efe8; color:var(--text); }
.cookie-consent-banner__actions .cookie-btn--settings { grid-column:1/-1; border-color:rgba(255,255,255,.18); background:rgba(255,255,255,.08); color:#fff; }
.cookie-preferences { position:fixed; z-index:4300; inset:0; display:grid; place-items:center; padding:18px; }
.cookie-preferences__overlay { position:absolute; inset:0; border:0; background:rgba(0,0,0,.66); backdrop-filter:blur(4px); }
.cookie-preferences__panel { position:relative; z-index:1; width:min(680px,100%); max-height:calc(100vh - 36px); overflow:auto; padding:32px; border-radius:20px; background:#fff; color:var(--text); box-shadow:0 26px 90px rgba(0,0,0,.4); }
.cookie-preferences__close { position:absolute; right:18px; top:18px; width:44px; height:44px; display:grid; place-items:center; border:0; border-radius:50%; background:#f3ede4; color:var(--text); font-size:18px; cursor:pointer; }
.cookie-preferences__head { padding-right:48px; display:grid; grid-template-columns:54px 1fr; gap:14px; align-items:center; }
.cookie-preferences__head>span { width:54px; height:54px; display:grid; place-items:center; border-radius:15px; background:var(--navy-dark); color:var(--gold); font-size:28px; }
.cookie-preferences__head p { margin:0 0 4px; color:var(--gold); font-size:12px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.cookie-preferences__head h2 { margin:0; font-family:var(--font-title); font-size:31px; line-height:1.05; }
.cookie-preferences__intro { margin:22px 0; color:var(--muted); line-height:1.55; }
.cookie-category { margin-top:12px; padding:18px; display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; border:1px solid rgba(16,35,56,.1); border-radius:14px; background:#faf8f4; }
.cookie-category p { margin:4px 0 0; color:var(--muted); font-size:14px; line-height:1.45; }
.cookie-category__status { color:#44735a; font-size:13px; font-weight:900; }
.cookie-category--toggle { cursor:pointer; }
.cookie-switch { position:relative; width:54px; height:30px; }
.cookie-switch input { position:absolute; width:1px; height:1px; opacity:0; }
.cookie-switch>span { position:absolute; inset:0; border-radius:999px; background:#a8afb5; transition:background .2s ease; }
.cookie-switch>span::after { content:""; position:absolute; left:4px; top:4px; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 2px 7px rgba(0,0,0,.22); transition:transform .2s ease; }
.cookie-switch input:checked+span { background:var(--gold); }
.cookie-switch input:checked+span::after { transform:translateX(24px); }
.cookie-switch input:focus-visible+span { outline:3px solid rgba(201,154,82,.32); outline-offset:3px; }
.cookie-preferences__actions { margin-top:22px; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.cookie-preferences__actions .cookie-btn--reject { border-color:rgba(16,35,56,.22); color:var(--text); }
.cookie-preferences__legal { margin:16px 0 0; color:var(--muted); text-align:center; font-size:12px; line-height:1.45; }
body.cookie-preferences-open { overflow:hidden; }
.cookie-manage-button { min-height:36px; padding:0 13px; display:inline-flex; align-items:center; gap:7px; border:1px solid rgba(255,255,255,.2); border-radius:999px; background:transparent; color:rgba(255,255,255,.72); font:inherit; font-size:12px; font-weight:800; cursor:pointer; }
.cookie-manage-button:hover { border-color:var(--gold); color:#fff; }
.legal-shell { display:grid; grid-template-columns:250px minmax(0,1fr); gap:28px; align-items:start; }
.legal-toc { position:sticky; top:110px; padding:24px; display:grid; gap:10px; border-radius:18px; background:var(--navy-dark); color:#fff; }
.legal-toc strong { color:var(--gold); font-family:var(--font-title); font-size:22px; }
.legal-toc a { color:rgba(255,255,255,.78); font-size:14px; }
.legal-sections { display:grid; gap:18px; }
.legal-section { padding:32px; border-radius:18px; background:#fff; box-shadow:0 16px 45px rgba(6,26,40,.08); }
.legal-section h2 { margin:.35rem 0 1rem; font-family:var(--font-title); }
.legal-section p { color:var(--muted); line-height:1.7; }
.legal-details { display:grid; gap:8px; }
.legal-details div { display:grid; grid-template-columns:120px 1fr; gap:12px; }
.legal-details dt { font-weight:900; }
.legal-details dd { margin:0; }
.legal-warning { padding:14px; display:flex; gap:10px; border-radius:12px; background:#fff6df; color:#78531a !important; }
.legal-cookie-button { margin-top:10px; }
.commune-media-card figcaption { padding:9px 14px; color:var(--muted); font-size:13px; text-align:center; }
@media (max-width:1100px) {
  .cookie-consent-banner { grid-template-columns:52px 1fr; }
  .cookie-consent-banner__actions { grid-column:1/-1; }
  .legal-shell { grid-template-columns:1fr; }
  .legal-toc { position:static; }
}
@media (max-width:760px) {
  .cookie-consent-banner { bottom:10px; width:calc(100% - 20px); max-height:calc(100vh - 20px); overflow:auto; padding:18px; grid-template-columns:1fr; gap:14px; }
  .cookie-consent-banner__icon { width:48px; height:48px; font-size:25px; }
  .cookie-consent-banner__actions,.cookie-preferences__actions { grid-template-columns:1fr; }
  .cookie-consent-banner__actions .cookie-btn--settings { grid-column:auto; }
  .cookie-preferences__panel { padding:24px 18px; }
  .cookie-preferences__head { grid-template-columns:46px 1fr; padding-right:38px; }
  .cookie-preferences__head>span { width:46px; height:46px; font-size:23px; }
  .cookie-preferences__head h2 { font-size:25px; }
  .cookie-category { grid-template-columns:1fr; }
  .legal-section { padding:25px 20px; }
  .legal-details div { grid-template-columns:1fr; gap:2px; }
}
