/* Chirurgiens — page métier, alignée sur le design system AfterClinic */

.surgeons-page {
  --surgeon-muted: #52738e;
  --surgeon-border: #d8ebef;
  --surgeon-soft: #eefafd;
  color: var(--navy);
}

.surgeons-page main {
  overflow: hidden;
  background: #fff;
}

.surgeons-page h1,
.surgeons-page h2,
.surgeons-page h3,
.surgeons-page p {
  margin-top: 0;
}

.surgeons-page h1,
.surgeons-page h2,
.surgeons-page h3 {
  font-family: "Poppins", "Figtree", sans-serif;
}

.surgeons-page .nav-links a.active {
  color: var(--navy);
}

.surgeon-hero {
  position: relative;
  height: calc(100svh - 104px);
  min-height: 676px;
  max-height: 940px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 28%, rgba(255,255,255,.95), transparent 26%),
    linear-gradient(100deg, #effafe 0%, #f7fcfd 50%, #eaf7f9 100%);
}

.surgeon-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1440px);
  height: 100%;
}

.surgeon-hero-copy {
  position: relative;
  z-index: 4;
  width: min(56%, 840px);
  height: calc(100% - 90px);
  padding: clamp(50px, 7vh, 86px) 32px 12px 23px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.surgeon-hero-copy .eyebrow {
  flex: none;
  margin-bottom: clamp(20px, 2.8vh, 30px);
  padding: 7px 21px;
  font-size: 11px;
  letter-spacing: 1.8px;
}

.surgeon-hero h1 {
  max-width: 750px;
  margin: 0 0 clamp(22px, 3vh, 34px);
  color: var(--navy);
  font-size: 63px;
  font-weight: 600;
  letter-spacing: -2.8px;
  line-height: 1.08;
}

.surgeon-hero h1 span {
  display: block;
  color: var(--cyan);
}

.surgeon-hero-lead {
  max-width: 650px;
  margin: 0;
  color: #476b88;
  font-size: 19px;
  line-height: 1.45;
}

.surgeon-hero-actions {
  margin-top: clamp(24px, 4vh, 42px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.surgeon-hero-actions .button {
  min-height: 54px;
  padding-inline: 23px;
  font-size: 13px;
}

.surgeon-hero-actions .button.secondary .icon:first-child {
  width: 21px;
  height: 21px;
}

.surgeon-hero-visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: calc(50% - 50vw);
  bottom: 90px;
  left: 36%;
  background:
    linear-gradient(90deg, #effafe 0%, rgba(239,250,254,.88) 10%, rgba(239,250,254,.25) 30%, transparent 50%),
    url("surgeon-hero.jpg") 58% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 100%);
}

.surgeon-hero-note {
  position: absolute;
  top: 24%;
  left: 22%;
  margin: 0;
  color: #47728b;
  font-family: "Caveat", cursive;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-5deg);
}

.surgeon-trust-card {
  position: absolute;
  right: max(34px, calc((100vw - 1380px) / 2 + 12px));
  bottom: 25px;
  min-width: 245px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #55748b;
  background: rgba(255,255,255,.95);
  border: 1px solid #dcecf0;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(6,55,91,.15);
  backdrop-filter: blur(9px);
  font-size: 11px;
  line-height: 1.25;
}

.surgeon-trust-card .icon {
  width: 37px;
  height: 37px;
  flex: none;
  color: var(--cyan);
}

.surgeon-trust-card strong {
  display: block;
  margin-block: 1px;
  color: var(--navy);
  font-size: 14px;
}

.surgeon-hero .benefit-bar {
  height: 90px;
}

.surgeon-hero .benefit-grid {
  min-height: 90px;
  gap: 30px;
}

.surgeon-kicker {
  margin-bottom: 11px;
  color: #43889d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.surgeon-practice {
  padding: 66px 0;
  background: #fff;
}

.surgeon-practice-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
}

.surgeon-practice-photo {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: url("surgeon-consultation.jpg") center / cover no-repeat;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(10,60,91,.13);
}

.surgeon-practice-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(255,255,255,.16));
  pointer-events: none;
}

.surgeon-practice-photo p {
  position: absolute;
  z-index: 2;
  top: 32px;
  right: 25px;
  margin: 0;
  color: #4b7189;
  font-family: "Caveat", cursive;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.06;
  text-align: center;
  transform: rotate(-5deg);
}

.surgeon-practice-copy h2,
.surgeon-section-head h2,
.surgeon-final-copy h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.surgeon-practice-copy > p {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--surgeon-muted);
  font-size: 16px;
  line-height: 1.55;
}

.surgeon-practice-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.surgeon-practice-benefits article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #678297;
  font-size: 10px;
  line-height: 1.25;
}

.surgeon-practice-benefits .icon {
  width: 35px;
  height: 35px;
  flex: none;
  color: var(--cyan);
}

.surgeon-practice-benefits strong {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.surgeon-tools {
  padding: 62px 0 66px;
  background:
    radial-gradient(circle at 8% 90%, rgba(8,180,194,.08), transparent 25%),
    linear-gradient(180deg, #f7fcfd, #edf9fb);
}

.surgeon-section-head {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: center;
}

.surgeon-section-head h2 {
  margin-bottom: 0;
}

.surgeon-tools-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.surgeon-tools-grid article {
  min-width: 0;
  padding: 0 24px 24px;
  text-align: center;
  border-left: 1px solid #dbecef;
}

.surgeon-tools-grid article:first-child {
  border-left: 0;
}

.surgeon-tool-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--cyan-dark);
  background: #dff6f9;
  border: 1px solid #ccecf1;
  border-radius: 50%;
}

.surgeon-tool-icon .icon {
  width: 31px;
  height: 31px;
}

.surgeon-tools-grid h3 {
  min-height: 2.6em;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

.surgeon-tools-grid p {
  margin-bottom: 0;
  color: #617f95;
  font-size: 12px;
  line-height: 1.45;
}

.surgeon-structure-cta {
  min-height: 82px;
  margin-top: 22px;
  padding: 14px 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.84);
  border: 1px solid #d9edf1;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(10,69,101,.06);
}

.surgeon-structure-cta > .icon {
  width: 43px;
  height: 43px;
  color: var(--cyan);
}

.surgeon-structure-cta > span {
  color: #617d92;
  font-size: 12px;
  line-height: 1.4;
}

.surgeon-structure-cta strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 14px;
}

.surgeon-structure-cta .button {
  min-height: 45px;
  white-space: nowrap;
  font-size: 12px;
}

.surgeon-testimonials {
  padding: 62px 0;
  background: #fff;
}

.surgeon-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.surgeon-testimonial-grid > article {
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid #dcecef;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(10,65,98,.07);
}

.surgeon-testimonial-top {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.surgeon-testimonial-top img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(13,65,96,.12);
}

.surgeon-testimonial-top p {
  margin-bottom: 0;
  color: #4f7088;
  font-size: 12px;
  line-height: 1.5;
}

.surgeon-testimonial-meta {
  margin-top: 16px;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #e4eff2;
}

.surgeon-stars {
  color: #ffc107;
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.surgeon-testimonial-meta > span:last-child {
  color: #738b9d;
  font-size: 9px;
  line-height: 1.3;
  text-align: right;
}

.surgeon-testimonial-meta strong {
  display: block;
  color: var(--navy);
  font-size: 11px;
}

.surgeon-final {
  padding: 0 0 68px;
  background: #fff;
}

.surgeon-final-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(234,248,251,.08) 0%, rgba(238,249,251,.88) 48%, #edf9fb 100%),
    url("surgeon-cta.jpg") left center / cover no-repeat;
  border: 1px solid #d9ebef;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(9,66,99,.1);
}

.surgeon-final-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 58%);
  margin-left: 20%;
  text-align: center;
}

.surgeon-final-copy h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.surgeon-final-copy p {
  margin-bottom: 20px;
  color: var(--surgeon-muted);
  font-size: 14px;
}

.surgeon-final-copy .button {
  min-height: 48px;
}

.surgeon-final-note {
  position: absolute;
  right: 35px;
  bottom: 30px;
  width: 155px;
  margin: 0;
  color: #4d748c;
  font-family: "Caveat", cursive;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-6deg);
}

@media (max-width: 1180px) {
  .surgeon-hero h1 {
    font-size: 54px;
  }

  .surgeon-hero-visual {
    left: 40%;
  }

  .surgeon-hero-note {
    display: none;
  }

  .surgeon-tools-grid article {
    padding-inline: 16px;
  }

  .surgeon-final-note {
    display: none;
  }
}

@media (max-width: 920px) {
  .surgeon-hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .surgeon-hero-inner {
    width: 100%;
    height: auto;
  }

  .surgeon-hero-copy {
    width: min(calc(100% - 48px), 760px);
    height: auto;
    margin-inline: auto;
    padding: 48px 0 34px;
    align-items: center;
    text-align: center;
  }

  .surgeon-hero-copy .eyebrow {
    margin-inline: auto;
  }

  .surgeon-hero h1 {
    font-size: clamp(42px, 8vw, 56px);
  }

  .surgeon-hero-lead {
    margin-inline: auto;
  }

  .surgeon-hero-actions {
    justify-content: center;
  }

  .surgeon-hero-visual {
    position: relative;
    inset: auto;
    width: 100vw;
    height: 410px;
    margin-left: calc(50% - 50vw);
    background:
      linear-gradient(180deg, #effafe 0%, rgba(239,250,254,.18) 18%, transparent 42%),
      url("surgeon-hero.jpg") 68% center / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 100%);
  }

  .surgeon-trust-card {
    right: 20px;
    bottom: 20px;
  }

  .surgeon-hero .benefit-bar {
    position: relative;
    height: auto;
  }

  .surgeon-hero .benefit-grid {
    min-height: 0;
    padding-block: 18px;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
  }

  .surgeon-practice-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .surgeon-practice-photo {
    min-height: 380px;
  }

  .surgeon-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .surgeon-tools-grid article:nth-child(odd) {
    border-left: 0;
  }

  .surgeon-tools-grid article:nth-child(5) {
    grid-column: 1 / -1;
    width: 50%;
    margin-inline: auto;
  }

  .surgeon-structure-cta {
    grid-template-columns: auto 1fr;
  }

  .surgeon-structure-cta .button {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .surgeon-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .surgeon-final-copy {
    width: min(620px, calc(100% - 48px));
    margin-left: 28%;
  }
}

@media (max-width: 700px) {
  .surgeon-hero-copy {
    width: min(calc(100% - 28px), 520px);
    padding: 36px 0 26px;
  }

  .surgeon-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 10.5vw, 48px);
    letter-spacing: -1.9px;
  }

  .surgeon-hero-lead {
    font-size: 16px;
  }

  .surgeon-hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .surgeon-hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .surgeon-hero-visual {
    height: 320px;
    background-position: center top, 71% center;
  }

  .surgeon-trust-card {
    right: 14px;
    bottom: 14px;
    min-width: 0;
    width: min(250px, calc(100% - 28px));
  }

  .surgeon-hero .benefit-grid {
    gap: 14px;
  }

  .surgeon-practice,
  .surgeon-tools,
  .surgeon-testimonials {
    padding: 48px 0;
  }

  .surgeon-practice-photo {
    min-height: 300px;
  }

  .surgeon-practice-photo p {
    display: none;
  }

  .surgeon-practice-copy h2,
  .surgeon-section-head h2,
  .surgeon-final-copy h2 {
    font-size: 30px;
  }

  .surgeon-practice-copy > p {
    font-size: 15px;
  }

  .surgeon-practice-benefits {
    grid-template-columns: 1fr;
  }

  .surgeon-practice-benefits article {
    font-size: 12px;
  }

  .surgeon-tools-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .surgeon-tools-grid article,
  .surgeon-tools-grid article:nth-child(odd) {
    padding: 0 10px 24px;
    border-left: 0;
    border-bottom: 1px solid #dbecef;
  }

  .surgeon-tools-grid article:last-child,
  .surgeon-tools-grid article:nth-child(5) {
    grid-column: auto;
    width: auto;
    border-bottom: 0;
  }

  .surgeon-tools-grid h3 {
    min-height: 0;
  }

  .surgeon-structure-cta {
    padding: 22px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .surgeon-structure-cta > .icon {
    margin-inline: auto;
  }

  .surgeon-structure-cta .button {
    width: 100%;
  }

  .surgeon-final {
    padding-bottom: 48px;
  }

  .surgeon-final-card {
    min-height: 390px;
    align-items: flex-end;
    background:
      linear-gradient(180deg, transparent 0%, rgba(238,249,251,.9) 42%, #edf9fb 68%),
      url("surgeon-cta.jpg") 28% top / auto 58% no-repeat,
      #edf9fb;
  }

  .surgeon-final-copy {
    width: 100%;
    margin: 0;
    padding: 200px 22px 28px;
  }

  .surgeon-final-copy .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .surgeon-hero .benefit-grid {
    grid-template-columns: 1fr;
  }

  .surgeon-testimonial-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .surgeon-testimonial-meta > span:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .surgeons-page *,
  .surgeons-page *::before,
  .surgeons-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
