/* Page Grandes marées, maquette du 17/10/2026 — monochrome bleu, texte #2D3748 */
.g2 { background: linear-gradient(180deg, #f0f9ff 0%, #fff 520px); padding: 3rem 1.25rem 3.5rem; color: #2D3748; }
.g2-wrap { max-width: 1120px; margin: 0 auto; }
.g2-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: center; }
.g2-top > * { min-width: 0; }
.g2-title { margin: 0 0 .9rem; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: #0ca5e9; text-wrap: balance; }
.g2-sub { margin: 0 0 1.5rem; font-size: 1.05rem; line-height: 1.55; color: #4a5568; max-width: 34rem; }
.g2-facts { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; overflow: hidden; max-width: 30rem; }
.g2-facts > div { display: flex; flex-direction: column; padding: .9rem 1.1rem; }
.g2-facts > div + div { border-left: 1px solid #edf2f7; }
.g2-f-k { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #718096; white-space: nowrap; }
.g2-facts b { font-size: 2rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: #2D3748; margin-top: .25rem; }
.g2-f-s { font-size: .88rem; font-weight: 600; color: #4a5568; white-space: nowrap; }

.g2-next { display: flex; flex-direction: column; gap: .3rem; padding: 1.4rem 1.5rem 1.2rem; border-radius: 26px; color: #fff; text-decoration: none;
  background: radial-gradient(460px 240px at 95% 0%, rgba(255,255,255,.2), transparent 60%), linear-gradient(150deg, #0ea5e9 0%, #0369a1 100%);
  box-shadow: 0 22px 54px rgba(3,105,161,.3); transition: transform .25s; }
.g2-next:hover { transform: translateY(-3px); }
.g2-next-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.g2-next-in { font-size: .74rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: rgba(255,255,255,.2); white-space: nowrap; }
.g2-next-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: .3rem; }
.g2-next-k { white-space: nowrap; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.g2-next-d { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.g2-next-max { display: flex; align-items: center; gap: .5rem; }
.g2-next-max b { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.g2-next-max span { font-size: .78rem; font-weight: 600; line-height: 1.25; }
.g2-next-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; height: 120px; margin: 1rem 0 .4rem; padding-bottom: 1.4rem; position: relative; }
.g2-nb { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.g2-nb span { display: block; border-radius: 6px 6px 3px 3px; background: rgba(255,255,255,.35); }
.g2-nb.is-max span { background: #fff; }
.g2-nb i { font-style: normal; text-align: center; font-size: .8rem; font-weight: 800; margin-bottom: 4px; }
.g2-nb em { position: absolute; left: 0; right: 0; bottom: -1.4rem; text-align: center; font-style: normal; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.g2-next-lw { margin-top: .4rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.25); font-size: .92rem; }

.g2-h2 { margin: 3.2rem 0 1rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: #2D3748; }
.g2-list { display: flex; flex-direction: column; gap: .6rem; }
.g2-month { margin: 1.2rem 0 .1rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #718096; }
.g2-month:first-child { margin-top: 0; }
.g2-serie { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.g2-serie[open], .g2-serie:hover { border-color: #9fd6f5; box-shadow: 0 10px 26px rgba(12,165,233,.08); }
.g2-serie > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 9rem 4.5rem 1.5rem; align-items: center; gap: 1rem; padding: .9rem 1.2rem; }
.g2-serie > summary::-webkit-details-marker { display: none; }
.g2-serie > summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .75rem; color: #0ca5e9; transition: transform .2s; justify-self: end; }
.g2-serie[open] > summary::after { transform: rotate(180deg); }
.g2-serie > summary:focus-visible { outline: 2px solid #0ca5e9; outline-offset: 2px; border-radius: 18px; }
.g2-s-when b { display: block; font-size: 1.05rem; font-weight: 800; color: #2D3748; }
.g2-s-when small { font-size: .8rem; font-weight: 600; color: #718096; }
.g2-s-bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.g2-s-bars span { flex: 1; max-width: 16px; border-radius: 3px 3px 2px 2px; background: #9fd6f5; }
.g2-s-bars span.is-max { background: #0369a1; }
.g2-s-max { text-align: right; } .g2-s-max b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #0369a1; }
.g2-s-max small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #a0aec0; }
.g2-days { width: calc(100% - 2.4rem); margin: 0 1.2rem 1rem; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.g2-days th { text-align: left; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #a0aec0; padding: .5rem .3rem; border-bottom: 1px solid #edf2f7; }
.g2-days td { padding: .55rem .3rem; border-bottom: 1px solid #f7fafc; color: #4a5568; }
.g2-days td:first-child { color: #2D3748; font-weight: 600; }
.g2-days td .g2-h { color: #a0aec0; margin-left: .3rem; white-space: nowrap; }
.g2-short { display: none; }
.g2-days tr.is-max td { color: #0369a1; font-weight: 700; }
.g2-days tr:last-child td { border-bottom: 0; }

.g2-spots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.g2-spot { position: relative; display: flex; flex-direction: column; gap: .1rem; padding: .9rem 2.2rem .9rem 1.1rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  text-decoration: none; color: #2D3748; transition: border-color .2s, box-shadow .2s; }
.g2-spot:hover { border-color: #9fd6f5; box-shadow: 0 10px 24px rgba(12,165,233,.10); }
.g2-spot b { font-weight: 700; } .g2-spot span { font-size: .8rem; color: #718096; }
.g2-spot i { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: .7rem; color: #0ca5e9; }

@media (max-width: 900px) { .g2-top { grid-template-columns: 1fr; } .g2-spots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .g2 { padding-top: 2rem; }
  .g2-h2 { font-size: 1.3rem; margin-top: 2.6rem; }
  .g2-sub { font-size: .98rem; }
  .g2-facts b { font-size: 1.7rem; } .g2-facts > div { padding: .8rem .95rem; }
  .g2-next { padding: 1.2rem 1.2rem 1rem; border-radius: 22px; }
  .g2-next-d { font-size: 1.35rem; } .g2-next-max b { font-size: 2.4rem; } .g2-next-k { font-size: .7rem; }
  .g2-next-bars { gap: 5px; height: 110px; }
  .g2-nb em { font-size: .64rem; }
  .g2-serie > summary { grid-template-columns: 1fr 5.5rem 3.2rem 1rem; gap: .6rem; padding: .8rem .95rem; }
  .g2-s-bars span { max-width: 10px; }
  .g2-s-max b { font-size: 1.35rem; }
  .g2-days { width: calc(100% - 1.6rem); margin: 0 .8rem .8rem; font-size: .84rem; }
  .g2-long { display: none; } .g2-short { display: inline; }
  .g2-days td { white-space: nowrap; }
  .g2-days th:nth-child(3) { font-size: 0; } .g2-days th:nth-child(3)::after { content: attr(data-short); font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) { .g2-next, .g2-serie > summary::after { transition: none; } }

/* Carte « prochaine grande marée » sans gros chiffre : les barres portent les coefficients */
.g2-next-row { margin-top: .2rem; }
.g2-next-bars { height: 135px; }
