/* Page Patients — AfterClinic */

.patients-page {
  --patient-surface: #f3fbfd;
  --patient-surface-strong: #e8f8fb;
  --patient-border: #d7ebf0;
  --patient-ink: #073f6b;
  --patient-muted: #58768d;
}

.patients-page main {
  background: #fff;
}

.patients-page h1,
.patients-page h2,
.patients-page h3,
.patients-page .patient-section-kicker,
.patients-page .patient-card-label {
  font-family: "Poppins", "Figtree", sans-serif;
}

.patient-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.96), transparent 30%),
    linear-gradient(100deg, #effafe 0%, #f7fcfd 49%, #eaf7f9 100%);
}

.patient-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%);
  mask-image: linear-gradient(90deg, #000, transparent 60%);
}

.patient-hero-inner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.patient-hero-copy {
  position: relative;
  z-index: 4;
  width: 52%;
  max-width: 700px;
  padding: 48px 0 50px;
}

.patient-kicker,
.patient-section-kicker {
  width: max-content;
  margin: 0 0 14px;
  padding: 7px 15px;
  color: #247d94;
  background: #dff5f8;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
}

.patient-hero h1 {
  max-width: 700px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(44px, 4.25vw, 64px);
  font-weight: 600;
  letter-spacing: -2.4px;
  line-height: 1.04;
}

.patient-hero h1 span,
.patient-section-head h2 span,
.patient-daily h2 span {
  color: var(--cyan);
}

.patient-hero h1 span {
  display: block;
}

.patient-hero-lead {
  max-width: 590px;
  margin: 0 0 24px;
  color: #496c86;
  font-size: 17px;
  line-height: 1.52;
}

.patient-hero-benefits {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.patient-hero-benefits > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.3;
}

.patient-hero-benefits strong {
  font-weight: 650;
}

.patient-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--cyan-dark);
  background: #e1f7fa;
  border-radius: 12px;
}

.patient-icon .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.patient-app-badges {
  margin-top: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.patient-app-badges a {
  width: 156px;
  height: 50px;
  display: block;
  flex: none;
  line-height: 0;
  border-radius: 7px;
  transition: opacity .2s ease, transform .2s ease;
}

.patient-app-badges a:hover {
  opacity: .86;
  transform: translateY(-1px);
}

.patient-app-badges img {
  width: 156px;
  height: 50px;
  display: block;
  object-fit: fill;
}

.patient-hero-trust {
  margin-top: 14px;
  max-width: 312px;
  color: #4a6578;
  font-size: 13px;
  line-height: 1.4;
}

.patient-hero-trust .testimonial-trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.patient-hero-trust .trustpilot-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #191919;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.2px;
}

.patient-hero-trust .trustpilot-logo svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.patient-hero-trust .hero-trust-stars {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: auto;
}

.patient-hero-trust .hero-trust-stars span {
  color: #00b67a;
  font-size: 16px;
  line-height: 1;
}

.patient-hero-trust .hero-trust-caption {
  margin: 0;
  font-size: 12px;
  text-align: left;
}

.patient-hero-trust .hero-trust-caption strong {
  color: #243647;
  font-weight: 700;
}

.patient-hero-visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: calc(50% - 50vw);
  bottom: 0;
  width: 57vw;
}

.patient-hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      #effafe 0%,
      rgba(239,250,254,.98) 9%,
      rgba(239,250,254,.82) 20%,
      rgba(239,250,254,.40) 34%,
      rgba(239,250,254,.08) 49%,
      transparent 62%),
    url("patient-hospital-discharge-hero.jpg") 72% 42% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 20%, rgba(0,0,0,.7) 38%, #000 53%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 20%, rgba(0,0,0,.7) 38%, #000 53%);
}

.patient-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(239,250,254,.28), transparent 20%, transparent 78%, rgba(239,250,254,.42)),
    radial-gradient(ellipse 90% 85% at 70% 45%, transparent 38%, rgba(239,250,254,.13));
}

.patient-reassurance {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - 1340px) / 2 + 10px));
  bottom: 38px;
  width: min(340px, calc(100vw - 48px));
  padding: 22px 22px 20px;
  display: grid;
  gap: 14px;
  color: var(--navy);
  background: rgba(255,255,255,.98);
  border: 1px solid #b8e4ec;
  border-left: 4px solid var(--cyan);
  border-radius: 18px;
  box-shadow:
    0 22px 50px rgba(0,59,103,.2),
    0 0 0 1px rgba(255,255,255,.85) inset;
  backdrop-filter: blur(12px);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.35;
}

.patient-reassurance span {
  display: flex;
  align-items: center;
  gap: 14px;
}

.patient-reassurance .icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 8px;
  color: var(--cyan-dark);
  background: linear-gradient(145deg, #dff5f8, #c8eef3);
  border: 1px solid rgba(8,180,194,.28);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(8,180,194,.18);
  stroke-width: 2.1;
}

.patient-enrolment,
.patient-steps,
.patient-testimonials,
.patient-faq {
  padding: 68px 0;
}

.patient-enrolment {
  background:
    radial-gradient(circle at 86% 10%, rgba(8,180,194,.08), transparent 27%),
    #fff;
}

.patient-section-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.patient-section-head .patient-section-kicker {
  margin-inline: auto;
}

.patient-section-head h2,
.patient-daily h2,
.patient-final-cta h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(31px, 3vw, 43px);
  font-weight: 650;
  letter-spacing: -1.25px;
  line-height: 1.1;
}

.patient-section-head > p {
  margin: 0;
  color: var(--patient-muted);
  font-size: 15px;
}

.patient-enrolment-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(105deg, #f4fcfe, #e9f8fb);
  border: 1px solid #dceef2;
  border-radius: 20px;
}

.patient-enrolment-card {
  position: relative;
  min-height: 315px;
  padding: 28px 30px 25px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: rgba(255,255,255,.96);
  border: 1px solid #e1eef2;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(15,77,112,.06);
}

.patient-enrolment-content {
  display: grid;
  grid-template-rows: auto auto minmax(3em, auto) auto 1fr;
  align-content: start;
  min-height: 100%;
}

.patient-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--cyan-dark);
  background: #e6f9fb;
  border-radius: 50%;
}

.patient-card-icon .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1.8;
}

.patient-card-label {
  margin: 1px 0 5px;
  color: #3f8799;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.patient-enrolment-card h3 {
  margin: 0 0 7px;
  min-height: 2.6em;
  color: var(--navy);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.25;
}

.patient-enrolment-card p:not(.patient-card-label) {
  max-width: 54ch;
  margin: 0 0 16px;
  min-height: 3em;
  color: var(--patient-muted);
  font-size: 13px;
  line-height: 1.5;
}

.patient-enrolment-card .button {
  min-height: 46px;
  margin: 0 0 16px;
  padding-inline: 18px;
  font-size: 12px;
  align-self: start;
  justify-self: start;
}

.patient-enrolment-card .button.secondary {
  border-color: #b4dfe6;
}

.patient-enrolment-card .button.secondary .icon:first-child {
  width: 16px;
}

.patient-check-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #58778e;
  font-size: 15px;
  line-height: 1.45;
  list-style: none;
}

.patient-check-list li {
  position: relative;
  padding-left: 24px;
}

.patient-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--cyan-dark);
  font-size: 15px;
  font-weight: 800;
}

.patient-enrolment-or {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #edf9fb;
  border: 4px solid #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 13px rgba(0,59,103,.09);
}

.patient-steps {
  background: linear-gradient(180deg, #fff, #f5fbfc);
}

.patient-steps-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
}

.patient-steps-grid li {
  position: relative;
  min-width: 0;
  padding: 25px 21px 23px;
  text-align: center;
  background: #fff;
  border: 1px solid #e1eef2;
  border-radius: 17px;
  box-shadow: 0 8px 26px rgba(15,77,112,.07);
}

.patient-steps-grid li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 44px;
  right: -23px;
  color: #6694ae;
  font-size: 26px;
  line-height: 1;
}

.patient-step-number {
  position: absolute;
  top: 17px;
  left: 17px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--cyan-dark);
  background: #e4f8fb;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.patient-step-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--cyan);
}

.patient-step-icon .icon {
  width: 52px;
  height: 52px;
  stroke-width: 1.55;
}

.patient-steps-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 650;
}

.patient-steps-grid p {
  margin: 0;
  color: var(--patient-muted);
  font-size: 13px;
  line-height: 1.5;
}

.patient-daily {
  padding: 72px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 92%, rgba(8,180,194,.1), transparent 29%),
    linear-gradient(110deg, #eaf9fc, #f8fcfd);
}

.patient-daily .patient-daily-layout {
  padding-bottom: 44px;
}

.patient-daily-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 50px;
}

.patient-daily-copy .patient-section-kicker {
  margin-bottom: 16px;
}

.patient-daily-copy > p {
  max-width: 55ch;
  margin: 0 0 20px;
  color: var(--patient-muted);
  font-size: 15px;
  line-height: 1.6;
}

.patient-daily-alert {
  max-width: 480px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #456c84;
  background: rgba(255,255,255,.78);
  border: 1px solid #d6ebef;
  border-left: 4px solid var(--cyan);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.patient-daily-alert .icon {
  width: 28px;
  height: 28px;
  color: var(--cyan-dark);
}

.patient-daily-alert strong {
  display: block;
  color: var(--navy);
}

.patient-daily-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.patient-daily-grid article {
  min-width: 0;
  padding: 20px 20px 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid #dfeef2;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(15,77,112,.06);
}

.patient-daily-grid article > span {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  color: var(--cyan-dark);
  background: #e6f8fa;
  border-radius: 12px;
}

.patient-daily-grid .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
}

.patient-daily-grid h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 650;
}

.patient-daily-grid p {
  margin: 0;
  color: var(--patient-muted);
  font-size: 12px;
  line-height: 1.48;
}

.patient-testimonials {
  background: #fff;
}

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

.patient-testimonial-grid article {
  min-width: 0;
  padding: 22px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  background: #fff;
  border: 1px solid #e1edf1;
  border-radius: 15px;
  box-shadow: 0 7px 24px rgba(15,77,112,.07);
}

.patient-testimonial-grid img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #edf8fa;
}

.patient-quote-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  fill: var(--cyan);
}

.patient-testimonial-grid p {
  margin: 0 0 11px;
  color: #496d85;
  font-size: 13px;
  line-height: 1.55;
}

.patient-testimonial-grid span {
  display: block;
  color: #6c8799;
  font-size: 10px;
  line-height: 1.4;
}

.patient-testimonial-grid strong {
  color: var(--navy);
  font-weight: 700;
}

.patient-security {
  padding: 23px 0;
  background: #effafd;
  border-top: 1px solid #d9edf2;
  border-bottom: 1px solid #d9edf2;
}

.patient-daily .patient-security {
  margin-top: 0;
  background: rgba(239, 250, 253, .95);
  border-top: 1px solid rgba(154, 220, 230, .65);
  border-bottom: 0;
}

.patient-security-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
}

.patient-security-grid > div {
  min-height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #55758c;
  font-size: 11px;
  line-height: 1.25;
}

.patient-security-grid > div + div {
  border-left: 1px solid #cfe6eb;
}

.patient-security-grid .icon {
  width: 30px;
  height: 30px;
  color: var(--cyan-dark);
}

.patient-security-grid span {
  min-width: 0;
}

.patient-security-grid strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-weight: 650;
}

.patient-faq {
  background: #fff;
}

.patient-faq-head {
  margin-bottom: 28px;
}

.patient-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px 18px;
}

.patient-faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbeaf0;
  border-radius: 10px;
  box-shadow: 0 3px 13px rgba(15,77,112,.035);
}

.patient-faq-item summary {
  min-height: 56px;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.patient-faq-item summary::-webkit-details-marker {
  display: none;
}

.patient-faq-item summary span {
  color: var(--cyan-dark);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}

.patient-faq-item[open] {
  border-color: #a9dbe4;
  box-shadow: 0 8px 22px rgba(15,77,112,.07);
}

.patient-faq-item[open] summary span {
  transform: rotate(45deg);
}

.patient-faq-item p {
  margin: 0;
  padding: 0 17px 17px;
  color: var(--patient-muted);
  font-size: 13px;
  line-height: 1.55;
}

.patient-faq-more {
  width: max-content;
  margin: 26px auto 0;
  display: flex;
}

.patient-final-cta {
  padding: 0 0 48px;
}

.patient-final-cta-inner {
  min-height: 148px;
  padding: 26px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(circle at 13% 50%, rgba(0,183,199,.13), transparent 19%),
    linear-gradient(100deg, #eaf9fc, #effbfd);
  border: 1px solid #d8edf2;
  border-radius: 18px;
}

.patient-final-cta p {
  margin: 0 0 5px;
  color: #36869b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.patient-final-cta h2 {
  margin-bottom: 5px;
  font-size: 29px;
}

.patient-final-cta span {
  color: var(--patient-muted);
  font-size: 13px;
}

.patient-final-cta .button {
  min-width: 230px;
  min-height: 58px;
  border-radius: 10px;
}

@media (max-width: 1180px) {
  .patient-hero-copy {
    width: 55%;
  }

  .patient-hero h1 {
    font-size: clamp(45px, 5.2vw, 58px);
  }

  .patient-hero-visual {
    width: 59vw;
  }

  .patient-reassurance {
    right: 24px;
  }

  .patient-enrolment-card {
    padding: 25px 24px;
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .patient-card-icon {
    width: 52px;
    height: 52px;
  }

  .patient-steps-grid {
    gap: 20px;
  }

  .patient-steps-grid li:not(:last-child)::after {
    right: -17px;
  }

  .patient-security-grid > div {
    padding-inline: 12px;
  }
}

@media (max-width: 920px) {
  .patient-hero,
  .patient-hero-inner {
    min-height: 0;
  }

  .patient-hero-inner {
    width: 100%;
    display: block;
  }

  .patient-hero-copy {
    width: min(calc(100% - 44px), 720px);
    max-width: none;
    margin-inline: auto;
    padding: 42px 0 30px;
    text-align: center;
  }

  .patient-kicker {
    margin-inline: auto;
  }

  .patient-hero h1,
  .patient-hero-lead {
    margin-inline: auto;
  }

  .patient-hero-benefits {
    margin-inline: auto;
  }

  .patient-hero-benefits > div {
    justify-content: flex-start;
    text-align: left;
  }

  .patient-app-badges {
    justify-content: center;
  }

  .patient-hero-trust {
    margin-inline: auto;
  }

  .patient-hero-trust .hero-trust-caption {
    text-align: center;
  }

  .patient-hero-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 390px;
  }

  .patient-hero-photo {
    background:
      linear-gradient(180deg, #effafe 0%, rgba(239,250,254,.72) 11%, transparent 31%),
      url("patient-hospital-discharge-hero.jpg") 68% 40% / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 100%);
  }

  .patient-reassurance {
    right: 24px;
    bottom: 24px;
  }

  .patient-enrolment,
  .patient-steps,
  .patient-testimonials,
  .patient-faq {
    padding: 54px 0;
  }

  .patient-enrolment-card {
    display: block;
  }

  .patient-card-icon {
    margin-bottom: 16px;
  }

  .patient-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .patient-steps-grid li:not(:last-child)::after {
    display: none;
  }

  .patient-daily {
    padding: 56px 0 0;
  }

  .patient-daily .patient-daily-layout {
    padding-bottom: 30px;
  }

  .patient-daily-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .patient-daily-copy {
    max-width: 720px;
    text-align: center;
    margin-inline: auto;
  }

  .patient-daily-copy .patient-section-kicker,
  .patient-daily-alert {
    margin-inline: auto;
  }

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

  .patient-security-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 16px;
  }

  .patient-security-grid > div:nth-child(4) {
    border-left: 0;
  }

  .patient-final-cta-inner {
    padding-inline: 28px;
  }
}

@media (max-width: 700px) {
  .patient-hero-copy {
    width: min(calc(100% - 28px), 560px);
    padding-top: 34px;
  }

  .patient-hero h1 {
    font-size: clamp(38px, 10.5vw, 50px);
    letter-spacing: -1.8px;
  }

  .patient-hero-lead {
    max-width: 38ch;
    font-size: 16px;
  }

  .patient-hero-benefits {
    gap: 10px;
  }

  .patient-hero-benefits > div {
    font-size: 14px;
  }

  .patient-enrolment-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px;
  }

  .patient-enrolment-card {
    min-height: 0;
  }

  .patient-enrolment-or {
    top: 50%;
    width: 40px;
    height: 40px;
  }

  .patient-security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .patient-security-grid > div {
    border-left: 0 !important;
  }

  .patient-security-grid > div:nth-child(even) {
    border-left: 1px solid #cfe6eb !important;
  }

  .patient-security-grid > div:last-child {
    grid-column: 1 / -1;
    border-left: 0 !important;
  }

  .patient-faq-grid {
    grid-template-columns: 1fr;
  }

  .patient-final-cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .patient-final-cta .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .patient-kicker,
  .patient-section-kicker {
    font-size: 9px;
  }

  .patient-hero-copy {
    padding-bottom: 24px;
  }

  .patient-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(36px, 11vw, 46px);
  }

  .patient-hero-benefits {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .patient-hero-benefits > div {
    font-size: 15px;
  }

  .patient-app-badges {
    gap: 7px;
  }

  .patient-app-badges a,
  .patient-app-badges img {
    width: 132px;
    height: 42px;
  }

  .patient-hero-visual {
    height: 330px;
  }

  .patient-hero-photo {
    background-position: 64% 48%;
  }

  .patient-reassurance {
    right: 14px;
    bottom: 14px;
    width: min(300px, calc(100% - 28px));
    padding: 18px 18px 16px;
    gap: 12px;
    font-size: 14px;
  }

  .patient-reassurance .icon {
    width: 34px;
    height: 34px;
    padding: 7px;
  }

  .patient-enrolment,
  .patient-steps,
  .patient-testimonials,
  .patient-faq {
    padding: 46px 0;
  }

  .patient-section-head {
    margin-bottom: 25px;
  }

  .patient-section-head h2,
  .patient-daily h2 {
    font-size: 29px;
  }

  .patient-section-head > p,
  .patient-daily-copy > p {
    font-size: 16px;
  }

  .patient-enrolment-grid {
    padding: 10px;
  }

  .patient-enrolment-card {
    padding: 23px 20px;
  }

  .patient-enrolment-card h3 {
    font-size: 19px;
  }

  .patient-enrolment-card p:not(.patient-card-label),
  .patient-check-list,
  .patient-steps-grid p,
  .patient-daily-grid p,
  .patient-testimonial-grid p,
  .patient-faq-item summary,
  .patient-faq-item p {
    font-size: 15px;
  }

  .patient-enrolment-card .button {
    width: 100%;
    min-height: 48px;
  }

  .patient-enrolment-or {
    position: relative;
    top: auto;
    left: auto;
    margin: -29px auto;
    transform: none;
  }

  .patient-steps-grid,
  .patient-daily-grid {
    grid-template-columns: 1fr;
  }

  .patient-steps-grid li {
    padding: 24px 22px;
  }

  .patient-steps-grid h3,
  .patient-daily-grid h3 {
    font-size: 18px;
  }

  .patient-daily {
    padding: 48px 0;
  }

  .patient-daily-alert {
    text-align: left;
    font-size: 14px;
  }

  .patient-daily-grid article {
    padding: 20px;
  }

  .patient-testimonial-grid article {
    padding: 20px;
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .patient-testimonial-grid img {
    width: 60px;
    height: 60px;
  }

  .patient-security-grid > div {
    padding: 0 7px;
    font-size: 10px;
  }

  .patient-security-grid .icon {
    width: 27px;
    height: 27px;
  }

  .patient-faq-item summary {
    min-height: 62px;
  }

  .patient-faq-more {
    width: 100%;
    min-height: 52px;
  }

  .patient-final-cta {
    padding: 0 0 38px;
  }

  .patient-final-cta-inner {
    padding: 24px 20px;
  }

  .patient-final-cta h2 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .patient-app-badges a,
  .patient-faq-item summary span {
    transition: none;
  }
}

/* Gouttières identiques aux autres pages site-shell (contact, etc.) */
.patients-page .testimonials .container {
  width: min(calc(100% - 100px), var(--container));
}

@media (max-width: 1180px) {
  .patients-page .testimonials .container {
    width: min(calc(100% - 48px), 1080px);
  }
}

@media (max-width: 820px) {
  .patients-page .testimonials .container {
    width: min(calc(100% - 32px), 700px);
  }
}

@media (max-width: 560px) {
  .patients-page .testimonials .container {
    width: min(calc(100% - 28px), 480px);
  }

  .patient-final-cta-inner {
    padding-inline: 0;
  }
}

/* Maquette Patients — proportions et rythme compacts */

@media (max-width: 0px) {

.patients-page .topbar {
  display: none;
}

.patients-page footer {
  height: auto;
}

.patients-page .navbar .container {
  width: min(calc(100% - 100px), 1340px);
}

.patients-page .nav-inner {
  min-height: 84px;
  height: 84px;
  align-items: center;
  gap: 20px;
}

.patients-page .navbar .brand {
  gap: 11px;
}

.patients-page .navbar .brand-mark {
  width: 56px;
  height: 56px;
}

.patients-page .navbar .brand-letters {
  font-size: 23px;
}

.patients-page .navbar .brand-text-stack .brand-tagline {
  margin-top: 5px;
  font-size: 10.5px;
}

.patients-page .nav-links {
  gap: clamp(16px, 1.7vw, 27px);
  font-size: 10.5px;
  font-weight: 500;
}

.patients-page .nav-links a {
  min-height: 84px;
  white-space: nowrap;
}

.patients-page .nav-actions {
  gap: 9px;
}

.patients-page .nav-actions .button {
  width: auto;
  min-height: 46px;
  padding-inline: 17px;
  border-radius: 7px;
  box-shadow: none;
  font-size: 10.5px;
  white-space: nowrap;
}

.patients-page .nav-actions .patient-nav-register {
  min-width: 126px;
}

.patients-page .nav-actions .patient-nav-login {
  min-width: 114px;
  border-color: #8acfd8;
}

.patients-page .nav-actions .lang-switch-toggle {
  min-width: 45px;
  min-height: 44px;
  padding: 8px 6px;
  gap: 5px;
  background: transparent;
}

.patients-page .nav-actions .lang-switch-toggle [data-lang-code] {
  display: none;
}

.patients-page .nav-actions .lang-switch-flag {
  width: 18px;
  height: 18px;
  border-radius: 2px;
}

.patient-hero-download {
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.patient-hero-download .patient-app-badges,
.patient-hero-download .patient-hero-trust {
  margin-top: 0;
}

.patient-daily,
.patient-final-cta {
  display: none;
}

@media (min-width: 921px) {
  .patient-hero,
  .patient-hero-inner {
    height: 428px;
    min-height: 428px;
  }

  .patient-hero-inner {
    align-items: stretch;
  }

  .patient-hero-copy {
    width: 760px;
    max-width: 760px;
    height: 428px;
    margin-left: 48px;
    padding: 34px 0 22px;
  }

  .patient-hero h1 {
    max-width: 760px;
    margin-bottom: 13px;
    font-size: 56px;
    line-height: 1.01;
    letter-spacing: -2.5px;
    white-space: nowrap;
  }

  .patient-hero-lead {
    max-width: 580px;
    margin-bottom: 18px;
    font-size: 15.5px;
    line-height: 1.48;
  }

  .patient-hero-benefits {
    width: 760px;
    max-width: 760px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .patient-hero-benefits > div {
    gap: 9px;
    font-size: 13px;
    line-height: 1.2;
  }

  .patient-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .patient-icon .icon {
    width: 23px;
    height: 23px;
  }

  .patient-app-badges {
    flex: 0 0 auto;
    gap: 8px;
  }

  .patient-app-badges a,
  .patient-app-badges img {
    width: 145px;
    height: 47px;
  }

  .patient-hero-trust {
    width: 286px;
    max-width: 286px;
  }

  .patient-hero-trust .testimonial-trust-row {
    margin-bottom: 4px;
  }

  .patient-hero-trust .hero-trust-caption {
    font-size: 11px;
  }

  .patient-hero-visual {
    width: 58vw;
  }

  .patient-reassurance {
    right: max(28px, calc((100vw - 1340px) / 2 + 4px));
    bottom: 22px;
    width: 320px;
    padding: 20px 20px 18px;
    gap: 13px;
    font-size: 14.5px;
  }

  .patient-enrolment {
    min-height: 420px;
    padding: 22px 0 24px;
  }

  .patient-enrolment .patient-section-kicker {
    display: none;
  }

  .patient-enrolment .patient-section-head {
    margin-bottom: 18px;
  }

  .patient-enrolment .patient-section-head h2 {
    margin-bottom: 4px;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -.9px;
  }

  .patient-enrolment .patient-section-head > p {
    font-size: 14px;
  }

  .patient-enrolment-grid {
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
  }

  .patient-enrolment-card {
    min-height: 274px;
    height: 274px;
    padding: 18px 22px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 15px;
    border-radius: 11px;
  }

  .patient-card-icon {
    width: 50px;
    height: 50px;
  }

  .patient-card-icon .icon {
    width: 26px;
    height: 26px;
  }

  .patient-card-label {
    margin-bottom: 4px;
    font-size: 8px;
  }

  .patient-enrolment-card h3 {
    margin-bottom: 5px;
    min-height: 2.75em;
    font-size: 18px;
  }

  .patient-enrolment-card p:not(.patient-card-label) {
    margin-bottom: 10px;
    min-height: 2.95em;
    font-size: 13px;
    line-height: 1.45;
  }

  .patient-enrolment-card .button {
    min-height: 42px;
    margin-bottom: 10px;
    padding-inline: 16px;
    font-size: 11px;
  }

  .patient-enrolment-content {
    grid-template-rows: auto auto minmax(2.95em, auto) auto 1fr;
  }

  .patient-check-list {
    gap: 5px;
    font-size: 15px;
    line-height: 1.35;
  }

  .patient-check-list li {
    padding-left: 22px;
  }

  .patient-enrolment-or {
    width: 42px;
    height: 42px;
  }

  .patient-steps {
    min-height: 298px;
    padding: 22px 0;
  }

  .patient-steps .patient-section-head {
    margin-bottom: 14px;
  }

  .patient-steps .patient-section-head > p {
    display: none;
  }

  .patient-steps .patient-section-kicker,
  .patient-testimonials .patient-section-kicker,
  .patient-faq .patient-section-kicker {
    margin-bottom: 5px;
    padding: 0;
    color: #6c8799;
    background: transparent;
    border-radius: 0;
    font-size: 8px;
    letter-spacing: 1.8px;
  }

  .patient-steps .patient-section-head h2 {
    margin: 0;
    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -.8px;
  }

  .patient-steps-grid {
    height: 194px;
    gap: 22px;
  }

  .patient-steps-grid li {
    height: 194px;
    padding: 12px 16px 8px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .patient-step-number {
    top: 13px;
    left: 13px;
    width: 29px;
    height: 29px;
    font-size: 11px;
  }

  .patient-step-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 7px;
  }

  .patient-step-icon .icon {
    width: 44px;
    height: 44px;
  }

  .patient-steps-grid li:not(:last-child)::after {
    top: 38px;
    right: -19px;
    font-size: 22px;
  }

  .patient-steps-grid h3 {
    margin-bottom: 5px;
    font-size: 14px;
  }

  .patient-steps-grid p {
    font-size: 12px;
    line-height: 1.42;
  }

  .patient-testimonials {
    min-height: 220px;
    padding: 20px 0 24px;
    background: #effafd;
  }

  .patient-testimonials .patient-section-head {
    margin-bottom: 12px;
  }

  .patient-testimonials .patient-section-head h2 {
    display: none;
  }

  .patient-testimonial-grid {
    gap: 14px;
  }

  .patient-testimonial-grid article {
    min-height: 145px;
    padding: 14px 16px;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    border-radius: 11px;
  }

  .patient-testimonial-grid img {
    width: 58px;
    height: 58px;
    box-shadow: 0 0 0 4px #edf8fa;
  }

  .patient-quote-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 3px;
  }

  .patient-testimonial-grid p {
    margin-bottom: 7px;
    font-size: 12px;
    line-height: 1.4;
  }

  .patient-security {
    min-height: 112px;
    padding: 28px 0;
  }

  .patient-faq {
    min-height: 238px;
    padding: 28px 0 30px;
  }

  .patient-faq .container {
    position: relative;
  }

  .patient-faq-head {
    margin-bottom: 18px;
  }

  .patient-faq-head > p {
    display: none;
  }

  .patient-faq-head h2 {
    margin: 0;
    font-size: 27px;
    line-height: 1.15;
  }

  .patient-faq-grid {
    gap: 10px 18px;
  }

  .patient-faq-item:nth-child(n + 5) {
    display: none;
  }

  .patient-faq-item summary {
    min-height: 52px;
    padding: 10px 15px;
    font-size: 12px;
  }

  .patient-faq-more {
    position: absolute;
    top: 22px;
    right: 0;
    width: auto;
    min-height: 32px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--cyan-dark);
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 11px;
    font-weight: 600;
  }

  .patient-faq-more .icon {
    width: 15px;
    height: 15px;
  }

  .patients-page .footer-trust {
    display: none;
  }

  .patients-page .footer-main {
    gap: 22px;
    padding: 18px 0;
  }

  .patients-page .footer-about p {
    margin: 8px 0;
  }

  .patients-page .copyright {
    min-height: 42px;
  }
}

@media (max-width: 1100px) {
  .patients-page .navbar .container {
    width: min(calc(100% - 28px), 1040px);
  }

  .patients-page .nav-inner {
    min-height: 64px;
    height: 64px;
  }

  .patients-page .nav-links,
  .patients-page .nav-inner > .nav-actions {
    display: none;
  }

  .patients-page .menu-toggle {
    display: inline-flex;
  }

  .patients-page .navbar .brand-mark {
    width: 44px;
    height: 44px;
  }

  .patients-page .navbar .brand-letters {
    font-size: 19px;
  }

  .patients-page .navbar .brand-text-stack .brand-tagline {
    font-size: 8.5px;
  }

  .patients-page .mobile-menu {
    position: absolute;
    z-index: 30;
    top: 100%;
    right: 0;
    left: 0;
    padding: 10px 16px 20px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(12, 56, 90, .12);
  }

  .patients-page .mobile-menu.open {
    display: block;
  }

  .patients-page .mobile-menu a {
    min-height: 48px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    color: var(--navy);
    border-bottom: 1px solid #edf5f7;
    font-weight: 600;
  }

  .patients-page .mobile-menu .button {
    margin-top: 10px;
    justify-content: center;
  }
}

@media (max-width: 920px) {
  .patient-hero-download {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .patient-hero-trust {
    width: min(100%, 312px);
  }
}

}

/* Hero Patients — mêmes métriques que le hero de la home */

.patient-hero,
.patient-hero-inner {
  height: calc(100svh - 104px);
  min-height: 676px;
  max-height: 940px;
}

.patient-hero {
  background:
    radial-gradient(circle at 11% 26%, rgba(255,255,255,.9), transparent 24%),
    linear-gradient(100deg, #effafe 0%, #f7fcfd 50%, #eaf7f9 100%);
}

.patient-hero::before {
  opacity: .16;
  background-size: 58px 58px;
}

.patient-hero-inner {
  width: min(100%, 1440px);
  position: relative;
  display: block;
  height: 100%;
}

.patient-hero-copy {
  width: min(56%, 840px);
  max-width: none;
  height: calc(100% - 90px);
  margin: 0;
  padding: clamp(50px, 7vh, 86px) 32px 12px 23px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  text-align: left;
}

.patient-kicker {
  margin: 0 0 clamp(20px, 2.8vh, 30px);
  padding: 7px 21px;
  flex: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  line-height: 1.45;
}

.patient-hero h1 {
  max-width: 100%;
  margin: 0 0 clamp(22px, 3vh, 34px);
  font-size: 63px;
  font-weight: 600;
  letter-spacing: -2.8px;
  line-height: 1.1;
}

.patient-hero-lead {
  max-width: 100%;
  margin: 0;
  color: #476b88;
  font-size: 19px;
  line-height: 1.45;
  flex: 0 0 auto;
}

.patient-hero-benefits,
.patient-app-badges,
.patient-hero-trust {
  flex: none;
}

.patient-hero-visual {
  top: 0;
  right: calc(50% - 50vw);
  bottom: 90px;
  left: 34%;
  width: auto;
}

@media (max-width: 1180px) {
  .patient-hero-inner {
    width: min(calc(100% - 48px), 1080px);
  }

  .patient-hero-copy {
    width: 58%;
    height: calc(100% - 90px);
    padding-left: 0;
  }

  .patient-hero h1 {
    font-size: clamp(48px, 5.2vw, 60px);
  }

  .patient-hero-lead {
    font-size: 17px;
  }

  .patient-hero-visual {
    right: calc(50% - 50vw);
    left: 42%;
    width: auto;
  }
}

@media (max-width: 820px) {
  .patient-hero,
  .patient-hero-inner {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .patient-hero {
    display: flex;
    flex-direction: column;
  }

  .patient-hero-inner {
    width: min(calc(100% - 48px), 1080px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0;
    order: 1;
  }

  .patient-hero-copy {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 34px 0 12px;
    display: block;
    text-align: center;
  }

  .patient-kicker,
  .patient-hero h1,
  .patient-hero-lead,
  .patient-hero-benefits,
  .patient-app-badges,
  .patient-hero-trust {
    margin-inline: auto;
  }

  .patient-hero h1 {
    max-width: 700px;
    font-size: 54px;
  }

  .patient-hero-lead {
    margin-bottom: 23px;
    font-size: 17px;
  }

  .patient-hero-benefits > div {
    justify-content: flex-start;
    text-align: left;
  }

  .patient-app-badges {
    justify-content: center;
  }

  .patient-hero-trust .hero-trust-caption {
    text-align: center;
  }

  .patient-hero-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: clamp(280px, 42vw, 380px);
    min-height: 280px;
    margin-top: 4px;
    flex: 0 0 auto;
  }
}

@media (max-width: 560px) {
  .patient-hero-inner {
    width: min(calc(100% - 28px), 480px);
  }

  .patient-hero-copy {
    padding-top: 28px;
  }

  .patient-hero h1 {
    max-width: 390px;
    font-size: clamp(38px, 11vw, 49px);
    line-height: 1.1;
  }

  .patient-hero-lead {
    max-width: 390px;
    margin-bottom: 16px;
    font-size: 15px;
  }

  .patient-hero-visual {
    height: clamp(320px, 42vh, 370px);
    min-height: 320px;
  }
}
