/* Schéma du cycle de marée (accueil, 18/10/2026) */
.tc { background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 2rem 2.25rem 1.75rem; margin: 3rem 0; }
.tc-title { margin: 0 0 2.6rem; font-size: 1.5rem; font-weight: 800; color: #2D3748; letter-spacing: -.02em; text-wrap: balance; }
.tc-plot { position: relative; height: 230px; margin: 0 4.5rem; }
.tc-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tc-water { fill: #e0f2fe; }
.tc-line { fill: none; stroke: #0ca5e9; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.tc-v { stroke: #e2e8f0; stroke-width: 1; vector-effect: non-scaling-stroke; }
.tc-pt { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid #0ca5e9; box-sizing: border-box; }
.tc-lab { position: absolute; display: flex; flex-direction: column; gap: .15rem; white-space: nowrap; }
.tc-lab b { font-size: .95rem; font-weight: 800; color: #2D3748; }
.tc-lab span { font-size: .8rem; color: #718096; font-variant-numeric: tabular-nums; }
.tc-hw1 { left: 0; bottom: calc(80% + 14px); transform: translateX(-50%); align-items: center; }
.tc-hw2 { left: 100%; bottom: calc(80% + 14px); transform: translateX(-50%); align-items: center; }
.tc-lw { left: 50%; top: calc(80% + 14px); transform: translateX(-50%); align-items: center; }
.tc-phase { position: absolute; top: 50%; transform: translate(-50%, -50%); display: grid; grid-template-columns: auto auto; column-gap: .45rem; align-items: center;
  background: #fff; border: 1px solid #d3e9f8; border-radius: 12px; padding: .5rem .75rem; box-shadow: 0 4px 14px rgba(12,74,110,.06); }
.tc-phase i { grid-row: span 2; font-size: .85rem; color: #0369a1; }
.tc-phase b { font-size: .9rem; font-weight: 800; color: #2D3748; line-height: 1.1; }
.tc-phase span { font-size: .75rem; color: #718096; line-height: 1.2; }
.tc-ebb { left: 25%; } .tc-flood { left: 75%; }
.tc-rule { margin: 3.2rem 4.5rem 0; }
.tc-rule-k { font-size: .85rem; color: #718096; margin-bottom: 1.9rem; }
.tc-rule-k b { color: #2D3748; font-weight: 700; }
.tc-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; height: 64px; }
.tc-bar { position: relative; display: flex; align-items: flex-end; }
.tc-bar i { display: block; width: 100%; background: #bae6fd; border-radius: 4px 4px 0 0; }
.tc-bar:nth-child(3) i, .tc-bar:nth-child(4) i, .tc-bar:nth-child(9) i, .tc-bar:nth-child(10) i { background: #0ca5e9; }
.tc-bar small { position: absolute; left: 0; right: 0; text-align: center; font-size: .72rem; font-weight: 700; color: #4a5568; font-variant-numeric: tabular-nums; }
.tc-bar:nth-child(6n+1) small, .tc-bar:nth-child(6n) small { bottom: calc(33.3% + 4px); }
.tc-bar:nth-child(6n+2) small, .tc-bar:nth-child(6n+5) small { bottom: calc(66.6% + 4px); }
.tc-bar:nth-child(6n+3) small, .tc-bar:nth-child(6n+4) small { bottom: calc(100% + 4px); }
.tc-hours { display: flex; justify-content: space-between; margin-top: .45rem; font-size: .72rem; color: #a0aec0; font-variant-numeric: tabular-nums; }
.tc-info { margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid #edf2f7; color: #4a5568; font-size: .95rem; line-height: 1.6; }
.tc-info strong { color: #2D3748; }
@media (max-width: 700px) {
  .tc { padding: 1.4rem 1.1rem 1.2rem; border-radius: 20px; }
  .tc-title { font-size: 1.25rem; margin-bottom: 2.4rem; }
  .tc-plot { height: 170px; margin: 0 2rem; }
  .tc-lab b { font-size: .8rem; } .tc-lab span { font-size: .7rem; }
  .tc-phase { padding: .35rem .5rem; } .tc-phase span { display: none; } .tc-phase b { font-size: .78rem; } .tc-phase i { grid-row: auto; font-size: .7rem; }
  .tc-rule { margin: 3rem 0 0; }
  .tc-bars { height: 48px; gap: 3px; }
  .tc-bar small { font-size: .7rem; } .tc-bar small span { display: none; }
  .tc-rule-k { margin-bottom: 1.6rem; } .tc-rule-k span { display: block; margin-top: .15rem; }
}
