/* Page Le Groupe — isolee a .ev-page. */

.ev-page {
  --ev-navy: var(--navy);
  --ev-ink: var(--ink);
  --ev-muted: var(--muted);
  --ev-line: var(--line);
  --ev-paper: var(--ivory);
  --ev-sand: var(--gold);
  --ev-white: var(--white);
  --ev-measure: 38rem;
  background: var(--ev-paper);
  color: var(--ev-ink);
}

.ev-page:not(.av2-page) main h1,
.ev-page:not(.av2-page) main h2,
.ev-page:not(.av2-page) main h3,
.ev-page:not(.av2-page) main p {
  margin: 0;
}

.ev-page:not(.av2-page) main h1,
.ev-page:not(.av2-page) main h2,
.ev-page:not(.av2-page) main h3 {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ev-navy);
  border-bottom: 0;
  text-decoration: none;
}

.ev-page:not(.av2-page) main h1 {
  max-width: min(11em, 100%);
  font-size: clamp(2.15rem, 1.15rem + 2.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

.ev-page:not(.av2-page) main h2 {
  max-width: min(14em, 100%);
  font-size: clamp(1.85rem, 1.2rem + 1.2vw, 2.35rem);
  line-height: 1.12;
  overflow-wrap: break-word;
}

.ev-page:not(.av2-page) main h3 {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.3;
}

.ev-wrap {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.ev-page .ev-kicker {
  margin: 0 0 1rem;
  color: var(--ev-sand);
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ev-page .ev-deck,
.ev-page .ev-lead,
.ev-page .ev-about-copy > p,
.ev-page .ev-vision-copy > p,
.ev-page .ev-domain p,
.ev-page .ev-path p,
.ev-values p {
  color: var(--ev-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.ev-hero,
.ev-about,
.ev-vision,
.ev-domains,
.ev-method,
.ev-close {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

/* Hero */

.ev-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  background: var(--ev-navy);
  color: #fff;
}

.ev-hero-photo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

.ev-hero-photo picture {
  position: relative;
  display: block;
  flex: none;
  width: 100%;
  max-width: 100%;
  height: 62vw;
  min-height: 16rem;
  max-height: 24rem;
}

.ev-hero-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 58% 46%;
}

.ev-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 2.75rem 1.5rem 3rem;
}

.ev-page .ev-hero h1 {
  color: #fff;
  max-width: min(14em, 100%);
}

.ev-page .ev-deck {
  max-width: min(32rem, 100%);
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.84);
  overflow-wrap: break-word;
}

.ev-hero-actions {
  margin-top: 2rem;
}

.ev-hero .ev-cta {
  background: #fff;
  color: var(--ev-navy);
}

.ev-hero .ev-cta:hover {
  background: var(--ev-paper);
}

/* Presentation */

.ev-about {
  padding: 4.5rem 0 5rem;
  background: var(--ev-white);
}

.ev-about-grid {
  display: grid;
  gap: 2rem;
}

.ev-frame {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 22rem;
  margin: 0;
  overflow: hidden;
  border-radius: 1.15rem;
  background: var(--silver);
}

.ev-frame picture {
  position: relative;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 22rem;
}

.ev-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 46% 58%;
}

.ev-page .ev-lead,
.ev-about-copy > .ev-lead {
  max-width: var(--ev-measure);
  margin-top: 1.1rem;
}

.ev-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.ev-values li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 1.25rem 0 1.3rem;
  border: 0;
  border-radius: 0;
  border-top: 2px solid var(--gold);
  background: var(--ev-white);
  box-shadow: none;
}

.ev-page .ev-values h3 {
  margin: 0;
  color: var(--ev-navy);
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ev-page .ev-values p {
  margin: 0.4rem 0 0;
  color: var(--ev-muted);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.55;
}

/* Vision */

.ev-vision {
  padding: 5rem 0;
  background: var(--ev-paper);
}

.ev-vision-inner {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.ev-page .ev-vision-copy > p {
  max-width: 36rem;
  margin-top: 1.15rem;
}

.ev-page .ev-signature {
  margin: 0;
  padding-top: 1.15rem;
  border-top: 2px solid var(--gold);
  color: var(--gold);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-width: 16em;
}

/* Domaines */

.ev-domains {
  padding: 5rem 0 5.5rem;
  background: var(--ev-white);
}

.ev-section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.ev-domain-grid {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}

.ev-domain {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 0 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 51, 0.08);
  border-radius: 1rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.ev-domain:hover {
  border-color: rgba(200, 162, 90, 0.45);
}

.ev-domain:hover h3 {
  color: var(--gold-deep);
}

.ev-domain-media {
  position: relative;
  flex: none;
  height: 11.5rem;
  margin: 0 0 1.05rem;
  overflow: hidden;
  background: var(--ev-navy);
}

.ev-domain-media picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.ev-domain-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.ev-photo-architecture {
  object-position: 46% 58%;
}

.ev-photo-construction {
  object-position: 48% 46%;
}

.ev-photo-renovation {
  object-position: 32% 50%;
}

.ev-photo-immobilier {
  object-position: 28% 48%;
}

.ev-num {
  margin: 0 1.25rem 0.4rem;
  color: var(--gold);
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ev-domain h3,
.ev-domain p {
  padding-inline: 1.25rem;
}

.ev-page .ev-domain h3 {
  margin: 0;
  min-height: 1.3em;
}

.ev-domain p {
  margin-top: 0.45rem;
  flex: 1;
}

/* Approche */

.ev-method {
  padding: 5rem 0 5.5rem;
  background: var(--ev-paper);
}

.ev-path {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ev-path li {
  padding: 1.25rem 1.2rem 1.3rem;
  border-top: 2px solid var(--gold);
  background: var(--ev-white);
}

.ev-path .ev-num {
  margin: 0 0 0.45rem;
}

.ev-path p {
  margin-top: 0.4rem;
}

.ev-page main .ev-note {
  max-width: 100%;
  margin-top: 1.5rem;
  color: var(--ev-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Engagement */

.ev-close {
  padding: 3.75rem 0 5.25rem;
  border-top: 1px solid rgba(11, 31, 51, 0.08);
  background: var(--ev-white);
  color: var(--ev-navy);
}

.ev-close-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.ev-close .ev-kicker {
  margin-bottom: 0.65rem;
  color: var(--gold);
}

.ev-page .ev-close h2 {
  color: var(--ev-navy);
}

.ev-page main .ev-close-lead {
  max-width: 24rem;
  margin-top: 0.9rem;
  color: var(--ev-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.ev-close ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ev-page .ev-close li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  column-gap: 0.55rem;
  align-items: baseline;
  color: var(--ev-navy);
  font-size: 1.0625rem;
  line-height: 1.5;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--silver, #d9dde2);
}

.ev-page .ev-close li:first-child {
  padding-top: 0;
}

.ev-page .ev-close li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ev-close-idx {
  color: var(--gold);
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ev-close-idx::after {
  content: " — ";
  font-weight: 600;
  letter-spacing: 0;
}

.ev-close-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.ev-close .ev-cta {
  background: var(--ev-navy);
  color: #fff;
}

.ev-close .ev-cta:hover {
  background: var(--ev-ink);
  color: #fff;
}

.ev-close .ev-cta:focus-visible {
  outline-color: var(--gold);
}

.ev-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: var(--ev-navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.9375rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.ev-cta:hover {
  background: var(--ev-paper);
}

.ev-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .ev-wrap {
    width: min(1160px, calc(100% - 5rem));
  }

  .ev-values {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
  }

  .ev-domain-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ev-path {
    grid-template-columns: 1fr 1fr;
  }

  .ev-frame,
  .ev-frame picture {
    min-height: 26rem;
  }

  .ev-domain-media {
    height: 12.5rem;
  }
}

@media (min-width: 980px) {
  .ev-hero {
    grid-template-columns: minmax(26rem, 1fr) minmax(26rem, 1.08fr);
    min-height: clamp(34rem, calc(100vh - var(--header-h)), 44rem);
  }

  .ev-hero-photo {
    grid-column: 2;
    grid-row: 1;
    min-height: 34rem;
    align-self: stretch;
  }

  .ev-hero-photo picture {
    flex: 1 1 auto;
    height: auto;
    min-height: 100%;
    max-height: none;
  }

  .ev-hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 4rem 3.25rem 4rem max(2rem, calc((100vw - 1160px) / 2));
  }

  .ev-about-grid {
    grid-template-columns: minmax(22rem, 1fr) minmax(22rem, 1.05fr);
    gap: 3.25rem;
    align-items: stretch;
  }

  .ev-about-grid .ev-frame,
  .ev-about-grid .ev-frame picture {
    min-height: 32rem;
    height: 100%;
    align-self: stretch;
  }

  .ev-vision-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 4.5rem;
    align-items: center;
  }

  .ev-page .ev-signature {
    padding-top: 0;
    padding-left: 1.75rem;
    border-top: 0;
    border-left: 2px solid var(--gold);
  }

  .ev-domain-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }

  .ev-domain-media {
    height: 14rem;
  }

  .ev-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .ev-page main .ev-note {
    white-space: nowrap;
  }

  .ev-close-grid {
    grid-template-columns: minmax(18rem, 0.95fr) minmax(22rem, 1.05fr);
    gap: 3rem;
    align-items: start;
  }
}

@media (max-width: 719px) {
  .ev-hero,
  .ev-hero-copy,
  .ev-wrap,
  .ev-frame,
  .ev-frame picture,
  .ev-frame img {
    max-width: 100%;
  }

  .ev-page:not(.av2-page) main h1,
  .ev-page:not(.av2-page) main h2,
  .ev-page .ev-hero h1,
  .ev-page .ev-deck {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .ev-page .ev-hero h1 {
    max-width: calc(100% - 0.35rem);
    font-size: clamp(1.42rem, 6vw, 1.8rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
  }

  .ev-page .ev-deck {
    font-size: 1rem;
  }

  .ev-page main .ev-note {
    white-space: normal;
    overflow-wrap: break-word;
  }

  .ev-close-actions,
  .ev-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ev-cta {
    transition: none;
  }
}

/* Le Groupe : seules les compositions propres à la page.
   Hero, header, footer, cartes, boutons et frise viennent d'accueil-v2.css. */

body.ev-page {
  background: #f6f2e9;
}

body.ev-page .ev-about,
body.ev-page .ev-vision,
body.ev-page .ev-domains,
body.ev-page .ev-close {
  background: #f6f2e9;
  color: #132538;
}

body.ev-page .ev-about {
  padding: 5rem 0 4.75rem;
}

body.ev-page .ev-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 2rem 3.75rem;
  align-items: center;
}

body.ev-page .ev-frame,
body.ev-page .ev-frame picture {
  min-height: 28rem;
  margin: 0;
  border-radius: 0.45rem;
}

body.ev-page .ev-about-copy > .av2-prose,
body.ev-page .ev-section-head .av2-prose,
body.ev-page .ev-vision-copy > .av2-prose,
body.ev-page .ev-close .av2-prose {
  max-width: 38rem;
  margin-top: 1.25rem;
}

body.ev-page .ev-about .av2-pledges {
  grid-column: auto;
  grid-row: auto;
  margin-top: 2rem;
}

body.ev-page .ev-vision {
  padding: 1.5rem 0 5rem;
}

body.ev-page .ev-vision-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 2rem 4rem;
  align-items: center;
}

body.ev-page .ev-signature {
  margin: 0;
  max-width: 12em;
  padding: 0.2rem 0 0.2rem 1.75rem;
  border: 0;
  border-left: 1px solid #c8a25a;
  color: #0b1f33;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.9rem, 1.2rem + 1.35vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.18;
}

body.ev-page .ev-domains {
  padding: 0 0 5.25rem;
}

body.ev-page .ev-section-head {
  max-width: none;
  margin-bottom: 2.15rem;
}

body.ev-page .av2-method {
  padding-top: 4.75rem;
}

@media (min-width: 721px) {
  body.ev-page .av2-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 2.75rem;
  }

  body.ev-page .av2-steps li::after {
    height: 1px;
    background: #c8a25a;
    top: calc(2.7rem + (0.42rem - 1px) / 2);
  }

  body.ev-page .av2-steps h3 {
    margin-top: calc(2.7rem + 0.42rem + 0.85rem - 1.85rem);
  }
}

@media (max-width: 720px) {
  body.ev-page .av2-steps li::after {
    top: calc(2.55rem + (0.42rem - 1px) / 2);
    left: calc((0.42rem - 1px) / 2);
    width: 1px;
    height: calc(100% - 1.35rem);
    background: #c8a25a;
  }

  body.ev-page .av2-steps h3 {
    margin-top: calc(2.55rem + 0.42rem + 0.7rem - 1.85rem);
  }
}

body.ev-page main .ev-note {
  max-width: 42rem;
  margin-top: 1.85rem;
  color: #4a5c6e;
  font-size: 0.98rem;
  line-height: 1.6;
  white-space: normal;
}

body.ev-page .ev-close {
  padding: 4.75rem 0 5.25rem;
  border-top: 1px solid #d9dde2;
}

body.ev-page .ev-close-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem 4rem;
  align-items: start;
}

body.ev-page .ev-close ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ev-page .ev-close li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: baseline;
  margin: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid #d9dde2;
  color: #0b1f33;
  font-size: 1.02rem;
  line-height: 1.5;
}

body.ev-page .ev-close li:first-child {
  padding-top: 0.15rem;
  border-top: 1px solid #d9dde2;
}

body.ev-page .ev-close-idx {
  color: #c8a25a;
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

body.ev-page .ev-close-idx::after {
  content: none;
}

body.ev-page .ev-close-actions,
body.ev-page .ev-close .av2-btn {
  width: auto;
}

@media (max-width: 980px) {
  body.ev-page .ev-about-grid,
  body.ev-page .ev-vision-inner,
  body.ev-page .ev-close-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  body.ev-page .ev-frame,
  body.ev-page .ev-frame picture {
    min-height: 18rem;
  }

  body.ev-page .ev-signature {
    max-width: 16em;
    padding: 1.15rem 0 0;
    border-left: 0;
    border-top: 1px solid #c8a25a;
  }
}

@media (max-width: 720px) {
  body.ev-page .ev-about,
  body.ev-page .ev-vision,
  body.ev-page .ev-domains,
  body.ev-page .ev-close {
    padding: 3.15rem 0;
  }

  body.ev-page .ev-domains {
    padding-top: 0;
  }

  body.ev-page .ev-close .av2-btn {
    width: 100%;
  }
}

