.domotique-page {
  color: #163443;
}

.domotique-page main {
  overflow: clip;
}

.domotique-page main section[id] {
  scroll-margin-top: 100px;
}

.domotique-page .container {
  max-width: 1200px;
}

.domotique-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: #176c92;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.domotique-hero {
  padding: 75px 0 85px;
  background: radial-gradient(ellipse at top left, #e4f5fc, transparent 60%),
    radial-gradient(ellipse at bottom right, #e9f5e5, transparent 55%), #f8fbfc;
}

.domotique-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 55px;
}

.domotique-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.domotique-hero h1 span {
  color: #147eae;
}

.domotique-hero h1 .domotique-green {
  color: #3b7f37;
}

.domotique-hero p {
  max-width: 510px;
  color: #506776;
  font-size: 17px;
  line-height: 1.8;
}

.domotique-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.domotique-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 24px;
  border-radius: 12px;
  background: #147eae;
  color: #fff;
  box-shadow: 0 8px 22px #1ba0de20;
}

.domotique-page .button:hover {
  background: #10658c;
}

.domotique-text-link {
  color: #28586d;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0;
}

.domotique-page main a:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 5px;
}

.domotique-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  margin-top: 28px;
  color: #506776;
  font-size: 12px;
}

.domotique-benefits li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--secondary-color);
}

.domotique-hero-visual {
  position: relative;
  padding: 14px 14px 0 0;
}

.domotique-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 0 40px 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.domotique-hero-visual > img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 25px 50px #173f4f18;
}

.domotique-visual-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: calc(100% - 30px);
  margin: -45px auto 0;
  padding: 20px 24px;
  border: 1px solid #e5edf0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 35px #173f4f12;
}

.domotique-status {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary-color);
  box-shadow: 0 0 0 6px #59b05418;
}

.domotique-visual-note strong,
.domotique-visual-note div > span {
  display: block;
}

.domotique-visual-note strong {
  font-size: 14px;
}

.domotique-visual-note div > span {
  margin-top: 3px;
  color: #506776;
  font-size: 12px;
}

.domotique-page .service-detail,
.domotique-page .service-features-section,
.domotique-page .service-process-section,
.domotique-page .service-gallery-section,
.domotique-page .service-cta-section,
.domotique-page .shutters-section {
  padding: 80px 0;
}

.domotique-page .service-intro,
.domotique-page .service-features,
.domotique-page .service-process,
.domotique-page .service-gallery {
  margin-bottom: 0;
}

.domotique-page main h2 {
  color: #163443;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.domotique-page .service-intro p,
.domotique-section-lead {
  color: #506776;
  line-height: 1.8;
}

.domotique-page .service-features-section {
  padding-top: 0;
  background: #fff;
}

.domotique-page .service-features > h2,
.domotique-page .service-features > .domotique-eyebrow,
.domotique-page .service-process > h2,
.domotique-page .service-process > .domotique-eyebrow,
.domotique-page .service-gallery > h2,
.domotique-page .service-gallery > .domotique-eyebrow,
.domotique-section-lead {
  text-align: center;
}

.domotique-section-lead {
  margin-bottom: 35px;
}

.domotique-page .features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.domotique-page .feature-card {
  padding: 28px 24px;
  border: 1px solid #e0ebef;
  border-radius: 20px;
  background: #f7fbfd;
}

.domotique-page .feature-card:nth-child(even) {
  background: #f4f9f1;
}

.domotique-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 13px;
  background: #1ba0de15;
  color: #176c92;
  font-weight: 700;
}

.feature-card:nth-child(even) .domotique-card-number {
  background: #59b0541a;
  color: #3b7f37;
}

.domotique-page .feature-card h3 {
  text-align: left;
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 14px;
  color: #163443;
}

.domotique-page .shutters-section {
  background: linear-gradient(135deg, #edf8fd, #f0f7eb);
}

.domotique-page .shutters-comparison {
  padding: 25px 20px 20px;
  border: 1px solid #dfebee;
  border-radius: 24px;
  background: #ffffffb3;
}

.domotique-page .shutters-details {
  gap: 55px;
}

.domotique-page .shutters-demo {
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #dfebee;
  box-shadow: 0 15px 40px #16344308;
}

.domotique-page .shutters-demo video {
  max-height: 440px;
}

.domotique-page .shutters-controls h3 {
  font-size: 28px;
  line-height: 1.3;
}

.domotique-page .shutters-controls li {
  padding: 5px 0 5px 20px;
}

.domotique-page .shutters-controls li:nth-child(2) {
  border-color: var(--primary-color);
}

.domotique-page .service-process-section .process-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.domotique-page .process-subtitle {
  color: #506776;
  margin-bottom: 35px;
}

.domotique-page .service-process-section .step {
  padding: 28px 22px;
  border: 1px solid #e0ebef;
  border-top: 3px solid var(--primary-color);
  border-radius: 18px;
  box-shadow: none;
  animation: none;
}

.domotique-page .service-process-section .step:nth-child(even) {
  border-top-color: var(--secondary-color);
}

.domotique-page .service-process-section .step-number {
  width: auto;
  height: auto;
  display: block;
  background: none;
  box-shadow: none;
  color: #176c92;
  font-size: 32px;
  margin-bottom: 20px;
}

.domotique-page .service-process-section .step h3 {
  color: #163443;
  font-size: 18px;
  text-align: left;
  line-height: 1.4;
  margin-bottom: 12px;
}

.domotique-page .service-gallery-section {
  background: #f7fafb;
}

.domotique-page .gallery-grid {
  max-width: 850px;
  margin: 35px auto 0;
}

.domotique-page .gallery-item {
  border-radius: 24px;
  box-shadow: 0 12px 35px #1634430d;
}

.domotique-page .gallery-item img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}

.domotique-page .service-cta-section .service-cta {
  padding: 60px 30px;
  border-radius: 28px;
  background: radial-gradient(ellipse at top right, #59b05433, transparent 65%), #163443;
}

.domotique-page .service-cta h2 {
  color: #fff;
}

.domotique-page .service-cta .domotique-eyebrow {
  color: #a7dc97;
}

.domotique-page .service-cta p {
  color: #c8dce6;
}

@media (max-width: 1000px) {
  .domotique-hero-grid {
    gap: 30px;
  }

  .domotique-page .features-grid,
  .domotique-page .service-process-section .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .domotique-hero {
    padding: 45px 0 55px;
  }

  .domotique-hero-grid,
  .domotique-page .shutters-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .domotique-hero h1 {
    font-size: clamp(36px, 7.5vw, 54px);
    letter-spacing: -1.3px;
  }

  .domotique-hero-visual {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .domotique-hero-visual > img {
    aspect-ratio: 4 / 3;
  }

  .domotique-page .service-detail,
  .domotique-page .service-process-section,
  .domotique-page .service-gallery-section,
  .domotique-page .service-cta-section,
  .domotique-page .shutters-section {
    padding: 55px 0;
  }

  .domotique-page .service-features-section {
    padding-bottom: 55px;
  }

  .domotique-page .shutters-comparison {
    padding: 12px 0 16px;
    border-radius: 16px;
  }
}

@media (max-width: 520px) {
  .domotique-page .features-grid,
  .domotique-page .service-process-section .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .domotique-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .domotique-text-link {
    text-align: center;
  }

  .domotique-page .shutters-demo {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .domotique-page main section,
  .domotique-page main .hero-content,
  .domotique-page main .hero-content * {
    animation: none;
    transition: none !important;
  }

  .domotique-page main section {
    opacity: 1 !important;
    transform: none !important;
  }
}
