/* Cyder Solar — feuille de style principale */

/* Montserrat auto-hébergé (fichier variable, poids 400 à 800). Aucune requête vers
   fonts.googleapis.com / fonts.gstatic.com : l'IP des visiteurs ne part pas chez Google,
   ce qui rend vraie la mention « aucun traceur tiers » de privacy.html. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Bleus (marque) */
  --c-navy: #001736;
  --c-navy-rgb: 0, 23, 54;
  --c-bg-dark: #091E36;
  --c-bg-dark-rgb: 9, 30, 54;
  --c-blue: #76B6F0;
  --c-blue-rgb: 118, 182, 240;
  --c-blue-pale: #adc7f8;
  --c-blue-soft: #eaf2fb;
  --c-blue-dark-text: #2c4770;

  /* Ambre / orange (accent) */
  --c-amber: #FFA500;
  --c-amber-rgb: 255, 165, 0;
  --c-amber-hover: #f7941e;
  --c-amber-soft: #fff4e6;
  --c-amber-dark: #8c4f00;
  --c-amber-darker-text: #6b3b00;
  --c-battery-soft: #fdf1e0;

  /* Vert (accent tertiaire) */
  --c-green: #1c7a45;
  --c-green-soft: #e9f6ee;
  --c-green-dark-text: #2f6b48;

  /* Rouge (zone de couverture carte) */
  --c-red: #E5322D;
  --c-red-rgb: 229, 50, 45;
  --c-error-soft: #fef2f2;
  --c-error-border: #fca5a5;

  /* Neutres */
  --c-white: #ffffff;
  --c-white-rgb: 255, 255, 255;
  --c-text: #1a1b1e;
  --c-text-body: #43474e;
  --c-text-muted: #74777f;
  --c-text-pale: #f1f4fb;
  --c-border: #c4c6d0;
  --c-grey-soft: #f4f3f7;
  --c-placeholder-1: #eef1f5;
  --c-placeholder-2: #e6eaf0;

  /* Contact */
  --c-contact-text: #c8d5ea;
  --c-contact-label: #7a94c2;

  /* Carte / région */
  --c-map-grey: #4A5568;
  --c-map-bg-1: #eef4fb;
  --c-map-bg-2: #e6eef8;
}

* {
  box-sizing: border-box;
}

/* L'attribut `hidden` doit toujours masquer l'élément. Sans `!important`, n'importe
   quelle classe posant un `display` (ex. `.form__feedback { display: flex }`) gagne
   contre la règle par défaut du navigateur, et l'élément reste visible malgré `hidden`. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--c-text);
  background: var(--c-bg-dark);
  overflow-x: hidden;
}

a {
  color: var(--c-navy);
  text-decoration: none;
}

a:hover {
  color: var(--c-amber-hover);
}

::selection {
  background: var(--c-amber);
  color: var(--c-navy);
}

@keyframes cyChevron {

  0%,
  100% {
    transform: translateY(0);
    opacity: .55
  }

  50% {
    transform: translateY(9px);
    opacity: 1
  }
}

/* ---------- Fond parallax ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--c-bg-dark);
}

.bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: opacity, transform;
}

.bg--accueil {
  background-image: url('../assets/bg-accueil.webp');
  transform-origin: 78% 80%;
  opacity: 1;
}

.bg--services {
  background-image: url('../assets/bg-services.webp');
  transform-origin: 55% 45%;
  opacity: 0;
}

.bg--apropos {
  background-image: url('../assets/bg-apropos.webp');
  transform-origin: 50% 45%;
  opacity: 0;
}

.bg--contact {
  background-image: url('../assets/bg-contact.webp');
  transform-origin: 32% 45%;
  opacity: 0;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(var(--c-white-rgb), 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(var(--c-navy-rgb), 0.08);
}

.header__inner {
  max-width: 1220px;
  margin: 0 auto;
  height: 74px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-groupe {
  display: flex;
}

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

.logo {
  height: 54px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-navy);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
}

.btn--primary {
  background: var(--c-amber);
  color: var(--c-navy);
}

.btn--primary:hover {
  background: var(--c-amber-hover);
}

.btn--sm {
  font-size: 16px;
  padding: 12px 26px;
  box-shadow: 0 6px 16px rgba(var(--c-amber-rgb), 0.35);
}

.btn--lg {
  font-size: 18px;
  padding: 16px 40px;
  box-shadow: 0 10px 28px rgba(var(--c-amber-rgb), 0.4);
}

.btn--outline {
  color: var(--c-white);
  font-size: 18px;
  padding: 16px 26px;
  border: 2px solid rgba(var(--c-white-rgb), 0.7);
}

.btn--outline:hover {
  border-color: var(--c-amber);
  color: var(--c-amber);
}

.btn--block {
  width: 100%;
  font-size: 17px;
  padding: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(var(--c-amber-rgb), 0.35);
}

/* ---------- Structure générale ---------- */
.main {
  position: relative;
  z-index: 10;
}

.section {
  min-height: 100vh;
  scroll-margin-top: 74px;
  display: flex;
  align-items: center;
}

.section--hero {
  padding: 120px 28px 90px;
  position: relative;
}

.section--services {
  padding: 130px 28px 110px;
}

.section--apropos {
  padding: 130px 28px 110px;
}

.section--contact {
  padding: 130px 28px 0;
  flex-direction: column;
  justify-content: flex-end;
}

.content {
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  will-change: opacity, transform;
}

.content--fade {
  opacity: 0;
}

.section--contact .content {
  max-width: 1080px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow--pill {
  background: rgba(var(--c-navy-rgb), 0.55);
  backdrop-filter: blur(4px);
  color: var(--c-blue-pale);
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 26px;
}

.section-header .eyebrow--pill {
  margin-bottom: 16px;
}

.eyebrow--amber {
  color: var(--c-amber-dark);
}

.eyebrow--blue {
  color: var(--c-blue-pale);
  margin-bottom: 14px;
}

/* ---------- Section header générique ---------- */
.section-header {
  text-align: center;
  margin-bottom: 38px;
}

.section-header__title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin: 0;
  text-shadow: 0 2px 24px rgba(var(--c-navy-rgb), 0.5);
}



.section-header--dark {
  margin-bottom: 36px;
}

.section-header--dark .eyebrow--amber {
  margin-bottom: 8px;
}

.section-header--dark .section-header__title {
  font-size: 30px;
  color: var(--c-navy);
  text-shadow: none;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__text {
  flex: 1 1 560px;
  max-width: 720px;
}

.hero__title {
  font-size: 56px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin: 0 0 24px;
  text-shadow: 0 2px 30px rgba(var(--c-navy-rgb), 0.45);
}

.hero__subtitle {
  font-size: 20px;
  line-height: 1.5;
  color: var(--c-text-pale);
  font-weight: 500;
  margin: 0 0 38px;
  max-width: 540px;
  text-shadow: 0 1px 14px rgba(var(--c-navy-rgb), 0.5);
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-badges {
  flex: 0 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-badge {
  background: rgba(var(--c-white-rgb), 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--c-white-rgb), 0.3);
  border-radius: 8px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 12px 30px rgba(var(--c-navy-rgb), 0.15);
  opacity: 0;
  transform: translateX(90px);
}

/* Le glissement (droite -> gauche, en chaîne) est piloté image par image en JS
   (voir initHeroBadgesReveal) pour déclencher chaque carte suivante quand la
   précédente atteint 25% de sa position finale, plutôt qu'après un délai fixe. */
@media (prefers-reduced-motion: reduce) {
  .hero-badge {
    opacity: 1;
    transform: none;
  }
}

.hero-badge__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge__svg {
  display: block;
  width: 40px;
  height: 40px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.hero-badge__svg--amber {
  -webkit-mask-image: url('../assets/awards.svg');
  mask-image: url('../assets/awards.svg');
  background-color: var(--c-amber);
}

.hero-badge__svg--solar {
  -webkit-mask-image: url('../assets/solar.svg');
  mask-image: url('../assets/solar.svg');
  background-color: var(--c-blue);
}

.hero-badge__svg--profile {
  -webkit-mask-image: url('../assets/profile.svg');
  mask-image: url('../assets/profile.svg');
  background-color: var(--c-navy);
}

.hero-badge__label {
  color: var(--c-white);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 10px rgba(var(--c-navy-rgb), 0.5);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-indicator span {
  color: var(--c-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 8px rgba(var(--c-navy-rgb), 0.6);
}

.scroll-indicator__chevron {
  animation: cyChevron 1.8s ease-in-out infinite;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 22px;
  align-items: start;
  overflow: hidden;
}

.services-grid .card {
  opacity: 0;
  transform: translateX(100vw);
}

.services-grid.is-visible .card {
  animation: cardSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.services-grid.is-visible .card--install {
  animation-delay: 0s;
}

.services-grid.is-visible .card--storage {
  animation-delay: 0.15s;
}

.services-grid.is-visible .card--charge {
  animation-delay: 0.3s;
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateX(100vw);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-grid .card {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.card {
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(var(--c-navy-rgb), 0.22);
}

.card--install {
  padding: 34px;
}

.card--storage,
.card--charge {
  padding: 30px;
}

.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box--amber {
  background: var(--c-amber-soft);
}

.icon-box--blue {
  background: var(--c-blue-soft);
  margin-bottom: 16px;
}

.icon-box--green {
  background: var(--c-green-soft);
  margin-bottom: 16px;
}

.card__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0;
}

.card__title--sm {
  font-size: 22px;
  margin: 0 0 12px;
}

.card__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text-body);
  margin: 0 0 22px;
}

.card__text--sm {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 20px;
}

.card--charge .card__text--sm {
  margin-bottom: 18px;
}

.install-mode {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-amber-dark);
  background: var(--c-amber-soft);
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  margin: 0 0 22px;
}

.install-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.feature {
  border-radius: 6px;
  padding: 16px;
}

.feature--amber {
  background: var(--c-amber-soft);
}

.feature--green {
  background: var(--c-green-soft);
}

.feature--blue {
  background: var(--c-blue-soft);
}

.feature__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature--amber .feature__title {
  color: var(--c-amber-dark);
}

.feature--green .feature__title {
  color: var(--c-green);
}

.feature--blue .feature__title {
  color: var(--c-blue-dark-text);
}

.feature__text {
  font-size: 13px;
  line-height: 1.4;
}

.feature--amber .feature__text {
  color: var(--c-amber-darker-text);
}

.feature--green .feature__text {
  color: var(--c-green-dark-text);
}

.feature--blue .feature__text {
  color: var(--c-text-body);
}

.install-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.photo-placeholder {
  height: 130px;
  border-radius: 6px;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, var(--c-placeholder-1), var(--c-placeholder-1) 10px, var(--c-placeholder-2) 10px, var(--c-placeholder-2) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder span {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--c-text-muted);
  text-align: center;
  padding: 8px;
}

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

.photo-placeholder--battery {
  background: var(--c-white);
}

.photo-placeholder img.photo-placeholder__img--battery {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: center;
}

.battery-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.battery-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-battery-soft);
  border-radius: 6px;
  padding: 12px 16px;
}

.battery-item--alt {
  background: var(--c-grey-soft);
}

.battery-item__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy);
  min-width: 0;
}

.badge-cert {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-navy);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-navy);
  background: var(--c-grey-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Timeline ---------- */
.timeline-card {
  background: var(--c-white);
  border-radius: 8px;
  padding: 44px 40px;
  box-shadow: 0 24px 60px rgba(var(--c-navy-rgb), 0.22);
  margin-top: 22px;
}

.timeline {
  position: relative;
}

.tl-line {
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-amber));
  z-index: 0;
}

.timeline__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
}

.step__img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}

.step__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.step__num--blue {
  color: var(--c-blue);
}

.step__num--amber {
  color: var(--c-amber);
}

.step__num--green {
  color: var(--c-green);
}

.step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0 0 8px;
}

.step__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--c-text-body);
  margin: 0;
}

/* ---------- À propos ---------- */
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.5fr;
  align-items: stretch;
  margin-bottom: 26px;
  background: rgba(var(--c-white-rgb), 0.94);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(var(--c-navy-rgb), 0.3);
  overflow: hidden;
}

.photo-panel {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 340px;
}

.photo-panel__img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-panel {
  padding: 42px;
  display: flex;
  flex-direction: column;
}

.about-panel .eyebrow--amber {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.about-panel .eyebrow--amber+.about-panel__title {
  margin-top: 32px;
}

.about-panel__title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-navy);
  margin: 0 0 20px;
  line-height: 1.15;
}

.about-panel__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text-body);
  margin: 0 0 18px;
}

.about-panel__text:last-of-type {
  margin-bottom: 0;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 22px 40px;
  margin-bottom: 26px;
  background: rgba(var(--c-white-rgb), 0.94);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(var(--c-navy-rgb), 0.28);
}

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

.stat__num {
  font-size: 34px;
  font-weight: 800;
  color: var(--c-amber);
  line-height: 1;
}

.stat__label {
  font-size: 13px;
  color: var(--c-text-body);
  font-weight: 600;
  margin-top: 4px;
}

.map-panel {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 0 6px 6px 0;
  overflow: hidden;
  background: linear-gradient(160deg, var(--c-map-bg-1), var(--c-map-bg-2));
}

.map__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map__radius {
  position: absolute;
  top: 48%;
  left: 53%;
  width: 84%;
  aspect-ratio: 1 / 1;
  height: auto;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--c-red);
  opacity: 0.3;
}

.map__point {
  position: absolute;
  text-align: center;
  transform: translate(-50%, -4px);
}

/* Positions desktop des repères de la carte. Étaient des attributs style= inline dans
   index.html ; déplacées ici pour que la CSP puisse interdire le style inline.
   Les media queries plus bas ne surchargent que `top` (recadrage mobile). */
.map__point--angouleme {
  left: 31%;
  top: 39.7%;
}

.map__point--limoges {
  left: 79%;
  top: 31.7%;
}

.map__point--perigueux {
  left: 55%;
  top: 64.9%;
}

.map__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-navy);
  margin: 0 auto 4px;
  box-shadow: 0 0 0 3px rgba(var(--c-white-rgb), 0.9);
}

.map__point-label {
  font-size: 12px;
  color: var(--c-navy);
  font-weight: 700;
  background: rgba(var(--c-white-rgb), 0.95);
  padding: 1px 5px;
  border-radius: 3px;
}

.map__center {
  position: absolute;
  left: 53%;
  top: 47.7%;
  text-align: center;
  transform: translate(-50%, -100%);
}

.map__center-badge {
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 4px;
  margin-bottom: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(var(--c-navy-rgb), 0.35);
}

.map__pin {
  width: 51px;
  height: 51px;
  margin: 0 auto;
  padding: 6px;
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(var(--c-navy-rgb), 0.35);
}

.map__pin img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.map__region-label {
  position: absolute;
  left: 8%;
  top: 88%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-map-grey);
  font-style: italic;
}

.map__brand {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  background: var(--c-white);
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(var(--c-navy-rgb), 0.35);
}

.map__brand img {
  height: 36px;
  display: block;
}

.map__attribution {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-size: 9px;
  color: rgba(var(--c-navy-rgb), 0.6);
  background: rgba(var(--c-white-rgb), 0.75);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ---------- Témoignages ---------- */





/* ---------- FAQ ---------- */
.faq-card {
  background: var(--c-white);
  border-radius: 8px;
  padding: 44px 40px;
  box-shadow: 0 24px 60px rgba(var(--c-navy-rgb), 0.22);
  margin-top: 48px;
  margin-bottom: 26px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-bottom: 1px solid var(--c-grey-soft);
  padding-bottom: 10px;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item__q {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy);
  padding: 10px 0;
  cursor: pointer;
  list-style: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: '+';
  float: right;
  font-weight: 700;
  color: var(--c-amber-dark);
}

.faq-item[open] .faq-item__q::after {
  content: '−';
}

.faq-item__a {
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text-body);
  margin: 0 0 10px;
}

/* ---------- Contact ---------- */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(var(--c-navy-rgb), 0.4);
}

.contact-info {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 46px 40px;
}

.contact-info__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.12;
}

.contact-info__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-contact-text);
  margin: 0 0 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon--amber {
  background: rgba(var(--c-amber-rgb), 0.9);
}

.contact-item__icon--blue {
  background: rgba(var(--c-blue-rgb), 0.95);
}

.contact-item__icon--white {
  background: rgba(var(--c-white-rgb), 0.92);
}

.contact-item__label {
  font-size: 12px;
  color: var(--c-contact-label);
}

.contact-item__value {
  font-size: 16px;
  font-weight: 700;
}

.contact-item__value a {
  color: inherit;
  text-decoration: none;
}

.contact-item__value a:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  background: var(--c-white);
  padding: 46px 40px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-body);
  margin-bottom: 6px;
}

.form__field input,
.form__field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  color: var(--c-text);
}

.form__field textarea {
  resize: vertical;
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--c-amber);
  outline: none;
}

.form__status {
  font-size: 12px;
  color: var(--c-text-muted);
  text-align: center;
  margin: 0;
  min-height: 14px;
}

.form__feedback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
}

.form__feedback h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.form__feedback p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.form__feedback-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form__feedback-icon svg {
  width: 100%;
  height: 100%;
}

.form__feedback--success {
  background: var(--c-green-soft);
  border: 1px solid var(--c-green);
}

.form__feedback--success h3 {
  color: var(--c-green);
}

.form__feedback--success p {
  color: var(--c-green-dark-text);
}

.form__feedback--success .form__feedback-icon {
  color: var(--c-green);
}

.form__feedback--error {
  background: var(--c-error-soft);
  border: 1px solid var(--c-error-border);
}

.form__feedback--error p {
  color: var(--c-red);
}

.form__feedback--error .form__feedback-icon {
  color: var(--c-red);
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form__consent-checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--c-amber);
}

.form__consent-checkbox.input-error {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
}

.form__consent-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-text-body);
}

.form__consent-label a {
  color: var(--c-navy);
  text-decoration: underline;
}

.form__required {
  color: var(--c-red);
}

.form__consent-error {
  font-size: 12px;
  color: var(--c-red);
  margin: -8px 0 0;
}

/* ---------- Footer ---------- */
.footer-section {
  margin-top: 64px;
  background: rgba(var(--c-bg-dark-rgb), 0.92);
  backdrop-filter: blur(6px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.footer {
  max-width: 1220px;
  margin: 0 auto;
  padding: 34px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo-wrap {
  background: var(--c-white);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo {
  height: 40px;
  width: auto;
  display: block;
}

.footer__tagline {
  color: var(--c-blue-pale);
  font-size: 13px;
}

.footer__legal a {
  color: var(--c-blue-pale);
  font-size: 13px;
  text-decoration: underline;
}

.footer__copy {
  color: var(--c-contact-label);
  font-size: 13px;
  width: 100%;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media(min-width:861px) and (max-width:1080px) {
  .map__point-label {
    display: none;
  }

  .map__center-badge {
    font-size: 10px;
    padding: 4px 8px;
  }
}

@media(max-width:860px) {
  .nav-link {
    display: none !important;
  }

  .nav {
    gap: 0 !important;
  }

  .logo {
    height: 42px !important;
  }

  .header__inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .section {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 104px !important;
  }

  h1 {
    font-size: 33px !important;
    line-height: 1.14 !important;
  }

  h2 {
    font-size: 25px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  .services-grid,
  .install-features,
  .install-photos,
  .timeline__steps,
  .about-grid,
  .contact-card,
  .form__row {
    grid-template-columns: 1fr !important;
  }

  .tl-line {
    display: none !important;
  }

  .hero-badges {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .card--install,
  .timeline-card {
    padding: 24px !important;
  }

  .about-panel {
    padding: 26px !important;
  }

  .about-panel .eyebrow--amber {
    position: static !important;
    transform: none !important;
    display: block;
    width: fit-content;
    margin: 0 auto 14px !important;
  }

  .about-panel .eyebrow--amber+.about-panel__title {
    margin-top: 0 !important;
  }

  .photo-panel {
    min-height: 280px !important;
  }

  .map,
  .map-panel {
    min-height: 260px !important;
  }

  .map__region-label {
    display: none !important;
  }

  /* Recalage vertical des repères : à cette hauteur de carte (180px),
     object-fit:cover recadre bien plus fort l'image qu'en desktop. */
  .map__point--angouleme {
    top: 32.2% !important;
  }

  .map__point--limoges {
    top: 18.3% !important;
  }

  .map__point--perigueux {
    top: 75.8% !important;
  }

  .map__center {
    top: 46% !important;
  }

  .about-stats {
    gap: 32px !important;
    flex-wrap: wrap !important;
  }

  .contact-info,
  .contact-form-wrap {
    padding: 30px 22px !important;
  }

  .footer {
    flex-direction: column !important;
    text-align: center !important;
    gap: 14px !important;
  }
}