/* ==========================================================================
   Bordatlantique.com — compléments (repris du Saint Palaisien)
   1. Bandeau d'information confidentialité (bouton OK)
   2. Section « Le son de la mer » (page d'accueil)
   ========================================================================== */
/* Bandeau d'information (audience anonyme) */
.ba-info {
  position: fixed;
  left: 50%; bottom: 18px;
  z-index: 900;
  display: flex; align-items: center; gap: 1rem;
  width: min(760px, calc(100% - 24px));
  padding: .85rem .9rem .85rem 1.25rem;
  border-radius: 18px;
  background: rgba(10, 47, 78, .96);
  color: #E3EEF7;
  font-size: .9375rem; line-height: 1.45;
  box-shadow: 0 24px 50px -24px rgba(3, 18, 32, .8);
  transform: translate(-50%, 0);
  animation: baInfo .5s var(--ease) both;
}
.ba-info p { margin: 0; max-width: none; }
.ba-info a { color: #F3C98C; }
.ba-info button {
  flex: none;
  min-height: 44px; min-width: 64px;
  padding: .5rem 1.2rem;
  border: 0; border-radius: 999px;
  background: var(--sun); color: var(--navy);
  font-weight: 800;
  --focus: var(--white);
}
.ba-info button:hover { background: #E6AA5C; }
@keyframes baInfo { from { opacity: 0; transform: translate(-50%, 16px); } }
@media (max-width: 560px) { .ba-info { flex-direction: column; align-items: stretch; text-align: left; } }

/* 28. Le son de la mer ---------------------------------------------------- */
.son-mer {
  --sec-bg: var(--sand-2, #FBF1DC);
  background:
    radial-gradient(70% 110% at 0% 100%, rgba(217,150,63,.22) 0%, transparent 60%),
    linear-gradient(180deg, var(--sand-2, #FBF1DC) 0%, var(--sand) 100%);
}
.son-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(1.75rem, 1rem + 3vw, 4rem);
}
.son-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .9rem;
  padding: .3rem .8rem;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.son-kicker .icon { width: 1.1rem; height: 1.1rem; color: var(--sun); }
.son-text .section-intro { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); color: var(--navy); font-style: italic; font-family: var(--font-display); font-weight: 400; }
.son-meta { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin-top: 1.4rem; }
.son-eq { display: flex; align-items: flex-end; gap: 5px; height: 38px; margin-top: 1.6rem; }
.son-eq span {
  width: 6px; height: 100%;
  border-radius: 6px;
  background: var(--ocean);
  transform-origin: bottom;
  animation: houle 2.6s ease-in-out infinite;
}
.son-eq span:nth-child(2n) { background: var(--navy); animation-duration: 3.1s; }
.son-eq span:nth-child(3n) { background: var(--sun); animation-duration: 2.2s; }
.son-eq span:nth-child(1) { animation-delay: -.2s } .son-eq span:nth-child(2) { animation-delay: -.9s }
.son-eq span:nth-child(3) { animation-delay: -1.4s } .son-eq span:nth-child(4) { animation-delay: -.5s }
.son-eq span:nth-child(5) { animation-delay: -2s } .son-eq span:nth-child(6) { animation-delay: -1.1s }
.son-eq span:nth-child(7) { animation-delay: -.3s } .son-eq span:nth-child(8) { animation-delay: -1.7s }
.son-eq span:nth-child(9) { animation-delay: -.8s } .son-eq span:nth-child(10) { animation-delay: -2.3s }
.son-eq span:nth-child(11) { animation-delay: -1.3s } .son-eq span:nth-child(12) { animation-delay: -.6s }
@keyframes houle { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.son-eq.is-playing span { animation-duration: 1.1s; }

.son-player {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--navy);
  padding: 10px;
  box-shadow: 0 30px 60px -35px rgba(3, 20, 45, .7);
}
.son-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .35rem .5rem .65rem;
  color: var(--mist);
  font-size: .875rem;
  font-weight: 700;
}
.son-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--r-xl) - 10px);
  background: #031A3A;
}
.son-screen img, .son-screen iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
}
.son-screen::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(3,26,58,0) 55%, rgba(3,26,58,.55) 100%);
  pointer-events: none;
}
.son-screen.is-loaded::after { display: none; }
.son-play {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 60px;
  padding: .85rem 1.5rem .85rem 1.1rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--sun);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.0625rem;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), background-color .2s;
  --focus: var(--white);
}
.son-play:hover { background: var(--white); transform: translate(-50%, -50%) scale(1.04); }
.son-play .icon { width: 1.6rem; height: 1.6rem; }
.son-badge { background: var(--ocean); }
.son-player { background: linear-gradient(160deg, var(--navy-2), var(--navy)); }
.son-credit { position: absolute; left: 1rem; bottom: .8rem; z-index: 2; color: #fff; font-size: .875rem; font-weight: 700; }
.son-note { margin-top: .9rem; color: var(--slate); font-size: .9375rem; }
@media (max-width: 900px) {
  .son-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ba-info { animation: none; }
  .son-eq span { animation: none; transform: scaleY(.6); }
}
#confidentialite { scroll-margin-top: 110px; }
