/* ==========================================================================
   APTUS DIAGNOSTIC — Feuille de styles principale
   --------------------------------------------------------------------------
   SOMMAIRE
   01. Variables & reset
   02. Container (identique Bootstrap 5)
   03. Utilitaires (sr-only, bordures dégradées, boutons)
   04. Preloader
   05. En-tête / menu principal sticky / sous-menus / burger
   06. Hero (accueil : slider / pages internes)
   07. Barre de devis « Préparons votre projet »
   08. Rubriques & titres de section
   09. Accueil — À propos + roue des valeurs
   10. Accueil — blocs texte / visuel
   11. Carrousel « Nos services »
   12. Bloc paiement
   13. Secteur d'intervention + accordéons
   14. Actualités (cartes articles)
   15. Page interne (prestation) + FAQ 2 colonnes
   16. Page contact (coordonnées + formulaire)
   17. Newsletter + pied de page
   18. Animations (apparition, titres lettre par lettre)
   19. Responsive
   ========================================================================== */

/* ==========================================================================
   01. Variables & reset
   ========================================================================== */
:root {
  --c-bg: #1a2126;
  --c-dark: #121a20;
  --c-footer: #21292f;
  --c-text: #ebebeb;
  --c-ink: #252525;
  --c-muted: #b0b0b0;
  --c-line: rgba(235, 235, 235, 0.2);
  --c-yellow: #f6df12;
  --c-green: #93c46d;
  --c-blue: #5a95c7;
  --grad: linear-gradient(90deg, #f6df12 0%, #93c46d 50%, #5a95c7 100%);
  --grad-text: linear-gradient(90deg, #93c46d 0%, #5a95c7 100%);
  --grad-v-warm: linear-gradient(180deg, #feef00 0%, #ece11a 30%, #8ca39c 100%);
  --grad-v-cool: linear-gradient(180deg, #94d264 0%, #529dc7 70%, #3d94df 100%);
  --font:
    "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-top: 30px;
  /* Espacement vertical des sections (réduit en responsive, cf. section 19) */
  --section-py: 100px;
  --block-gap: 40px;
  /* Largeur max du container — redéfinie dans les mêmes media queries que .container */
  --container-max: 100vw;
  --bleed: max(0px, calc((100vw - var(--container-max)) / 2 + 0.75rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

p,
h1,
h2 {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   02. Container (identique Bootstrap 5)
   ========================================================================== */
.container {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }

  :root {
    --container-max: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  :root {
    --container-max: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  :root {
    --container-max: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  :root {
    --container-max: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  :root {
    --container-max: 1320px;
  }
}

/* ==========================================================================
   03. Utilitaires
   ========================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--c-text);
  color: var(--c-ink);
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Bordure dégradée (fond transparent conservé) */
.grad-border {
  position: relative;
}

.grad-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--gb-width, 2px);
  border-radius: inherit;
  background: var(--grad);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

/* Bouton principal (composant « Frame 12 ») */
.btn {
  --gb-width: 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 30px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-text);
  white-space: nowrap;
  isolation: isolate;
  transition: color 0.3s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  color: var(--c-ink);
}

.btn:hover::after,
.btn:focus-visible::after {
  opacity: 1;
}

/* Lien texte avec survol « tiret + dégradé » (pied de page, sous-menus) */
.hover-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s var(--ease);
}

.hover-line::before {
  content: "";
  width: 0;
  height: 2px;
  margin-right: -10px;
  background: var(--c-green);
  transition:
    width 0.3s var(--ease),
    margin 0.3s var(--ease);
}

.hover-line:hover::before,
.hover-line:focus-visible::before {
  width: 20px;
  margin-right: 0;
}

.hover-line:hover .hover-line__txt,
.hover-line:focus-visible .hover-line__txt {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   04. Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: var(--c-dark);
  transition:
    opacity 0.6s var(--ease),
    visibility 0.6s;
  /* Sécurité : masqué au bout de 6 s même si le JS échoue */
  animation: preloader-safety 0s linear 6s forwards;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__logo {
  width: 78px;
  height: 88px;
  margin: 0 auto;

  animation: preloader-pulse 1.4s var(--ease) infinite;
}

.preloader__bar {
  width: 140px;
  height: 3px;
  margin: 24px auto 0;
  border-radius: 3px;
  background: var(--c-line);
  overflow: hidden;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--grad);
  border-radius: inherit;
  animation: preloader-bar 1.1s var(--ease) infinite;
}

@keyframes preloader-pulse {
  50% {
    transform: scale(0.9);
    opacity: 0.75;
  }
}

@keyframes preloader-bar {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(260%);
  }
}

@keyframes preloader-safety {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ==========================================================================
   05. En-tête / menu principal sticky
   ========================================================================== */
.site-header {
  position: fixed;
  top: var(--header-top);
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
  transition: top 0.35s var(--ease);
}

.site-header.is-scrolled {
  --header-top: 12px;
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 95px;
  padding: 14px 25px;
  background: var(--c-dark);
  border: 1px solid var(--c-bg);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.site-header__logo {
  flex: 0 0 auto;
  width: 220px;
}

.site-header__logo img {
  width: 220px;
  height: 65px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.site-nav__link:hover,
.site-nav__item.is-open > .site-nav__link,
.site-nav__link[aria-current="page"] {
  color: var(--c-green);
}

/* Le libellé « Diagnostics vente / location » est un bouton qui ouvre le sous-menu */
.site-nav__toggle {
  background: none;
  border: 0;
  cursor: pointer;
}

/* Sous-menu (fond blanc, coins bas arrondis) */
.site-nav__sub {
  position: absolute;
  top: calc(100% + 30px);
  left: 0;
  min-width: 330px;
  padding: 14px 60px 14px 24px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 0 0 14px 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s;
}

.site-nav__sub::before {
  /* pont de survol */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 32px;
}

.site-nav__sub-link {
  color: var(--c-ink);
  font-size: 16px;
  line-height: 36px;
  font-weight: 500;
}

.site-nav__item.is-open > .site-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (hover: hover) and (min-width: 1200px) {
  .site-nav__item--has-sub:hover > .site-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__item--has-sub:hover > .site-nav__link {
    color: var(--c-green);
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.site-header__client {
  --gb-width: 2px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--c-text);
  transition:
    color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.site-header__client svg {
  width: 24px;
  height: 24px;
}

.site-header__client::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.site-header__client {
  isolation: isolate;
}

.site-header__client:hover {
  color: var(--c-ink);
}

.site-header__client:hover::after {
  opacity: 1;
}

/* Burger */
.site-header__burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.site-header__burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease),
    top 0.3s var(--ease);
}

.site-header__burger span:nth-child(1) {
  top: 16px;
}

.site-header__burger span:nth-child(2) {
  top: 23px;
}

.site-header__burger span:nth-child(3) {
  top: 30px;
}

.site-header__burger[aria-expanded="true"] span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.site-header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-header__burger[aria-expanded="true"] span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   06. Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 775px;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* Forme « Union » : rectangle 600 px + ellipse basse (175 px) */
  clip-path: url(#hero-shape);
  background: var(--c-dark);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide.is-active img {
  animation: hero-zoom 9s linear forwards;
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

/* Colonnes de titres du slider (3 x 480 px sur 1440) */
.hero__cols {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 237.5px;
  height: 300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero__col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  cursor: pointer;
}

.hero__col + .hero__col::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    #fff 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.2;
  transition: opacity 0.6s var(--ease);
}

.hero__title {
  font-size: 40px;
  line-height: 50px;
  font-weight: 600;
  color: #fff;
  opacity: 0.2;
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.hero__btn-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}

.hero__btn-wrap > div {
  overflow: hidden;
}

.hero__btn {
  margin-top: 80px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s var(--ease) 0.1s,
    transform 0.5s var(--ease) 0.1s,
    color 0.3s var(--ease);
}

.hero__col.is-active .hero__title {
  opacity: 1;
}

.hero__col.is-active .hero__btn-wrap {
  grid-template-rows: 1fr;
}

.hero__col.is-active .hero__btn {
  opacity: 1;
  transform: none;
}

/* Points du slider */
.hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 560px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  transition:
    width 0.4s var(--ease),
    background-color 0.4s var(--ease);
}

.hero__dot[aria-selected="true"] {
  width: 30px;
  background: var(--grad);
}

.hero.is-dragging {
  cursor: grabbing;
}

/* Hero des pages internes (475 px) */
.hero--page {
  height: 475px;
}

.hero--page .hero__media {
  clip-path: url(#hero-shape-page);
}

.hero--page .hero__slide {
  opacity: 1;
}

.hero--page .hero__slide img {
  animation: hero-zoom 12s linear forwards;
}

.hero__page-title {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 212.5px;
  text-align: center;
  font-size: 40px;
  line-height: 50px;
  font-weight: 600;
  padding: 0 20px;
}

.hero--contact .hero__page-title {
  top: 262px;
}

/* ==========================================================================
   07. Barre de devis
   ========================================================================== */
.quote-wrap {
  position: relative;
  z-index: 5;
  margin-top: -173px;
}

.hero--page + .quote-wrap {
  margin-top: -171px;
}

.quote-bar {
  width: 855px;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: rgba(26, 33, 38, 0.2);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: inset 0 0 0 1px rgba(235, 235, 235, 0.12);
  border-radius: var(--radius);
}

.quote-bar__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.quote-bar__title {
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
}

.quote-bar__subtitle {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.quote-bar__form {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
}

.quote-bar__group {
  margin: 0;
  min-width: 0;
  padding: 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-dark);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-bar__group--transaction {
  width: 270px;
}

.quote-bar__group--bien {
  width: 375px;
}

.quote-bar__legend {
  float: left;
  /* neutralise le rendu natif du legend */
  width: 100%;
  padding: 0 0 9px;
  border-bottom: 1px solid var(--c-text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.quote-bar__legend + * {
  clear: both;
}

.quote-bar__options {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.quote-bar__group--transaction .quote-bar__options {
  justify-content: center;
}

.quote-option {
  position: relative;
  flex: 0 0 110px;
}

.quote-bar__group--bien .quote-option:nth-child(2) {
  flex-basis: 95px;
}

.quote-option__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.quote-option__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.quote-option__icon {
  --gb-width: 1.5px;
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1.5px var(--c-line);
  transition: box-shadow 0.3s var(--ease);
}

.quote-option__icon::before {
  opacity: 0;
}

.quote-option__icon svg {
  width: 50px;
  height: 50px;
  color: var(--c-text);
}

.quote-option__text {
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}

.quote-option__label:hover .quote-option__icon::before,
.quote-option__input:checked + .quote-option__label .quote-option__icon::before,
.quote-option__input:focus-visible
  + .quote-option__label
  .quote-option__icon::before {
  opacity: 1;
}

.quote-option__label:hover .quote-option__icon,
.quote-option__input:checked + .quote-option__label .quote-option__icon {
  box-shadow: none;
}

.quote-option__input:focus-visible + .quote-option__label .quote-option__icon {
  outline: 2px solid var(--c-yellow);
  outline-offset: 3px;
}

.quote-bar__submit {
  --gb-width: 3px;
  position: relative;
  flex: 0 0 90px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--c-text);
  isolation: isolate;
  transition: color 0.3s var(--ease);
}

.quote-bar__submit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(160deg, #f6df12 0%, #93c46d 50%, #5a95c7 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.quote-bar__submit svg {
  width: 51px;
  height: 51px;
  transition: transform 0.3s var(--ease);
}

.quote-bar__submit:hover::after,
.quote-bar__submit:focus-visible::after {
  opacity: 1;
}

.quote-bar__submit:hover {
  color: var(--c-ink);
}

.quote-bar__submit:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   08. Rubriques & titres
   ========================================================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.section-label__icon {
  width: 38px;
  height: 43px;
  color: var(--c-text);
  flex: 0 0 auto;
}

.section-label__text {
  font-size: 20px;
  line-height: 22px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: left;
}

.section-label__text strong {
  display: block;
  font-weight: 800;
}

.section-label--center {
  display: flex;
  justify-content: center;
}

.title-xl {
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
}

.title-lg {
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
}

.text {
  font-size: 16px;
  line-height: 24px;
}

.text strong {
  font-weight: 600;
}

.text-flow > * + * {
  margin-top: 0;
}
.text ul li {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 12px;
}
.text h3 {
  margin: 18px 0;
  font-size: 18px;
  font-weight: 600;
}
.wizard-classic-select option {
  color:#3d94df!important;
}
#step3-1 .input-wrapper {
  opacity: 0.8!important;
}

/* ==========================================================================
   09. Accueil — À propos + roue des valeurs
   ========================================================================== */
.about {
  padding: var(--section-py) 0;
  overflow-x: clip;
}

.about__intro {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about__content {
  flex: 1 1 818px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.about__rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

/* Roue des valeurs (inspirée de hitilya.fr : rotation lente + valeur active) */
.values {
  --size: 372px;
  position: relative;
  flex: 0 0 var(--size);
  width: var(--size);
  height: 421px;
}

.values__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 323px;
  height: 323px;
  margin: -161.5px 0 0 -161.5px;
  border-radius: 50%;
}

.values__ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.values__orbit {
  position: absolute;
  inset: 0;
  animation: values-spin 40s linear infinite;
}

.values__item {
  position: absolute;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  animation: values-spin 40s linear infinite reverse;
}

.values__item:nth-child(1) {
  left: 184px;
  top: 50px;
}

.values__item:nth-child(2) {
  left: 322px;
  top: 134px;
}

.values__item:nth-child(3) {
  left: 322px;
  top: 278px;
}

.values__item:nth-child(4) {
  left: 184px;
  top: 371px;
}

.values__item:nth-child(5) {
  left: 50px;
  top: 278px;
}

.values__item:nth-child(6) {
  left: 50px;
  top: 134px;
}

.values:hover .values__orbit,
.values:hover .values__item,
.values:focus-within .values__orbit,
.values:focus-within .values__item {
  animation-play-state: paused;
}

.values__btn {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.values__hex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.values__frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 71.3px;
  height: 80px;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}

.values__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  color: var(--c-text);
  opacity: 0.2;
  transition: opacity 0.4s var(--ease);
}

.values__btn:hover .values__icon,
.values__item.is-active .values__icon {
  opacity: 1;
}

.values__item.is-active .values__frame {
  transform: translate(-50%, -50%) scale(1.08);
}

.values__panel {
  position: absolute;
  left: 97px;
  top: 50%;
  width: 178px;
  padding: 12px 0;
  border: 1px solid var(--c-line);
  text-align: center;
  /* Cadre flexible : sa hauteur suit le texte actif, centré verticalement */
  transform: translateY(-50%);
}

.values__text {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  padding: 0 1px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(-50% + 6px));
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    visibility 0.4s;
}

/* Seul le texte actif reste dans le flux et donne sa hauteur au cadre */
.values__text.is-active {
  position: relative;
  top: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.values__name {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.values__desc {
  font-size: 14px;
  line-height: 22px;
}

@keyframes values-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   10. Accueil — blocs texte / visuel
   ========================================================================== */
.feature {
  display: flex;
  gap: 70px;
}

.feature--media-left {
  align-items: center;
}

.feature__content {
  flex: 1 1 793px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature--media-right .feature__content {
  flex-basis: 818px;
  gap: 40px;
}

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

.visual {
  position: relative;
  flex: 0 0 377px;
  width: 377px;
}

.visual__bar {
  position: absolute;
  width: 292px;
  border-radius: 10px;
}

.visual__photo {
  position: relative;
  width: 352px;
  border-radius: var(--radius);
  overflow: hidden;
}

.visual__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Visuel 1 : photo à gauche, barre jaune dépassant à droite */
.visual--a {
  height: 469px;
}

.visual--a .visual__photo {
  height: 469px;
}

.visual--a .visual__bar {
  /* left: 85px;
  top: 41px;
  height: 389px; */
  left: calc(100% - 287px);
  top: 41px;
  height: 83%;
  background: var(--grad-v-warm);
}

/* Visuel 2 : photo à droite, barre verte dépassant à gauche — s'adapte à la hauteur du texte (commentaire #17) */
.feature--media-right {
  align-items: stretch;
}

.visual--b {
  align-self: stretch;
  /* min-height: 600px; */
}

.visual--b .visual__photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 352px;
}

.visual--b .visual__bar {
  left: -29px;
  top: 17.5%;
  height: 64.8%;
  background: var(--grad-v-cool);
}

/* ==========================================================================
   11. Carrousel « Nos services »
   ========================================================================== */
.services {
  position: relative;
  padding: var(--section-py) 0;
  isolation: isolate;
}

.services::before,
.services::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.services::before {
  background: url("../img/services-bg.webp") center / cover no-repeat;
  opacity: 0.3;
}

.services::after {
  background: linear-gradient(
    180deg,
    var(--c-bg) 0%,
    rgba(26, 33, 38, 0) 50%,
    var(--c-bg) 100%
  );
}

.services__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.services__carousel {
  position: relative;
  margin-top: 40px;
}

.services__viewport {
  overflow: hidden;
  margin: -10px;
  padding: 10px;
  touch-action: pan-y;
  cursor: grab;
}

.services__viewport.is-dragging {
  cursor: grabbing;
}

.services__track {
  display: flex;
  gap: 25px;
  will-change: transform;
}

.services__track.is-animating {
  transition: transform 0.6s var(--ease);
}

.service-card {
  --gb-width: 2px;
  position: relative;
  flex: 0 0 calc((100% - 75px) / 4);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 288px;
  background: var(--c-dark);
  border-radius: var(--radius);
  box-shadow: 0 0 0 2px var(--c-dark);
  transition:
    background-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}

.service-card::before {
  opacity: 0;
  z-index: 2;
}

.service-card--img-top {
  padding-bottom: 20px;
}

.service-card--img-bottom {
  padding-top: 20px;
}

.service-card__media {
  position: relative;
  height: 218px;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(246, 223, 18, 0.28),
    rgba(147, 196, 109, 0.2) 50%,
    rgba(90, 149, 199, 0.32)
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.service-card__title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  text-align: center;
  padding: 0 10px;
}

.service-card:hover,
.service-card:focus-visible {
  background: var(--c-bg);
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.25);
}

.service-card:hover::before,
.service-card:focus-visible::before {
  opacity: 1;
}

.service-card:hover .service-card__media img,
.service-card:focus-visible .service-card__media img {
  transform: scale(1.08);
}

.service-card:hover .service-card__media::after,
.service-card:focus-visible .service-card__media::after {
  opacity: 1;
}

.services__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--c-ink);
  transition: background-color 0.3s var(--ease);
}

.services__nav svg {
  width: 30px;
  height: 30px;
}

.services__nav--prev {
  left: 10px;
}

.services__nav--next svg {
  transform: rotate(180deg);
}

.services__nav--next {
  right: 10px;
}

.services__nav:hover,
.services__nav:focus-visible {
  background: #fff;
}

.services__note {
  margin-top: 40px;
  text-align: center;
}

.services__note a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services__note a:hover {
  color: var(--c-green);
}

/* ==========================================================================
   12. Bloc paiement
   ========================================================================== */
.payment {
  padding: var(--section-py) 0 0;
}

.payment__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment__card {
  flex: 0 1 825px;
  padding: 50px 100px 50px 50px;
  background: var(--c-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.payment__card .title-xl {
  max-width: 675px;
}

.payment__img {
  flex: 0 0 319px;
  width: 319px;
  margin-left: -100px;
  position: relative;
}

.payment__img img {
  width: 319px;
  height: 319px;
  animation: payment-float 6s ease-in-out infinite;
}

@keyframes payment-float {
  50% {
    transform: translateY(-10px) rotate(-1.5deg);
  }
}

/* ==========================================================================
   13. Secteur d'intervention + accordéons
   ========================================================================== */
.area {
  padding: var(--section-py) 0;
}

.area__intro {
  display: flex;
  align-items: center;
  gap: 70px;
}

.area__map {
  flex: 0 0 397px;
  width: 397px;
}

.area__map img {
  width: 397px;
  height: 315px;
}

.area__content {
  flex: 1 1 773px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.area__faq {
  margin-top: 40px;
}

.area__outro {
  margin-top: 40px;
}

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

.accordion__item {
  --gb-width: 1px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--c-line);
  transition: box-shadow 0.3s var(--ease);
}

.accordion__item::before {
  opacity: 0;
}

.accordion__item.is-open::before,
.accordion__item:hover::before {
  opacity: 1;
}

.accordion__item.is-open,
.accordion__item:hover {
  box-shadow: none;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 16px 17px;
  text-align: left;
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
  color: var(--c-text);
}

.accordion--page .accordion__trigger {
  font-size: 26px;
  font-weight: 700;
}

.accordion__icon {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.accordion__icon svg {
  position: absolute;
  inset: 0;
  width: 30px;
  height: 30px;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.accordion__icon .accordion__minus {
  opacity: 0;
  transform: rotate(-90deg);
}

.accordion__item.is-open .accordion__plus {
  opacity: 0;
  transform: rotate(90deg);
}

.accordion__item.is-open .accordion__minus {
  opacity: 1;
  transform: none;
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.45s var(--ease),
    margin 0.45s var(--ease);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
  margin-top: -10px;
}

.accordion__panel > div {
  overflow: hidden;
}

.accordion__body {
  padding: 0 17px 16px;
}

.accordion__body p + p {
  margin-top: 24px;
}

/* ==========================================================================
   14. Actualités
   ========================================================================== */
.news {
  padding: 0 0 var(--section-py);
}

.news__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 20px;
}

.article-card {
  --gb-width: 2px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background: var(--c-dark);
  border-radius: var(--radius);
  transition: box-shadow 0.35s var(--ease);
}

.article-card::before {
  opacity: 0;
}

.article-card:hover,
.article-card:focus-visible {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.article-card:hover::before,
.article-card:focus-visible::before {
  opacity: 1;
}

.article-card__media {
  position: relative;
  aspect-ratio: 352 / 234.67;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.article-card:hover .article-card__media img {
  transform: scale(1.06);
}

.article-card__cat {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--grad);
  color: var(--c-ink);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}

.article-card__date {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 22px;
}

.article-card__date svg {
  width: 24px;
  height: 24px;
}

.article-card__title {
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
}

.news__more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ==========================================================================
   15. Page interne + FAQ 2 colonnes
   ========================================================================== */
.prestation {
  padding: var(--section-py) 0;
}

.prestation__head {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.prestation__accordion {
  margin-top: 40px;
}

.prestation__outro {
  margin-top: 40px;
}

.prestation__photo {
  margin-top: 50px;
  height: 620px;
  border-radius: var(--radius);
  overflow: hidden;
}

.prestation__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq {
  padding: 0 0 var(--section-py);
}

.faq__title {
  margin-bottom: 20px;
}

.faq__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: start;
}

/* ==========================================================================
   16. Page contact
   ========================================================================== */
.contact-cards {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: -99px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
  background: rgba(26, 33, 38, 0.2);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: inset 0 0 0 1px rgba(235, 235, 235, 0.12);
  border-radius: var(--radius);
  text-align: center;
}

.contact-card__title {
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
}

.contact-card__pill {
  position: relative;
  display: inline-block;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--c-dark);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--c-text);
  isolation: isolate;
  overflow: hidden;
  transition: color 0.3s var(--ease);
}

.contact-card__pill::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/services-bg.webp") center / cover;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.contact-card__pill:hover,
.contact-card__pill:focus-visible {
  color: var(--c-ink);
}

.contact-card__pill:hover::after,
.contact-card__pill:focus-visible::after {
  opacity: 1;
}

.contact-form-section {
  padding: var(--section-py) 0;
}

.contact-form-section__inner {
  display: flex;
  align-items: center;
  gap: 70px;
}

.contact-form-section__content {
  flex: 1 1 700px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

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

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

.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-field__input {
  width: 100%;
  height: 44px;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--c-text);
  border-radius: 0;
  background: transparent;
  color: var(--c-text);
  font-size: 16px;
  line-height: 24px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.form-field__input::placeholder {
  color: var(--c-text);
  opacity: 1;
}

.form-field__input:focus {
  border-color: var(--c-green);
}

.form-field__input:focus-visible {
  outline: none;
}

.form-field__input--area {
  height: 150px;
  resize: vertical;
}

.form-field.is-invalid .form-field__input {
  border-color: #ff7a6b;
}

.form-field__error {
  min-height: 0;
  margin-top: 6px;
  font-size: 13px;
  line-height: 18px;
  color: #ff9b8f;
}

.form-field__error:empty {
  display: none;
}

.contact-form__legal {
  font-size: 14px;
  line-height: 22px;
}

.contact-form__legal strong {
  font-weight: 600;
}

.contact-form__cta {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-form__captcha {
  /* Emplacement reCAPTCHA / hCaptcha */
  display: flex;
  align-items: center;
  gap: 10px;
  width: 212.6px;
  height: 48px;
  /* padding: 0 10px 0 10px; */
  background: #fff;
  color: #555;
  font-size: 10px;
  line-height: 12px;
}

.contact-form__captcha input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--c-green);
}

.contact-form__status {
  width: 100%;
  font-weight: 600;
}

.contact-form__status.is-success {
  color: var(--c-green);
}

.contact-form__status.is-error {
  color: #ff9b8f;
}

.contact-visual {
  position: relative;
  flex: 0 0 470px;
  height: 790px;
}

.contact-visual__photo {
  position: relative;
  z-index: 1;
  width: 440px;
  height: 790px;
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-visual__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-visual__bar {
  position: absolute;
  right: 0;
  top: 57px;
  width: 292px;
  height: 678px;
  border-radius: 10px;
  background: var(--grad-v-warm);
}

/* ==========================================================================
   17. Newsletter + pied de page
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: 0;
}

.site-footer__main {
  margin-top: -87px;
  padding: 200px 0 100px;
  background: var(--c-footer);
}

.newsletter {
  position: relative;
  z-index: 2;
  width: 868px;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--c-dark);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.newsletter__row {
  display: flex;
  align-items: center;
  gap: 50px;
}

.newsletter__title {
  flex: 1 1 435px;
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
  color: #fff;
}

.newsletter__field {
  flex: 0 0 303px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 50px;
  padding: 10px 10px 10px 20px;
  background: #fff;
  border-radius: 10px;
}

.newsletter__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--c-ink);
  font-size: 16px;
  line-height: 24px;
}

.newsletter__input::placeholder {
  color: var(--c-ink);
  font-weight: 300;
  font-style: italic;
  opacity: 1;
}

.newsletter__submit {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(45deg, #3d94df 0%, #9abd77 50%, #feef00 100%);
  color: var(--c-ink);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}

.newsletter__submit svg {
  width: 30px;
  height: 30px;
}

.newsletter__submit:hover,
.newsletter__submit:focus-visible {
  background: var(--c-dark);
  color: #fff;
}

.newsletter__legal {
  font-size: 14px;
  line-height: 22px;
  color: #fff;
}

.newsletter__msg {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-green);
}

.newsletter__msg:empty {
  display: none;
}

.newsletter__msg.is-error {
  color: #ff9b8f;
}

.footer-cols {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-cols__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 70px;
}

.footer-cols__brand img {
  width: 246.27px;
  height: 70.55px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col__title {
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
  color: #fff;
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
}

.footer-col__list a,
.footer-col__list span {
  font-size: 16px;
  line-height: 24px;
}

.footer-col__list strong {
  font-weight: 600;
}

.site-footer__bottom {
  background: var(--c-dark);
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #fff;
}

.site-footer__bottom-inner img {
  width: 35px;
  height: 32px;
}

.site-footer__bottom-inner a {
  text-underline-offset: 3px;
}

.site-footer__bottom-inner a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   18. Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

.split-word {
  display: inline-block;
  white-space: nowrap;
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 18ms);
}

.is-split.is-visible .split-char {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .split-char {
    opacity: 1;
    transform: none;
  }

  .values__orbit,
  .values__item {
    animation: none !important;
  }
}

/* ==========================================================================
   19. Responsive
   ========================================================================== */

/* Desktop intermédiaire (container 1140) */
@media (max-width: 1399.98px) {
  .site-nav__list {
    gap: 16px;
  }

  .site-header__logo,
  .site-header__logo img {
    width: 190px;
    height: auto;
  }

  .site-header__bar {
    gap: 16px;
    padding: 15px 20px;
  }

  .about__intro {
    gap: 40px;
  }

  .feature {
    gap: 50px;
  }

  .area__intro {
    gap: 50px;
  }
}

/* Menu burger sous 1200 px */
@media (max-width: 1199.98px) {
  .site-header__burger {
    display: block;
  }

  .site-header__bar {
    min-height: 80px;
    padding: 10px 16px;
  }

  .site-header__logo,
  .site-header__logo img {
    width: 180px;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 10px 20px 20px;
    background: var(--c-dark);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__item {
    border-bottom: 1px solid var(--c-line);
  }

  .site-nav__item:last-child {
    border-bottom: 0;
  }

  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
  }

  .site-nav__toggle::after {
    content: "";
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform 0.3s var(--ease);
  }

  .site-nav__item.is-open .site-nav__toggle::after {
    transform: translateY(2px) rotate(-135deg);
  }

  .site-nav__sub {
    position: static;
    min-width: 0;
    padding: 0 0 0 14px;
    background: transparent;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .site-nav__sub::before {
    display: none;
  }

  .site-nav__item.is-open > .site-nav__sub {
    display: block;
    padding-bottom: 10px;
  }

  .site-nav__sub-link {
    color: var(--c-text);
  }

  .hero__title {
    font-size: 32px;
    line-height: 40px;
  }

  .about__intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .values {
    align-self: center;
  }

  .feature {
    flex-direction: column;
  }

  .feature--media-left {
    align-items: flex-start;
  }

  .feature--media-right .visual {
    order: -1;
  }

  .visual--b {
    min-height: 520px;
    width: 377px;
    align-self: flex-start;
  }

  .payment__card {
    padding-right: 120px;
  }

  .area__intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form-section__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-visual {
    align-self: center;
  }

  .footer-cols {
    flex-wrap: wrap;
  }

  .footer-cols__brand {
    flex-basis: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }

  .service-card {
    flex-basis: calc((100% - 50px) / 3);
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-top: 16px;
  }

  .hero {
    height: 680px;
  }

  .hero__cols {
    top: 180px;
  }

  .hero__dots {
    top: 470px;
  }

  .quote-wrap {
    margin-top: -160px;
  }

  .quote-bar {
    padding: 30px 20px;
  }

  .quote-bar__form {
    flex-wrap: wrap;
  }

  .quote-bar__group--transaction,
  .quote-bar__group--bien {
    width: auto;
    flex: 1 1 270px;
  }

  .quote-bar__submit {
    flex: 1 1 100%;
    min-height: 64px;
  }

  .quote-bar__submit svg {
    width: 40px;
    height: 40px;
  }

  .service-card {
    flex-basis: calc((100% - 25px) / 2);
  }

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

  .payment__inner {
    flex-direction: column;
  }

  .payment__card {
    padding: 40px;
  }

  .payment__img {
    margin: -60px 0 0;
    align-self: flex-end;
    width: 240px;
    flex-basis: auto;
  }

  .payment__img img {
    width: 240px;
    height: 240px;
  }

  .faq__cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .newsletter__row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .newsletter__field {
    flex-basis: auto;
  }

  .site-footer__main {
    margin-top: -120px;
    padding-top: 200px;
  }

  .contact-cards {
    flex-wrap: wrap;
    gap: 20px;
  }

  .prestation__photo {
    height: 420px;
  }
}

@media (max-width: 767.98px) {
  .title-xl {
    font-size: 26px;
    line-height: 34px;
  }

  .title-lg,
  .accordion__trigger,
  .accordion--page .accordion__trigger {
    font-size: 20px;
    line-height: 28px;
  }

  .hero {
    height: 600px;
  }

  .hero__media {
    clip-path: none;
    border-radius: 0 0 50% 50% / 0 0 60px 60px;
  }

  .hero--page .hero__media {
    clip-path: none;
  }

  .hero__cols {
    grid-template-columns: 1fr;
    top: 150px;
    height: 260px;
  }

  .hero__col {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.6s var(--ease),
      visibility 0.6s;
  }

  .hero__col.is-active {
    opacity: 1;
    visibility: visible;
  }

  .hero__col + .hero__col::before {
    display: none;
  }

  .hero__btn {
    margin-top: 40px;
  }

  .hero__dots {
    top: 420px;
  }

  .hero__page-title,
  .hero--contact .hero__page-title {
    font-size: 32px;
    line-height: 40px;
    top: 160px;
  }

  .hero--page {
    height: 400px;
  }

  .quote-wrap {
    margin-top: -150px;
  }

  .hero--page + .quote-wrap {
    margin-top: -140px;
  }

  .quote-bar__title {
    font-size: 22px;
    line-height: 30px;
  }

  .quote-bar__options {
    flex-wrap: wrap;
    justify-content: center;
  }

  .quote-option,
  .quote-bar__group--bien .quote-option:nth-child(2) {
    flex: 0 0 90px;
  }

  .values {
    transform: scale(0.86);
    transform-origin: top center;
    margin-bottom: -59px;
  }

  .visual,
  .visual--b {
    width: 100%;
    max-width: 377px;
    flex-basis: auto;
  }

  .visual--a {
    height: auto;
  }

  .visual--a .visual__photo {
    width: calc(100% - 25px);
    height: auto;
    aspect-ratio: 352 / 469;
  }

  .visual--b .visual__photo {
    width: calc(100% - 25px);
  }

  .visual--b .visual__bar {
    left: 0;
    /* left: auto; */
    right: calc(100% - 25px - 29px);
  }

  .area__map,
  .area__map img {
    width: 100%;
    max-width: 397px;
    height: auto;
  }

  .service-card {
    flex-basis: 100%;
  }

  .services__nav--prev {
    left: -6px;
  }

  .services__nav--next {
    right: -6px;
  }

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

  .payment__card .title-xl {
    font-size: 24px;
    line-height: 32px;
  }

  .contact-cards {
    margin-top: -80px;
  }

  .contact-card {
    width: 100%;
    padding: 30px 20px;
  }

  .contact-card__pill {
    word-break: break-all;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    flex-basis: auto;
    width: 100%;
    max-width: 470px;
    height: auto;
    aspect-ratio: 470 / 790;
  }

  .contact-visual__photo {
    width: 93.6%;
    height: 100%;
  }

  .contact-visual__bar {
    height: 86%;
    top: 7%;
    width: 62%;
  }

  .prestation__photo {
    height: 260px;
  }

  .footer-cols {
    flex-direction: column;
    gap: 40px;
  }

  .footer-cols__brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter {
    padding: 30px 20px;
  }

  .newsletter__title {
    font-size: 20px;
    line-height: 28px;
  }

  .site-footer__bottom-inner {
    gap: 10px 14px;
    font-size: 14px;
  }
}

/* Mobile (< 576 px) : téléphone + espace client toujours visibles, sur une ligne au-dessus du logo et du burger */
@media (max-width: 575.98px) {
  .site-header__bar {
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 10px 14px 8px;
    min-height: 0;
  }

  .site-header__actions {
    order: -1;
    flex: 0 0 100%;
    margin-left: 0;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-line);
  }

  .site-header__phone {
    min-height: 40px;
    padding: 9px 18px;
    font-size: 14px;
  }

  .site-header__client {
    width: 40px;
    height: 40px;
  }

  .site-header__client svg {
    width: 20px;
    height: 20px;
  }

  .site-header__logo,
  .site-header__logo img {
    width: 150px;
  }

  .site-header__burger {
    margin-left: auto;
    margin-right: -6px;
  }

  /* Le header est plus haut : on décale le contenu des heros */
  .hero {
    height: 640px;
  }

  .hero__cols {
    top: 185px;
  }

  .hero__dots {
    top: 465px;
  }

  .hero--page {
    height: 440px;
  }

  .hero__page-title,
  .hero--contact .hero__page-title {
    top: 190px;
  }
}

/* Pages internes : le pied de page est décalé de 100 px sous le carrousel (maquette « 03 - Page interne ») */
.page-interne .site-footer {
  padding-top: var(--section-py);
}

/* --------------------------------------------------------------------------
   19b. Rythme vertical responsive (espaces entre sections)
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  :root {
    --section-py: 80px;
    --block-gap: 32px;
  }

  .about__intro {
    gap: var(--block-gap);
  }

  .about__rows {
    margin-top: 60px;
    gap: 60px;
  }

  .feature,
  .feature--media-right .feature__content {
    gap: var(--block-gap);
  }

  .area__intro,
  .contact-form-section__inner {
    gap: var(--block-gap);
  }

  .visual--b {
    min-height: 480px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --section-py: 64px;
    --block-gap: 28px;
  }

  .about__content,
  .area__content,
  .contact-form-section__content,
  .prestation__head,
  .services__head,
  .news__head {
    gap: 24px;
  }

  .services__carousel,
  .services__note,
  .area__faq,
  .area__outro,
  .prestation__accordion,
  .prestation__outro {
    margin-top: 28px;
  }

  .prestation__photo {
    margin-top: 32px;
  }

  .about__rows {
    margin-top: 48px;
    gap: 48px;
  }

  .payment__img {
    margin-top: -50px;
  }

  .site-footer__main {
    margin-top: -60px;
    padding: 110px 0 56px;
  }

  .footer-cols__brand {
    gap: 24px;
  }

  .contact-form {
    gap: 28px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-py: 48px;
    --block-gap: 24px;
  }

  .about__content,
  .area__content,
  .contact-form-section__content,
  .prestation__head,
  .services__head,
  .news__head {
    gap: 20px;
  }

  .about__block,
  .area__texts,
  .prestation__intro,
  .contact-form-section__texts,
  .feature__texts {
    gap: 14px;
  }

  .services__carousel,
  .services__note,
  .area__faq,
  .area__outro,
  .prestation__accordion,
  .prestation__outro {
    margin-top: 24px;
  }

  .about__rows {
    margin-top: 40px;
    gap: 40px;
  }

  .values {
    margin-bottom: -59px;
  }
  .about__intro .values {
    margin-bottom: 10px;
  }

  .visual--b {
    min-height: 420px;
  }

  .news__grid {
    gap: 20px;
  }

  .news__more {
    margin-top: 24px;
  }

  .contact-form-section__inner {
    gap: 32px;
  }

  .contact-form,
  .contact-form__row {
    gap: 24px;
  }

  .contact-cards {
    gap: 16px;
  }

  .site-footer__main {
    margin-top: -50px;
    padding: 90px 0 40px;
  }

  .footer-cols {
    gap: 28px;
  }

  .footer-col {
    gap: 12px;
  }

  .faq__cols {
    gap: 16px;
  }

  .faq__title {
    margin-bottom: 16px;
  }
}

/* Quand les rangées passent en colonne, les flex-basis (largeurs Figma) deviendraient des hauteurs :
   on les neutralise pour supprimer les grands vides verticaux. */
@media (max-width: 1199.98px) {
  .about__content,
  .feature__content,
  .feature--media-right .feature__content,
  .area__content,
  .contact-form-section__content {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .payment__card {
    flex: 0 0 auto;
    width: 100%;
  }

  .payment__img {
    flex: 0 0 auto;
  }

  .newsletter__title,
  .newsletter__field {
    flex: 0 0 auto;
  }
}

.img-none img,
.hide-h2 h2:first-of-type {
  display: none !important;
}

.h-captcha {
  scale: 0.7 !important;
  transform-origin: left center !important;
}
