/* Accueil : texte lisible sur une photo pâle, vidéo bord à bord à droite. */
.sc-approved .sc-hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: stretch;
  width: 100%;
  height: clamp(590px, 48.65vw, 810px);
  min-height: 590px;
  padding: 0 !important;
  overflow: hidden;
  isolation: isolate;
  background: #f5f8fc !important;
}
.sc-approved .sc-hero-visual::before,
.sc-approved .sc-hero-visual::after { content: none !important; display: none !important; }
.sc-approved .sc-final-hero-video {
  --sc-video-overlap: clamp(40px, 5.4vw, 76px);
  position: relative;
  z-index: 0;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: calc(100% + var(--sc-video-overlap));
  transform: translateX(calc(-1 * var(--sc-video-overlap)));
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background: #dce8f5;
}
.sc-approved .sc-final-hero-video::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(70px, 10vw, 150px);
  background: linear-gradient(90deg, rgba(247,250,254,.98) 0%, rgba(247,250,254,.78) 24%, rgba(247,250,254,0) 100%);
  pointer-events: none;
}
.sc-approved .sc-hero-video-frame {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: #dce8f5;
  box-shadow: none;
}
.sc-approved .sc-hero-video-frame::-webkit-media-controls-start-playback-button,
.sc-approved .sc-hero-video-frame::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
.sc-approved .sc-visual-inner {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 56px clamp(32px, 5.2vw, 78px) 56px clamp(38px, 7vw, 108px) !important;
  isolation: isolate;
}
.sc-approved .sc-visual-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(105deg, rgba(247,250,254,.96) 0%, rgba(247,250,254,.92) 58%, rgba(247,250,254,.82) 100%),
    url("./assets/realisations/saint-hubert/duplex-jumele-perspective-3d.jpg");
  background-size: cover;
  background-position: center 46%;
}
.sc-approved .sc-visual-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  padding: 20px 0;
}
.sc-approved .sc-visual-copy > .sc-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #55718f !important;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.sc-approved .sc-visual-copy > .sc-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #0b62c4 !important;
}
.sc-approved #home-title {
  margin: 0 0 21px;
  color: #183652 !important;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.02;
  font-weight: 660;
  letter-spacing: -2.5px;
  text-wrap: balance;
  text-shadow: none;
}
.sc-approved #home-title .sc-title-line { display: block; white-space: normal; }
.sc-approved #home-title .sc-title-blue { margin-top: 6px; color: #0b62c4 !important; }
.sc-approved .sc-hero-description {
  max-width: 545px;
  margin: 0 0 25px;
  color: #526c87 !important;
  font-size: 15px;
  line-height: 1.72;
}
.sc-approved .sc-hero-actions { display: flex; flex-wrap: wrap; width: 100%; max-width: 620px; gap: 10px; }
.sc-approved .sc-main-action {
  min-height: 55px;
  max-height: none;
  margin: 0;
  padding: 12px 15px;
  gap: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 690;
  line-height: 1.3;
  box-shadow: 0 8px 22px rgba(11, 73, 143, .12);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.sc-approved .sc-main-action:hover { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(11, 73, 143, .17); }
.sc-approved .sc-client-action {
  width: auto;
  min-width: 246px;
  justify-content: flex-start;
  color: #fff !important;
  border: 1px solid #0b62c4 !important;
  background: #0b62c4 !important;
}
.sc-approved .sc-client-action:hover { background: #084f9f !important; }
.sc-approved .sc-contractor-action {
  width: auto;
  min-height: 55px;
  color: #164b81 !important;
  border: 1px solid #bfd4eb !important;
  background: rgba(255,255,255,.82) !important;
}
.sc-approved .sc-contractor-action:hover { background: #fff !important; }
.sc-approved .sc-cta-icon { width: 21px; height: 21px; stroke-width: 1.7; }
.sc-approved .sc-cta-arrow { width: 17px; height: 17px; margin-left: 2px; }
.sc-approved .sc-new-free-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 16px 0 0 2px;
  color: #627b96;
  font-size: 10px;
}
.sc-approved .sc-free-item { display: inline-flex; align-items: center; gap: 7px; }
.sc-approved .sc-tick { color: #0b62c4; background: #e5f0fc; }
.sc-approved .sc-return-client { margin: 13px 0 0 2px; color: #607994; font-size: 10px; }
.sc-approved .sc-return-client a { color: #0757aa; font-weight: 700; }
.sc-approved-header .sc-nav-realisations { display: inline-flex !important; text-decoration: none; }
.sc-language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #bfd7f8;
  border-radius: 10px;
  background: #fff;
  color: #0756aa;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.sc-language-toggle:hover { background: #f2f7ff; }
.sc-language-toggle:focus-visible { outline: 3px solid #77a9e4; outline-offset: 2px; }

@media (min-width: 761px) and (max-width: 1100px) {
  .sc-approved .sc-hero-visual { grid-template-columns: minmax(0, .94fr) minmax(300px, 1.06fr); }
  .sc-approved .sc-visual-inner { padding-inline: 32px 27px !important; }
  .sc-approved #home-title { font-size: clamp(38px, 4.4vw, 51px); letter-spacing: -1.9px; }
  .sc-approved .sc-main-action { font-size: 11px; min-width: 0; }
}
@media (max-width: 760px) {
  .sc-approved .sc-hero-visual {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding: 0 !important;
    background: #f5f8fc !important;
  }
  .sc-approved .sc-visual-inner {
    order: 1;
    align-items: flex-start;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 46px 24px 34px !important;
  }
  .sc-approved .sc-visual-inner::before {
    background-image:
      linear-gradient(105deg, rgba(247,250,254,.96) 0%, rgba(247,250,254,.92) 58%, rgba(247,250,254,.86) 100%),
      url("./assets/realisations/saint-hubert/duplex-jumele-perspective-3d.jpg");
  }
  .sc-approved .sc-visual-copy { width: 100%; max-width: 640px; padding: 0; }
  .sc-approved .sc-visual-copy > .sc-eyebrow { margin-bottom: 17px; font-size: 9px; letter-spacing: 1.5px; }
  .sc-approved #home-title { margin-bottom: 17px; font-size: clamp(37px, 9vw, 53px); letter-spacing: -1.9px; }
  .sc-approved .sc-hero-description { margin-bottom: 20px; font-size: 14px; line-height: 1.62; }
  .sc-approved .sc-hero-actions { flex-direction: column; width: 100%; gap: 9px; }
  .sc-approved .sc-main-action { width: 100%; min-width: 0; min-height: 54px; justify-content: flex-start; padding: 12px 15px; font-size: 12px; }
  .sc-approved .sc-cta-arrow { margin-left: auto; }
  .sc-approved .sc-new-free-note { flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 14px; }
  .sc-approved .sc-return-client { margin-top: 13px; }
  .sc-approved .sc-final-hero-video {
    order: 2;
    flex: none;
    width: 100%;
    transform: none;
    height: clamp(500px, 150vw, 690px);
    min-height: 0;
    padding: 0;
    border: 0;
  }
  .sc-approved .sc-final-hero-video::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 44px;
    background: linear-gradient(180deg, rgba(247,250,254,.98) 0%, rgba(247,250,254,0) 100%);
  }
}
@media (max-width: 600px) {
  .sc-approved-header .sc-public-nav { gap: 8px !important; }
  .sc-approved-header .sc-nav-realisations { display: inline-flex !important; font-size: 11px; white-space: nowrap; }
  .sc-approved-header .sc-portal-header { max-width: 126px; min-height: 38px; padding: 8px 9px; font-size: 10px; }
  .sc-approved-header .sc-portal-header svg { width: 15px; height: 15px; }
  .sc-approved-header .brand-name { font-size: 15px; }
  .sc-approved .sc-visual-inner { padding: 36px 18px 27px !important; }
  .sc-approved .sc-visual-copy > .sc-eyebrow { margin-bottom: 14px; font-size: 8px; letter-spacing: 1.2px; }
  .sc-approved #home-title { font-size: clamp(33px, 9.4vw, 45px); line-height: 1.05; letter-spacing: -1.4px; }
  .sc-approved .sc-hero-description { margin-bottom: 17px; font-size: 13px; }
  .sc-approved .sc-main-action { min-height: 51px; font-size: 11px; }
  .sc-approved .sc-final-hero-video { height: min(178vw, 690px); }
}
@media (prefers-reduced-motion: reduce) {
  .sc-approved .sc-main-action { transition: none; }
}

/* En paysage, garde le texte à gauche et la vidéo à droite, même sur mobile. */
@media (max-width: 760px) and (orientation: landscape) {
  .sc-approved .sc-hero-visual {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: stretch;
    height: auto;
    min-height: 100vh;
    padding: 0 !important;
  }
  .sc-approved .sc-visual-inner {
    grid-column: 1;
    grid-row: 1;
    order: 0;
    align-items: center;
    height: 100%;
    padding: 24px clamp(12px, 3vw, 24px) !important;
  }
  .sc-approved .sc-visual-copy { max-width: 100%; }
  .sc-approved .sc-visual-copy > .sc-eyebrow { font-size: clamp(7px, 1.35vw, 10px); }
  .sc-approved #home-title {
    font-size: clamp(20px, 4.3vw, 34px);
    line-height: 1.04;
    letter-spacing: -.8px;
  }
  .sc-approved .sc-hero-description {
    margin-bottom: 12px;
    font-size: clamp(10px, 1.65vw, 13px);
    line-height: 1.42;
  }
  .sc-approved .sc-hero-actions { gap: 6px; }
  .sc-approved .sc-main-action {
    min-height: 42px;
    padding: 7px 9px;
    gap: 7px;
    font-size: clamp(8px, 1.4vw, 11px);
  }
  .sc-approved .sc-cta-icon { width: 18px; height: 18px; }
  .sc-approved .sc-cta-arrow { width: 14px; height: 14px; }
  .sc-approved .sc-new-free-note { gap: 5px 10px; margin-top: 10px; font-size: 9px; }
  .sc-approved .sc-return-client { margin-top: 8px; font-size: 9px; }
  .sc-approved .sc-final-hero-video {
    grid-column: 2;
    grid-row: 1;
    order: 0;
    width: calc(100% + clamp(18px, 4vw, 34px));
    height: 100%;
    min-height: 100vh;
    transform: translateX(calc(-1 * clamp(18px, 4vw, 34px)));
  }
  .sc-approved .sc-final-hero-video::before {
    inset: 0 auto 0 0;
    width: clamp(34px, 7vw, 64px);
    height: auto;
    background: linear-gradient(90deg, rgba(247,250,254,.94), rgba(247,250,254,0));
  }
}

/* Une transition fondue relie le panneau de texte à la vidéo. */
.sc-approved .sc-hero-visual { background: #f7fafe !important; }

/* Le portrait et les questions partagent la même section sous un titre commun. */
.sc-approved .sc-approved-faq {
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1.5fr);
  align-items: start;
  column-gap: clamp(36px, 6vw, 86px);
  row-gap: 27px;
}
.sc-approved .sc-approved-faq > .sc-section-heading { grid-column: 1 / -1; }
.sc-approved .sc-approved-faq h2 { font-size: clamp(28px, 3vw, 38px); }
.sc-representative {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  align-self: start;
  min-width: 0;
  padding: 22px;
  border: 1px solid #dce7f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 36px rgba(31,64,100,.07);
}
.sc-representative-photo {
  position: relative;
  flex: 0 0 clamp(148px, 14vw, 172px);
  width: clamp(148px, 14vw, 172px);
  height: clamp(148px, 14vw, 172px);
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #eaf2fb;
  box-shadow: 0 0 0 1px #dce7f3, 0 6px 18px rgba(31,64,100,.12);
}
.sc-representative-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.9) translateY(-10px);
  transform-origin: center top;
}
.sc-representative-copy { width: 100%; min-width: 0; padding: 0; }
.sc-representative-name {
  display: block;
  margin: 0 0 3px;
  color: #183652;
  font-size: 23px;
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -.55px;
  text-align: center;
}
.sc-representative-label {
  display: block;
  margin-bottom: 12px;
  color: #71839a;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .2px;
  text-align: center;
  text-transform: none;
}
.sc-representative-copy p { max-width: 32ch; margin: 0 auto; color: #607591; font-size: 14px; line-height: 1.6; text-align: center; }
.sc-approved .sc-approved-faq .sc-faq-list { min-width: 0; }

@media (max-width: 900px) {
  .sc-approved .sc-approved-faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 22px; }
  .sc-representative { gap: 13px; padding: 18px; }
  .sc-representative-photo { flex-basis: 148px; width: 148px; height: 148px; }
  .sc-representative-copy p { font-size: 13px; }
}
@media (max-width: 600px) {
  .sc-approved .sc-approved-faq { grid-template-columns: 1fr; row-gap: 20px; }
  .sc-approved .sc-approved-faq > .sc-section-heading { grid-column: 1; }
  .sc-representative { gap: 14px; padding: 18px; }
  .sc-representative-photo { flex-basis: 148px; width: 148px; height: 148px; }
}


/* Hero: lignes symétriques avec un accent discret, sur toute la largeur du texte. */
.sc-approved .sc-visual-copy .sc-eyebrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: 100%;
  gap: clamp(9px, 1.25vw, 16px);
  white-space: nowrap;
}
.sc-approved .sc-visual-copy .sc-eyebrow::before,
.sc-approved .sc-visual-copy .sc-eyebrow::after {
  content: "" !important;
  display: block;
  width: auto;
  min-width: 0;
  height: 5px;
  flex: none;
  background-repeat: no-repeat;
  background-position: center;
}
.sc-approved .sc-visual-copy .sc-eyebrow::before {
  background-image:
    radial-gradient(circle at right center, #0b62c4 0 1.5px, transparent 2px),
    linear-gradient(90deg, rgba(11,98,196,.12), rgba(11,98,196,.72));
  background-size: 5px 5px, 100% 1px;
  background-position: right center, center;
}
.sc-approved .sc-visual-copy .sc-eyebrow::after {
  background-image:
    radial-gradient(circle at left center, #0b62c4 0 1.5px, transparent 2px),
    linear-gradient(90deg, rgba(11,98,196,.72), rgba(11,98,196,.12));
  background-size: 5px 5px, 100% 1px;
  background-position: left center, center;
}
.sc-approved .sc-visual-copy .sc-hero-description {
  font-weight: 600;
  line-height: 1.55;
}
@media (max-width: 600px) {
  .sc-approved .sc-visual-copy .sc-eyebrow {
    gap: 8px;
    font-size: 9px;
    letter-spacing: 1.8px;
  }
}


/* Le bandeau d'accueil grandit avec son contenu : aucun texte ne passe sous l'en-tête ni hors du bas. */
@media (min-width: 761px) {
  .sc-approved .sc-hero-visual {
    height: auto !important;
    min-height: max(720px, calc(100vh - 76px)) !important;
    grid-template-rows: minmax(720px, auto);
  }
  .sc-approved .sc-visual-inner {
    height: auto !important;
    min-height: max(720px, calc(100vh - 76px)) !important;
    padding-top: clamp(68px, 6vw, 88px) !important;
    padding-bottom: clamp(68px, 6vw, 88px) !important;
  }
  .sc-approved .sc-visual-copy {
    overflow: visible;
  }
  .sc-approved .sc-visual-copy .sc-hero-description {
    width: calc(100% + clamp(32px, 5.2vw, 78px));
    max-width: 700px !important;
  }
}
.sc-approved .sc-return-client {
  margin-bottom: 12px !important;
  padding-bottom: 8px;
}

/* Le territoire reste juste sous les projets, avec moins d'espace vide. */
.gallery-section {
  padding-bottom: 14px !important;
}
.gallery-section .marquee {
  padding-bottom: 10px !important;
}

/* La vidéo reste un vrai MP4, sans bouton de lecture superposé par Safari. */
.sc-approved .sc-final-hero-video {
  pointer-events: auto !important;
}
.sc-approved .sc-hero-video-frame {
  pointer-events: auto !important;
}
.sc-approved .sc-hero-video-frame::-webkit-media-controls,
.sc-approved .sc-hero-video-frame::-webkit-media-controls-panel,
.sc-approved .sc-hero-video-frame::-webkit-media-controls-overlay-play-button,
.sc-approved .sc-hero-video-frame::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  -webkit-appearance: none !important;
}


/* Texte du héros, largeur intermédiaire pour garder une marge avant la vidéo. */
@media (min-width: 761px) {
  .sc-approved .sc-visual-copy .sc-hero-description {
    width: calc(100% + clamp(16px, 3vw, 42px)) !important;
    max-width: 680px !important;
  }
}

/* Remet les icônes à gauche et aligne les colonnes des deux rangées. */
.sc-approved .sc-steps-section {
  width: min(1320px, calc(100% - 112px)) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
.sc-approved .sc-assurance {
  width: min(1374px, calc(100% - 58px)) !important;
  margin-inline: auto !important;
  padding: 20px 26px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
}
.sc-approved .sc-steps-section .sc-approved-steps article,
.sc-approved .sc-assurance article {
  display: grid !important;
  grid-template-columns: 70px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 17px !important;
  text-align: left !important;
  min-width: 0;
}
.sc-approved .sc-steps-section .sc-approved-steps article {
  padding-inline: 27px;
}
.sc-approved .sc-steps-section .sc-approved-steps article:first-child,
.sc-approved .sc-assurance article:first-child { padding-left: 0; }
.sc-approved .sc-steps-section .sc-approved-steps article:last-child,
.sc-approved .sc-assurance article:last-child { padding-right: 0; }
.sc-approved .sc-assurance article { padding-inline: 27px; }
.sc-approved .sc-steps-section .sc-step-icon,
.sc-approved .sc-assurance article > svg {
  grid-column: 1;
  grid-row: 1;
  justify-self: center !important;
  align-self: start !important;
  margin: 0 !important;
}
.sc-approved .sc-steps-section .sc-approved-steps article > div:not(.sc-step-icon),
.sc-approved .sc-assurance article > div {
  grid-column: 2;
  grid-row: 1;
  width: auto !important;
  min-width: 0;
  text-align: left !important;
}
.sc-approved .sc-steps-section .sc-step-number,
.sc-approved .sc-steps-section .sc-approved-steps h3,
.sc-approved .sc-steps-section .sc-approved-steps p,
.sc-approved .sc-assurance h2,
.sc-approved .sc-assurance p { text-align: left !important; }

@media (max-width: 900px) {
  .sc-approved .sc-steps-section {
    width: calc(100% - 40px) !important;
    padding-inline: 16px !important;
  }
  .sc-approved .sc-assurance {
    width: calc(100% - 40px) !important;
    padding: 18px 16px !important;
    grid-template-columns: 1fr !important;
  }
  .sc-approved .sc-steps-section .sc-approved-steps article,
  .sc-approved .sc-assurance article {
    grid-template-columns: 60px minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  .sc-approved .sc-steps-section .sc-step-icon {
    width: 60px !important;
    height: 60px !important;
  }
  .sc-approved .sc-assurance article,
  .sc-approved .sc-assurance article:first-child,
  .sc-approved .sc-assurance article:last-child {
    padding: 14px 0 !important;
  }
  .sc-approved .sc-assurance article:first-child { padding-top: 0 !important; }
  .sc-approved .sc-assurance article:last-child { padding-bottom: 0 !important; }
  .sc-approved .sc-assurance article + article {
    border-left: 0 !important;
    border-top: 1px solid #d3e0ef !important;
  }
}

@media (max-width: 620px) {
  .sc-approved .sc-steps-section { padding-inline: 0 !important; }
  .sc-approved .sc-assurance {
    grid-template-columns: 1fr !important;
    padding-inline: 16px !important;
  }
  .sc-approved .sc-steps-section .sc-approved-steps article,
  .sc-approved .sc-assurance article {
    grid-template-columns: 67px minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  .sc-approved .sc-steps-section .sc-step-icon {
    width: 67px !important;
    height: 67px !important;
  }
  .sc-approved .sc-assurance article,
  .sc-approved .sc-assurance article:first-child,
  .sc-approved .sc-assurance article:last-child {
    padding: 12px 0 !important;
  }
  .sc-approved .sc-assurance article:first-child { padding-top: 0 !important; }
  .sc-approved .sc-assurance article:last-child { padding-bottom: 0 !important; }
}

@media (max-width: 540px) {
  .sc-approved .sc-steps-section,
  .sc-approved .sc-assurance {
    width: calc(100% - 32px) !important;
  }
}
