@charset "UTF-8";

:root {
    --asv-cyan: #65FFFF;
    --asv-cyan-dark: #00b0b0;
    --asv-magenta: #c52650;
	--asv-gris: #4A4A4A;
    --asv-black: #111;
    --slideshow-duration: 5s;
    --slideshow-transition: 1.4s;
}

@font-face {
  font-family: "Sansation";
  font-weight: normal;
  font-style: normal;
  src: local("Sansation"), url("../fonts/Sansation/woff/Sansation_Regular.woff") format("woff"), url("../fonts/Sansation/ttf/Sansation_Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Sansation";
  font-weight: bold;
  font-style: normal;
  src: local("Sansation"), url("../fonts/Sansation/woff/Sansation_Bold.woff") format("woff"), url("../fonts/Sansation/ttf/Sansation_Bold.ttf") format("ttf");
}
@font-face {
  font-family: "Sansation";
  font-weight: normal;
  font-style: italic;
  src: local("Sansation"), url("../fonts/Sansation/woff/Sansation_Italic.woff") format("woff"), url("../fonts/Sansation/ttf/Sansation_Italic.ttf") format("truetype");
}
@font-face {
  font-family: "Sansation";
  font-weight: bold;
  font-style: italic;
  src: local("Sansation"), url("../fonts/Sansation/woff/Sansation_Bold_Italic.woff") format("woff"), url("../fonts/Sansation/ttf/Sansation_Bold_Italic.ttf") format("truetype");
}
@font-face {
  font-family: "PROMETHEUS";
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/Prometheus/eot/PROMETHEUS.eot");
  src: local("PROMETHEUS"), url("../fonts/Prometheus/eot/PROMETHEUS.eot?#iefix") format("embedded-opentype"), url("../fonts/Prometheus/woff2/PROMETHEUS.woff2") format("woff2"), url("../fonts/Prometheus/woff/PROMETHEUS.woff") format("woff"), url("../fonts/Prometheus/ttf/PROMETHEUS.ttf") format("truetype");
}



* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
	font-family: "Sansation", Verdana, sans-serif;
	background: var(--asv-gris);
}


.home-main,
.hero {
    width: 100%;
    height: 100vh;
    height: 100svh;
}

.home-main {
    min-height: 0;
}

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    isolation: isolate;
    background: #222;
}

/* Diaporama : les images sont superposées et fondues l'une dans l'autre. */
.slideshow,
.slide {
    position: absolute;
    inset: 0;
}

.slide {
    opacity: 0;
    transition: opacity var(--slideshow-transition) ease-in-out;
}

.slide.is-active {
    opacity: 1;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Voile sombre, plus marqué à droite pour assurer la lecture du texte. */
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, .08) 0%,
            rgba(0, 0, 0, .16) 38%,
            rgba(0, 0, 0, .58) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .18), transparent 45%);
    pointer-events: none;
}

/* Logo et menu */
.site-header {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 18px 24px;
}

.menu-toggle {
    display: none;
    border: 0;
    border-radius: 6px;
    padding: 11px 17px;
    color: #111;
    background: var(--asv-cyan);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    color: #fff;
    background: #087e86;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.menu-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 19px;
    height: 14px;
    margin-left: 9px;
    vertical-align: middle;
}

.menu-toggle-icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.site-brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 175px;
    padding: 0;
    background: transparent;
}

.site-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.site-nav {
    display: flex;
    flex: 0 1 auto;
    align-items: stretch;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 2px;
    max-width: calc(100% - 220px);
    overflow: hidden;
    background: var(--asv-cyan);
    border-radius: 0 0 0 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

.site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 15px;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #fff;
    background: var(--asv-cyan-dark);
    outline: none;
}

.site-nav a[aria-current="page"] {
    color: #fff;
    background: var(--asv-cyan-dark);
}

/* Texte principal */
.hero-content {
    position: absolute;
    z-index: 2;
    top: 55%;
    right: clamp(28px, 8vw, 125px);
    width: min(52%, 690px);
    color: #fff;
    transform: translateY(-35%);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}

.hero-content h1 {
    margin: 0 0 14px;
    color: var(--asv-cyan);
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.05;
    font-weight: 700;
}

.hero-lead {
    margin: 0;
    font-size: clamp(23px, 2.65vw, 36px);
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    margin: 17px 0 0;
    font-size: clamp(17px, 1.8vw, 23px);
    line-height: 1.35;
}

/* Accès membres et administration */
.access-tools {
    position: absolute;
    z-index: 6;
    left: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.access-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    transition: transform .2s ease, opacity .2s ease;
}

.access-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.access-button:hover,
.access-button:focus-visible {
    transform: translateY(-2px);
    opacity: .82;
    outline: 2px solid var(--asv-cyan-dark);
    outline-offset: 3px;
}

/* Adaptation tablette */
@media (max-width: 1050px) {
    .site-header {
        gap: 14px;
        padding: 14px;
    }

    .site-brand {
        width: 145px;
    }

    .site-nav {
        max-width: calc(100% - 175px);
    }

    .site-nav a {
        min-height: 43px;
        padding: 0 10px;
        font-size: 13px;
    }

    .hero-content {
        width: 55%;
        right: 5%;
    }
}

/* Adaptation mobile */
@media (max-width: 700px) {
    .hero {
        min-height: 0;
    }

    .site-header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding: 10px;
    }

    .site-brand {
        align-self: flex-start;
        width: 120px;
        padding: 0;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% - 1px);
        left: 10px;
        right: 10px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        max-width: none;
        gap: 1px;
        overflow: hidden;
        border-radius: 5px;
        box-shadow: 0 5px 16px rgba(0, 0, 0, .35);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        justify-content: flex-start;
        flex: 0 0 auto;
        min-height: 45px;
        padding: 8px 16px;
        font-size: 15px;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, .12);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .hero-shade {
        background:
            linear-gradient(0deg,
                rgba(0, 0, 0, .76) 0%,
                rgba(0, 0, 0, .35) 48%,
                rgba(0, 0, 0, .12) 100%);
    }

    .hero-content {
        top: auto;
        right: 7%;
        bottom: 105px;
        width: 86%;
        transform: none;
    }

    .hero-content h1 {
        margin-bottom: 10px;
        font-size: clamp(30px, 9vw, 43px);
    }

    .hero-lead {
        font-size: clamp(21px, 6vw, 29px);
    }

    .hero-subtitle {
        margin-top: 12px;
        font-size: 17px;
    }

    .access-tools {
        left: 12px;
        bottom: 12px;
        gap: 9px;
    }

    .access-button {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}



* =========================================================
   Pages intérieures
   Le header reprend les mêmes dimensions et éléments que
   l'accueil. Seul son fond devient foncé sans photo derrière.
   ========================================================= */

.page-interieure {
    min-height: 100vh;
    background: #fff;
    color: var(--asv-gris);
}

.page-interieure .site-header {
    position: relative;
    top: auto;
    left: auto;
    align-items: flex-start;
    background: var(--asv-gris);
}

/* L'introduction de rubrique */
.page-intro {
    padding: 58px 24px 48px;
    background: #fff;
    color: var(--asv-gris);
}

.page-intro-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.page-intro h1 {
    margin: 0 0 12px;
    color: var(--asv-gris);
    font-size: clamp(22px, 4vw, 46px);
    line-height: 1.12;
    text-transform: uppercase;
}

.page-intro h1::after {
  content: " ◤";
  margin-right: 16px;
  color: var(--asv-cyan-dark);
}

.page-intro h1::before {
  content: "◢";
  margin-right: 16px;
  color: var(--asv-cyan-dark);
}


.page-intro h2 {
    margin: 0;
    color: var(--asv-gris);
    font-size: clamp(20px, 2.6vw, 29px);
    font-weight: 500;
}

.page-intro p {
    max-width: 900px;
    margin: 25px 0 22px;
    font-size: 18px;
    line-height: 1.65;
}

.passculture-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 66px;
    object-fit: contain;
    object-position: left center;
    margin: 18px 0 26px;
}

.intro-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.intro-shortcuts a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0px 18px;
    border: 2px solid var(--asv-gris);
    border-radius: 0 0 0 8px;
    background: var(--asv-gris);
    color: var(--asv-cyan);
    font-weight: none;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.intro-shortcuts a::before {
    content: "▼";
	margin-right: 2px;
}

.intro-shortcuts a:hover,
.intro-shortcuts a:focus-visible {
    background: var(--asv-gris);
    color: var(--asv-cyan);
    outline: none;
}

/* Les deux blocs de contenu */
.content-section {
    padding: 52px 24px 38px;
    background: #fff;
    scroll-margin-top: 24px;
}

.content-section-alt {
    background: #f2f4f4;
}

.content-section-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.content-section h2 {
    margin: 0 0 28px;
    color: var(--asv-gris);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.2;
}

.content-section h2::after {
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 13px;
    background: var(--asv-cyan);
    content: "";
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(250px, .85fr) minmax(0, 1.4fr);
    align-items: start;
    gap: clamp(28px, 5vw, 62px);
}

.content-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 390px;
    object-fit: cover;
}

.content-text {
    font-size: 17px;
    line-height: 1.7;
}

.content-text p {
    margin: 0 0 17px;
}

.content-text ul {
    margin: -5px 0 19px;
    padding-left: 24px;
}

.content-text li {
    margin-bottom: 7px;
}

.content-membres p,li {
    line-height: 1;
	margin-bottom:12px;
}

.back-to-top {
    display: inline-block;
    margin-top: 20px;
    color: var(--asv-gris);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    color: #087e86;
    text-decoration: underline;
}

/* Pied de page commun */
.site-footer {
    padding: 34px 24px 22px;
    background: var(--asv-gris);
    color: #fff;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px 28px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.footer-brand {
    display: block;
    width: 115px;
}

.footer-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-nav {
    display: flex;
    flex: 1 1 460px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
}

.footer-nav a,
.footer-contact {
    color: var(--asv-cyan);
    font-size: 14px;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-contact:hover {
    text-decoration: underline;
}

.footer-copy {
    flex: 1 0 100%;
    margin: 2px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.22);
    color: rgba(255,255,255,.78);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 1050px) {
    .content-layout {
        gap: 28px;
    }
}

@media (max-width: 700px) {
    .page-interieure .site-header {
        position: relative;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding: 10px;
    }

    .page-interieure .site-brand {
        align-self: flex-start;
        width: 120px;
    }

    .page-interieure .site-nav {
        max-width: none;
    }

    .page-intro {
        padding: 40px 20px 34px;
    }

    .page-intro p {
        margin-top: 20px;
        font-size: 16px;
    }

    .content-section {
        padding: 40px 20px 30px;
    }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-image img {
        max-height: 300px;
    }

    .content-text {
        font-size: 16px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        flex: 0 0 auto;
        flex-direction: column;
        gap: 12px;
    }
}


/* =========================================
   AGENDA
========================================= */

.agenda-list {
    margin-top: 30px;
}

.agenda-row {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    padding: 13px 0;
    border-top: 1px solid #d5d5d5;
}

.agenda-year {
    padding-top: 2px;
    color: var(--asv-cyan-dark);
    font-size: 17px;
    font-weight: 700;
}

.agenda-event {
    line-height: 1.5;
}

.agenda-event i {
    width: 22px;
    margin-right: 5px;
    color: var(--asv-magenta);
    text-align: center;
}

.agenda-date {
    font-weight: 600;
}

.agenda-description {
    color: #666;
}

.agenda-message {
    margin-top: 25px;
    color: #666;
    font-style: italic;
}

/* Actions passées avec photographies */

#passe .agenda-row {
    grid-template-columns: 65px minmax(0, 1fr);
    row-gap: 10px;
}

.agenda-photos {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.agenda-photos a {
    display: block;
    width: 75px;
    height: 55px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.agenda-photos img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.agenda-photos a:hover img {
    transform: scale(1.08);
}

/* Affichage mobile */

@media (max-width: 600px) {
    .agenda-row {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 10px;
    }

    .agenda-year {
        font-size: 15px;
    }

    .agenda-photos a {
        width: 65px;
        height: 48px;
    }
}