.home-v3 {
  --home-blue: #0f4f82;
  --home-blue-2: #087fb9;
  --home-blue-dark: #123a5d;
  --home-cyan: #00a8df;
  --home-text: #183047;
  --home-muted: #698093;
  --home-line: #dce8f0;
  --home-soft: #f3f8fb;
  --home-soft-blue: #eef7fc;
  --home-soft-warm: #fbf7ef;
  --home-warm: #8c6737;
  color: var(--home-text);
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}

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

.home-v3-wrap {
  width: calc(100% - 48px);
  max-width: 1540px;
  margin: 0 auto;
}

/* ========================================================================== */
/* Hero                                                                       */
/* ========================================================================== */
.home-v3-hero {
  padding: 36px 0 42px;
  background: linear-gradient(180deg, #f7fbfe 0%, #ffffff 100%);
  border-bottom: 1px solid #edf3f7;
}

.home-v3-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
  gap: 34px;
  align-items: start;
}

.home-v3-hero__content {
  min-width: 0;
  padding: 8px 0 2px;
}

.home-v3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e5f3fb;
  color: #0c67a0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-v3-eyebrow__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}

.home-v3-hero h1 {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #0b1320;
  font-size: clamp(32px, 2.75vw, 46px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.03em;
}

.home-v3-hero h1 strong {
  color: #0f68a6;
  font-weight: 800;
}

.home-v3-hero__lead {
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
  color: #0f68a6;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
}

.home-v3-hero__presentation {
  width: 100%;
  max-width: 980px;
  margin-top: 14px;
  color: #536b7f;
  font-size: 14px;
  line-height: 1.52;
}

.home-v3-hero__presentation p {
  margin: 0 0 7px;
}

.home-v3-hero__presentation p:last-child {
  margin-bottom: 0;
}

.home-v3-reassurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: none;
  margin-top: 28px;
}

.home-v3-reassurance__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  color: #29445c;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.home-v3-reassurance__icon,
.home-v3-trust__icon,
.home-v3-profile__location-icon,
.home-v3-profile__tile-icon,
.home-v3-contact-strip__phone-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.home-v3-reassurance__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e6f4fb;
  color: #0d6fa9;
}

.home-v3-reassurance__icon .ico {
  transform: scale(1.2);
  image-rendering: auto;
}

.home-v3-profile {
  width: 345px;
  max-width: 100%;
  justify-self: end;
  align-self: start;
  padding: 16px;
  border: 1px solid #e1ebf2;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4f9fc 0%, #edf5fa 100%);
  box-shadow: 0 12px 30px rgba(26, 65, 92, .06);
}

.home-v3-profile__location {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 0 2px 15px;
  border-bottom: 1px solid #cbdde8;
}

.home-v3-profile__location-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #dceffa;
}

.home-v3-profile__location-icon .ico {
  transform: scale(1.75);
}

.home-v3-profile__location div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.home-v3-profile__location strong {
  color: #102e49;
  font-size: 14px;
  line-height: 1.3;
}

.home-v3-profile__location span:not(.ico) {
  margin-top: 4px;
  color: #6e8495;
  font-size: 11px;
}

.home-v3-profile__question {
  padding: 12px 3px 10px;
  text-align: center;
}

.home-v3-profile__question h2 {
  margin: 0;
  color: #132a40;
  font-size: 18px;
  line-height: 1.25;
}

.home-v3-profile__question p {
  margin: 4px 0 0;
  color: #2385bd;
  font-size: 14px;
  font-weight: 600;
}

.home-v3-profile__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.home-v3-profile__tile {
  display: flex;
  min-height: 84px;
  aspect-ratio: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  border: 1px solid #d7e5ee;
  border-radius: 10px;
  background: rgba(255,255,255,.78);
  text-align: center;
}

.home-v3-profile__tile-icon {
  width: 30px;
  height: 30px;
}

.home-v3-profile__tile-icon .ico {
  transform: scale(1.55);
}

.home-v3-profile__tile strong {
  color: #173754;
  font-size: 12px;
  line-height: 1.25;
}

/* ========================================================================== */
/* Sections                                                                   */
/* ========================================================================== */
.home-v3-section {
  padding: 0;
}

.home-v3-section--activities {
  padding-top: 40px;
}

.home-v3-section-heading {
  display: grid;
  grid-template-columns: auto minmax(60px, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.home-v3-section-heading h2 {
  margin: 0;
  color: #102a42;
  font-size: 25px;
  line-height: 1.2;
}

.home-v3-section-heading__line {
  height: 2px;
  background: linear-gradient(90deg, #1685c4, #8fd4f2);
}

.home-v3-section-heading p {
  margin: 0;
  color: #628298;
  font-size: 14px;
  font-style: italic;
  text-align: right;
}

.home-v3-activity-grid,
.home-v3-realisations-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

/* Électricité est volontairement prioritaire : 3 colonnes contre 2 en placo. */
.home-v3-activity-grid {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.home-v3-realisations-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-v3-activity-panel {
  min-width: 0;
  padding: 18px 20px 20px;
  border: 1px solid #e3edf3;
  border-radius: 12px;
  background: #f4f9fc;
}

.home-v3-activity-panel--placo {
  border-color: #eee4d4;
  background: #fbf8f2;
}

.home-v3-activity-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.home-v3-activity-panel__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.home-v3-activity-panel__icon {
  display: inline-flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #d9effb;
}

.home-v3-activity-panel__icon--placo {
  background: #f0e4d2;
}

.home-v3-activity-panel__icon .ico {
  transform: scale(1.75);
}

.home-v3-activity-panel__identity h3 {
  margin: 0;
  color: #102a42;
  font-size: 22px;
  line-height: 1.2;
}

.home-v3-activity-panel__identity p {
  margin: 3px 0 0;
  color: #61798a;
  font-size: 14px;
  line-height: 1.35;
}

.home-v3-outline-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #6caed1;
  border-radius: 7px;
  color: #0f5e91;
  background: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.home-v3-outline-link:hover,
.home-v3-outline-link:focus-visible {
  border-color: #0f5e91;
  background: #fff;
  color: #0b4167;
  text-decoration: none;
  outline: none;
}

.home-v3-outline-link--placo {
  border-color: #c6a77b;
  color: #76552d;
}

.home-v3-outline-link--placo:hover,
.home-v3-outline-link--placo:focus-visible {
  border-color: #9b7544;
  color: #5f421f;
}

.home-v3-activity-list {
  display: grid;
  gap: 0 20px;
}

.home-v3-activity-list--electricite {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-v3-activity-list--placo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-v3-activity-list a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 2px;
  border-bottom: 1px solid rgba(97, 132, 154, .18);
  color: #294960;
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
  transition: color .15s ease, padding-left .15s ease;
}

.home-v3-activity-panel--placo .home-v3-activity-list a {
  border-bottom-color: rgba(140, 103, 55, .14);
  color: #5c4b39;
}

.home-v3-activity-list a:hover,
.home-v3-activity-list a:focus-visible {
  padding-left: 4px;
  color: #008ac7;
  text-decoration: none;
  outline: none;
}

.home-v3-trust {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 32px 0 8px;
  border-top: 1px solid #eef2f5;
  border-bottom: 1px solid #eef2f5;
}

.home-v3-trust__item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-right: 1px solid #e5edf2;
}

.home-v3-trust__item:last-child {
  border-right: 0;
}

.home-v3-trust__icon {
  width: 34px;
  height: 34px;
  color: #0d77af;
  font-size: 27px;
}

.home-v3-trust__icon .ico {
  transform: scale(1.4);
}

.home-v3-trust__item div {
  display: grid;
  min-width: 0;
}

.home-v3-trust__item strong {
  color: #143752;
  font-size: 13px;
  line-height: 1.25;
}

.home-v3-trust__item span:not(.home-v3-trust__icon):not(.ico) {
  margin-top: 2px;
  color: #748b9c;
  font-size: 12px;
  line-height: 1.25;
}

/* ========================================================================== */
/* Réalisations                                                               */
/* ========================================================================== */
.home-v3-section--realisations {
  padding-top: 40px;
}

.home-v3-section-heading--realisations {
  grid-template-columns: auto minmax(60px, 1fr);
  margin-bottom: 18px;
}

.home-v3-realisations-panel {
  padding: 14px;
  border: 1px solid #e1ebf2;
  border-radius: 12px;
  background: #f2f8fc;
}

.home-v3-realisations-panel--placo {
  border-color: #eee4d6;
  background: #fbf8f2;
}

.home-v3-realisations-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 0 2px;
}

.home-v3-realisations-panel__head h3 {
  margin: 0;
  color: #0d66a1;
  font-size: 16px;
  line-height: 1.25;
}

.home-v3-realisations-panel--placo .home-v3-realisations-panel__head h3 {
  color: #755a39;
}

.home-v3-realisations-panel__head p {
  margin: 2px 0 0;
  color: #71899a;
  font-size: 12px;
}

.home-v3-realisations-panel__all {
  flex: 0 0 auto;
  color: #3d779d;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.home-v3-realisations-panel__all:hover,
.home-v3-realisations-panel__all:focus-visible {
  color: #0f4f82;
  text-decoration: underline;
}

.home-v3-realisations-panel__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 116px;
  gap: 12px;
}

.home-v3-realisation-card {
  min-width: 0;
  height: 116px;
  overflow: hidden;
  border: 1px solid #e1e9ee;
  border-radius: 8px;
  background: #fff;
}

.home-v3-realisation-card__link {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) 18px;
  width: 100%;
  height: 116px;
  min-height: 116px;
  align-items: stretch;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease;
}

.home-v3-realisation-card__link:hover,
.home-v3-realisation-card__link:focus-visible {
  box-shadow: 0 5px 15px rgba(22, 62, 88, .09);
  transform: translateY(-1px);
  text-decoration: none;
  outline: none;
}

.home-v3-realisation-card__media {
  width: 124px;
  height: 116px;
  min-height: 116px;
  overflow: hidden;
  background: #eaf1f5;
}

.home-v3-realisation-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-v3-realisation-card__image,
.home-v3-realisation-card__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: none;
  object-fit: cover !important;
  object-position: center center;
}

.home-v3-realisation-card__body {
  min-width: 0;
  padding: 10px 10px 8px;
}

.home-v3-realisation-card h4 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #173751;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-v3-realisation-card__location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 7px 0 0;
  color: #7a8f9e;
  font-size: 11px;
  line-height: 1.2;
}

.home-v3-realisation-card__location .ico {
  flex: 0 0 16px;
}

.home-v3-realisation-card__date {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0 0;
  color: #91a1ad;
  font-size: 10px;
  line-height: 1.2;
}

.home-v3-realisation-card__date-icon {
  display: inline-block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.home-v3-realisation-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e7db7;
  font-size: 22px;
  font-weight: 400;
}

/* ========================================================================== */
/* CTA                                                                         */
/* ========================================================================== */
.home-v3-contact-strip {
  padding: 36px 0 30px;
}

.home-v3-contact-strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 14px;
}

.home-v3-contact-strip__cta {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 14px 18px;
  border-radius: 10px;
  background: linear-gradient(100deg, #0c4d7e, #078cc7);
  color: #fff;
}

.home-v3-contact-strip__chat {
  display: flex;
  width: 52px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 24px;
  color: #fff;
  font-size: 19px;
  letter-spacing: 3px;
}

.home-v3-contact-strip__copy h2 {
  margin: 0;
  color: #fff;
  font-size: 23px;
  line-height: 1.2;
}

.home-v3-contact-strip__copy p {
  margin: 3px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 13px;
}

.home-v3-contact-strip__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #fff;
  color: #0d4e7f;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.home-v3-contact-strip__button:hover,
.home-v3-contact-strip__button:focus-visible {
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  transform: translateY(-1px);
  text-decoration: none;
  outline: none;
}

.home-v3-contact-strip__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 92px;
  padding: 14px 18px;
  border: 1px solid #e0eaf0;
  border-radius: 10px;
  background: #f1f7fb;
}

.home-v3-contact-strip__phone-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d9eff9;
}

.home-v3-contact-strip__phone-icon .ico {
  transform: scale(1.5);
}

.home-v3-contact-strip__phone div {
  display: grid;
  gap: 1px;
}

.home-v3-contact-strip__phone a:first-child {
  color: #142f48;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.home-v3-contact-strip__phone span:not(.ico):not(.home-v3-contact-strip__phone-icon) {
  color: #71889a;
  font-size: 12px;
}

.home-v3-contact-strip__phone .home-v3-contact-strip__mail {
  margin-top: 3px;
  color: #0b82bc;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

/* ========================================================================== */
/* Responsive                                                                 */
/* ========================================================================== */
@media only screen and (max-width: 1280px) {
  .home-v3-wrap {
    width: calc(100% - 36px);
  }

  .home-v3-hero__grid {
    grid-template-columns: minmax(0, 1fr) 325px;
    gap: 26px;
  }

  .home-v3-hero h1 {
    font-size: clamp(32px, 2.9vw, 40px);
  }

  .home-v3-profile {
    width: 325px;
    padding: 14px;
  }

  .home-v3-profile__tile {
    min-height: 80px;
  }

  .home-v3-activity-panel__head {
    align-items: flex-start;
  }

  .home-v3-outline-link {
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
  }

  .home-v3-activity-list--electricite {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 14px;
  }

  .home-v3-activity-list--placo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }

  .home-v3-activity-list a {
    font-size: 12px;
  }

  .home-v3-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-v3-trust__item:nth-child(3) {
    border-right: 0;
  }

  .home-v3-trust__item:nth-child(n+4) {
    border-top: 1px solid #e5edf2;
  }

  .home-v3-contact-strip__grid {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
}

@media only screen and (max-width: 980px) {
  .home-v3-hero {
    padding-top: 24px;
  }

  .home-v3-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-v3-profile {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .home-v3-profile__location {
    max-width: 440px;
    margin: 0 auto;
  }

  .home-v3-profile__tiles {
    max-width: 600px;
    margin: 0 auto;
  }

  .home-v3-section-heading {
    grid-template-columns: auto minmax(40px, 1fr);
  }

  .home-v3-section-heading p {
    grid-column: 1 / -1;
    text-align: left;
  }

  .home-v3-activity-grid,
  .home-v3-realisations-grid {
    grid-template-columns: 1fr;
  }

  .home-v3-activity-list--electricite {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-v3-activity-list--placo {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-v3-contact-strip__grid {
    grid-template-columns: 1fr;
  }

  .home-v3-contact-strip__phone {
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 680px) {
  .home-v3-wrap {
    width: calc(100% - 28px);
  }

  .home-v3-hero {
    padding: 18px 0 20px;
  }

  .home-v3-eyebrow {
    padding: 7px 12px;
    font-size: 11px;
  }

  .home-v3-hero h1 {
    font-size: 33px;
    line-height: 1.08;
  }

  .home-v3-hero__lead {
    margin-top: 11px;
    font-size: 16px;
  }

  .home-v3-hero__presentation {
  width: 100%;
  max-width: 980px;
  margin-top: 14px;
  color: #536b7f;
  font-size: 14px;
  line-height: 1.52;
}

.home-v3-hero__presentation p {
  margin: 0 0 7px;
}

.home-v3-hero__presentation p:last-child {
  margin-bottom: 0;
}

.home-v3-reassurance {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 22px;
  }

  .home-v3-reassurance__item br {
    display: none;
  }

  .home-v3-profile {
    padding: 18px;
  }

  .home-v3-profile__location {
    max-width: none;
  }

  .home-v3-profile__question h2 {
    font-size: 19px;
  }

  .home-v3-profile__question p {
    font-size: 15px;
  }

  .home-v3-profile__tile {
    min-height: 74px;
  }

  .home-v3-section--activities {
    padding-top: 30px;
  }

  .home-v3-section-heading {
    gap: 10px;
    margin-bottom: 14px;
  }

  .home-v3-section-heading h2 {
    font-size: 22px;
  }

  .home-v3-section-heading p {
    font-size: 12px;
  }

  .home-v3-activity-panel {
    padding: 16px;
  }

  .home-v3-activity-panel__head {
    display: grid;
    gap: 12px;
  }

  .home-v3-activity-panel__identity h3 {
    font-size: 20px;
  }

  .home-v3-outline-link {
    width: 100%;
    justify-content: center;
  }

  .home-v3-activity-list--electricite,
  .home-v3-activity-list--placo {
    grid-template-columns: 1fr;
  }

  .home-v3-activity-list a {
    min-height: 36px;
    font-size: 13px;
  }

  .home-v3-trust {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .home-v3-trust__item,
  .home-v3-trust__item:nth-child(3),
  .home-v3-trust__item:nth-child(n+4) {
    border-right: 0;
    border-top: 1px solid #e5edf2;
  }

  .home-v3-trust__item:first-child {
    border-top: 0;
  }

  .home-v3-section--realisations {
    padding-top: 30px;
  }

  .home-v3-realisations-panel__cards {
    grid-template-columns: 1fr;
  }

  .home-v3-realisations-panel__cards {
    grid-auto-rows: 104px;
  }

  .home-v3-realisation-card {
    height: 104px;
  }

  .home-v3-realisation-card__link {
    grid-template-columns: 112px minmax(0, 1fr) 18px;
    height: 104px;
    min-height: 104px;
  }

  .home-v3-realisation-card__media {
    width: 112px;
    height: 104px;
    min-height: 104px;
  }

  .home-v3-contact-strip__cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-v3-contact-strip__chat {
    margin: 0 auto;
  }

  .home-v3-contact-strip__button {
    width: 100%;
  }

  .home-v3-contact-strip__phone {
    justify-content: center;
  }
}
