/* Accueil V15 — vert, noir, blanc. Contenu issu des pages existantes. */

.home .site-header.is-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

.home .site-header.is-overlay.is-scrolled,
.home .site-header.is-overlay.is-menu-open {
  background: #fff;
  border-bottom-color: #c5d1c7;
  color: #171916;
}

.admin-bar.home .site-header.is-overlay { top: 32px; }
@media (max-width: 782px) {
  .admin-bar.home .site-header.is-overlay { top: 46px; }
}

.home .site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .brand b,
.home .site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .brand small,
.home .site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .nav-links > li > a:not(.btn) {
  color: #fff;
}

.home .site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .nav-links a[aria-current="page"] {
  color: #fff;
}

.home .site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) {
  background: linear-gradient(180deg, rgba(23, 25, 22, 0.4) 0%, rgba(23, 25, 22, 0) 100%);
}

.home .site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .menu-btn {
  color: #fff;
  border-color: #fff;
  background: rgba(23, 25, 22, 0.3);
}

.home .site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .nav-links .btn-fill {
  background: #fff;
  color: #171916;
  border-color: #fff;
}

.home .site-header.is-overlay.is-scrolled,
.home .site-header.is-overlay.is-menu-open {
  color: #171916;
}

.home .site-header.is-overlay.is-scrolled .brand b,
.home .site-header.is-overlay.is-scrolled .brand small,
.home .site-header.is-overlay.is-scrolled .nav-links > li > a:not(.btn),
.home .site-header.is-overlay.is-menu-open .brand b,
.home .site-header.is-overlay.is-menu-open .brand small,
.home .site-header.is-overlay.is-menu-open .nav-links > li > a:not(.btn),
.home .site-header.is-overlay.is-scrolled .menu-btn,
.home .site-header.is-overlay.is-menu-open .menu-btn {
  color: #171916;
}

.home .site-header.is-overlay.is-scrolled .nav-links .btn-fill,
.home .site-header.is-overlay.is-menu-open .nav-links .btn-fill {
  background: #171916;
  color: #fff;
  border-color: #171916;
}

.home .site-header.is-overlay .nav-sub {
  background: #fff;
  color: #171916;
}

.home .site-header.is-overlay .nav-sub a {
  color: #171916;
}

.home .mobile-bar { display: none; }
.home { padding-bottom: 0; }

.home-ed {
  --ed-ink: #171916;
  --ed-paper: #ffffff;
  --ed-muted: #3a403c;
  --ed-line: #c5d1c7;
  --ed-green: #6e8b7c;
  --ed-green-soft: #8fae96;
  background: #fff;
  color: #171916;
}

.home-ed [id] { scroll-margin-top: 96px; }

.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #171916;
}

.home-hero-media,
.home-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-media img {
  object-fit: cover;
  object-position: 78% 28%;
}

.home-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(23, 25, 22, 0.82) 0%,
      rgba(23, 25, 22, 0.58) 36%,
      rgba(23, 25, 22, 0.16) 65%,
      rgba(23, 25, 22, 0.03) 100%
    );
  pointer-events: none;
}

.home-hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.home-hero-copy {
  max-width: 590px;
  margin: 0;
  padding: 0 0 64px;
  animation: home-hero-in 0.55s ease both;
}

@media (min-width: 1181px) {
  .home-hero-copy {
    margin-left: clamp(48px, 7vw, 88px);
    max-width: 590px;
    text-align: left;
  }
}

@media (max-width: 1180px) {
  .home-hero-copy {
    margin-left: 0;
    text-align: left;
  }
}

.home-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ed-green-soft);
}

.home-hero .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.home-hero .home-kicker::after {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.home-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(2.4rem, 4.2vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 14ch;
  color: #fff;
}

.home-lead {
  margin: 0 0 28px;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.home-hero .home-btn-light {
  background: #fff;
  color: #171916;
  border-color: #fff;
  border-radius: 2px;
  min-height: 48px;
}

.home-hero .home-btn-light:focus-visible,
.home-hero .home-subcta:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 3px;
}

.home-subcta {
  font-size: 0.92rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
}

.home-hero .home-subcta {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

@keyframes home-hero-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.home-block {
  padding-top: 68px;
  padding-bottom: 68px;
}

.home-hero + .home-block {
  padding-top: 64px;
}

.home-block h2,
.home-doctor h2,
.home-commit h2,
.home-rdv h2,
.home-place h2 {
  margin: 10px 0 20px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.2;
  font-weight: 400;
  color: #171916;
}

.home-intro {
  max-width: 46ch;
  margin: 0 0 36px;
  color: #171916;
  line-height: 1.65;
}

.home-cats {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ed-line);
}

.home-cats > li {
  padding: 32px 0;
  border-bottom: 1px solid var(--ed-line);
}

.home-cats h3 {
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0 0 12px;
}

.home-cats p {
  max-width: 58ch;
  margin: 0 0 16px;
  line-height: 1.65;
  color: #171916;
}

.home-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  color: #171916;
}

.home-list li {
  padding: 6px 0;
  border-top: 1px solid var(--ed-line);
}

.home-list li:first-child { border-top: 0; }

.home-list a { color: inherit; }
.home-list a:hover,
.home-list a:focus-visible { color: var(--ed-green); }

.home-place {
  background: var(--ed-green);
  color: #fff;
  padding-top: 76px;
  padding-bottom: 76px;
}

.home-place .home-kicker,
.home-place h2,
.home-place p,
.home-place .home-subcta {
  color: #fff;
}

.home-place .btn {
  border-color: #fff;
  color: #fff;
}

.home-place .btn:hover,
.home-place .btn:focus-visible {
  background: #fff;
  color: #171916;
}

.home-place-meta {
  margin: 22px 0 28px;
  line-height: 1.7;
}

.home-place-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

.home-doctor {
  background: #fff;
  border-top: 1px solid var(--ed-line);
}

.home-doctor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 8%;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.home-doctor figure { margin: 0; }

.home-doctor img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 55% 18%;
}

.home-sign {
  margin: 22px 0 24px;
  font-family: "Newsreader", "Iowan Old Style", Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.45;
  max-width: 28ch;
  color: #171916;
}

.home-doctor .home-subcta { color: #171916; }

.home-cares {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ed-line);
}

.home-cares > li {
  padding: 28px 32px 28px 0;
  border-bottom: 1px solid var(--ed-line);
}

.home-cares > li:nth-child(even) {
  padding-left: 32px;
  border-left: 1px solid var(--ed-line);
}

.home-cares h3 {
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 10px;
}

.home-cares p {
  margin: 0 0 14px;
  max-width: 42ch;
  line-height: 1.6;
  color: #171916;
}

.home-commit {
  background: var(--ed-green);
  color: #fff;
  padding-top: 76px;
  padding-bottom: 76px;
}

.home-commit .home-kicker,
.home-commit h2,
.home-commit .home-body,
.home-commit .home-points strong {
  color: #fff;
}

.home-commit .home-body {
  margin: 0 0 28px;
  max-width: 46ch;
}

.home-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.home-points li {
  padding: 18px 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.home-points li:last-child {
  border-right: 0;
  margin-right: 0;
}

.home-points strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.home-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 8px 0 32px;
  border-top: 1px solid var(--ed-line);
}

.home-reviews blockquote {
  margin: 0;
  padding: 22px 28px 8px 0;
}

.home-reviews blockquote + blockquote {
  padding-left: 28px;
  border-left: 1px solid var(--ed-line);
}

.home-reviews p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.5;
  color: #171916;
}

.home-reviews cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-green);
}

.home-rdv {
  background: #171916;
  color: #fff;
  padding-top: 76px;
  padding-bottom: 76px;
}

.home-rdv h2,
.home-rdv .home-kicker,
.home-rdv .home-body,
.home-rdv .home-meta,
.home-rdv a {
  color: #fff;
}

.home-rdv .home-kicker { color: var(--ed-green-soft); }

.home-rdv .btn-fill {
  background: #fff;
  color: #171916;
  border-color: #fff;
}

.home-meta { margin: 0 0 12px; line-height: 1.7; }

.home-access {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 28px;
}

.home-access a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.home-more {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid var(--ed-green);
  color: var(--ed-green);
}

@media (min-width: 601px) and (max-width: 1180px) {
  .home-hero-media img {
    object-position: 72% 26%;
  }

  .home-hero-copy {
    margin-left: clamp(12px, 3vw, 32px);
    max-width: 520px;
    padding: 0 0 52px;
  }

  .home-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 2.85rem);
    line-height: 1.1;
    max-width: 13ch;
  }

  .home-hero-veil {
    background:
      linear-gradient(
        90deg,
        rgba(23, 25, 22, 0.84) 0%,
        rgba(23, 25, 22, 0.58) 46%,
        rgba(23, 25, 22, 0.12) 100%
      );
  }
}

@media (max-width: 980px) {

  .home-cares,
  .home-reviews,
  .home-doctor-grid { grid-template-columns: 1fr; }

  .home-cares > li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .home-reviews blockquote + blockquote {
    padding-left: 0;
    border-left: 0;
  }

  .home-doctor img {
    max-width: 340px;
    max-height: 480px;
    aspect-ratio: 3 / 4;
    object-position: 52% 16%;
  }

  .home-block,
  .home-place,
  .home-commit,
  .home-rdv {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .home-hero + .home-block {
    padding-top: 52px;
  }

  .home-doctor-grid {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .home-points { display: block; border-top: 0; }

  .home-points li {
    margin: 0;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 600px) {
  .home-hero {
    min-height: min(820px, 100svh);
  }

  .home-hero-media img {
    object-position: 48% 18%;
  }

  .home-hero-veil {
    background:
      linear-gradient(
        180deg,
        rgba(23, 25, 22, 0.06) 0%,
        rgba(23, 25, 22, 0.18) 40%,
        rgba(23, 25, 22, 0.84) 100%
      );
  }

  .home-hero-copy {
    margin-left: 0;
    max-width: 100%;
    padding-bottom: 44px;
  }

  .home-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 10vw, 2.7rem);
    line-height: 1.06;
  }

  .home-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-block,
  .home-place,
  .home-commit,
  .home-rdv {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .home-hero + .home-block {
    padding-top: 46px;
  }

  .home-doctor-grid {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .home-doctor img {
    max-width: 100%;
    max-height: 370px;
  }
}

@media (max-width: 430px) {
  .home-hero-copy { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-ed a,
  .home .site-header { transition: none; }
  .home-hero-copy { animation: none; }
}
