.team-page { background: var(--paper); }
    .anchor-alias { position: absolute; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }
    .team-hero { padding: 42px 0 58px; }
    .team-hero-stage {
      min-height: 680px;
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      background: var(--white);
      box-shadow: var(--shadow);
    }
    .team-hero-copy {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: clamp(48px, 6vw, 88px);
    }
    .team-hero-title {
      max-width: 8.8ch;
      margin: 0 0 28px;
      font-family: "Manrope", system-ui, sans-serif;
      font-size: clamp(54px, 7vw, 102px);
      font-weight: 700;
      letter-spacing: -.055em;
      line-height: .94;
    }
    .team-hero-title em { display: block; color: var(--green); font-style: normal; }
    .team-hero-lede {
      max-width: 610px;
      margin-bottom: 30px;
      color: var(--muted);
      font-size: clamp(18px, 2vw, 22px);
    }
    .team-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .team-hero-trust {
      display: grid;
      gap: 10px;
      margin-top: 34px;
      padding-top: 26px;
      border-top: 1px solid var(--line);
    }
    .team-hero-visual {
      position: relative;
      min-height: 680px;
      display: grid;
      place-items: center;
      padding: 48px;
      overflow: hidden;
      background:
        radial-gradient(circle at 84% 10%, rgba(255,255,255,.18) 0 10%, transparent 10.5%),
        radial-gradient(circle at 8% 92%, rgba(217,154,40,.38) 0 19%, transparent 19.5%),
        linear-gradient(145deg, #347456, #1F4C35 70%);
    }
    .team-hero-visual::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
      background-size: 38px 38px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,.92), transparent);
    }
    .team-collage-card {
      position: relative;
      z-index: 2;
      width: min(100%, 440px);
      padding: 28px;
      border: 1px solid rgba(255,255,255,.28);
      border-radius: 30px;
      background: rgba(255,255,255,.94);
      box-shadow: 0 34px 90px rgba(7,32,20,.34);
    }
    .team-collage-head span {
      display: block;
      margin-bottom: 4px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
    }
    .team-collage-head strong {
      display: block;
      font-family: "Manrope", sans-serif;
      font-size: 26px;
      letter-spacing: -.04em;
      line-height: 1.05;
    }
    .team-collage-portraits {
      display: flex;
      align-items: center;
      margin: 28px 0 22px 12px;
    }
    .team-collage-portraits img {
      width: 76px;
      height: 76px;
      margin-left: -12px;
      border: 4px solid var(--white);
      border-radius: 50%;
      object-fit: cover;
      box-shadow: 0 12px 30px rgba(17,17,15,.12);
    }
    .team-collage-card p { margin: 0; color: var(--muted); }
    .team-note {
      position: absolute;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: rgba(255,255,255,.84);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .04em;
      text-transform: uppercase;
      pointer-events: none;
    }
    .team-note::before { content: ""; width: 30px; height: 1.5px; background: currentColor; }
    .team-note-one { top: 14%; right: 5%; color: #F3DCA9; }
    .team-note-two { bottom: 15%; left: 4%; }

    .team-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .team-story-card {
      min-height: 290px;
      display: flex;
      flex-direction: column;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: var(--white);
      transition: transform .25s ease, box-shadow .25s ease;
    }
    .team-story-card:nth-child(1) { background: var(--green-soft); }
    .team-story-card:nth-child(2) { background: var(--gold-soft); }
    .team-story-card:nth-child(3) { background: var(--blue-soft); }
    .team-story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .story-index {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      margin-bottom: auto;
      border-radius: 50%;
      background: var(--ink);
      color: var(--white);
      font-size: 12px;
      font-weight: 800;
    }
    .team-story-card h3 { margin: 40px 0 10px; font-size: 34px; }
    .team-story-card p { margin: 0; color: var(--muted); }

    .team-directory { background: var(--paper-2); border-block: 1px solid var(--line); }
    .team-section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 28px;
      margin-bottom: 34px;
    }
    .team-section-heading h2 {
      max-width: 760px;
      margin: 0 0 14px;
      font-size: clamp(42px, 5.6vw, 76px);
    }
    .team-section-heading p { max-width: 700px; margin: 0; color: var(--muted); font-size: 18px; }
    .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .team-card {
      min-height: 350px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: var(--white);
      text-align: center;
      transition: transform .25s ease, box-shadow .25s ease;
    }
    .team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
    .team-photo-wrap {
      width: 128px;
      height: 128px;
      overflow: hidden;
      border: 5px solid rgba(217,154,40,.24);
      border-radius: 50%;
      background: var(--paper);
    }
    .team-photo { width: 100%; height: 100%; object-fit: cover; }
    .team-card h3 { margin: 0 0 8px; font-size: 27px; line-height: 1.05; }
    .team-role {
      max-width: 280px;
      min-height: 48px;
      margin: 0 auto 14px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 600;
      line-height: 1.35;
    }
    .team-phone { color: var(--green-2); font-weight: 800; }
    .team-card-sara {
      grid-column: span 2;
      flex-direction: row;
      justify-content: flex-start;
      padding-inline: 42px;
      background: linear-gradient(135deg, var(--green-soft), var(--white));
      text-align: left;
    }
    .team-card-sara .team-card-copy { flex: 1; }
    .team-card-sara .team-role { max-width: 520px; min-height: 0; margin: 0 0 20px; }
    .team-card-sara .btn { align-self: flex-start; }
    .sara-label {
      margin-bottom: 8px;
      color: var(--green-2);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .team-values-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
    .team-values-intro { position: sticky; top: 112px; }
    .team-values-intro h2 { margin-bottom: 18px; font-size: clamp(44px, 5vw, 74px); }
    .team-values-intro p { max-width: 520px; color: rgba(255,255,255,.68); font-size: 18px; }
    .team-values-grid { display: grid; }
    .team-value {
      display: grid;
      grid-template-columns: 54px 1fr;
      column-gap: 20px;
      padding: 26px 0;
      border-bottom: 1px solid var(--line-light);
    }
    .team-value:first-child { padding-top: 0; }
    .team-value > span {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      grid-row: span 2;
      border: 1px solid var(--line-light);
      border-radius: 50%;
      color: #F1C970;
      font-weight: 800;
    }
    .team-value h3 { margin: 0 0 8px; font-size: 30px; }
    .team-value p { margin: 0; color: rgba(255,255,255,.64); }

    @media (max-width: 1080px) {
      .team-hero-stage { grid-template-columns: 1fr 420px; }
      .team-hero-copy { padding: 54px; }
      .team-hero-title { font-size: clamp(52px, 7vw, 78px); }
      .team-grid { grid-template-columns: repeat(2, 1fr); }
      .team-card-sara { grid-column: span 2; }
      .team-values-wrap { gap: 44px; }
    }

    @media (max-width: 860px) {
      .team-hero { padding: 24px 0 50px; }
      .team-hero-stage { min-height: 0; grid-template-columns: 1fr; }
      .team-hero-copy { padding: 52px 34px 42px; }
      .team-hero-visual { min-height: 520px; padding: 36px; }
      .team-story-grid { grid-template-columns: 1fr; }
      .team-story-card { min-height: 250px; }
      .team-section-heading { align-items: flex-start; flex-direction: column; }
      .team-values-wrap { grid-template-columns: 1fr; }
      .team-values-intro { position: static; }
    }

    @media (max-width: 620px) {
      .team-hero-stage { border-radius: 25px; }
      .team-hero-copy { padding: 40px 22px 34px; }
      .team-hero-title { max-width: none; font-size: clamp(42px, 13.5vw, 64px); }
      .team-hero-lede { font-size: 17px; }
      .team-hero-actions { display: grid; }
      .team-hero-actions .btn { width: 100%; }
      .team-hero-visual { min-height: 410px; padding: 20px 16px; }
      .team-collage-card { width: 96%; padding: 20px; border-radius: 24px; }
      .team-collage-head strong { font-size: 22px; }
      .team-collage-portraits img { width: 58px; height: 58px; border-width: 3px; }
      .team-note { display: none; }
      .team-story-grid { gap: 14px; }
      .team-story-card { min-height: 0; padding: 24px; border-radius: 22px; }
      .story-index { width: 42px; height: 42px; }
      .team-story-card h3 { margin-top: 30px; font-size: 30px; }
      .team-section-heading { margin-bottom: 26px; }
      .team-section-heading h2 { font-size: 42px; }
      .team-section-heading p { font-size: 16px; }
      .team-grid { grid-template-columns: 1fr; gap: 14px; }
      .team-card, .team-card-sara {
        grid-column: auto;
        min-height: 0;
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        padding: 21px;
        border-radius: 22px;
        text-align: left;
      }
      .team-photo-wrap { width: 88px; height: 88px; flex: 0 0 88px; border-width: 4px; }
      .team-card-copy { min-width: 0; }
      .team-card h3 { font-size: 23px; }
      .team-role { min-height: 0; max-width: none; margin: 0 0 10px; font-size: 13px; }
      .team-phone { font-size: 14px; }
      .team-card-sara .team-role { margin-bottom: 14px; }
      .team-card-sara .btn { min-height: 44px; padding: 10px 14px; font-size: 13px; }
      .team-values { padding-block: 56px; }
      .team-values-intro h2 { font-size: 43px; }
      .team-value { grid-template-columns: 44px 1fr; column-gap: 14px; padding: 22px 0; }
      .team-value > span { width: 44px; height: 44px; }
      .team-value h3 { font-size: 25px; }
    }

/* Use the original circular portraits without adding a second visible frame. */
    .team-photo-wrap {
      width: 132px;
      height: 132px;
      flex: 0 0 132px;
      overflow: hidden;
      border: 0;
      border-radius: 50%;
      background: transparent;
    }
    .team-photo {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
      object-position: center;
      border-radius: 50%;
    }
    @media (max-width: 620px) {
      .team-photo-wrap {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
        border: 0;
      }
    }

/* --- Enlace a la page du courtier (agregado: tarjeta clicable como en el sitio original) --- */
.team-card { position: relative; }
.team-card-pagelink { color: inherit; text-decoration: none; }
.team-card-pagelink::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.team-card .team-phone, .team-card .btn { position: relative; z-index: 1; }
.team-card:has(.team-card-pagelink):hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(17,17,15,.10); transition: transform .25s ease, box-shadow .25s ease; }


/* --- Bloque del equipo dentro de la sección Besoin d'aide del home --- */
.help-team-stage { min-height: 0; margin-bottom: 26px; border-radius: 24px; }
.help-team-stage .team-note { display: none; }
.help-team-stage .team-hero-copy { padding: clamp(24px, 3.2vw, 44px); }
.help-team-stage .team-hero-visual { min-height: 430px; }
@media (max-width: 860px) {
  .help-team-stage .team-hero-visual { min-height: 430px; }
}


/* Flecha circular en las tarjetas de empleado con página de perfil
   (mismo componente round-arrow de las tarjetas de producto). */
.team-card-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  font-size: 19px;
  background: var(--green-soft);
  color: var(--green);
  pointer-events: none;
}
.team-card:hover .team-card-arrow { transform: rotate(45deg); }
@media (max-width: 620px) {
  .team-card-arrow { width: 38px; height: 38px; right: 14px; bottom: 14px; }
}
