@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');:root{--ink:#20231f;--paper:#f4f1e9;--muted:#656860;--gold:#c29762}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 'DM Sans',sans-serif}.hero{min-height:78vh;position:relative;display:flex;align-items:end;color:#fff;background:linear-gradient(90deg,#101612c9,#10161220),linear-gradient(0deg,#101612a8,transparent 66%),url('images/couverture.jpg') center 47%/cover no-repeat}.hero-text{padding:clamp(2rem,8vw,7rem);max-width:950px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.74rem;font-weight:700;color:#a87643}.hero .eyebrow{color:#e3c395}.hero h1{font:500 clamp(3.4rem,9vw,7.5rem)/.98 'Playfair Display',serif;margin:.4rem 0 1rem}.hero-text>p:not(.eyebrow){font-size:1.1rem;color:#f1eee9}.discover{display:inline-block;margin-top:1.4rem;padding:.7rem 1rem;background:#f5f1e9;color:#20231f;text-decoration:none}.share{position:absolute;top:1.2rem;right:clamp(1rem,4vw,3rem);display:flex;gap:.75rem;align-items:center;padding:.45rem .7rem;background:#10161288;border:1px solid #ffffff55;color:white;font-size:.8rem;backdrop-filter:blur(8px)}.share a{color:white;text-decoration:none}.share a:hover{color:#e3c395}.intro{max-width:1000px;margin:auto;padding:5rem 1.5rem}.intro h2,.heading h2{font:500 clamp(2rem,4vw,3.5rem)/1.1 'Playfair Display',serif;margin:.4rem 0 1rem}.intro>p:not(.eyebrow):not(.count){max-width:760px;color:#50534d}.count{color:#7b6141;font-weight:600}.gallery-wrap{background:#e9e5dc;padding:4.5rem max(1rem,calc((100vw - 1400px)/2))}.heading{margin:0 0 2rem}.hint{color:var(--muted)}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem}.card{background:#faf8f3;min-width:0;box-shadow:0 5px 20px #2221}.thumb{display:block;width:100%;padding:0;border:0;background:#1b1b18;cursor:zoom-in;overflow:hidden}.thumb img{display:block;width:100%;height:300px;object-fit:cover;transition:transform .35s}.thumb:hover img{transform:scale(1.025)}.card-copy{padding:1rem 1.1rem 1.2rem}.card h3{font:500 1.2rem/1.25 'Playfair Display',serif;margin:0 0 .4rem}.card p{font-size:.9rem;color:#565950;margin:0}footer{text-align:center;padding:2rem;background:#171a18;color:#ddd;font-size:.85rem}#back-top{position:fixed;right:1.2rem;bottom:1.2rem;border:0;border-radius:50%;width:48px;height:48px;background:#20231f;color:#fff;font-size:1.5rem;opacity:0;pointer-events:none;transition:opacity .2s;cursor:pointer}#back-top.visible{opacity:1;pointer-events:auto}#viewer{padding:0;border:0;background:#090a0def;color:#fff;width:100vw;height:100dvh;max-width:none;max-height:none;overflow:hidden}#viewer::backdrop{background:#090a0def}#viewer figure{margin:0;width:100%;height:100%;padding:3.5rem 5rem 4rem;display:flex;flex-direction:column;align-items:center;justify-content:center}#large{display:block;max-width:100%;max-height:calc(100dvh - 9rem);width:auto;height:auto;object-fit:contain}#viewer figcaption{display:flex;flex-direction:column;text-align:center;padding:.7rem .5rem 0;max-width:900px}#viewer figcaption span{color:#d0cdc7}.close,.nav{position:absolute;z-index:2;border:0;background:#ffffff26;color:white;cursor:pointer}.close{right:1rem;top:.8rem;width:44px;height:44px;font-size:2rem}.nav{top:50%;transform:translateY(-50%);width:50px;height:70px;font-size:3rem}.prev{left:.5rem}.next{right:.5rem}.history{padding:5rem max(1.2rem,calc((100vw - 1120px)/2));background:#f8f6f0}.history-inner{max-width:1120px;margin:auto}.history h2{font:500 clamp(2rem,4vw,3.3rem)/1.1 'Playfair Display',serif;margin:.35rem 0 1.2rem}.history-lead{font-size:1.08rem;max-width:960px;color:#484b44}.history-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;margin:2rem 0}.history h3{font:500 1.45rem/1.2 'Playfair Display',serif;margin:1.2rem 0 .65rem;color:#4f432e}.history-grid p,.history-discovery p{color:#50534d}.history-discovery{padding:1.4rem 1.6rem;background:#eeeadf;border-left:3px solid var(--gold)}.history-discovery h3{margin-top:0}.timeline{margin-top:2.2rem}.timeline ul{list-style:none;padding:0;margin:1rem 0;display:grid;grid-template-columns:1fr 1fr;gap:.55rem 2rem}.timeline li{display:grid;grid-template-columns:9.5rem 1fr;gap:.6rem;padding:.6rem 0;border-bottom:1px solid #ded9cf;font-size:.92rem}.timeline li strong{color:#765a39}.timeline li span{color:#565950}.history-sources{font-size:.85rem;color:#656860;margin-top:1.8rem}.history-sources a{color:#74532e}@media(max-width:700px){.history{padding:3.4rem 1.2rem}.history-grid,.timeline ul{grid-template-columns:1fr}.history-grid{gap:1rem}.timeline li{grid-template-columns:8rem 1fr}}
@media(max-width:900px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.thumb img{height:260px}}@media(max-width:600px){.hero{min-height:72vh}.hero-text{padding:2rem 1.25rem}.share{left:1rem;right:auto}.intro{padding:3.2rem 1.2rem}.gallery-wrap{padding:3.2rem 1rem}.gallery{grid-template-columns:1fr}.thumb img{height:auto;max-height:75vh;object-fit:contain}.nav{top:auto;bottom:.4rem}.prev{left:30%}.next{right:30%}#viewer figure{padding:3.8rem .3rem 4.5rem}#large{max-height:calc(100dvh - 10rem)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Grandes photographies en colonne, centrées avec des marges latérales. */
.gallery-wrap{padding:4.5rem clamp(1rem,6vw,6rem)}
.gallery{display:grid;grid-template-columns:minmax(0,1fr);gap:2.5rem;max-width:1400px;margin:0 auto}
.card{width:100%;max-width:100%;margin:0 auto}
.thumb{width:100%;padding:0;background:#171a18;cursor:zoom-in}
.thumb img{display:block;width:100%;height:auto;max-height:82vh;object-fit:contain;background:#171a18}
.card-copy{max-width:1120px;margin:0 auto;padding:1rem 1.2rem 1.25rem}
@media(max-width:600px){.gallery-wrap{padding:3rem .85rem}.gallery{gap:1.5rem}.thumb img{max-height:72vh}.card-copy{padding:.8rem .5rem 1rem}}

/* Zoom à la molette et déplacement dans la vue agrandie. */
#viewer{overflow:hidden}
.viewer-stage{position:absolute;top:3.4rem;right:4rem;bottom:7rem;left:4rem;overflow:auto;display:flex;align-items:center;justify-content:center;cursor:zoom-in;touch-action:none;scrollbar-color:#888 #151515}
.viewer-stage.zoomed{display:block;cursor:grab}
.viewer-stage.dragging{cursor:grabbing}
#large{display:block;flex:none;max-width:none;max-height:none;width:auto;height:auto;object-fit:contain;margin:auto}
.viewer-caption{position:absolute;left:5rem;right:5rem;bottom:.6rem;min-height:5.8rem;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:.25rem .5rem;color:#fff;background:#090a0e}
.viewer-caption span{font-size:.9rem;color:#d0cdc7;max-width:1100px;max-height:3.4rem;overflow:auto}
.viewer-caption small{color:#aaa;font-size:.72rem;margin-top:.25rem}
@media(max-width:700px){.viewer-stage{top:3.4rem;left:1rem;right:1rem;bottom:8rem}.viewer-caption{left:1rem;right:1rem;bottom:.45rem;min-height:7rem}.viewer-caption span{font-size:.8rem;max-height:4rem}.nav{z-index:4}}

/* Bandeau Livre d’or et flèche de retour accessible sans JavaScript. */
.guestbook-banner{background:#262b25;color:#f7f3eb;padding:2.2rem clamp(1.2rem,6vw,6rem);border-top:1px solid #c2976255}
.guestbook-inner{max-width:1120px;margin:auto;display:flex;align-items:center;gap:1.25rem}
.guestbook-mark{font-size:2rem;color:#d8b47e}
.guestbook-banner .eyebrow{margin:0;color:#d8b47e}.guestbook-banner h2{font:500 1.8rem/1.1 'Playfair Display',serif;margin:.15rem 0}.guestbook-banner p:last-child{margin:.25rem 0 0;color:#e0ddd5}
.back-top{z-index:20;opacity:1;pointer-events:auto;display:grid;place-items:center;text-decoration:none;box-shadow:0 3px 14px #0004}
.back-top:hover,.back-top:focus-visible{background:#a87643;color:white;outline:2px solid #f4e4c9;outline-offset:3px}

/* Bandeau livre d’or horizontal, placé à gauche ; flèche en bas à gauche. */
.guestbook-banner{display:flex;justify-content:flex-start;text-align:left}
.guestbook-inner{display:flex;align-items:center;justify-content:flex-start;gap:1.25rem;width:fit-content;max-width:100%;margin:0;padding:.4rem 1rem .4rem 0;color:inherit;text-decoration:none}
.guestbook-copy{display:flex;flex-direction:column;align-items:flex-start}
.guestbook-copy strong{font:500 1.8rem/1.1 'Playfair Display',serif;margin:.15rem 0;color:#f7f3eb}
.guestbook-copy>span:last-of-type{color:#e0ddd5}
.guestbook-cta{margin-top:.35rem;color:#e6c995;font-size:.9rem}
.guestbook-inner:hover .guestbook-cta,.guestbook-inner:focus-visible .guestbook-cta{text-decoration:underline}
.back-top{left:1.2rem;right:auto}
@media(max-width:600px){.guestbook-banner{padding:1.5rem 1rem}.guestbook-inner{gap:.75rem}.guestbook-copy>span:last-of-type{font-size:.85rem}}

/* Liens directs : bandeau entièrement cliquable et flèche à droite. */
.guestbook-banner{display:block}
.guestbook-inner{display:flex;width:100%;max-width:100%;margin:0;cursor:pointer}
.guestbook-inner:hover,.guestbook-inner:focus-visible{background:#ffffff0d;outline:2px solid #d8b47e;outline-offset:3px}
.back-top{position:fixed;z-index:9999;left:auto;right:1.2rem;bottom:1.2rem;opacity:1!important;pointer-events:auto!important;display:grid;place-items:center;text-decoration:none}
