@import "fonts-QOOzzva.css";

:root {
    --navy: #19223D;
    --pink: #D42681;
    --teal: #74C3BD;
    --teal-light: #A6DBD6;
    --grey: #EDEEF0;
    --paper: #F8F8F9;
    --ink: #19223D;
    --white: #FFFFFF;
    --font-display: 'Momo Trust Display', 'Poppins', sans-serif;
    --font-body: 'Poppins', system-ui, sans-serif;
    --font-label: 'Bebas Neue', 'Poppins', sans-serif;
    --font-script: 'Dancing Script', cursive;
    --radius: 1.25rem;
    --container: 72rem;
    --gap: clamp(1rem, 3vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pink); }
a[href^="tel:"] { white-space: nowrap; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.25rem; }

.script { font-family: var(--font-script); color: var(--pink); font-size: 1.15em; }
.label { font-family: var(--font-label); letter-spacing: 0.05em; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }

.container { width: min(100% - 2 * var(--gap), var(--container)); margin-inline: auto; }

.section { padding-block: clamp(2.5rem, 7vw, 5rem); }
.section--navy { background: var(--navy); color: var(--white); }
.section--teal { background: var(--teal); color: var(--navy); }
.section--navy h1, .section--navy h2, .section--teal h1, .section--teal h2 { color: inherit; }
.section--navy .script { color: var(--pink); }
.section--teal .script { color: var(--navy); }

.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    background: var(--pink);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
}
.btn:hover, .btn:focus-visible { background: #b81f6e; }
.btn--ghost { background: transparent; border: 2px solid currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.ribbon {
    display: inline-block;
    background: var(--pink);
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    clip-path: polygon(0 0, 100% 0, calc(100% - 0.75rem) 50%, 100% 100%, 0 100%, 0.75rem 50%);
}

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
@media (min-width: 60rem) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 6px 24px rgba(25, 34, 61, 0.08);
}
.card--teal { background: var(--teal); color: var(--navy); }
.card--pink { background: var(--pink); color: var(--white); }
.card--navy { background: var(--navy); color: var(--white); }
.card .label { display: block; margin-bottom: 0.5rem; }
.card--teal .label::after, .card--pink .label::after, .card--navy .label::after {
    content: ''; display: block; width: 3rem; height: 3px; background: currentColor; margin-top: 0.4rem; border-radius: 2px;
}
.card--picto { position: relative; margin-top: 3rem; padding-top: 4.5rem; }
.card__picto { position: absolute; top: -3rem; left: -1rem; width: 6.5rem; height: 6.5rem; border-radius: 50%; }
.card--president { position: relative; margin: 2rem 0; padding: 1rem 1.5rem 1rem 13.5rem; min-height: 7.5rem; display: flex; flex-direction: column; justify-content: center; }
.card--president .label { margin-bottom: 0.25rem; }
.card__portrait { position: absolute; left: 1.5rem; top: 50%; width: 11rem; height: 11rem; margin-top: -5.5rem; border-radius: 50%; }
@media (max-width: 47rem) {
    .card--president { padding-left: 9rem; min-height: 6.5rem; }
    .card__portrait { left: 0.75rem; width: 8rem; height: 8rem; margin-top: -4rem; }
}

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.checklist li { padding-left: 2rem; position: relative; }
.checklist li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    width: 1.4rem; height: 1.4rem; border-radius: 50%;
    background: var(--teal); color: var(--navy); font-size: 0.9rem; font-weight: 700;
    display: grid; place-items: center;
}

.pictos { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); justify-items: center; }
.pictos img { width: min(100%, 13rem); filter: drop-shadow(0 6px 18px rgba(25, 34, 61, 0.3)); }

.timeline { display: grid; gap: 1rem; }
.timeline__item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; border-radius: var(--radius); padding: 1.25rem; background: var(--white); }
.timeline__item .label { color: var(--pink); }
.timeline__item--pink { background: var(--pink); color: var(--white); }
.timeline__item--pink .label { color: var(--white); }
.timeline__item--navy { background: var(--navy); color: var(--white); }
.timeline__item--navy .label { color: var(--teal-light); }
@media (max-width: 47rem) { .timeline__item { grid-template-columns: 1fr; gap: 0.5rem; } }

.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 1.25rem; }
.brand img { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; font-size: 1.75rem; line-height: 1; }
.nav { display: flex; gap: 1.25rem; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; display: inline-block; padding-block: 0.5rem; }
.nav a[aria-current='page'] { color: var(--teal); }
.nav__group { position: relative; }
.nav__group > a::after { content: ' ▾'; font-size: 0.75em; }
.nav__sub { display: none; position: absolute; top: 100%; left: -1rem; min-width: 12rem; flex-direction: column; background: var(--navy); padding: 0.5rem 0; border-radius: 0 0 0.75rem 0.75rem; box-shadow: 0 8px 24px rgba(25, 34, 61, 0.25); }
.nav__sub a { padding: 0.5rem 1rem; }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { display: flex; }
@media (max-width: 47rem) {
    .nav-toggle-label { display: block; }
    .nav { display: none; position: absolute; inset: 4rem 0 auto 0; flex-direction: column; background: var(--navy); padding: 1rem var(--gap) 1.5rem; }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav__group > a::after { content: ''; }
    .nav__sub { display: flex; position: static; min-width: 0; padding: 0 0 0 1rem; box-shadow: none; }
}

.hero { padding-block: clamp(3rem, 10vw, 7rem); text-align: center; }
.hero--photo { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.hero__photo { display: block; width: min(100%, 36rem); margin: 0 auto 1rem; }
.hero--photo .ribbon { margin-bottom: 0.75rem; }
.hero--photo h1 { color: var(--white); }
.hero--photo h1 .script { color: var(--white); }
.hero__block { max-width: 40rem; margin: 0.5rem auto 0; }
.hero__block .actions { margin-top: 1.5rem; }
.hero__group { background: var(--teal); text-align: center; padding: clamp(1.5rem, 4vw, 3rem) var(--gap) 0; }
.hero__stage { position: relative; display: inline-block; width: min(100%, 42rem); }
.hero__stage::before { content: ''; position: absolute; left: -6%; right: -6%; bottom: 12%; height: 26%; background: #E3E4E7; border-radius: 50%; z-index: 0; }
.hero__stage img { position: relative; z-index: 1; width: 100%; }
.hero--join { padding-top: 1.5rem; }
.hero .script--xl { font-size: clamp(2rem, 5vw, 3rem); }
.hero p { font-size: 1.15rem; max-width: 40rem; margin-inline: auto; }
.hero .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.form { display: grid; gap: 1rem; }
.form label { font-weight: 600; display: block; margin-bottom: 0.25rem; }
.form input, .form select, .form textarea {
    width: 100%; padding: 0.75rem 1rem; border: 2px solid #d5d8e0; border-radius: 0.75rem;
    font: inherit; background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); }
.form .checkbox { display: flex; gap: 0.6rem; align-items: flex-start; }
.form .checkbox input { width: auto; margin-top: 0.3rem; }
.form ul { color: var(--pink); margin: 0.25rem 0 0; padding-left: 1.2rem; font-size: 0.9rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.flash { border-radius: var(--radius); padding: 1rem 1.5rem; background: var(--teal); color: var(--navy); margin-bottom: 1.5rem; }

.site-footer { background: var(--navy); color: var(--white); padding-block: 2.5rem; font-size: 0.95rem; }
.site-footer a { color: var(--teal-light); display: inline-block; padding-block: 0.25rem; }
.site-footer .container { display: grid; gap: 1.5rem; }
@media (min-width: 47rem) { .site-footer .container { grid-template-columns: 1fr 1fr 1fr; } }

.profile-mock { border-radius: var(--radius); padding: 1.5rem; background: var(--white); box-shadow: 0 6px 24px rgba(25, 34, 61, 0.08); display: grid; gap: 1rem; align-content: start; }
.profile-mock__head { display: flex; gap: 1rem; align-items: center; }
.profile-mock__avatar { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--teal); color: var(--navy); font-family: var(--font-display); font-size: 1.5rem; display: grid; place-items: center; }
.profile-mock .ribbon { justify-self: start; font-size: 0.9rem; padding: 0.35rem 1.25rem; }
.profile-mock p { margin: 0; }
.profile-mock .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.profile-mock .btn--ghost { color: var(--navy); }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
