/* Le club — passe qualité 1, scoped to this page only. */
.agd-club-page--v2 .agd-club-scene {
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 24px 54px rgba(6,29,58,.24), inset 0 1px 0 rgba(255,255,255,.08);
}

/* Passe qualité 7 : profondeur mobile, halos doux et mouvements très lents. */
@keyframes agd-club-mobile-depth-pass {
  0% { background-position: 0% 0%, 100% 100%, 50% 50%; }
  100% { background-position: 24% 16%, 72% 82%, 50% 50%; }
}

@media (max-width: 800px) {
  .agd-club-page--v2 .agd-club-human img {
    object-position: 20% 0%;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene:not(.agd-club-hero) {
    background-size: 185% 185%, 170% 170%, 100% 100%;
    animation: agd-club-mobile-depth-pass 26s ease-in-out infinite alternate;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2 {
    background-image: radial-gradient(ellipse 72% 52% at 92% 8%, rgba(58,162,173,.28), transparent 72%), radial-gradient(ellipse 62% 54% at 6% 94%, rgba(241,205,133,.1), transparent 72%), linear-gradient(148deg, #071f3c 0%, #124d69 58%, #237b88 100%);
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice {
    background-image: radial-gradient(ellipse 60% 48% at 92% 10%, rgba(58,162,173,.22), transparent 72%), radial-gradient(ellipse 54% 52% at 4% 92%, rgba(201,151,76,.16), transparent 72%), linear-gradient(145deg, #f4e9d7 0%, #fffaf1 50%, #d8eaeb 100%);
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team {
    background-image: radial-gradient(ellipse 66% 52% at 94% 8%, rgba(58,162,173,.3), transparent 72%), radial-gradient(ellipse 58% 58% at 4% 94%, rgba(201,75,67,.12), transparent 72%), linear-gradient(145deg, #061d3a 0%, #0b3154 55%, #1c7183 100%);
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life {
    background-image: radial-gradient(ellipse 64% 54% at 94% 8%, rgba(58,162,173,.3), transparent 72%), radial-gradient(ellipse 58% 60% at 4% 94%, rgba(241,205,133,.13), transparent 72%), linear-gradient(148deg, #061d3a 0%, #0d4665 58%, #207b86 100%);
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene:not(.agd-club-hero)::before {
    opacity: .34;
    animation-duration: 22s;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene:not(.agd-club-hero)::after {
    opacity: .68;
    animation-duration: 28s;
  }
}

/* Passe qualité finale : hiérarchie, respiration et états d’interaction cohérents. */
body.page-id-17 .agd-club-page--v2 .agd-club-scene {
  margin-bottom: clamp(28px, 4vw, 48px);
}

body.page-id-17 .agd-club-page--v2 .agd-club-human,
body.page-id-17 .agd-club-page--v2 .agd-club-timeline,
body.page-id-17 .agd-club-page--v2 .agd-club-final,
body.page-id-17 .agd-club-page--v2 .agd-club-bureau {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 52px rgba(6, 29, 58, 0.16);
}

body.page-id-17 .agd-club-page--v2 .agd-club-bureau {
  padding: clamp(24px, 4vw, 46px);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(6, 29, 58, 0.56), rgba(23, 100, 119, 0.68));
}

body.page-id-17 .agd-club-page--v2 .agd-club-bureau__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

body.page-id-17 .agd-club-page--v2 .agd-club-path article,
body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments article {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

body.page-id-17 .agd-club-page--v2 .agd-club-path article:hover,
body.page-id-17 .agd-club-page--v2 .agd-club-path article:focus-within,
body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments article:hover,
body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments article:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(6, 29, 58, 0.14);
  border-color: rgba(241, 205, 133, 0.72);
}

@media (max-width: 800px) {
  body.page-id-17 .agd-club-page--v2 .agd-club-scene {
    margin-bottom: 26px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-bureau {
    padding: 20px 16px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-bureau__grid {
    grid-template-columns: 1fr;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-path article:hover,
  body.page-id-17 .agd-club-page--v2 .agd-club-path article:focus-within,
  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments article:hover,
  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments article:focus-within {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-17 .agd-club-page--v2 .agd-club-path article,
  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments article {
    transition: none;
  }
}

/* Passe qualité 9 : orchestration organique des arrière-plans et CTA final. */
@media (max-width: 800px) {
  body.page-id-17 .agd-club-page--v2 .agd-club-hero::before {
    animation-duration: 14s;
    animation-delay: 0s;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-hero::after {
    animation-duration: 20s;
    animation-delay: -5s;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--history::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--history::after {
    animation-delay: -2s, -7s;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice::after {
    animation-delay: -5s, -11s;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team::after {
    animation-delay: -8s, -15s;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life::after {
    animation-delay: -11s, -19s;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life .agd-club-text-link {
    color: #f1cd85 !important;
    border-color: #f1cd85 !important;
    text-shadow: 0 1px 8px rgba(6,29,58,.3);
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life .agd-club-text-link:hover,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life .agd-club-text-link:focus-visible {
    color: #fff !important;
    border-color: #fff !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-17 .agd-club-page--v2 .agd-club-hero::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-hero::after,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--history::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--history::after,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice::after,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team::after,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life::after {
    animation: none;
  }
}

/* Passe qualité 10 : carte marketing « Aujourd’hui à Deauville » plus compacte sur mobile. */
@media (max-width: 800px) {
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice {
    padding: 16px 14px !important;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-today__intro {
    margin-bottom: 18px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-today__intro h2 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1;
    margin-bottom: 9px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-today__intro > p:last-child {
    font-size: 0.9rem;
    line-height: 1.38;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-path {
    gap: 8px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-path article,
  body.page-id-17 .agd-club-page--v2 .agd-club-path article + article {
    padding: 13px 12px !important;
    border-radius: 14px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-path article > span {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 0.68rem;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-path article > h3 {
    margin-bottom: 4px;
    font-size: 0.95rem;
    line-height: 1.1;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-path article > p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.32;
  }
}

/* Accent final : motion organique renforcée sur la première carte uniquement. */
@keyframes agd-club-hero-organic-pass {
  0% { background-position: 0% 12%, 100% 88%, 50% 50%; }
  100% { background-position: 78% 62%, 18% 34%, 50% 50%; }
}

@keyframes agd-club-hero-arc-breathe {
  0% { transform: rotate(32deg) translate3d(0, 0, 0); opacity: .58; }
  50% { transform: rotate(35deg) translate3d(-5px, 3px, 0); opacity: .82; }
  100% { transform: rotate(39deg) translate3d(4px, 7px, 0); opacity: .64; }
}

@media (max-width: 800px) {
  body.page-id-17 .agd-club-page--v2 .agd-club-hero {
    background-image:
      radial-gradient(ellipse 54% 72% at 88% 10%, rgba(58,162,173,.34), transparent 70%),
      radial-gradient(ellipse 46% 58% at 8% 92%, rgba(241,205,133,.12), transparent 72%),
      linear-gradient(118deg, #061d3a 0%, #0b3154 54%, #1c7183 100%);
    background-size: 180% 180%, 175% 175%, 100% 100%;
    animation: agd-club-hero-organic-pass 15s ease-in-out infinite alternate;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-hero::before {
    animation-duration: 11s;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-hero::after {
    animation-duration: 17s;
  }

  body.page-id-17.wp-embed-responsive .agd-club-page--v2 .agd-club-hero {
    background-size: 180% 180%, 175% 175%, 100% 100%;
    animation: agd-club-hero-organic-pass 15s ease-in-out infinite alternate;
  }

  body.page-id-17.wp-embed-responsive .agd-club-page--v2 .agd-club-hero::before {
    animation-duration: 11s;
  }

  body.page-id-17.wp-embed-responsive .agd-club-page--v2 .agd-club-hero::after {
    animation-duration: 17s;
  }

  body.page-id-17.wp-embed-responsive .agd-club-page--v2 .agd-club-hero::after {
    animation: agd-club-hero-arc-breathe 19s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-17 .agd-club-page--v2 .agd-club-hero {
    animation: none;
  }

  body.page-id-17.wp-embed-responsive .agd-club-page--v2 .agd-club-hero {
    animation: none;
  }

  body.page-id-17.wp-embed-responsive .agd-club-page--v2 .agd-club-hero::after {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-17 .agd-club-page--v2 .agd-club-scene:not(.agd-club-hero) {
    animation: none;
  }
}

/* Passe qualité 8 : respiration des images et lumière de surface maîtrisée. */
@keyframes agd-club-premium-image-breathe {
  0% { filter: saturate(.96) brightness(.98); }
  100% { filter: saturate(1.04) brightness(1.02); }
}

@keyframes agd-club-premium-surface-glow {
  0%, 100% { box-shadow: 0 24px 54px rgba(6,29,58,.22), inset 0 1px 0 rgba(255,255,255,.08); }
  50% { box-shadow: 0 27px 60px rgba(6,29,58,.27), inset 0 1px 0 rgba(255,255,255,.13); }
}

@media (max-width: 800px) {
  body.page-id-17 .agd-club-page--v2 .agd-club-hero__media img,
  body.page-id-17 .agd-club-page--v2 .agd-club-human img,
  body.page-id-17 .agd-club-page--v2 .agd-club-life__media img {
    animation: agd-club-premium-image-breathe 15s ease-in-out infinite alternate;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__slide.is-active img {
    animation: agd-club-premium-image-breathe 12s ease-in-out infinite alternate;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--history,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life {
    animation-name: agd-club-mobile-depth-pass, agd-club-premium-surface-glow;
    animation-duration: 26s, 20s;
    animation-timing-function: ease-in-out, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-direction: alternate, alternate;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice {
    animation-delay: 3s, 2s;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team {
    animation-delay: 6s, 4s;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life {
    animation-delay: 9s, 6s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-17 .agd-club-page--v2 .agd-club-hero__media img,
  body.page-id-17 .agd-club-page--v2 .agd-club-human img,
  body.page-id-17 .agd-club-page--v2 .agd-club-life__media img,
  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__slide.is-active img,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--history,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life {
    animation: none;
  }
}

.agd-club-page--v2 .agd-club-hero {
  background:
    radial-gradient(ellipse 62% 70% at 92% 8%, rgba(58,162,173,.34), transparent 68%),
    linear-gradient(120deg, #061d3a 0%, #0b3154 53%, #1c7183 100%);
}

.agd-club-page--v2 .agd-club-scene--practice {
  background:
    radial-gradient(ellipse 56% 70% at 92% 100%, rgba(37,123,140,.2), transparent 70%),
    linear-gradient(145deg, #f4e9d7 0%, #fffaf1 50%, #d8eaeb 100%);
}

.agd-club-page--v2 .agd-club-scene--life {
  background:
    radial-gradient(ellipse 65% 58% at 94% 8%, rgba(58,162,173,.3), transparent 70%),
    linear-gradient(145deg, #061d3a 0%, #0d4665 58%, #207b86 100%);
}

.agd-club-page--v2 .agd-club-scene h2 {
  letter-spacing: -.025em;
}

.agd-club-page--v2 .agd-club-actions {
  gap: 14px;
  margin-top: 24px;
}

.agd-club-page--v2 .wp-element-button {
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(6,29,58,.2), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.agd-club-page--v2 .wp-element-button:hover,
.agd-club-page--v2 .wp-element-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(6,29,58,.25), inset 0 1px 0 rgba(255,255,255,.35);
}

.agd-club-page--v2 .agd-club-text-link {
  transition: color .2s ease, border-color .2s ease;
}

.agd-club-page--v2 .agd-club-path article {
  box-shadow: 0 10px 22px rgba(16,39,71,.1), inset 0 1px 0 rgba(255,255,255,.45);
}

/* Motion d’accompagnement : entrée perceptible, puis carte posée. */
.agd-club-page--v2 .agd-club-v2-from-left,
.agd-club-page--v2 .agd-club-v2-from-right {
  transform: translate3d(0, 14px, 0);
}

.agd-club-page--v2 .agd-club-v2-from-bottom {
  transform: translate3d(0, 18px, 0);
}

@media (max-width: 800px) {
  .agd-club-page--v2 .agd-club-scene {
    margin-bottom: 17px;
  }

  .agd-club-page--v2 .agd-club-hero {
    padding: 25px 18px 29px;
  }

  .agd-club-page--v2 .agd-club-hero .agd-club-hero__media img {
    height: 250px;
  }

  .agd-club-page--v2 .agd-club-story,
  .agd-club-page--v2 .agd-club-story--dynamic,
  .agd-club-page--v2 .agd-club-timeline {
    padding: 25px 18px;
  }

  .agd-club-page--v2 .agd-club-scene--practice,
  .agd-club-page--v2 .agd-club-scene--team,
  .agd-club-page--v2 .agd-club-scene--life {
    padding: 22px 16px;
  }

  .agd-club-page--v2 .agd-club-path article {
    padding: 17px !important;
  }

  .agd-club-page--v2 .agd-club-human img,
  .agd-club-page--v2 .agd-club-life__media img {
    height: 235px;
  }

  .agd-club-page--v2 .agd-club-final {
    margin-top: 0;
    padding: 23px 18px;
  }
}

/* Passe qualité 5 : cadre mobile de la page Le Club. */
@keyframes agd-club-hero-mobile-masses {
  0% { background-position: 0% 20%, 50% 50%; }
  100% { background-position: 100% 80%, 50% 50%; }
}

@media (max-width: 800px) {
  body.page-id-17 .premium-header {
    border-radius: 0 0 20px 20px;
  }

  body.page-id-17 .premium-header .header-inner {
    min-height: 64px !important;
    height: 64px !important;
    padding: 4px 10px !important;
    align-items: center;
    flex-wrap: nowrap !important;
  }

  body.page-id-17 .premium-header .header-top-badges {
    display: none;
  }

  body.page-id-17 .premium-header .premium-brand {
    gap: 9px;
  }

  body.page-id-17 .premium-header .premium-brand img {
    width: 64px;
    height: 48px;
  }

  body.page-id-17 .premium-header .brand-divider {
    height: 30px;
  }

  body.page-id-17 .premium-header .brand-title strong {
    font-size: .86rem;
  }

  body.page-id-17 .premium-header .brand-title em {
    font-size: .48rem;
  }

  body.page-id-17 .premium-header .menu-toggle {
    width: 40px;
    height: 40px;
  }

  body.page-id-17 .premium-header .premium-nav,
  body.page-id-17 .premium-header .premium-nav.is-open {
    top: 64px !important;
  }

  body.page-id-17 .entry-content.wp-block-post-content,
  body.page-id-17 .entry-content.wp-block-post-content > .wp-block-group {
    margin-top: 0 !important;
  }

  body.page-id-17 .wp-site-blocks > main.wp-block-group.is-layout-constrained {
    margin-top: 0 !important;
  }

  body.page-id-17 .agd-club-page--v2 {
    padding-top: 0;
    padding-bottom: 40px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-hero {
    min-height: 0;
    margin-bottom: 16px;
    padding: 18px 16px 18px;
    border-radius: 0 0 22px 22px;
    background-size: 160% 160%, 100% 100%;
    animation: agd-club-hero-mobile-masses 18s ease-in-out infinite alternate;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.35rem, 10.8vw, 3.1rem);
    line-height: .94;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-hero__copy > p:not(.eyebrow) {
    line-height: 1.38;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-hero__media img {
    height: 190px;
    border-radius: 16px 6px 16px 6px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2 {
    padding: 24px 16px;
    border-radius: 22px;
    background: linear-gradient(148deg, #071f3c 0%, #124d69 58%, #237b88 100%);
    box-shadow: 0 16px 30px rgba(6, 29, 58, .14);
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__heading h2 {
    max-width: 12ch;
    font-size: clamp(1.9rem, 8.4vw, 2.5rem);
    line-height: .98;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__heading > p:last-child {
    font-size: .98rem;
    line-height: 1.48;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__body {
    gap: 20px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__carousel,
  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__slides,
  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__slide img {
    min-height: 215px;
    height: 215px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__slides {
    border-radius: 20px 7px 20px 7px;
    box-shadow: 8px 10px 0 rgba(201, 75, 67, .28), 0 18px 30px rgba(6, 29, 58, .22);
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__slide img {
    cursor: zoom-in;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments {
    gap: 9px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments article {
    grid-template-columns: 34px 1fr;
    gap: 11px;
    padding: 13px 12px;
    border-radius: 14px;
    border-color: rgba(255, 255, 255, .24);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-17 .agd-club-page--v2 .agd-club-hero {
    animation: none;
  }
}

/* Passe qualité 6 : séparation du header, lecture du club et footer mobile complet. */
@media (max-width: 800px) {
  body.page-id-17 .agd-club-page--v2 .agd-club-hero {
    margin-top: 10px;
    border-radius: 22px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life {
    background: linear-gradient(148deg, #061d3a 0%, #0d4665 58%, #207b86 100%);
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life .agd-club-life__copy h2,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life .agd-club-life__copy p {
    color: #fff !important;
  }

  body.page-id-17 .site-footer.premium-footer {
    margin-top: 18px;
    padding: 18px 0 8px !important;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
  }

  body.page-id-17 .site-footer.premium-footer .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
    padding-bottom: 16px;
  }

  body.page-id-17 .site-footer.premium-footer .footer-identity {
    grid-column: 1 / -1;
    padding: 0;
  }

  body.page-id-17 .site-footer.premium-footer .footer-logo img {
    width: 92px;
    height: 70px;
  }

  body.page-id-17 .site-footer.premium-footer .footer-identity p {
    max-width: 250px;
    margin-top: 6px;
    font-size: .78rem;
    line-height: 1.3;
  }

  body.page-id-17 .site-footer.premium-footer .footer-column {
    gap: 4px;
    padding-top: 0;
  }

  body.page-id-17 .site-footer.premium-footer h3 {
    margin-bottom: 4px;
    font-size: .86rem;
  }

  body.page-id-17 .site-footer.premium-footer .footer-column a {
    font-size: .72rem;
    line-height: 1.25;
  }

  body.page-id-17 .site-footer.premium-footer .footer-partners {
    padding: 13px 0 8px;
  }

  body.page-id-17 .site-footer.premium-footer .footer-partners-heading {
    gap: 8px;
    font-size: .56rem;
    letter-spacing: .1em;
  }

  body.page-id-17 .site-footer.premium-footer .partner-logos {
    gap: 6px;
    margin-top: 10px;
  }

  body.page-id-17 .site-footer.premium-footer .partner-logo {
    min-height: 52px;
    padding: 4px;
    border-radius: 9px;
  }

  body.page-id-17 .site-footer.premium-footer .partner-logo img,
  body.page-id-17 .site-footer.premium-footer .partner-logo-agd img,
  body.page-id-17 .site-footer.premium-footer .partner-logo-codep img,
  body.page-id-17 .site-footer.premium-footer .partner-logo-coeur img {
    max-height: 42px;
  }

  body.page-id-17 .site-footer.premium-footer .footer-bottom {
    gap: 3px;
    padding-top: 6px;
    font-size: .61rem;
    line-height: 1.25;
  }
}

/* Passe qualité 5 : nuances et motion d’arrière-plan plus présents. */
.agd-club-page--v2 .agd-club-scene {
  background-size: 100% 100%, 100% 100%;
}

.agd-club-page--v2 .agd-club-scene:before {
  background:
    linear-gradient(118deg, transparent 0 38%, rgba(241,205,133,.1) 39% 42%, transparent 43%),
    repeating-linear-gradient(125deg, transparent 0 48px, rgba(255,255,255,.14) 49px 51px);
  animation: agd-club-quality-ray 10s ease-in-out infinite alternate;
}

.agd-club-page--v2 .agd-club-scene:after {
  background:
    radial-gradient(ellipse 54% 44% at 9% 11%, rgba(58,162,173,.34), transparent 72%),
    radial-gradient(ellipse 58% 48% at 92% 88%, rgba(13,70,101,.9), transparent 74%),
    radial-gradient(ellipse 34% 32% at 54% 48%, rgba(241,205,133,.08), transparent 76%);
  background-size: 170% 170%, 190% 190%, 150% 150%;
  animation: agd-club-quality-masses 15s ease-in-out infinite alternate;
}

.agd-club-page--v2 .agd-club-scene--practice:before {
  background:
    linear-gradient(118deg, transparent 0 38%, rgba(201,151,76,.12) 39% 42%, transparent 43%),
    repeating-linear-gradient(125deg, transparent 0 48px, rgba(16,39,71,.1) 49px 51px);
}

.agd-club-page--v2 .agd-club-scene--practice:after {
  background:
    radial-gradient(ellipse 58% 46% at 90% 12%, rgba(58,162,173,.22), transparent 72%),
    radial-gradient(ellipse 54% 52% at 8% 88%, rgba(241,205,133,.18), transparent 74%),
    linear-gradient(135deg, transparent 0 52%, rgba(255,255,255,.2) 53% 54%, transparent 55%);
  background-size: 180% 180%, 170% 170%, 100% 100%;
}

@keyframes agd-club-quality-ray {
  0% { transform: skewX(-28deg) translate3d(28px, -3px, 0); opacity: .42; }
  50% { transform: skewX(-28deg) translate3d(-18px, 4px, 0); opacity: .72; }
  100% { transform: skewX(-28deg) translate3d(-64px, -2px, 0); opacity: .56; }
}

@keyframes agd-club-quality-masses {
  0% { background-position: 0 0, 100% 100%, 50% 50%; }
  100% { background-position: 28% 18%, 72% 82%, 42% 58%; }
}

@media (max-width: 800px) {
  .agd-club-page--v2 .agd-club-scene:before {
    animation-duration: 12s;
  }

  .agd-club-page--v2 .agd-club-scene:after {
    animation-duration: 18s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agd-club-page--v2 .agd-club-scene:before,
  .agd-club-page--v2 .agd-club-scene:after {
    animation: none;
  }
}

/* Finition ciblée de la première carte « Le club ». */
.agd-club-page--v2 .agd-club-hero {
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(ellipse 48% 66% at 90% 12%, rgba(58,162,173,.28), transparent 72%),
    linear-gradient(118deg, #061d3a 0%, #0b3154 54%, #1c7183 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.agd-club-page--v2 .agd-club-hero .agd-club-hero__copy {
  padding-top: 4px;
}

.agd-club-page--v2 .agd-club-hero h1 {
  max-width: 8ch;
  text-shadow: 0 5px 22px rgba(6,29,58,.28);
}

.agd-club-page--v2 .agd-club-hero .agd-club-hero__media {
  position: relative;
}

.agd-club-page--v2 .agd-club-hero .agd-club-hero__media img {
  object-position: center 42%;
  box-shadow: 12px 12px 0 rgba(241,205,133,.4), 0 24px 46px rgba(0,0,0,.28);
}

.agd-club-page--v2 .agd-club-hero .agd-club-actions .wp-element-button {
  background: linear-gradient(135deg, #f1cd85, #d6ad6a);
  border-color: #f1cd85;
}

.agd-club-page--v2 .agd-club-hero .agd-club-actions .agd-club-text-link {
  border-bottom-color: #f1cd85;
}

@media (max-width: 800px) {
  .agd-club-page--v2 .agd-club-hero h1 {
    max-width: 9ch;
  }

  .agd-club-page--v2 .agd-club-hero .agd-club-hero__media::before {
    right: 10px;
    bottom: 10px;
    font-size: .56rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agd-club-page--v2 .agd-club-hero .agd-club-hero__media img {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agd-club-page--v2 .wp-element-button {
    transition: none;
  }
}

/* Passe qualité 2 : cohérence des scènes et finition mobile. */
.agd-club-page--v2 {
  overflow: hidden;
}

.agd-club-page--v2 .agd-club-scene h2 {
  text-wrap: balance;
}

.agd-club-page--v2 .agd-club-scene--history,
.agd-club-page--v2 .agd-club-scene--team,
.agd-club-page--v2 .agd-club-scene--life {
  background-image:
    linear-gradient(112deg, rgba(255,255,255,.035), transparent 42%),
    linear-gradient(145deg, #061d3a 0%, #0b3154 55%, #1c7183 100%);
}

.agd-club-page--v2 .agd-club-scene--practice {
  border-color: rgba(16,39,71,.16);
  box-shadow: 0 24px 54px rgba(16,39,71,.14), inset 0 1px 0 rgba(255,255,255,.72);
}

.agd-club-page--v2 .agd-club-scene--practice .agd-club-path {
  border-top-color: #c9974c;
}

.agd-club-page--v2 .agd-club-path article {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.agd-club-page--v2 .agd-club-path article:hover,
.agd-club-page--v2 .agd-club-path article:focus-within {
  border-color: rgba(201,151,76,.72) !important;
  box-shadow: 0 14px 26px rgba(16,39,71,.14), inset 0 1px 0 rgba(255,255,255,.55);
  transform: translateY(-2px);
}

.agd-club-page--v2 .agd-club-final {
  background:
    linear-gradient(112deg, rgba(255,255,255,.05), transparent 42%),
    linear-gradient(135deg, #061d3a 0%, #0d4665 58%, #207b86 100%);
  box-shadow: 0 22px 44px rgba(6,29,58,.25), 10px 10px 0 rgba(241,205,133,.22);
}

@media (max-width: 800px) {
  .agd-club-page--v2 .agd-club-scene h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .agd-club-page--v2 .agd-club-path article:hover,
  .agd-club-page--v2 .agd-club-path article:focus-within {
    transform: none;
  }

  .agd-club-page--v2 .agd-club-final {
    box-shadow: 0 18px 34px rgba(6,29,58,.22), 6px 6px 0 rgba(241,205,133,.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .agd-club-page--v2 .agd-club-path article {
    transition: none;
  }
}

/* Passe qualité 3 : finition éditoriale et lumière maîtrisée. */
.agd-club-page--v2 .agd-club-hero:before {
  opacity: .52;
  animation-duration: 12s;
}

.agd-club-page--v2 .agd-club-hero:after {
  background:
    radial-gradient(ellipse 42% 56% at 88% 18%, rgba(241,205,133,.16), transparent 70%),
    radial-gradient(ellipse 68% 58% at 10% 86%, rgba(58,162,173,.2), transparent 72%);
  animation-duration: 16s;
}

.agd-club-page--v2 .agd-club-hero__copy > p:not(.eyebrow) {
  max-width: 39ch;
  color: rgba(238,246,247,.9);
  line-height: 1.58;
}

.agd-club-page--v2 .agd-club-story--dynamic {
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.agd-club-page--v2 .agd-club-path article > h3 {
  margin-bottom: 8px;
  color: #102747;
}

.agd-club-page--v2 .agd-club-path__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  margin-bottom: 13px;
  border: 1px solid rgba(201,151,76,.55);
  border-radius: 50%;
  background: #f1cd85;
  color: #102747;
}

.agd-club-page--v2 .agd-club-final .wp-element-button {
  min-width: 170px;
  text-align: center;
}

@media (max-width: 800px) {
  .agd-club-page--v2 .agd-club-hero__copy > p:not(.eyebrow) {
    max-width: none;
  }

  .agd-club-page--v2 .agd-club-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .agd-club-page--v2 .agd-club-actions .wp-element-button,
  .agd-club-page--v2 .agd-club-actions .agd-club-text-link {
    text-align: center;
  }

  .agd-club-page--v2 .agd-club-final .wp-element-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agd-club-page--v2 .agd-club-hero:before,
  .agd-club-page--v2 .agd-club-hero:after {
    animation: none;
  }
}

/* Passe qualité 4 : finition des cadrages, séparateurs et surfaces. */
.agd-club-page--v2 .agd-club-hero__media {
  filter: drop-shadow(0 18px 28px rgba(6,29,58,.16));
}

.agd-club-page--v2 .agd-club-hero__media img,
.agd-club-page--v2 .agd-club-human img,
.agd-club-page--v2 .agd-club-life__media img {
  border: 1px solid rgba(255,255,255,.24);
}

.agd-club-page--v2 .agd-club-story--origin > div:first-child,
.agd-club-page--v2 .agd-club-today__intro > div:first-child,
.agd-club-page--v2 .agd-club-human__copy {
  position: relative;
}

.agd-club-page--v2 .agd-club-story--origin > div:first-child::after,
.agd-club-page--v2 .agd-club-today__intro > div:first-child::after,
.agd-club-page--v2 .agd-club-human__copy::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, #c94b43, #f1cd85);
}

.agd-club-page--v2 .agd-club-scene--practice .agd-club-path {
  border-top-width: 1px;
}

.agd-club-page--v2 .agd-club-scene--practice .agd-club-path article:nth-child(4) {
  background: linear-gradient(145deg, #061d3a, #0d4665) !important;
  border-color: rgba(241,205,133,.32) !important;
}

.agd-club-page--v2 .agd-club-scene--practice .agd-club-path article:nth-child(4) h3,
.agd-club-page--v2 .agd-club-scene--practice .agd-club-path article:nth-child(4) p {
  color: #fff;
}

@media (max-width: 800px) {
  /* Le contenu prioritaire doit rester lisible dès le premier paint mobile. */
  .agd-club-page--v2 .agd-club-hero .agd-club-v2-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .agd-club-page--v2 .agd-club-story--origin > div:first-child::after,
  .agd-club-page--v2 .agd-club-today__intro > div:first-child::after,
  .agd-club-page--v2 .agd-club-human__copy::after {
    margin-top: 14px;
  }

  .agd-club-page--v2 .agd-club-hero__media {
    filter: drop-shadow(0 12px 22px rgba(6,29,58,.14));
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene {
    margin-bottom: 24px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments {
    gap: 16px;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments article {
    cursor: zoom-in;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments article:hover,
  body.page-id-17 .agd-club-page--v2 .agd-club-history-v2__moments article:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(241, 205, 133, .72);
    box-shadow: 0 10px 20px rgba(6, 29, 58, .18);
    outline: none;
  }
}

/* Orchestration finale : des tempos distincts pour éviter un mouvement mécanique. */
@media (max-width: 800px) {
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--history::before { animation-delay: -2s !important; }
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--history::after { animation-delay: -7s !important; }
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice::before { animation-delay: -5s !important; }
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice::after { animation-delay: -11s !important; }
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team::before { animation-delay: -8s !important; }
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team::after { animation-delay: -15s !important; }
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life::before { animation-delay: -11s !important; }
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life::after { animation-delay: -19s !important; }

  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life .agd-club-text-link {
    color: #f1cd85 !important;
    border-color: #f1cd85 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-17 .agd-club-page--v2 .agd-club-hero::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-hero::after,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--history::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--history::after,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--practice::after,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--team::after,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life::before,
  body.page-id-17 .agd-club-page--v2 .agd-club-scene--life::after {
    animation: none !important;
  }
}
