html :is(#vdn-presentation,body)[data-mode="dark"] {
 color-scheme:dark;
 --paper:#1d1d1d;--ink:#f4f4f4;--soft:#242424;
 --ocean:#161616;--surface:#333333;--tone:#f4f4f4;
 --button:#161616;
 background:#1d1d1d !important;
 color:#f4f4f4;
}
html :is(#vdn-presentation,body)[data-mode="dark"] :is(.notice,.contact,.strip,.hero-intro,.club,.tile-label,.activity-tile,
 .source-note,.conditions-card,.conditions-embed,.tide-direct,.embed-fallback,
 .club-contact-details,.club-contact-info,.member-card,.group-options section,
 .seminar-options section,.school-grid section,.training-entry,.training-calendar,
 .news-card,.club-social,details.stage-equipment,.year-options article,.formula-links a) {
 background:#242424 !important;color:#f4f4f4 !important;
}
html :is(#vdn-presentation,body)[data-mode="dark"] :is(.booking-offer,.year-prices,.recovered-content tr) {
 background:#292929 !important;color:#f4f4f4 !important;
}
html :is(#vdn-presentation,body)[data-mode="dark"] main .season-products {background:#000 !important;}
html :is(#vdn-presentation,body)[data-mode="dark"] #archives {background:#242424 !important;}
html :is(#vdn-presentation,body)[data-mode="dark"] .hours-column :is(td,th) {background:#242424 !important;}
html :is(#vdn-presentation,body)[data-mode="dark"] .hours-column thead :is(td,th) {background:#303030 !important;}
html :is(#vdn-presentation,body)[data-mode="dark"] :is(.breadcrumbs,.boat-age,.traffic-source,.windguru-credit) {color:#d6d6d6;}
html :is(#vdn-presentation,body)[data-mode="dark"] :is(.btn,.booking-dropdown > summary) {background:#006bc9;color:#161616;}
html :is(#vdn-presentation,body)[data-mode="dark"] > nav, html :is(#vdn-presentation,body)[data-mode="dark"] .nav-panel {background:#161616 !important;color:#f4f4f4 !important;}
html :is(#vdn-presentation,body)[data-mode="dark"] :is(.photo-hero,.slide-controls,.dots,.light-controls) {background-color:#161616 !important;}
html :is(#vdn-presentation,body)[data-mode="dark"] .theme-switch::after {background:#161616;}
html :is(#vdn-presentation,body)[data-mode="dark"] :is(input,textarea,select) {background-color:#161616;color:#f4f4f4;border-color:#666;}

html :is(#vdn-presentation,body)[data-mode="dark"] {
 --accent:#006bc9;
 --club-outline:#006bc9;
 --button:#fff;
}
html :is(#vdn-presentation,body)[data-mode="dark"] :is(.btn,.booking-dropdown > summary) {
 background:#006bc9;
 color:#fff !important;
}
html :is(#vdn-presentation,body)[data-mode="dark"] nav .links .booking-dropdown > summary {
 color:#fff !important;
}
html :is(#vdn-presentation,body)[data-mode="dark"] nav .logo-symbol {
 background-image:url("logo-entete.svg");
}
html :is(#vdn-presentation,body)[data-mode="dark"] nav .brand .brand-wordmark {
 color:#006bc9;
 -webkit-text-stroke:0;
}
html :is(#vdn-presentation,body)[data-mode="dark"] .theme-switch[aria-pressed="true"] {
 background:#006bc9;
 border-color:#006bc9;
 color:#fff;
}

/* Arrondis des cadres. */
body {
 --club-frame-radius:6px;
}
body > nav,
body :is(.nav-panel,.nav-dropdown > summary,.nav-panel a,
 .nav-panel .activity-nav-item,.btn,.booking-status,.formula-links a,
 .activity-formulas a,.booking-offer,.atelier-page-offer,
 .year-options article,.year-prices,.conditions-card,.source-note,
 .club-contact-details,.club-contact-info,.member-card,
 .group-options > section,.seminar-options > section,.school-grid > section,
 .training-entry,.training-calendar,.season-products,.news-card,
 .club-social,.stage-equipment,.member-downloads,.tide-direct,
 .conditions-embed,.embed-fallback,.webcam-view,.wind-view,.traffic-map,
 .club-location iframe,.hours-column table,.preview-photo,
 .catamaran-panorama-frame,.panoramic-photo-frame,.atelier-page-photo,
 .activity-tile,.partner-logo-frame,.partner-logo,.recovered-content,
 .club,.contact) {
 border-radius:var(--club-frame-radius) !important;
}
body main img:not(.club-logo),
body #activites .activity-tile img,
body .club > img {
 border-radius:var(--club-frame-radius);
}
body :is(.preview-photo,.catamaran-panorama-frame,.panoramic-photo-frame,.activity-tile) {
 overflow:hidden;
}
body :is(.preview-photo,.catamaran-panorama-frame,.panoramic-photo-frame)::after {
 border-radius:var(--club-frame-radius);
}
body .nav-panel :is(a,button):hover {
 border-radius:var(--club-frame-radius) !important;
}
body > nav .links > a,
body > nav .links > a:is(:hover,:focus-visible),
body main :is(.webcam-view,.wind-view,.conditions-embed,.traffic-map) {
 border-radius:var(--club-frame-radius) !important;
}
body main :is(.webcam-view,.wind-view,.conditions-embed) {
 overflow:hidden;
}
body main :is(.webcam-view,.wind-view,.conditions-embed) iframe,
body main .webcam-view::after {
 border-radius:var(--club-frame-radius) !important;
}
/* Fond et en-tête validés. */
html :is(#vdn-presentation,body)[data-mode="dark"] {
 --paper:#121212;
 background:#121212 !important;
}
html :is(#vdn-presentation,body)[data-mode="dark"] > nav {
 background:#292929 !important;
}
html :is(#vdn-presentation,body) .theme-switch::after {
 background:#292929 !important;
}

/* Formulaire de contact et vérification antispam. */
body .contact-message,
body .contact-message :is(input,textarea,select,button) {
 border-radius:var(--club-frame-radius,6px) !important;
}
body .contact-message .cf-turnstile {
 overflow:hidden;
 max-width:100%;
}
/* Le texte superposé ne masque pas les photos du slider. */
html :is(#vdn-presentation,body)[data-mode="dark"] .photo-hero .hero-intro {
 background:transparent !important;
}
body .contact-message .cf-turnstile,
body .contact-message .cf-turnstile iframe {
 border-radius:0 !important;
}

/* Contours des champs du formulaire de contact. */
html body .contact-message :is(input,textarea) {
 border:1px solid #006bc9 !important;
}
/* Le fond de page reste continu entre les cartes des réseaux sociaux. */
html :is(#vdn-presentation,body)[data-mode="dark"] .page-copy .club-social {
 background:transparent !important;
}
/* Le formulaire et le widget restent à l'intérieur du cadre. */
body .contact-message,
body .contact-message form,
body .contact-message :is(input,textarea) {
 box-sizing:border-box;
 min-width:0;
 max-width:100%;
}
body .contact-message .cf-turnstile {
 justify-self:end;
 width:300px;
 max-width:100%;
 overflow:visible;
}
body .page-copy .club-social > div {
 border-radius:var(--club-frame-radius,6px) !important;
 overflow:hidden;
}
body .contact-message .cf-turnstile {
 box-sizing:border-box;
 width:304px;
 padding-inline:2px;
 margin-inline-end:8px;
 max-width:calc(100% - 8px);
 overflow:visible;
}
body .contact-message .cf-turnstile iframe {
 width:302px !important;
 max-width:none;
}
body .contact-message .cf-turnstile[data-size="compact"] iframe {
 width:152px !important;
}
/* Cadre des archives harmonisé avec les autres blocs. */
body main #archives {
 border-radius:var(--club-frame-radius,6px) !important;
}
/* Survol des rubriques et liens directs : contour seul. */
body > nav .links > .nav-dropdown:not(.booking-dropdown) > summary:is(:hover,:focus-visible),
body > nav .links > .nav-dropdown[open]:not(.booking-dropdown) > summary,
body > nav .links > a:any-link:is(:hover,:focus-visible) {
 background:transparent !important;
}

/* Rond blanc en mode clair, gris conservé en mode sombre. */
html :is(#vdn-presentation,body):not([data-mode="dark"]) .theme-switch::after {
 background:#fff !important;
}
/* Calendrier de formation : fond gris, distinct des blocs d'offres noirs. */
html :is(#vdn-presentation,body)[data-mode="dark"] main .training-calendar :is(table,th,td) {
 background:#242424 !important;
}
html :is(#vdn-presentation,body)[data-mode="dark"] main .training-calendar thead th {
 background:#303030 !important;
}