* { box-sizing: border-box; }
:root { color-scheme: light; }
body { margin: 0; min-height: 100vh; background: #f6f1e7 url('fond-fenninger.webp') center / cover no-repeat; color: #282c2e; font-family: Arial, Helvetica, sans-serif; display: flex; flex-direction: column; }
header, main, footer { width: min(1560px, calc(100% - 96px)); margin-inline: auto; }
header { padding: 22px 0 32px; text-align: center; }
h1 { display: flex; align-items: center; justify-content: center; gap: 36px; font: 700 clamp(32px, 3.6vw, 60px)/1.15 Georgia, serif; margin: 0; }
h1::before, h1::after, footer::before, footer::after { content: ''; height: 1px; background: #92958e; flex: 1; }
h1::before, h1::after { max-width: 290px; }
header p { font: italic 400 clamp(19px, 2.66vw, 43.4px)/1.15 Georgia, serif; margin: 16px 0 0; }
main { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 22px; }
.card { --accent: #3d5e76; --tint: #e4e9ec; display: flex; flex-direction: column; color: inherit; text-decoration: none; background: var(--tint); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 17px; overflow: hidden; box-shadow: 0 3px 9px #35270f12; position: relative; transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease; }
.paysage { --accent: #008000; --tint: #eaf2e4; }
.fanclub { --accent: #91632f; --tint: #f4e8d7; }

.card:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.card-photo { overflow: hidden; aspect-ratio: 2 / 1; flex: none; }
.card-photo img { transition: transform 280ms ease; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.copy { padding: clamp(18px,1.8vw,30px); display: flex; flex-direction: column; flex: 1; }
h2 { font: 700 clamp(21px,2.15vw,35px)/1.15 Georgia,serif; color: var(--accent); margin: 0 0 10px; padding-top: 10px; border-top: 4px solid var(--accent); letter-spacing: -.04em; overflow-wrap: normal; }
.signature { font: italic clamp(18px,1.6vw,26px)/1.25 Georgia,serif; min-height: 2.5em; margin: 0 0 20px; }
ul { padding-left: 1.3em; margin: 0 0 24px; font-size: clamp(16px,1.45vw,23px); line-height: 1.55; }
li::marker { color: var(--accent); }
.button { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 8px; min-height: 54px; border-radius: 12px; background: var(--accent); color: #fff; font: 700 clamp(15px,1.4vw,22px)/1.25 Georgia,serif; text-align: center; }
footer { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 30px 0 24px; margin-top: 0; font: 20px Georgia,serif; }
@media(max-width:1050px) { header,main,footer { width: calc(100% - 40px); } main { gap: 16px; } h2 { font-size: clamp(16px,1.85vw,24px); } .copy { padding: 16px; } .signature { min-height: 3.75em; } }
@media(max-width:700px) { body { background: #f6f1e7; } header { padding-block: 26px; } h1 { gap: 12px; font-size: clamp(27px,7vw,40px); } header p { font-size: 19px; } main { grid-template-columns: 1fr; max-width: 480px; } .copy { padding: 22px; } h2 { font-size: clamp(21px,5.6vw,30px); } .signature { min-height: 0; font-size: 21px; } ul { font-size: 18px; } .button { font-size: 18px; } footer { font-size: 16px; gap: 14px; } }

.button > span { display: inline-block; transition: transform 280ms ease; }
.card:focus-visible { transform: translateY(-9px) scale(1.02); border-color: var(--accent); box-shadow: 0 20px 40px #35270f30, 0 0 0 1px var(--accent); z-index: 1; }
.card:focus-visible .card-photo img { transform: scale(1.04); }
.card:focus-visible .button > span { transform: translateX(6px); }
@media (hover: hover) and (pointer: fine) {
    .card:hover { transform: translateY(-9px) scale(1.02); border-color: var(--accent); box-shadow: 0 20px 40px #35270f30, 0 0 0 1px var(--accent); z-index: 1; }
    .card:hover .card-photo img { transform: scale(1.04); }
    .card:hover .button > span { transform: translateX(6px); }
}
@media (hover: none) {
    .card:active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
    .card, .card-photo img, .button > span { transition: none; }
    .card:hover, .card:focus-visible, .card:hover .card-photo img, .card:focus-visible .card-photo img, .card:hover .button > span, .card:focus-visible .button > span { transform: none; }
}

