/* =========================================================
   Gloriosa — Artisan fleuriste
   Feuille de style unique. Organisée par sections.
   Palette inspirée du logo : or, encre, crème, vert forêt.
   ========================================================= */

/* ---------- 1. Variables & réglages ---------- */
:root {
    /* Couleurs */
    --cream: #faf5ec;
    --cream-2: #f2e9d9;
    --ink: #211d17;
    --ink-soft: #4a443a;
    --gold: #b8893f;
    --gold-deep: #9a6f2c;
    --forest: #34412f;
    --forest-2: #445039;
    --terracotta: #c0674a;
    --line: rgba(33, 29, 23, 0.12);
    --white: #fff;

    /* Typo */
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Mesures */
    --container: 1180px;
    --gutter: clamp(1.1rem, 4vw, 2.5rem);
    --radius: 14px;
    --radius-arch: 48% 48% 8px 8px / 30% 30% 8px 8px;
    --shadow: 0 18px 40px -22px rgba(33, 29, 23, 0.45);
    --shadow-soft: 0 10px 30px -18px rgba(33, 29, 23, 0.4);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: clip; /* garde-fou pour les éléments pleine largeur (100vw) */
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--gold-deep);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    margin: 0;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1rem;
}
sup {
    font-size: 0.6em;
}

/* Accessibilité : focus visible net */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 50%;
    top: -60px;
    transform: translateX(-50%);
    background: var(--forest);
    color: var(--white);
    padding: 0.7rem 1.2rem;
    border-radius: 0 0 10px 10px;
    z-index: 200;
    transition: top 0.2s var(--ease);
}
.skip-link:focus {
    top: 0;
    text-decoration: none;
}

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

.section {
    padding: clamp(3.5rem, 9vw, 7rem) 0;
}

.section__head {
    max-width: 46rem;
    margin: 0 auto clamp(2rem, 5vw, 3.5rem);
    text-align: center;
}

.section__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-deep);
    font-weight: 500;
    margin: 0 0 0.8rem;
}

.section__title {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    color: var(--ink);
}

.section__intro {
    margin-top: 1rem;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.7rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition:
        transform 0.25s var(--ease),
        background-color 0.25s var(--ease),
        color 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}
.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}
.btn--primary {
    background: var(--gold);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}
.btn--primary:hover {
    background: var(--gold-deep);
}
.btn--ghost {
    border-color: currentColor;
    color: var(--white);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* Révélation au scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.8s var(--ease),
        transform 0.8s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- 4. En-tête ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0);
    transition:
        background-color 0.45s var(--ease),
        box-shadow 0.45s var(--ease);
}
/* Fondu blanc dégradé en haut : le logo (encre, transparent) reste lisible,
   on garde l'impression d'un hero plein écran, puis on bascule en douceur
   vers un header sur fond blanc dès le début du défilement. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 200px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.85) 42%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.45s var(--ease);
}
.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem 0;
    gap: 1rem;
    min-height: 62px;
}

/* Logo : la carte Gloriosa (logo-carte.jpg) suspendue au bandeau, qu'elle
   dépasse largement. Pas d'habillage CSS autour — la carte EST le visuel :
   son haut blanc se fond dans l'en-tête blanc, seules les rayures beige et
   le logo débordent sur la photo / la bannière en dessous.
   Le format est très vertical (268x538, soit 1:2) : à 125px de large la carte
   descend déjà à ~251px. C'est voulu — en dessous le nom GLORIOSA devenait
   illisible — mais ça oblige à dégager le haut des bannières sur petit écran
   (voir `.page-banner` dans le bloc responsive).
   L'arrondi et l'ombre ne sont appliqués qu'en bas, là où la carte « sort ». */
.brand {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: block;
    line-height: 0;
}
.brand:hover {
    text-decoration: none;
}
.brand__logo {
    width: 125px;
    height: auto;
    display: block;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 18px 34px -20px rgba(33, 29, 23, 0.55);
    transition: width 0.35s var(--ease);
}

/* En-tête solidifié dès le début du scroll */
.site-header.is-scrolled {
    background: #fff;
    box-shadow: 0 2px 24px -14px rgba(33, 29, 23, 0.5);
}
.site-header.is-scrolled::before {
    opacity: 0;
}
/* Une fois l'en-tête collé en haut, la carte rétrécit : à 125px elle
   mordrait en permanence sur ~251px du contenu qui défile. */
.site-header.is-scrolled .brand__logo {
    width: 99px;
    box-shadow: 0 14px 28px -20px rgba(33, 29, 23, 0.5);
}

/* Navigation */
.nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
}
.nav__list a {
    color: var(--ink);
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    padding: 0.3rem 0;
}
.nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width 0.3s var(--ease);
}
.nav__list a:hover {
    text-decoration: none;
}
.nav__list a:hover::after {
    width: 100%;
}

.nav__cta a {
    border: 1.5px solid currentColor;
    border-radius: 100px;
    padding: 0.5rem 1.1rem;
}
.nav__cta a::after {
    display: none;
}
.nav__cta a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* Bouton hamburger */
.nav__toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 10px;
    position: relative;
    z-index: 120;
}
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition:
        transform 0.3s var(--ease),
        opacity 0.2s var(--ease),
        top 0.3s var(--ease);
}
.nav__toggle-bar {
    top: 21px;
}
.nav__toggle-bar::before {
    top: -7px;
}
.nav__toggle-bar::after {
    top: 7px;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar {
    background: transparent;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before {
    top: 0;
    transform: rotate(45deg);
    background: var(--ink);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after {
    top: 0;
    transform: rotate(-45deg);
    background: var(--ink);
}

/* ---------- 5. Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    overflow: hidden;
}
.hero__media {
    position: absolute;
    inset: 0;
}
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 16, 11, 0.82) 0%,
        rgba(20, 16, 11, 0.35) 38%,
        rgba(20, 16, 11, 0) 68%
    );
}
.hero__content {
    position: relative;
    max-width: 40rem;
    padding-bottom: clamp(3.5rem, 12vh, 7rem);
}
.hero__eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}
.hero__title {
    font-size: clamp(1.9rem, 6.5vw, 4.8rem);
    font-weight: 400;
    margin: 0 0 1.3rem;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
    /* Une seule ligne, centrée sur toute la largeur de la hero */
    white-space: nowrap;
    text-align: center;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}
.hero__lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.92);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero__scroll {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 48px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
}
.hero__scroll span {
    position: absolute;
    left: 50%;
    top: 9px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll-hint 1.8s var(--ease) infinite;
}
@keyframes scroll-hint {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
    }
    80%,
    100% {
        opacity: 0;
        transform: translateY(14px);
    }
}

/* ---------- 6. Services ---------- */
.services {
    background: var(--cream);
}
.cards {
    display: grid;
    gap: clamp(1.2rem, 3vw, 2rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease);
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.card:hover .card__media img {
    transform: scale(1.05);
}
.card__body {
    padding: 1.4rem 1.5rem 1.7rem;
}
.card__title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--forest);
}
.card__body p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.97rem;
}

/* ---------- 7. Histoire ---------- */
.story {
    background: var(--forest);
    color: var(--cream);
}
.story .section__title {
    color: var(--white);
}
.story .section__eyebrow {
    color: #d8c39a;
}
.story__grid {
    display: grid;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    grid-template-columns: 1fr 1.1fr;
}
.story__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-arch);
    box-shadow: var(--shadow);
}
.story__body p {
    color: rgba(250, 245, 236, 0.85);
}
.story__stats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    margin: 2rem 0 0;
    padding: 1.6rem 0 0;
    border-top: 1px solid rgba(250, 245, 236, 0.2);
}
.stat__num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: #e6d3ab;
}
.stat__label {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(250, 245, 236, 0.7);
}

/* ---------- 8. Engagements ---------- */
.engagements {
    background: var(--cream-2);
}
.engagements__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(1.2rem, 3vw, 2rem);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.engagement {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    text-align: center;
}
.engagement__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: var(--white);
    color: var(--gold);
    font-size: 1.6rem;
    box-shadow: var(--shadow-soft);
}
.engagement h3 {
    font-size: 1.25rem;
    color: var(--forest);
    margin-bottom: 0.4rem;
}
.engagement p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* ---------- 9. Galerie ---------- */
.gallery {
    background: var(--cream);
}
.gallery__grid {
    display: grid;
    gap: clamp(0.6rem, 1.4vw, 1rem);
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
}
.gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
}
.gallery__item--tall {
    grid-row: span 2;
}
.gallery__btn {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: var(--cream-2);
    overflow: hidden;
}
.gallery__btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.6s var(--ease),
        filter 0.4s var(--ease);
}
.gallery__btn:hover img {
    transform: scale(1.06);
    filter: brightness(0.92);
}
/* Galerie « aperçu de notre univers » (accueil) : mosaïque façon masonry en
   colonnes CSS → chaque photo garde son format d'origine, aucune n'est rognée. */
.gallery__grid--masonry {
    --masonry-gap: clamp(0.6rem, 1.4vw, 1rem);
    display: block;
    column-count: 4;
    column-gap: var(--masonry-gap);
}
.gallery__grid--masonry .gallery__item {
    break-inside: avoid;
    margin-bottom: var(--masonry-gap);
}
.gallery__grid--masonry .gallery__btn,
.gallery__grid--masonry .gallery__btn img {
    height: auto;
}
.gallery__grid--masonry .gallery__btn img {
    display: block;
    object-fit: fill;
}

/* Galerie ouverte en visionneuse (page Mariage) : le clic agrandit la photo. */
[data-gallery] .gallery__btn {
    cursor: zoom-in;
}

@media (max-width: 1040px) {
    .gallery__grid--masonry {
        column-count: 3;
    }
}

@media (max-width: 780px) {
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery__item--tall {
        grid-row: span 2;
    }
    .gallery__grid--masonry {
        column-count: 2;
    }
}

/* ---------- 10. Équipe ---------- */
.team {
    background: var(--cream-2);
}
.team__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(1.4rem, 3vw, 2.4rem);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    text-align: center;
}
.member__photo {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.member__name {
    font-size: 1.35rem;
    color: var(--forest);
}
.member__role {
    color: var(--gold-deep);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0.3rem 0 0.8rem;
}
.member__bio {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin: 0;
    text-align: left;
}
.member__bio p {
    margin: 0 0 0.9rem;
}
.member__bio p:last-child {
    margin-bottom: 0;
}
/* Bio repliée : le texte complet est toujours dans le HTML (lisible sans JS),
   c'est le script qui pose cette classe et ajoute le bouton « Lire la suite ». */
.member__bio--clamped {
    position: relative;
    max-height: 11em;
    overflow: hidden;
}
.member__bio--clamped::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3.5em;
    background: linear-gradient(
        to top,
        var(--cream),
        rgba(250, 245, 236, 0)
    );
    pointer-events: none;
}
.member__bio--clamped.is-open {
    max-height: none;
    overflow: visible;
}
.member__bio--clamped.is-open::after {
    display: none;
}
.member__more {
    margin-top: 0.8rem;
    padding: 0.15rem 0;
    background: none;
    border: 0;
    border-bottom: 1px solid currentColor;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--gold-deep);
    transition: color 0.25s var(--ease);
}
.member__more:hover {
    color: var(--ink);
}

/* ---------- 11. Contact ---------- */
.contact {
    background: var(--cream);
}
.contact__grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
.contact .section__title {
    text-align: left;
}
.contact__intro {
    color: var(--ink-soft);
}
.contact__list {
    list-style: none;
    margin: 1.8rem 0;
    padding: 0;
    display: grid;
    gap: 1.2rem;
}
.contact__list li {
    display: flex;
    flex-direction: column;
}
.contact__label {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.2rem;
}
.contact__list a {
    color: var(--ink);
}
.contact__list a:hover {
    color: var(--gold-deep);
}

.hours {
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
}
.hours__title {
    font-size: 1.2rem;
    color: var(--forest);
    margin-bottom: 0.8rem;
}
.hours__list {
    margin: 0;
}
.hours__list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--line);
}
.hours__list dt {
    font-weight: 500;
}
.hours__list dd {
    margin: 0;
    color: var(--ink-soft);
    text-align: right;
}

.contact__socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.6rem;
}
.contact__socials a {
    border: 1.5px solid var(--line);
    border-radius: 100px;
    padding: 0.5rem 1.2rem;
    color: var(--ink);
    transition:
        background-color 0.25s var(--ease),
        color 0.25s var(--ease),
        border-color 0.25s;
}
.contact__socials a:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--white);
    text-decoration: none;
}

/* Formulaire */
.contact__form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.4rem);
    box-shadow: var(--shadow-soft);
}
.form__row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.1rem;
}
.form__row label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}
.form input,
.form select,
.form textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    padding: 0.75rem 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--cream);
    transition:
        border-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 137, 63, 0.18);
}
.form textarea {
    resize: vertical;
}
.form__submit {
    width: 100%;
    margin-top: 0.4rem;
}
.form__note {
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin: 0.9rem 0 0;
}

.contact__map {
    margin-top: clamp(2.5rem, 6vw, 4rem);
}
.contact__map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: var(--radius);
    filter: saturate(0.9);
}

/* ---------- 12. Pied de page ---------- */
.site-footer {
    color: var(--ink);
    padding: clamp(2.4rem, 5vw, 3.4rem) 0 1.4rem;
    background: #ab5525; /* terracotta profond, uni */
    text-align: center;
}
.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(33, 29, 23, 0.2);
}
.footer__tagline {
    font-family: var(--font-display);
    margin: 0;
    color: var(--cream-2);
    font-size: clamp(1.6rem, 3.6vw, 1.9rem);
}
.footer__nav {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 0.5rem 1.6rem;
    font-size: 1.06rem;
    font-weight: 500;
}
.footer__nav a,
.footer__meta a {
    color: rgba(33, 29, 23, 0.88);
}
.footer__nav a:hover,
.footer__meta a:hover {
    color: var(--white);
}
.footer__meta {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 0.3rem 1.4rem;
    font-size: 1.02rem;
}
.footer__meta p {
    margin: 0;
}
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.6rem;
    padding-top: 1.3rem;
    font-size: 0.85rem;
    color: rgba(33, 29, 23, 0.7);
}
.footer__bottom a {
    color: rgba(33, 29, 23, 0.8);
}
.footer__bottom a:hover {
    color: var(--white);
}

/* ---------- 13. Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox[hidden] {
    display: none;
}
.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 12, 0.92);
    cursor: zoom-out;
}
.lightbox__figure {
    position: relative;
    margin: 0;
    max-width: 92vw;
    max-height: 88vh;
    z-index: 1;
}
.lightbox__img {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.lightbox__close,
.lightbox__nav {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 0;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition:
        background-color 0.2s var(--ease),
        transform 0.2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.28);
}
.lightbox__close {
    top: 1.2rem;
    right: 1.2rem;
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
}
.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    font-size: 2rem;
    line-height: 1;
}
.lightbox__nav--prev {
    left: 1.2rem;
}
.lightbox__nav--next {
    right: 1.2rem;
}
@media (max-width: 640px) {
    .lightbox__nav {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    .lightbox__nav--prev {
        left: 0.5rem;
    }
    .lightbox__nav--next {
        right: 0.5rem;
    }
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 900px) {
    .story__grid {
        grid-template-columns: 1fr;
    }
    .story__media {
        max-width: 26rem;
    }
    .contact__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nav__toggle {
        display: inline-flex;
    }
    /* Sur mobile la carte ne rétrécit plus au scroll : à 66px elle ne descend
       qu'à ~133px, le rétrécissement n'apporterait plus grand-chose. */
    .brand__logo,
    .site-header.is-scrolled .brand__logo {
        width: 66px;
        border-radius: 0 0 7px 7px;
    }
    /* La bannière, elle, est dégagée plus bas (§16) : la règle doit passer
       APRÈS `.page-banner`, qui est définie après ce bloc. */
    .hero__scroll {
        display: none;
    }
    /* Boutons du hero empilés en pleine largeur (évite le débordement) */
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }
    .nav__list {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(80vw, 320px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1.4rem;
        padding: 2rem 2.2rem;
        background: var(--cream);
        box-shadow: -20px 0 50px -20px rgba(0, 0, 0, 0.4);
        transform: translateX(100%);
        transition: transform 0.35s var(--ease);
    }
    .nav__list.is-open {
        transform: none;
    }
    .nav__list a {
        color: var(--ink);
        font-size: 1.15rem;
    }
    .nav__cta a {
        color: var(--ink);
    }
    .site-header.is-scrolled .nav__list a {
        color: var(--ink);
    }
    body.nav-open {
        overflow: hidden;
    }
}

/* ---------- 16. Pages intérieures (multi-pages) ---------- */
/* Lien de nav actif */
.nav__list a[aria-current="page"] {
    color: var(--gold-deep);
}
.nav__list a[aria-current="page"]::after {
    width: 100%;
}

/* Sur les pages sans hero plein écran, l'en-tête est solide dès le départ. */
.page-interior .site-header {
    background: #fff;
    box-shadow: 0 2px 24px -14px rgba(33, 29, 23, 0.5);
}
.page-interior .site-header::before {
    display: none;
}
.page-interior .nav__list a {
    color: var(--ink);
}

/* Bannière de titre de page (passe sous l'en-tête fixe) */
.page-banner {
    background: var(--forest);
    color: var(--cream);
    text-align: center;
    padding: calc(76px + clamp(2rem, 5vw, 3.5rem)) 0 clamp(2rem, 5vw, 3.5rem);
}
/* Sur mobile la carte du logo descend à ~133px, soit plus bas que le haut du
   titre : sans ce dégagement, elle passerait par-dessus le texte.
   La règle doit rester APRÈS `.page-banner` pour la surcharger ; la variante
   à photo a son propre dégagement (après `.page-banner--image`). */
@media (max-width: 760px) {
    .page-banner {
        padding-top: 148px;
    }
}
.page-banner .section__eyebrow {
    color: #d8c39a;
}
.page-banner__title {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    color: var(--white);
}
.page-banner__intro {
    color: rgba(250, 245, 236, 0.85);
    max-width: 42rem;
    margin: 1rem auto 0;
    font-size: 1.08rem;
}
.breadcrumb {
    font-size: 0.85rem;
    color: rgba(250, 245, 236, 0.7);
    margin: 1.1rem 0 0;
}
.breadcrumb a {
    color: rgba(250, 245, 236, 0.85);
}
.breadcrumb a:hover {
    color: var(--white);
}
.breadcrumb span[aria-current] {
    color: #e6d3ab;
}

/* Bannière image plein cadre (ex. Fleurs & cadeaux) : image de fond,
   léger assombrissement et parallax discret (JS, désactivé si reduced-motion). */
.page-banner--image {
    position: relative;
    padding: 0;
    /* Hauteur plancher → un vrai bandeau (pas une image géante), mais le
       bandeau s'agrandit si le texte est plus long (sinon il serait rogné,
       `overflow: hidden` étant nécessaire au parallax). */
    min-height: clamp(18rem, 46vh, 28rem);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--forest); /* repli le temps du chargement */
}
.page-banner__media {
    position: absolute;
    left: 0;
    right: 0;
    top: -25%;
    height: 150%; /* déborde en haut/bas pour laisser jouer le parallax */
    will-change: transform;
}
.page-banner__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}
.page-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 16, 11, 0.82) 0%,
        rgba(20, 16, 11, 0.5) 45%,
        rgba(20, 16, 11, 0.3) 100%
    );
}
.page-banner--image .page-banner__content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    padding-top: calc(76px + clamp(1.5rem, 4vw, 2.5rem));
    /* `+ var(--wave)` : la section suivante remonte sur le bandeau et y
       découpe une vague (§21). Le bandeau ne peut pas prendre la bordure
       transparente des autres sections — `overflow: hidden` rognerait sa
       photo — donc la respiration se fait ici, sur le contenu. */
    padding-bottom: calc(clamp(1.5rem, 4vw, 2.5rem) + var(--wave));
}
.page-banner--image .page-banner__title {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
/* `object-fit: cover` cale la photo sur la LARGEUR du bandeau. Si la hauteur
   reste plafonnée, le bandeau devient une fente horizontale quand l'écran
   s'élargit (4,3:1 en 1920px) et la photo paraît énormément zoomée : on n'en
   voyait plus que ~17 % de la hauteur, contre ~55 % sur mobile.
   On fait donc croître la hauteur avec la largeur — bornée à 34rem, et à 65vh
   pour que le bandeau ne mange pas tout l'écran sur une fenêtre basse.
   Couplé aux variantes `-wide` (recadrage 2,4:1), ~67 % de la photo reste
   visible sur grand écran. */
/* Même dégagement du logo sur mobile que `.page-banner` (voir plus haut) :
   ici c'est le contenu qui porte le padding, pas la bannière. */
@media (max-width: 760px) {
    .page-banner--image .page-banner__content {
        padding-top: 148px;
    }
}
@media (min-width: 900px) {
    .page-banner--image {
        min-height: min(clamp(28rem, 30vw, 34rem), 65vh);
    }
}

/* Bloc service détaillé (page Créations) : image + texte alternés */
.feature {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    /* Fond explicite (et non « transparent = le crème du body ») : les
       jointures ondulées du §21 découpent chaque section dans SON fond.
       Une section transparente ne découperait rien et laisserait une
       coupure droite au milieu des autres. */
    background: var(--cream);
}
.feature:nth-child(even) {
    background: var(--cream-2);
}
.feature__grid {
    display: grid;
    gap: clamp(1.8rem, 5vw, 4rem);
    align-items: center;
    grid-template-columns: 1fr 1fr;
}
.feature:nth-child(even) .feature__media {
    order: 2;
}
.feature__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.feature__body .section__eyebrow {
    text-align: left;
}
.feature__body h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    color: var(--forest);
    margin-bottom: 0.8rem;
}
.feature__body p {
    color: var(--ink-soft);
}
.feature__list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.feature__list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink-soft);
}
.feature__list li::before {
    content: "✿";
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Bande d'appel à l'action (fin de page) */
.cta-band {
    background: var(--forest);
    color: var(--cream);
    text-align: center;
    padding: clamp(3rem, 7vw, 5rem) 0;
}
.cta-band__title {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.cta-band p {
    color: rgba(250, 245, 236, 0.85);
    max-width: 38rem;
    margin: 1rem auto 1.9rem;
    font-size: 1.05rem;
}
.cta-band__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Carte pleine largeur, désaturée en gris (inspiration : sobre & discrète) */
.map-wide {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}
.map-wide iframe {
    width: 100%;
    height: clamp(360px, 52vh, 560px);
    border: 0;
    display: block;
    filter: grayscale(1) contrast(0.95) brightness(1.03);
}

@media (max-width: 780px) {
    .feature__grid {
        grid-template-columns: 1fr;
    }
    .feature:nth-child(even) .feature__media {
        order: 0;
    }
}

/* ---------- 17. Séparateurs modernes entre sections ---------- */
/* Les vagues `.wave` (deux <div> + SVG posés à la main dans l'accueil, dont
   le tracé devait être repeint de la couleur de la section du dessous) ont
   été remplacées par les jointures ondulées du §21, qui s'appliquent à
   toutes les sections de toutes les pages, sans balisage ni couleur à tenir
   à jour. */

/* Ornement botanique : petite fleur dorée entre deux filets dégradés.
   S'utilise là où l'on mettrait une règle horizontale. */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    max-width: 26rem;
    margin: clamp(1.6rem, 4vw, 2.6rem) auto 0;
    color: var(--gold);
}
.ornament::before,
.ornament::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
}
.ornament::before {
    background: linear-gradient(to right, transparent, currentColor);
}
.ornament::after {
    background: linear-gradient(to left, transparent, currentColor);
}
.ornament span {
    font-size: 1.15rem;
    line-height: 1;
}

/* ---------- 18. Bandeau « Nouveau » (commande en ligne) ---------- */
.promo {
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #fff;
}
.promo__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    padding: clamp(1.3rem, 3.2vw, 2.1rem) 0;
}
.promo__tag {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}
.promo__text {
    margin: 0;
    flex: 1 1 300px;
    font-size: 1.06rem;
    color: rgba(255, 255, 255, 0.96);
}
.promo .btn {
    flex: 0 0 auto;
}
.btn--light {
    background: #fff;
    color: var(--gold-deep);
    box-shadow: var(--shadow-soft);
}
.btn--light:hover {
    background: var(--cream);
    color: var(--gold-deep);
}

/* ---------- 19. Cartes de service cliquables ---------- */
a.card {
    color: inherit;
}
a.card:hover {
    text-decoration: none;
}
.card__more {
    display: inline-block;
    margin-top: 0.8rem;
    color: var(--gold-deep);
    font-weight: 500;
    font-size: 0.95rem;
}
a.card:hover .card__more {
    text-decoration: underline;
}

/* ---------- 20. Photo à la une (page Mariage) ---------- */
/* Texte à gauche, photo à droite. Le fond blanc (seul de la page) détache le
   bloc du crème des sections voisines.
   Deux différences volontaires avec `.feature`, qui est aussi un split :
   la photo n'est pas recadrée en 4/3 — elle garde son portrait entier — et
   sa colonne est plafonnée pour qu'elle ne devienne pas démesurée en 1180px.
   L'alternance est respectée : le dernier `.feature` ci-dessus a son image
   à gauche. */
.spotlight {
    background: var(--white);
}
.spotlight__grid {
    display: grid;
    align-items: center;
    gap: clamp(1.8rem, 5vw, 4rem);
    grid-template-columns: 1fr minmax(0, 26rem);
}
.spotlight .section__title {
    color: var(--forest);
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
}
.spotlight__media {
    margin: 0;
}
.spotlight__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.spotlight__text {
    margin: clamp(1.1rem, 2.4vw, 1.6rem) 0 0;
    color: var(--ink-soft);
    font-size: 1.06rem;
    text-wrap: pretty;
}
.spotlight__text--lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.2rem, 2.6vw, 1.45rem);
    line-height: 1.45;
    color: var(--forest);
}

@media (max-width: 860px) {
    .spotlight__grid {
        grid-template-columns: 1fr;
    }
    /* Empilé, la photo passe devant : c'est elle l'accroche du bloc. */
    .spotlight__media {
        order: -1;
        max-width: 26rem;
        margin-inline: auto;
    }
}

/* Bio d'équipe : version plus généreuse pour la page d'accueil */
.member__bio {
    text-wrap: pretty;
}

/* ---------- 21. Jointures ondulées entre sections ---------- */
/* Fleuriste : la ligne de partage entre deux blocs n'est pas un trait droit
   mais une ondulation très plate (un creux d'environ 1 px pour 35 px de
   largeur), dont le sens s'inverse d'une jointure à l'autre.

   Principe : chaque section remonte de --wave sur la précédente, puis son
   bord haut est détouré par un masque en forme de vague. Le creux retiré
   laisse voir la section du dessus, donc la jointure est UNE seule courbe :
   ni trou, ni double trait, et rien à repeindre dans la couleur du voisin.
   Corollaire : chaque section doit avoir un fond OPAQUE — une section
   transparente ne découpe rien et la jointure redevient droite. C'est la
   raison du `background` posé sur `.feature`.

   Aucun balisage ajouté : tout se joue sur les enfants directs de <main>,
   donc sur les 7 pages à la fois.

   Les deux masques sont un SVG étiré en largeur (`preserveAspectRatio:none`)
   et rempli SOUS la courbe ; `--wave-b` est le miroir horizontal de
   `--wave-a`. */
:root {
    --wave: clamp(20px, 2.6vw, 44px);
    --wave-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,28 C240,0 480,0 720,24 C960,48 1200,52 1440,24 L1440,60 L0,60 Z' fill='black'/%3E%3C/svg%3E");
    --wave-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,24 C240,52 480,48 720,24 C960,0 1200,0 1440,28 L1440,60 L0,60 Z' fill='black'/%3E%3C/svg%3E");
}

main > * + *,
.site-footer {
    --wave-img: var(--wave-a);
    margin-top: calc(var(--wave) * -1);
    /* Les sections se chevauchent : il faut que la suivante peigne par-dessus.
       z-index 1 reste très en dessous de l'en-tête (100) et de la
       visionneuse (300). */
    position: relative;
    z-index: 1;
    /* Deux calques de masque : la vague sur la bande du haut, un aplat opaque
       pour tout le reste. Ils se recouvrent de 1 px, sinon un cheveu clair
       apparaît au raccord selon l'arrondi du zoom. */
    -webkit-mask-image: var(--wave-img), linear-gradient(black 0 0);
    -webkit-mask-size: 100% var(--wave), 100% calc(100% - var(--wave) + 1px);
    -webkit-mask-position:
        top left,
        bottom left;
    -webkit-mask-repeat: no-repeat;
    mask-image: var(--wave-img), linear-gradient(black 0 0);
    mask-size: 100% var(--wave), 100% calc(100% - var(--wave) + 1px);
    mask-position:
        top left,
        bottom left;
    mask-repeat: no-repeat;
}
/* Une jointure sur deux ondule dans l'autre sens. */
main > *:nth-child(even) {
    --wave-img: var(--wave-b);
}

/* Respiration de part et d'autre de la courbe.
   Une bordure transparente plutôt qu'un padding en dur : le fond de la
   section la couvre (background-clip vaut border-box par défaut) et le masque
   s'y réfère aussi, donc la découpe consomme EXACTEMENT cette bordure et ne
   mord jamais sur la zone de padding. Surtout, ça s'ajoute au padding propre
   de chaque section (.feature, .section et .cta-band n'ont pas le même
   rythme) sans avoir à redéclarer leurs clamp ici — où ils finiraient par
   diverger.
   Bas : toute section sur laquelle la suivante remonte, y compris la dernière
   (c'est le pied de page qui remonte dessus).
   Haut : toute section détourée, plus le pied de page.
   Deux blocs restent sans bordure, car leur fond n'est pas un `background`
   mais un enfant rogné au padding box — on y verrait une bande unie au lieu
   de la photo ou de la carte : `.page-banner--image` (qui écarte son contenu
   depuis l'intérieur, cf. §13) et `.map-wide` (dont l'iframe remplit la
   boîte : la vague se taille directement dans la carte). `.hero`, lui, n'a
   pas de jointure du tout. */
main > *:not(.hero):not(.map-wide):not(.page-banner--image) {
    border-bottom: var(--wave) solid transparent;
}
main > * + *:not(.map-wide),
.site-footer {
    border-top: var(--wave) solid transparent;
}

/* `.hero` est hors-jeu : son image et son indicateur de défilement occupent
   le bas du cadre, une vague y mordrait dessus. La jointure avec le bandeau
   doré reste donc droite — c'est aussi la seule que l'on voit avant de
   commencer à faire défiler la page. */
main > .hero + * {
    margin-top: 0;
    border-top: 0;
    -webkit-mask-image: none;
    mask-image: none;
}

/* ---------- 15. Préférences mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
