/* Feuille autonome de services/automatisation.html.
   Tous les styles, variables de couleur, polices et adaptations responsive
   sont définis ici. Aucune autre feuille CSS n’est nécessaire.
   Les chemins des polices et images sont relatifs au dossier services/.
   La base ci-dessous conserve le rendu de l’accueil au moment de la copie ;
   les ajustements propres à Automatisation suivent après cette base. */

@font-face { font-family: Sora; src: url("../assets/fonts/Sora-VariableFont_wght.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }

:root {
  --dark: #052B33;
  --green: #59E371;
  --accent: #087344;
  --muted: #77819f;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0px;
  color: var(--dark);
  background: rgb(255, 255, 255);
  font-family: Sora, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font-family: Sora, sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
}

h1, h2, h3, p, figure {
  margin: 0px;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.055em;
}

h2 {
  line-height: 1.13;
}

h2 span {
  color: var(--accent);
}

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

[hidden] {
  display: none !important;
}

.container {
  width: min(1350px, 100% - 122px);
  margin-inline: auto;
}

.eyebrow {
  color: var(--accent);
  margin-bottom: 17px;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 600;
  letter-spacing: 0.075em;
  line-height: 1.45;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 31px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--green);
  color: var(--dark);
  font-size: clamp(12px, 1.1vw, 13px);
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s, box-shadow 0.2s;
}

.button:hover {
  background: rgb(131, 237, 149);
  box-shadow: rgba(89, 227, 113, 0.145) 0px 4px 22px;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

main a:focus-visible {
  outline-color: var(--accent);
}

::selection {
  background: var(--green);
  color: var(--dark);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  background: rgb(255, 255, 255);
  padding: 12px 20px;
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

@media (max-width: 1000px) {
  .container {
    width: min(1350px, 100% - 64px);
  }

}

@media (max-width: 600px) {
  .container {
    width: min(1350px, 100% - 36px);
  }

  .eyebrow {
    margin-bottom: 13px;
  }

  .button {
    min-height: 46px;
    padding-inline: 24px;
  }

}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  color: rgb(255, 255, 255);
  background: var(--dark);
}

.hero__image {
  position: absolute;
  inset: 0px;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: -2;
  background: linear-gradient(rgba(5, 43, 51, 0.125), rgba(5, 43, 51, 0.27) 48%, rgba(5, 43, 51, 0.4));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: -2;
  background-color: rgb(5, 43, 51);
  opacity: 0.7;
  pointer-events: none;
}

.hero__inner {
  padding-top: 24px;
}

.header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 26px;
  border: 0px solid rgba(169, 230, 201, 0.29);
  border-radius: 24px;
  background: rgba(22, 62, 60, 0);
  backdrop-filter: blur(0px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 164px;
  flex-shrink: 0;
}

.brand__symbol {
  width: 43px;
  height: auto;
}

.brand__word {
  width: 110px;
  height: auto;
  filter: brightness(0) invert(1);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border: 0px solid rgba(149, 219, 189, 0.208);
  border-radius: 99px;
  background: rgba(0, 68, 74, 0);
}

.header__nav a {
  display: block;
  padding: 9px 16px;
  font-size: clamp(11px, 1.2vw, 12px);
  font-weight: 500;
  white-space: nowrap;
  border-radius: 99px;
}

.header__nav a:hover {
  background: rgba(255, 255, 255, 0.094);
}

.header__contact {
  min-height: 44px;
  padding-inline: 24px;
  font-size: 12px;
}

.header__toggle, .header__nav .header__mobile-contact {
  display: none;
}

.hero h1 {
  font-size: clamp(32px, 3.65vw, 54px);
  line-height: 1.18;
  font-weight: 800;
  text-shadow: rgba(0, 23, 29, 0.25) 0px 2px 16px;
}

.hero h1 span {
  color: var(--green);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

@media (max-width: 1200px) {
  .header {
    padding-inline: 20px;
    gap: 14px;
  }

  .header__nav a {
    padding-inline: 12px;
  }

  .brand {
    width: 145px;
  }

  .brand__symbol {
    width: 36px;
  }

  .brand__word {
    width: 100px;
  }

}

@media (max-width: 1000px) {
  .hero__inner {
    padding-top: 20px;
  }

  .hero__image {
    object-position: 62% 55%;
  }

  .header {
    flex-wrap: wrap;
    border-radius: 20px;
  }

  .header__contact {
    margin-left: auto;
  }

  .header__nav {
    order: 4;
    width: 100%;
    justify-content: center;
  }

  .header--interactive .header__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 3;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgba(169, 230, 201, 0.29);
    border-radius: 99px;
    background: rgba(5, 43, 51, 0.333);
    color: rgb(255, 255, 255);
    font-size: 13px;
  }

  .header__toggle span {
    width: 15px;
    height: 10px;
    border-block: 1px solid;
  }

  .header--interactive .header__nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(5, 43, 51, 0.97);
    box-shadow: rgba(0, 29, 43, 0.19) 0px 15px 30px;
  }

  .header__toggle[aria-expanded="true"] + .header__nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .header__nav a {
    padding: 12px 16px;
  }

  .header__nav .header__mobile-contact {
    display: block;
    color: var(--green);
  }

}

@media (max-width: 600px) {
  .hero__inner {
    padding-top: 16px;
  }

  .header {
    padding: 12px 15px;
  }

  .header__contact {
    display: none;
  }

  .header__nav {
    flex-wrap: wrap;
    border-radius: 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
  }

  .hero__actions .button {
    min-width: 235px;
  }

  .hero__image {
    object-position: 70% center;
  }

}

main {
  background: linear-gradient(rgb(240, 255, 246) 0px, rgb(255, 255, 255) 420px);
}

.for-you {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -44px;
  display: grid;
  grid-template-columns: 40% 60%;
  padding: 50px 64px;
  border: 1px solid rgb(239, 249, 241);
  border-radius: 26px;
  background: rgb(255, 255, 255);
  box-shadow: rgba(89, 227, 113, 0.086) 0px 5px 25px;
}

.for-you::before {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: -1;
  pointer-events: none;
  background-image: url("../assets/connect-wave.webp");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center -105px;
  opacity: 0.4;
  mask-image: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 30%, rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.05) 100%), linear-gradient(transparent 110px, rgb(0, 0, 0) 175px);
  mask-composite: intersect;
}

.for-you__heading {
  align-self: center;
  padding-right: 32px;
}

.for-you_title {
  font-size: clamp(32px, 3.9vw, 30px);
  line-height: 1.05;
  font-weight: 900;
}

.for-you__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 0px 8px 48px;
  border-left: 1px solid rgb(142, 238, 176);
}

.for-you__content::before, .for-you__content::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid rgb(142, 238, 176);
  border-radius: 50%;
  background: rgb(255, 255, 255);
}

.for-you__content::before {
  top: 0px;
}

.for-you__content::after {
  bottom: 0px;
}

.for-you__content > p {
  color: var(--muted);
  font-size: clamp(14px, 1.45vw, 14px);
  line-height: 1.55;
}

@media (max-width: 1200px) {
  .for-you {
    padding: 42px;
  }

  .for-you__content {
    padding-left: 35px;
  }

}

@media (max-width: 1000px) {
  .for-you {
    grid-template-columns: 43% 57%;
    padding: 36px 30px;
  }

  .for-you::before {
    background-position: center 175px;
  }

  .for-you__heading {
    padding-right: 20px;
  }

  .for-you__content {
    padding: 12px 0px 12px 28px;
  }

}

@media (max-width: 700px) {
  .for-you {
    margin-top: -32px;
    grid-template-columns: 1fr;
    padding: 30px 25px;
    border-radius: 22px;
  }

  .for-you::before {
    background-size: 185% auto;
    background-position: 28% 170px;
    mask-image: linear-gradient(transparent 140px, rgba(0, 0, 0, 0.65) 205px, rgba(0, 0, 0, 0.12) 280px, transparent 350px);
  }

  .for-you__heading {
    padding: 0px 0px 24px;
  }

  .for-you__content {
    border-left: 0px;
    border-top: 1px solid rgb(142, 238, 176);
    padding: 24px 0px 0px;
  }

  .for-you__content::before {
    left: 0px;
    top: -4px;
  }

  .for-you__content::after {
    inset: -4px 0px auto auto;
  }

}

.spaces {
  position: relative;
  isolation: isolate;
  width: 100%;
  background: var(--dark);
  color: rgb(255, 255, 255);
}

.spaces::before {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: -1;
  background: url("../assets/spacebcgrd.webp") center bottom / cover no-repeat;
  opacity: 0.6;
  pointer-events: none;
}

.spaces .eyebrow, .contact .eyebrow {
  color: var(--green);
}

.spaces h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
}

.spaces h2 span, .contact h2 span {
  color: var(--green);
}

@media (max-width: 1000px) {
  .spaces::before {
    background-position: left bottom;
  }

}

@media (max-width: 600px) {
  .spaces h2 {
    max-width: 320px;
  }

}

.region {
  width: 100%;
  background: linear-gradient(110deg, rgb(248, 255, 252), rgb(255, 255, 255) 55%, rgb(241, 255, 249));
}

.region h2 {
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 900;
}

.region h2 > span {
  color: var(--green);
}

.region__description {
  color: var(--muted);
  margin-top: 16px;
  font-size: clamp(13px, 1.3vw, 14px);
  line-height: 1.55;
}

.contact {
  position: relative;
  width: 100%;
  padding-block: 100px;
  background: linear-gradient(110deg, rgb(230, 251, 239), rgb(246, 255, 249) 50%, rgb(232, 252, 241));
}

.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0px, 1fr) auto;
  align-items: center;
  gap: 45px;
  padding: 44px 48px;
  border-radius: 28px;
  color: rgb(255, 255, 255);
  background: radial-gradient(ellipse at 100% 0, #37b766aa, transparent 32%), radial-gradient(ellipse at 0 0, #005665, transparent 65%), var(--dark);
}

.contact h2 {
  font-size: clamp(28px, 2.9vw, 42px);
}

.contact .eyebrow {
  margin-bottom: 12px;
}

.contact__description {
  margin-top: 15px;
  max-width: 820px;
  color: rgb(238, 245, 243);
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.55;
}

.contact .button {
  min-width: 210px;
}

@media (max-width: 1200px) {
  .contact__inner {
    gap: 28px;
    padding: 38px;
  }

  .contact .button {
    min-width: 180px;
  }

}

@media (max-width: 1000px) {
  .contact {
    padding-block: 48px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact .button {
    justify-self: start;
  }

}

@media (max-width: 600px) {
  .contact {
    padding-block: 20px;
  }

  .contact__inner {
    padding: 30px 25px;
    border-radius: 22px;
  }

}

.footer {
  width: 100%;
  background: var(--dark);
  color: rgb(224, 239, 236);
}

.footer__inner {
  padding-block: 70px 30px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 110px;
  padding-bottom: 28px;
  font-size: 12px;
  line-height: 1.65;
}

.footer__identity {
  max-width: 355px;
}

.footer__tagline {
  margin-block: 16px 10px;
  font-weight: 600;
  color: rgb(255, 255, 255);
}

.footer__title {
  margin: 4px 0px 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0px;
  line-height: 1.6;
}

.footer li + li {
  margin-top: 12px;
}

.footer address {
  font-style: normal;
}

.footer address p {
  margin-bottom: 14px;
}

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

.footer__bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(216, 244, 229, 0.17);
  font-size: 11px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 10px;
  font-size: clamp(10px, 1.1vw, 11px);
}

@media (max-width: 1200px) {
  .footer__main {
    gap: 65px;
  }

}

@media (max-width: 1000px) {
  .footer__main {
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 30px;
  }

}

@media (max-width: 600px) {
  .footer__inner {
    padding-block: 32px 40px;
  }

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

  .footer__identity {
    grid-column: 1 / -1;
    max-width: 320px;
  }

  .footer__title {
    margin-top: 0px;
  }

  .footer__legal {
    gap: 12px 18px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, ::before, ::after {
    transition: none !important;
  }

}

/* Ajustements propres à la page Automatisation. */

/* 01. Hero et navigation */
.automation-page .header__nav .header__current {
  background: #fff;
  color: var(--dark);
}

.auto-hero .hero__image {
  object-position: center;
}

.auto-hero::after {
  opacity: .48;
}

.auto-hero__content {
  padding: 64px 0 78px;
  text-align: center;
}

.auto-hero__content .eyebrow {
  color: var(--green);
}

.offer-status {
  display: table;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 8px 13px;
  border-radius: 99px;
  background: #d5ffdf;
  color: var(--dark);
  /* Même typographie que .service-card__badge sur l’accueil. */
  font-size: clamp(10px, .85vw, 11px);
  font-weight: 600;
  line-height: 1.55;
}

/* Valeurs de .hero__content > p, sans les appliquer à l’eyebrow. */
.auto-hero__intro {
  max-width: 800px;
  margin: 25px auto 0;
  font-size: clamp(13px, 1.55vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  color: #edf5f3;
  text-wrap: pretty;
}

.auto-breadcrumb {
  margin-top: 18px;
  color: #edf5f3;
  font-size: 12px;
}

.auto-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.auto-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auto-breadcrumb li + li::before {
  content: "/";
  color: var(--green);
}

.auto-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.auto-breadcrumb a:hover {
  color: var(--green);
}

.auto-breadcrumb [aria-current] {
  font-weight: 600;
}

@media (max-width: 1000px) {
  .auto-hero .hero__image {
    object-position: right center;
  }

  .auto-hero__content {
    padding-block: 64px 72px;
  }
}

@media (max-width: 600px) {
  .auto-hero__content {
    padding-block: 48px 64px;
  }

  .auto-hero h1 {
    font-size: clamp(22px, 7.8vw, 32px);
  }

  .auto-hero__intro {
    margin-top: 22px;
  }
}

/* 02. Maison et possibilités : illustration transparente, encarts en HTML.
   Le SVG et la photo partagent exactement le repère 1536 × 1024.
   À 30 % et 70 % de leur hauteur, les départs des traits rejoignent
   le milieu des encarts. Les points d’arrivée repèrent les équipements. */
.automation-page main {
  display: flow-root;
}

.auto-possibilities {
  position: relative;
  isolation: isolate;
  padding-block: 44px 32px;
  background: radial-gradient(ellipse at 50% 58%, #dffbeeaa, transparent 70%), #fcfffd;
}

.auto-possibilities::before {
  content: "";
  position: absolute;
  inset: 100px 0 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(#59e3710d 1px, transparent 1px) 0 0 / 32px 32px,
              linear-gradient(90deg, #59e3710d 1px, transparent 1px) 0 0 / 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 75%, #000, transparent 65%);
}

.auto-possibilities .for-you {
  grid-template-columns: 52% 48%;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.auto-possibilities .for-you::before {
  display: none;
}

.auto-possibilities .for-you__content {
  padding: 8px 0 8px 40px;
}

.auto-possibilities__body {
  padding-top: 12px;
}

.auto-house {
  position: relative;
  /* La maison occupe 56 % de la largeur et conserve son ratio 3:2. */
  aspect-ratio: 75 / 28;
}

.auto-house__visual {
  position: absolute;
  top: 0;
  left: 22%;
  width: 56%;
}

.auto-house__visual > img {
  display: block;
  width: 100%;
  height: auto;
}

.auto-house__connections {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.auto-house__wires path {
  stroke: #59E371;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 1px #fff);
}

.auto-house__ports {
  fill: #59E371;
}

.auto-house__targets circle {
  fill: #59e371a6;
  stroke: #59E371;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.auto-house__card {
  position: absolute;
  isolation: isolate;
  width: 22%;
  padding: 22px 24px;
  border: 1px solid #59e37199;
  border-radius: 20px;
  background: radial-gradient(ellipse at 100% 0, #e3f9eecc, transparent 70%), #ffffffed;
  box-shadow: 0 8px 28px #59e37108;
  transform: translateY(-50%);
}

/* Trame et piste de circuit décoratives, sans effet sur le contenu. */
.auto-house__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(#08734430 1px, transparent 1px) 0 0 / 24px 24px,
              linear-gradient(#0873440b 1px, transparent 1px) 0 0 / 24px 24px,
              linear-gradient(90deg, #0873440b 1px, transparent 1px) 0 0 / 24px 24px;
  mask-image: linear-gradient(110deg, transparent 35%, #000);
}

.auto-house__card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 22px;
  z-index: -1;
  width: 64px;
  height: 18px;
  border-top: 1px solid #59e37180;
  border-right: 1px solid #59e37180;
  transform: skewX(-35deg);
  pointer-events: none;
}

.auto-house__card--lighting, .auto-house__card--heating {
  left: 0;
}

.auto-house__card--blinds, .auto-house__card--scenes {
  right: 0;
}

.auto-house__card--lighting, .auto-house__card--blinds {
  top: 30%;
}

.auto-house__card--heating, .auto-house__card--scenes {
  top: 70%;
}

.auto-house__card h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}

.auto-house__card h3 span {
  color: var(--accent);
}

.auto-house__card p {
  margin-top: 13px;
  color: var(--muted);
  /* Typographie de .service-card p sur l’accueil. */
  font-size: clamp(13px, 1.17vw, 14px);
  font-weight: 400;
  line-height: 1.55;
}

/* Quand les encarts deviennent trop étroits, placer la maison au-dessus
   et masquer les liaisons pour préserver une lecture sans chevauchement. */
@media (max-width: 1300px) {
  .auto-house {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "house house" "lighting blinds" "heating scenes";
    gap: 18px;
    aspect-ratio: auto;
  }

  .auto-house__visual {
    grid-area: house;
    position: relative;
    top: auto;
    left: auto;
    width: min(660px, 100%);
    justify-self: center;
  }

  .auto-house__connections {
    display: none;
  }

  .auto-house__card {
    position: static;
    width: auto;
    transform: none;
  }

  .auto-house__card--lighting {
    grid-area: lighting;
  }

  .auto-house__card--heating {
    grid-area: heating;
  }

  .auto-house__card--blinds {
    grid-area: blinds;
  }

  .auto-house__card--scenes {
    grid-area: scenes;
  }

}

@media (max-width: 700px) {
  .auto-possibilities {
    padding-block: 30px;
  }

  .auto-possibilities .for-you {
    grid-template-columns: 1fr;
  }

  .auto-possibilities .for-you__content {
    padding: 24px 0 0;
  }
}

@media (max-width: 600px) {
  .auto-house {
    grid-template-columns: 1fr;
    grid-template-areas: "house" "lighting" "heating" "blinds" "scenes";
    gap: 16px;
  }

  .auto-house__card {
    padding: 22px;
  }
}

/* Typographie existante de la section suivante, inchangée. */
.auto-day__steps p {
  font-size: clamp(13px, 1.17vw, 14px);
  font-weight: 400;
  line-height: 1.55;
}

/* 03. Journée : motif technique de l’accueil et étapes verticales */
.auto-day__inside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "title ." "image steps";
  align-items: start;
  gap: 26px 64px;
  padding-block: 100px;
}

.auto-day__inside > h2 {
  grid-area: title;
}

.auto-day__image {
  grid-area: image;
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  border: 1px solid #59e37166;
  border-radius: 20px;
}

.auto-day__steps {
  grid-area: steps;
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 20px;
}

.auto-day__steps::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 7px;
  width: 1px;
  background: linear-gradient(transparent, #59e37199 20%, #59e37199 80%, transparent);
}

.auto-day__steps article {
  position: relative;
  padding: 26px 32px;
  border: 1px solid #59e37140;
  border-radius: 20px;
  background: #052b338c;
}

.auto-day__steps article::before {
  content: "";
  position: absolute;
  top: calc(50% - 6px);
  left: -20px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--dark);
  box-shadow: 0 0 12px #59e37166;
}

.auto-day__steps h3, .auto-project__option h3 {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.2;
  font-weight: 700;
}

.auto-day__steps p {
  margin-top: 10px;
  color: #f1f7f6;
}

@media (max-width: 1000px) {
  .auto-day__inside {
    gap: 26px 30px;
    padding-block: 44px;
  }

  .auto-day__steps article {
    padding: 22px;
  }
}

@media (max-width: 700px) {
  .auto-day::before {
    background-position: left center;
    background-size: auto 480px;
    background-repeat: no-repeat;
    mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
    opacity: .35;
  }

  .auto-day__inside {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "image" "steps";
    padding-block: 34px;
    gap: 22px;
  }

}

/* 04. Projet : titre centré, photo entre les deux possibilités */
.auto-project {
  position: relative;
  isolation: isolate;
  padding-block: 80px;
  background: radial-gradient(ellipse at 50% 65%, #e6f8edb3, transparent 65%), #fff;
}

.auto-project::before {
  content: "";
  position: absolute;
  inset: 100px 0 20px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(#59e37140 .8px, transparent 1px) center / 24px 24px;
  mask-image: radial-gradient(ellipse, #000, transparent 70%);
}

.auto-project__heading {
  text-align: center;
}

.auto-project__heading .region__description {
  max-width: 720px;
  margin: 16px auto 0;
  color: #43616a;
}

.auto-project h2 span {
  color: var(--accent);
}

.auto-project__inside {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px) minmax(0, 1fr);
  grid-template-areas: "new photo existing";
  align-items: center;
  gap: 90px;
  margin-top: 30px;
}

.auto-project__inside::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  z-index: -1;
  height: 1px;
  background: #8eeeb080;
  pointer-events: none;
}

.auto-project__new {
  grid-area: new;
}

.auto-project__existing {
  grid-area: existing;
}

.auto-project__option {
  position: relative;
  padding: 24px 26px;
  border: 1px solid #d5e7dc;
  border-left: 0;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(115deg, #f5fbf7, #ffffffed);
  box-shadow: 0 8px 24px #052b3308;
}

.auto-project__option::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -4px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #f5fbf7;
  box-shadow: 0 0 0 4px #e9f6ed;
}

.auto-project__option p {
  margin-top: 10px;
  color: #43616a;
  /* Même typographie que .region__description sur l’accueil. */
  font-size: clamp(13px, 1.3vw, 14px);
  font-weight: 400;
  line-height: 1.55;
}

.auto-project__visual {
  grid-area: photo;
  width: 100%;
  max-width: 360px;
  justify-self: center;
}

.auto-project__frame {
  padding: 6px;
  border: 1px solid #cee4d5;
  border-radius: 26px;
  background: #edf6f0;
  box-shadow: 0 16px 36px #052b331a;
}

.auto-project__frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 1200px) {
  .auto-project__inside {
    gap: 40px;
  }
}

@media (max-width: 1000px) {
  .auto-project {
    padding-block: 48px;
  }

  .auto-project__inside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "photo photo" "new existing";
    gap: 32px;
  }

  .auto-project__inside::before {
    display: none;
  }

  .auto-project__option {
    align-self: stretch;
    padding: 22px;
  }
}

@media (max-width: 700px) {
  .auto-project {
    padding-block: 34px;
  }

  .auto-project__inside {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "new" "existing";
    gap: 28px;
  }

  .auto-project__option {
    margin-left: 6px;
  }
}

/* 05. Contact : mêmes composants et typographie que l’accueil */
.auto-contact {
  padding-block: 70px;
}

.auto-contact .contact__description {
  max-width: 680px;
}

@media (max-width: 600px) {
  .auto-contact {
    padding-block: 20px;
  }
}


