/* ============================================================
   Pages techniques de chirurgie réfractive (LASIK, PKR, SMILE, PreLex, ICL).
   Dépend des variables de styles.css.
   ============================================================ */

  /* ============== HERO TECHNIQUE ============== */
  .tk-hero { position: relative; overflow: hidden; padding: 11rem 0 5rem; background: var(--vert-noir); color: var(--creme); }
  .tk-hero-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
  .tk-hero-voile {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(100deg, rgba(15,36,24,0.94) 0%, rgba(15,36,24,0.78) 42%, rgba(15,36,24,0.42) 72%, rgba(15,36,24,0.6) 100%),
      linear-gradient(180deg, rgba(10,27,18,0.5) 0%, rgba(10,27,18,0) 22%, rgba(10,27,18,0) 62%, rgba(10,27,18,0.85) 100%);
  }
  .tk-hero .container { position: relative; z-index: 2; }
  .tk-hero .eyebrow { color: var(--jade); }
  .tk-hero h1 {
    font-family: 'Fraunces', serif; font-weight: 300;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.02; letter-spacing: -0.02em;
    color: var(--creme); margin-top: 1.1rem;
  }
  .tk-nomlong { display: block; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jade); margin-top: 0.9rem; font-family: 'Inter', sans-serif; font-weight: 600; }
  .tk-baseline { margin-top: 1.75rem; max-width: 60ch; font-family: 'Fraunces', serif; font-size: 1.35rem; line-height: 1.5; color: var(--jade); font-style: italic; }
  .tk-chapo { margin-top: 1.5rem; max-width: 66ch; font-size: 1.05rem; line-height: 1.75; color: rgba(245,241,234,0.82); }
  .tk-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; margin-top: 3.5rem; border-top: 1px solid rgba(245,241,234,0.18); padding-top: 2rem; }
  .tk-chiffre strong { display: block; font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; color: var(--creme); }
  .tk-chiffre span { display: block; margin-top: 0.5rem; font-size: 0.85rem; line-height: 1.45; color: rgba(245,241,234,0.7); }

  /* ============== AMETROPIES ============== */
  .tk-ametropies { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; margin-top: 3rem; }
  .tk-amet { background: var(--blanc-lin); border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 24px rgba(34,56,40,0.06); }
  .tk-amet b { display: block; font-size: 1rem; color: var(--vert-profond); margin-bottom: 0.35rem; }
  .tk-amet span { font-size: 0.9rem; line-height: 1.5; color: rgba(26,26,26,0.68); }

  /* ============== PRINCIPE ============== */
  .tk-principe p { font-size: 1.05rem; line-height: 1.8; color: rgba(26,26,26,0.8); max-width: 68ch; }
  .tk-principe p + p { margin-top: 1.25rem; }

  /* ============== ETAPES ILLUSTREES ============== */
  .tk-etape { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 3rem; align-items: center; padding: 3rem 0; border-top: 1px solid rgba(47,85,64,0.12); }
  .tk-etape:nth-child(even) .tk-etape-txt { order: 2; }
  .tk-etape-n { font-family: 'Fraunces', serif; font-weight: 300; font-size: 1rem; color: var(--sauge); letter-spacing: 0.12em; text-transform: uppercase; }
  .tk-etape h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.85rem; color: var(--vert-profond); margin: 0.6rem 0 1rem; line-height: 1.2; }
  .tk-etape p { font-size: 1rem; line-height: 1.75; color: rgba(26,26,26,0.78); }
  .tk-fig { margin: 0; background: var(--blanc-lin); border-radius: 16px; padding: 1.25rem; box-shadow: 0 4px 24px rgba(34,56,40,0.06); }
  .tk-svg { display: block; width: 100%; height: auto; }

  /* ============== DEUX COLONNES ============== */
  .tk-duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; margin-top: 3rem; }
  .tk-liste { background: var(--blanc-lin); border-radius: 16px; padding: 2rem; box-shadow: 0 4px 24px rgba(34,56,40,0.06); }
  .tk-liste h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.4rem; color: var(--vert-profond); margin-bottom: 1.25rem; }
  .tk-liste ul { list-style: none; }
  .tk-liste li { position: relative; padding-left: 1.9rem; margin-bottom: 0.9rem; font-size: 0.97rem; line-height: 1.65; color: rgba(26,26,26,0.78); }
  .tk-liste li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 999px; }
  .tk-oui li::before { background: var(--sauge); }
  .tk-non li::before { background: var(--sable); }
  .tk-plus li::before { background: var(--succes, #6B8E5A); }
  .tk-moins li::before { background: var(--urgence); opacity: 0.7; }

  /* ============== COMPLICATIONS ============== */
  .tk-comp { border-top: 1px solid rgba(47,85,64,0.12); margin-top: 2.5rem; }
  .tk-comp-item { display: grid; grid-template-columns: minmax(0,1fr) 10rem minmax(0,2fr); gap: 2rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(47,85,64,0.1); align-items: start; }
  .tk-comp-nom { font-weight: 600; color: var(--vert-profond); font-size: 1rem; }
  .tk-comp-freq { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sauge); padding-top: 0.15rem; }
  .tk-comp-txt { font-size: 0.95rem; line-height: 1.7; color: rgba(26,26,26,0.75); }

  /* ============== SUITES ============== */
  .tk-suites { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; margin-top: 3rem; }
  .tk-suite { border-top: 2px solid var(--sauge); padding-top: 1.25rem; }
  .tk-suite b { display: block; font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.15rem; color: var(--vert-profond); margin-bottom: 0.6rem; }
  .tk-suite p { font-size: 0.93rem; line-height: 1.65; color: rgba(26,26,26,0.75); }

  /* ============== PRIX ============== */
  .tk-prix { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .tk-prix-carte { background: var(--vert-profond); color: var(--creme); border-radius: 16px; padding: 2.5rem; }
  .tk-prix-carte .tk-montant { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--jade); }
  .tk-prix-carte .tk-unite { display: block; margin-top: 0.6rem; font-size: 0.9rem; color: rgba(245,241,234,0.75); }
  .tk-prix-carte hr { border: 0; border-top: 1px solid rgba(245,241,234,0.18); margin: 1.75rem 0; }
  .tk-prix-carte ul { list-style: none; }
  .tk-prix-carte li { position: relative; padding-left: 1.6rem; margin-bottom: 0.7rem; font-size: 0.93rem; line-height: 1.6; color: rgba(245,241,234,0.85); }
  .tk-prix-carte li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 999px; background: var(--jade); }

  /* ============== COMPARATIF ============== */
  .tk-tab-env { overflow-x: auto; margin-top: 2.5rem; border-radius: 16px; }
  table.tk-tab { width: 100%; border-collapse: collapse; background: var(--blanc-lin); font-size: 0.93rem; min-width: 640px; }
  table.tk-tab th, table.tk-tab td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid rgba(47,85,64,0.1); line-height: 1.5; }
  table.tk-tab thead th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--vert-profond); background: rgba(122,147,129,0.14); border-bottom: 2px solid rgba(47,85,64,0.16); }
  table.tk-tab tbody tr:last-child th, table.tk-tab tbody tr:last-child td { border-bottom: none; }
  table.tk-tab tbody tr.est-courante { background: rgba(184,204,181,0.22); }
  table.tk-tab a { color: var(--vert-ophta); font-weight: 600; }

  /* ============== FAQ ============== */
  .tk-faq { border-bottom: 1px solid rgba(47,85,64,0.12); }
  .tk-faq summary { cursor: pointer; list-style: none; padding: 1.5rem 3rem 1.5rem 0; position: relative; font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.2rem; color: var(--vert-profond); }
  .tk-faq summary::-webkit-details-marker { display: none; }
  .tk-faq summary::after { content: '+'; position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 300; color: var(--sauge); }
  .tk-faq[open] summary::after { content: '\2013'; }
  .tk-faq summary:focus-visible { outline: 2px solid var(--sauge); outline-offset: 3px; border-radius: 6px; }
  .tk-faq-corps { padding: 0 3rem 1.75rem 0; }
  .tk-faq-corps p { font-size: 1rem; line-height: 1.75; color: rgba(26,26,26,0.78); max-width: 72ch; }

  /* ============== AVERTISSEMENT ============== */
  .tk-avert { margin-top: 3rem; padding: 2rem; border-radius: 16px; background: rgba(61,90,108,0.08); border: 1px solid rgba(61,90,108,0.2); }
  .tk-avert h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; color: #3D5A6C; margin-bottom: 0.75rem; }
  .tk-avert p { font-size: 0.92rem; line-height: 1.75; color: rgba(26,26,26,0.75); max-width: 80ch; }

  @media (max-width: 900px) {
    .tk-hero { padding: 8rem 0 3.5rem; }
    .tk-chiffres, .tk-ametropies, .tk-suites { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tk-etape { grid-template-columns: 1fr; gap: 1.75rem; padding: 2.25rem 0; }
    .tk-etape:nth-child(even) .tk-etape-txt { order: 0; }
    .tk-duo, .tk-prix { grid-template-columns: 1fr; gap: 1.5rem; }
    .tk-comp-item { grid-template-columns: 1fr; gap: 0.5rem; }
    .tk-comp-freq { padding-top: 0; }
  }
  @media (max-width: 560px) {
    .tk-chiffres, .tk-ametropies, .tk-suites { grid-template-columns: 1fr; }
  }
