/*
 * Auteur du code : Gaëtan BALICKI
 * Développeur WEB
 * Contact : contact@un-temps-demotion.fr
 * Site web : www.un-temps-demotion.fr
 */
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/quicksand-300.ttf') format('truetype'); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/quicksand-400.ttf') format('truetype'); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/quicksand-500.ttf') format('truetype'); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/quicksand-600.ttf') format('truetype'); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/quicksand-700.ttf') format('truetype'); }

:root {
    --color-brand: #c79970;
    --color-brand-dark: #a7744c;
    --color-ink: #1f1f1f;
    --color-muted: #686868;
    --color-line: #dedbd8;
    --color-soft: #f7f5f3;
    --color-white: #fff;
    --color-success: #496f4a;
    --color-error: #9d3838;
    --shadow-soft: 0 16px 40px rgba(37, 31, 27, .10);
    --radius-small: .35rem;
    --radius-medium: 1rem;
    --content-width: 1500px;
    --text-width: 1000px;
    --font-main: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 180ms ease;
    --eyebrow-size: .82rem;
    --section-title-size: clamp(1.65rem, 2.35vw, 2.35rem);
    --body-text-size: 16px;
}

/*
 * Auteur du code : Gaëtan BALICKI
 * Développeur WEB
 * Contact : contact@un-temps-demotion.fr
 * Site web : www.un-temps-demotion.fr
 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; touch-action: pan-x pan-y; }
body { margin: 0; color: var(--color-ink); background: var(--color-white); font-family: var(--font-main); font-size: var(--body-text-size); line-height: 1.7; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-brand-dark); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 1rem; font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 4.4rem); text-transform: uppercase; letter-spacing: .045em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
p { margin: 0 0 1.25rem; }
.section p,
.section-heading p,
.centered p,
.page-intro p,
.legal-content p,
.accordion details p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.hero-content p,
.image-banner-content p,
.page-intro p,
.pricing-note,
.quote {
    text-align: center;
    hyphens: none;
}
ul { margin: 0 0 1.5rem; }
strong { font-weight: 700; }
::selection { color: var(--color-white); background: var(--color-brand); }
.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: fixed; z-index: 1000; top: 1rem; left: 1rem; transform: translateY(-200%); padding: .7rem 1rem; color: #fff; background: #111; }
.skip-link:focus { transform: translateY(0); }


/* Dissuasion légère contre la copie accidentelle du contenu de la page.
   Les champs de formulaire restent sélectionnables afin de conserver une saisie normale. */
body {
    -webkit-user-select: none;
    user-select: none;
}
input,
textarea,
select,
[contenteditable='true'] {
    -webkit-user-select: text;
    user-select: text;
}

/* Message de protection affiché lors d'un clic droit. */
.right-click-message {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: grid;
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
    gap: .35rem;
    place-items: center;
    color: #000;
    background: rgba(255, 255, 255, .95);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-style: italic;
    font-weight: 300;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}
.right-click-message-leaf {
    width: 58px;
    height: auto;
}
.right-click-message.is-visible {
    opacity: 1;
}

html.developer-mode body,
html.developer-mode body * {
    -webkit-user-select: text;
    user-select: text;
}

/*
 * Auteur du code : Gaëtan BALICKI
 * Développeur WEB
 * Contact : contact@un-temps-demotion.fr
 * Site web : www.un-temps-demotion.fr
 */
.shell { width: min(calc(100% - 3rem), var(--content-width)); margin-inline: auto; }
.narrow { width: min(calc(100% - 3rem), var(--text-width)); margin-inline: auto; }
.section { padding: clamp(1.5rem, 3vw, 3rem) 0; }
.section-compact { padding: clamp(1rem, 2vw, 2rem) 0; }
.section-soft { background: var(--color-soft); }
.section-warm { background: #fbf7f3; }
.property-hero ~ section:not(.real-estate-cta):nth-of-type(2n) { background: var(--color-white); }
.property-hero ~ section:not(.real-estate-cta):nth-of-type(2n + 1) { background: var(--color-soft); }
.wedding-form-section { background: var(--color-white) !important; }
.section-dark { color: #fff; background: #222; }
.real-estate-cta {
    position: relative;
    isolation: isolate;
    background: #222 url('../assets/images/real-estate/apartment-3.jpg') center / cover no-repeat;
    background-image: image-set(
        url('../assets/images/real-estate/apartment-3.webp') type('image/webp'),
        url('../assets/images/real-estate/apartment-3.jpg') type('image/jpeg')
    );
}
.real-estate-cta::before { position: absolute; z-index: 0; inset: 0; content: ""; background: rgba(0, 0, 0, .62); }
.real-estate-cta > * { position: relative; z-index: 1; }
.centered { text-align: center; }
.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.split:has(> .split-media:first-child) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.split.reverse .split-media { order: 2; }
.split.profile-section { grid-template-columns: minmax(240px, 3fr) minmax(0, 7fr); }
.split-media img { width: 100%; min-height: 420px; max-height: 720px; object-fit: cover; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.instagram-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.image-banner { position: relative; display: grid; isolation: isolate; width: 100%; overflow: hidden; place-items: center; }
.image-banner::after { position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .20), rgba(0, 0, 0, .20)); }
.image-banner > img,
.image-banner > picture,
.image-banner > picture > img { display: block; width: 100%; height: clamp(480px, 72vh, 900px); aspect-ratio: 3 / 2; object-fit: cover; }
.image-banner > picture { aspect-ratio: 3 / 2; }
.image-banner-content { position: absolute; z-index: 2; inset: 0; display: flex; width: min(calc(100% - 3rem), 1100px); margin-inline: auto; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: #fff; text-align: center; }
.image-banner-content .eyebrow { margin: 0; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.image-banner-content h2 { max-width: 1000px; margin: 0; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.image-banner-content p { max-width: 1000px; margin: 0; font-size: var(--body-text-size); font-style: italic; line-height: 1.5; text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.image-banner-content .button { margin-top: 1.5rem !important; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 4rem; align-items: start; }
.legal-nav { position: sticky; top: 8rem; padding: 1.5rem; background: var(--color-soft); }
.legal-nav a { display: block; padding: .35rem 0; }
.legal-content section { scroll-margin-top: 8rem; margin-bottom: 3rem; }
.legal-content--full { max-width: 1100px; margin-inline: auto; }

/*
 * Auteur du code : Gaëtan BALICKI
 * Développeur WEB
 * Contact : contact@un-temps-demotion.fr
 * Site web : www.un-temps-demotion.fr
 */
.hero { position: relative; min-height: min(76vh, 820px); display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; background: #333; }
.hero::after { position: absolute; inset: 0; content: ''; background: linear-gradient(rgba(0,0,0,.20), rgba(0,0,0,.20)); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 1; width: min(calc(100% - 3rem), 1050px); text-shadow: 0 2px 18px rgba(0,0,0,.8); }
.hero-kicker, .eyebrow { display: block; margin-bottom: .65rem; color: var(--color-brand); font-size: var(--eyebrow-size); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero .hero-kicker { color: #fff; }
.page-intro { padding: clamp(2.5rem, 5vw, 4rem) 0; text-align: center; }
.wedding-report-intro { padding-bottom: 2rem; }
.page-intro p { max-width: 760px; margin-inline: auto; }
.wedding-page .page-intro { max-width: 900px; }
.wedding-page .page-intro p { line-height: 1.6; }
.section-heading { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); text-align: center; }
.page-intro h1, main h1, main h2 { font-size: var(--section-title-size); }
.report-intro-leaf { width: 58px; height: auto; margin: .2rem auto .8rem; }
.property-hero h1::after { display: block; width: 58px; height: 30px; margin: .35rem auto .75rem; content: ''; background: url('../assets/images/feuille.png') center / contain no-repeat; }
.blog-article-page article > .section.section-soft { background: var(--color-soft); }
.blog-article-page article .article-checklist-section .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) {
    .blog-article-page article .article-checklist-section .card-grid { grid-template-columns: 1fr; }
}
.section-lead { font-size: 1em; font-style: normal; }
.sublime-section .narrow { max-width: 900px; }
.sublime-section p { line-height: 1.6; }
.section-heading p { max-width: 760px; margin-inline: auto; color: var(--color-muted); }
.blog-page .section-heading > p { text-align: center; }
.section-heading .section-subtitle {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}
.section-heading .legal-subtitle { text-align: center; }
.wedding-moments-heading p { max-width: 1050px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .7rem 1.35rem; cursor: pointer; border: 1px solid var(--color-brand); border-radius: 999px; color: #fff; background: var(--color-brand); transition: background var(--transition), color var(--transition), transform var(--transition); }
.button:hover { color: #fff; background: var(--color-brand-dark); transform: translateY(-1px); }
.button-outline { color: var(--color-brand-dark); background: transparent; }
.button-muted { color: var(--color-ink); border-color: var(--color-line); background: #eee; }
.feature-card { padding: 2rem; border-top: 3px solid var(--color-brand); background: #fff; box-shadow: var(--shadow-soft); }
.feature-card img { width: calc(100% + 4rem); max-width: none; height: 260px; margin: -2rem -2rem 1.7rem; object-fit: cover; }
.feature-card .price { display: block; margin: 1rem 0; color: var(--color-brand-dark); font-size: 1.75rem; font-weight: 700; }
.pricing-card h3::before { margin-right: .45rem; color: var(--color-brand); content: '❖'; font: inherit; }
.pricing-card h3 + p { margin-top: .4rem; margin-bottom: .7rem; font-style: italic; }
.pricing-card .price { margin-top: .55rem; }
.property-hero { padding-top: clamp(1.5rem, 3vw, 3rem); }
.property-hero h1 { font-size: var(--section-title-size); }
.property-hero-lead { max-width: 760px; margin: .7rem auto 0; color: var(--color-muted); font-size: .95rem; font-style: italic; line-height: 1.55; }
.property-hero .property-hero-lead { text-align: center; }
.report-location { margin-top: -.45rem; color: var(--color-brand); font-size: .9rem; font-weight: 500; }
.report-location span { color: var(--color-ink); }
.report-location a { color: var(--color-brand); text-decoration: underline; text-underline-offset: .15em; }
.report-location a:hover { color: var(--color-brand-dark); }
.page-cover-image { width: 100%; overflow: hidden; }
.page-cover-image img { width: 100%; height: clamp(480px, 72vh, 900px); object-fit: cover; }
.award-media { display: flex; align-items: center; justify-content: center; }
.award-media img { width: auto; max-width: 100%; height: clamp(360px, 30vw, 460px); min-height: 0; object-fit: contain; }
.check-list, .service-list, .preparation-list { padding: 0; list-style: none; }
.check-list li, .service-list li, .preparation-list li { position: relative; padding-left: 1.6rem; }
.service-list li {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.check-list li::before, .service-list li::before, .preparation-list li::before { position: absolute; top: 0; left: 0; color: var(--color-brand-dark); content: '✓'; font-weight: 700; }
.service-list { display: grid; gap: .85rem; }
.feature-card h3 + p { margin-top: 1rem; }
.process-grid .step-number { display: inline; margin: 0 .55rem 0 0; color: var(--color-brand); font-size: 1.4rem; font-weight: 400; vertical-align: baseline; }
.process-grid .feature-card h3 { display: inline; margin: 0; font-size: 1.4rem; }
.wedding-moment-grid .feature-card h3 { margin: 0; font-size: 1.4rem; }
.wedding-moment-grid .feature-card h3::before { margin-right: .45rem; color: var(--color-brand); content: '❖'; font: inherit; }
.contact-project-grid .feature-card { display: flex; flex-direction: column; }
.contact-project-grid .feature-card h3 span { margin-right: .35rem; color: var(--color-brand); }
.contact-project-grid .feature-card .button { align-self: flex-start; margin-top: auto; }
.pricing-card { display: flex; flex-direction: column; }
.pricing-card .check-list { margin-top: auto; }
.session-pricing-intro,
.session-pricing-note { max-width: 900px; margin-inline: auto; text-align: center; }
.session-pricing-card .check-list { width: fit-content; margin-right: auto; margin-left: auto; text-align: left; }
.session-pricing-card .check-list li { text-align: left; }
.session-pricing-note { margin-top: 2.5rem; font-style: italic; }
.pricing-note { max-width: 760px; margin: 2.5rem auto 0; color: var(--color-muted); text-align: center; }
.profile-photo { justify-self: center; }
.profile-photo img { display: block; width: min(100%, 430px); margin-inline: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; filter: grayscale(100%); }
.bonus-guide { max-width: 960px; }
.bonus-guide summary { color: var(--color-brand-dark); font-size: 1.15rem; text-transform: uppercase; }
.bonus-guide .preparation-list { display: grid; gap: .5rem; padding: 0 .25rem 1.5rem; }
.bonus-guide .preparation-list li {
    color: var(--color-muted);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.bonus-guide .preparation-list strong { color: var(--color-ink); }
.quote { max-width: 850px; margin: 0 auto; color: var(--color-brand-dark); font-size: clamp(1.4rem, 3vw, 2.2rem); font-style: italic; text-align: center; }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 110px; gap: .65rem; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic img:nth-child(1) { grid-column: span 7; grid-row: span 4; }
.mosaic img:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.mosaic img:nth-child(3) { grid-column: span 5; grid-row: span 2; }
.mosaic img:nth-child(4), .mosaic img:nth-child(5), .mosaic img:nth-child(6) { grid-column: span 4; grid-row: span 3; }
.wedding-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: .8rem; }
.wedding-gallery img { display: block; width: 100%; height: auto; }
.wedding-couple-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.wedding-couple-gallery:has(> :first-child:nth-last-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 900px); margin-inline: auto; }
.wedding-couple-card { position: relative; display: block; overflow: hidden; color: var(--color-ink); background: var(--color-white); }
.wedding-couple-card:hover { color: var(--color-ink); }
.wedding-couple-image { display: block; aspect-ratio: 3 / 2; }
.wedding-couple-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; will-change: transform; }
.wedding-couple-card:hover .wedding-couple-image img { transform: scale(1.04); }
.wedding-couple-name { position: absolute; z-index: 1; inset: 5%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; color: var(--color-ink); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 300; font-style: italic; text-align: center; text-shadow: none; background: rgba(255, 255, 255, .9); opacity: 0; visibility: hidden; pointer-events: none; transform: none; transition: opacity .4s ease, visibility 0s linear .4s; will-change: opacity; }
.wedding-couple-name > span { display: block; }
.wedding-couple-name > span:first-child { position: absolute; top: 50%; transform: translateY(-50%); }
.wedding-couple-location { position: absolute; top: calc(50% + 20px); margin-top: 0; font-size: .62em; font-style: normal; font-weight: 300; line-height: 1.25; }
.wedding-couple-name::before { position: absolute; bottom: calc(50% + 20px); left: 50%; width: 58px; height: 30px; content: ''; opacity: 0; visibility: hidden; background: url('../assets/images/feuille.png') center / contain no-repeat; transform: translateX(-50%); transition: opacity .4s ease, visibility 0s linear .4s; }
.wedding-couple-card:hover .wedding-couple-name, .wedding-couple-card.is-hovered .wedding-couple-name, .wedding-couple-card:focus-visible .wedding-couple-name { opacity: 1; visibility: visible; transition-delay: 0s; }
.wedding-couple-card:hover .wedding-couple-name::before, .wedding-couple-card.is-hovered .wedding-couple-name::before, .wedding-couple-card:focus-visible .wedding-couple-name::before { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (max-width: 760px) {
    .wedding-couple-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .wedding-couple-gallery:has(> :first-child:nth-last-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .wedding-couple-gallery:has(> :first-child:nth-last-child(3)) > :last-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - .65rem) / 2); }
    .wedding-couple-name { position: static; display: block; padding: .7rem .35rem .8rem; color: var(--color-ink); font-size: .92rem; line-height: 1.25; text-shadow: none; background: var(--color-white); opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none; }
    .wedding-couple-name > span:first-child, .wedding-couple-location { position: static; transform: none; }
    .wedding-couple-card:hover .wedding-couple-name, .wedding-couple-card:focus-visible .wedding-couple-name { color: var(--color-ink); transform: none; }
}
.accordion { max-width: 850px; margin: 0 auto; border-top: 1px solid var(--color-line); }
.accordion details { border-bottom: 1px solid var(--color-line); }
.accordion details.is-animating { overflow: hidden; }
.accordion summary {
    padding: 1.25rem .25rem;
    cursor: pointer;
    font-weight: 600;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.accordion details p { padding: 0 .25rem 1.25rem; color: var(--color-muted); }
.inline-link { color: var(--color-brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.faq-related-links { display: flex; flex-wrap: wrap; gap: .35rem .8rem; align-items: baseline; padding: 0 .25rem 1.25rem; color: var(--color-muted); font-size: .9rem; }
.faq-related-links span { flex-basis: 100%; color: var(--color-ink); font-weight: 600; }
.share-section { padding-block: .7rem; border-bottom: 1px solid var(--color-line); background: var(--color-white); }
.share-panel { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.share-label { color: var(--color-muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.share-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.share-icon { display: inline-grid; width: 34px; height: 34px; padding: 0; cursor: pointer; border: 1px solid var(--color-line); border-radius: 50%; color: var(--color-ink); background: #fff; place-items: center; transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition); }
.share-icon:hover { border-color: var(--color-brand); color: #fff; background: var(--color-brand); transform: translateY(-1px); }
.share-icon svg { width: 16px; height: 16px; fill: currentColor; }
.report-gallery { columns: 3 320px; column-gap: .8rem; }
.wedding-report-photos { padding-top: .5rem; }
.report-gallery figure { margin: 0 0 .8rem; break-inside: avoid; }
.report-gallery img { width: 100%; }
.wedding-report-gallery { max-width: 1050px; columns: 1; }
.wedding-report-navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.site-footer { text-align: center; background: transparent; }
.site-footer::before { display: block; height: clamp(1.75rem, 3vw, 3rem); content: ""; background: transparent; }
.site-footer-content { padding: 3rem 1.5rem 2rem; background: var(--color-soft); }
.footer-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(.45rem, 1.5vw, 1.5rem);
    font-size: clamp(.64rem, 1.15vw, 1rem);
    white-space: nowrap;
}
.footer-links a,
.footer-links button { flex: 0 0 auto; }
.footer-social { display: grid; gap: .35rem; margin: 1.7rem 0; color: var(--color-muted); }
.footer-social a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; justify-self: center; color: currentColor; }
.footer-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.copyright { margin: 0; color: var(--color-muted); font-size: .8rem; }
.text-button { padding: 0; cursor: pointer; border: 0; background: none; }
.cookie-banner { position: fixed; z-index: 100; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 1.5rem; border-top: 1px solid var(--color-line); background: rgba(255,255,255,.98); box-shadow: 0 -8px 30px rgba(0,0,0,.08); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .85rem; }
.cookie-actions { display: flex; flex: 0 0 auto; gap: .7rem; }
.cookie-actions .button { min-height: 34px; padding: .45rem .85rem; font-size: .82rem; white-space: nowrap; }
.cookie-dialog { width: min(calc(100% - 2rem), 600px); padding: 2rem; border: 0; border-radius: var(--radius-medium); box-shadow: var(--shadow-soft); }
.cookie-dialog::backdrop { background: rgba(0,0,0,.45); }
.dialog-close { float: right; border: 0; font-size: 1.8rem; background: none; }
.cookie-choice { display: flex; justify-content: space-between; gap: 1rem; margin: 1.5rem 0; padding: 1rem; background: var(--color-soft); }
.notice { margin-bottom: 2rem; padding: 1rem 1.25rem; border-left: 4px solid; }
.notice-success { border-color: var(--color-success); background: #eff7ef; }
.notice-error { border-color: var(--color-error); background: #fbefef; }
/* Contenu éditorial de la formule choisie dans le formulaire de contrat. */
.contract-formula-content {
    margin-top: .45rem;
    margin-bottom: 1.15rem;
    color: var(--color-text-muted, #666);
    font-size: .95em;
    line-height: 1.55;
    white-space: pre-line;
}


.blog-article-navigation {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: min(100%, 960px);
    margin-inline: auto;
    align-items: stretch;
}
.blog-article-navigation .feature-card {
    width: 100%;
    height: 100%;
}


.blog-article-navigation:has(> :only-child) {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
}

.blog-article-navigation:has(> :first-child:nth-last-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
}

@media (max-width: 760px) {
    .blog-article-navigation,
    .blog-article-navigation:has(> :first-child:nth-last-child(2)),
    .blog-article-navigation:has(> :only-child) {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* Article blog — séance engagement : seconde moitié plus éditoriale, sans photo. */
.engagement-learning-section {
    overflow: hidden;
}
.engagement-contrast-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
    width: min(100%, 1050px);
    margin-inline: auto;
}
.engagement-contrast-card {
    padding: clamp(1.75rem, 3vw, 2.75rem);
    border-top: 3px solid var(--color-brand);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}
.engagement-contrast-card-muted {
    border-top-color: var(--color-line);
}
.engagement-contrast-card h3 {
    margin-bottom: 1.4rem;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.engagement-negative-list li::before {
    content: '—';
    color: var(--color-muted);
}

.engagement-conclusion-section {
    padding-block: clamp(3.5rem, 7vw, 6rem);}
.engagement-conclusion-section h2 {
    max-width: 900px;
    margin-inline: auto;
}
.engagement-conclusion-lead {
    max-width: 780px;
    margin: 0 auto 2rem;
    color: var(--color-brand-dark);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.55;
    text-align: center !important;
    hyphens: none !important;
}
.engagement-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    margin: 0 auto 2.25rem;
}
.engagement-values span {
    display: inline-flex;
    min-width: 130px;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.1rem;
    border: 1px solid var(--color-brand);
    border-radius: 999px;
    color: var(--color-brand-dark);
    background: rgba(255, 255, 255, .65);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.engagement-conclusion-section > .narrow > p:not(.engagement-conclusion-lead) {
    max-width: 850px;
    margin-inline: auto;
}

@media (max-width: 620px) {
    .engagement-contrast-grid {
        grid-template-columns: 1fr;
    }
    .engagement-contrast-card {
        padding: 1.4rem;
    }
    .engagement-values {
        gap: .55rem;
    }
    .engagement-values span {
        min-width: 0;
        padding: .55rem .8rem;
        font-size: .76rem;
    }
}

/* Article blog — dernier rendez-vous */
.dernier-rdv-witness-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    width: min(100%, 1050px);
    margin-inline: auto;
}
.dernier-rdv-note {
    padding: clamp(1.6rem, 3vw, 2.5rem);
    border-left: 2px solid var(--color-brand);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}
.dernier-rdv-note h3 {
    margin-bottom: 1rem;
}
.dernier-rdv-note p:last-child {
    margin-bottom: 0;
}
.dernier-rdv-conclusion {
    text-align: left;
}
.dernier-rdv-quote {
    max-width: 900px;
    margin: 0 auto 1.75rem;
    color: var(--color-ink);
    font-size: clamp(1.08rem, 1.7vw, 1.3rem);
    font-style: italic;
    line-height: 1.7;
    text-align: center !important;
    hyphens: none !important;
}
.dernier-rdv-conclusion > .narrow > p:last-child {
    max-width: 900px;
    margin-inline: auto;
}
@media (max-width: 800px) {
    .dernier-rdv-witness-grid {
        grid-template-columns: 1fr;
    }
}

/* Article blog — préparatifs */
.preparatifs-place-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    width: min(100%, 1050px);
    margin-inline: auto;
}
.preparatifs-place-note {
    padding: clamp(1.6rem, 3vw, 2.5rem);
    border-left: 2px solid var(--color-brand);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}
.preparatifs-place-note p:last-child {
    margin-bottom: 0;
}
.preparatifs-quote {
    max-width: 850px;
    margin: 2rem auto 0;
    color: var(--color-ink);
    font-size: clamp(1.08rem, 1.7vw, 1.28rem);
    font-style: italic;
    line-height: 1.7;
    text-align: center !important;
    hyphens: none !important;
}
@media (max-width: 800px) {
    .preparatifs-place-layout {
        grid-template-columns: 1fr;
    }
}


/* Article blog — first-look */
.first-look-quote {
    max-width: 850px;
    margin: 2rem auto 0;
    color: var(--color-ink);
    font-size: clamp(1.08rem, 1.7vw, 1.28rem);
    font-style: italic;
    line-height: 1.7;
    text-align: center !important;
    hyphens: none !important;
}
.first-look-truth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    width: min(100%, 1050px);
    margin-inline: auto;
}
.first-look-truth-note {
    padding: clamp(1.6rem, 3vw, 2.5rem);
    border-left: 2px solid var(--color-brand);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}
.first-look-truth-note p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
    .first-look-truth-layout { grid-template-columns: 1fr; }
}

/* Blog — centrage automatique des cartes de catégories */
@media (min-width: 761px) {
    /*
     * La grille du blog reste visuellement en 3 colonnes,
     * mais utilise 6 pistes afin de pouvoir centrer proprement
     * une dernière ligne composée de 1 ou 2 cartes.
     */
    .blog-page .card-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .blog-page .card-grid > * {
        grid-column: span 2;
    }

    /* Une seule carte sur la dernière ligne */
    .blog-page .card-grid > *:last-child:nth-child(3n + 1) {
        grid-column: 3 / span 2;
    }

    /* Deux cartes sur la dernière ligne */
    .blog-page .card-grid > *:nth-last-child(2):nth-child(3n + 1) {
        grid-column: 2 / span 2;
    }

    .blog-page .card-grid > *:last-child:nth-child(3n + 2) {
        grid-column: 4 / span 2;
    }
}

/*
 * Auteur du code : Gaëtan BALICKI
 * Développeur WEB
 * Contact : contact@un-temps-demotion.fr
 * Site web : www.un-temps-demotion.fr
 */
.contact-form { max-width: 1100px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.form-field { display: grid; min-width: 0; gap: .45rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label, .form-field legend { font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid #bbb; border-radius: var(--radius-small); color: var(--color-ink); background: #fff; font-size: 16px; }
.form-field textarea { min-height: 180px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(199,153,112,.25); border-color: var(--color-brand); }
.form-honeypot { position: absolute !important; left: -10000px !important; }
.form-submit { margin-top: 1.5rem; text-align: center; }
.dynamic-fields { display: contents; }
.dynamic-fields[hidden] { display: none; }
.option-field { box-sizing: border-box; width: 100%; min-width: 0; margin: 0; padding: 1.2rem; border: 1px solid var(--color-line); border-radius: var(--radius-small); }
.option-row, .checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.25rem; min-width: 0; }
.option-row label, .checkbox-grid label { display: flex; min-width: 0; align-items: center; gap: .5rem; font-weight: 400; line-height: 1.35; }
.option-row input[type='checkbox'], .option-row input[type='radio'],
.checkbox-grid input[type='checkbox'], .checkbox-grid input[type='radio'] {
    box-sizing: border-box;
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    min-height: 1rem;
    margin: 0;
    padding: 0;
    accent-color: var(--color-brand-dark);
}
.rendezvous-form,
.rendezvous-form .form-grid,
.rendezvous-form .form-grid > .form-field,
.rendezvous-form .form-grid > fieldset,
.rendezvous-form fieldset {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.form-field input[type='date'],
.form-field input[type='time'] {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    inline-size: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-width: 100% !important;
    max-inline-size: 100% !important;
    font-size: 16px;
    letter-spacing: 0;
}
/* Safari iOS gives native date/time controls an intrinsic width. Removing
   that intrinsic sizing keeps them inside the two-column form cells. */
@supports (-webkit-touch-callout: none) {
    .form-field input[type='date'],
    .form-field input[type='time'] {
        -webkit-appearance: none;
        appearance: none;
        overflow: hidden;
    }
}
.form-field small { color: var(--color-muted); }
.range-field input[type='range'] { min-height: auto; padding: .65rem 0; border: 0; accent-color: var(--color-brand-dark); }
.property-form { padding: clamp(1.5rem, 4vw, 3rem); background: var(--color-soft); box-shadow: var(--shadow-soft); }
.contact-form-section { background: var(--color-white) !important; }
.contact-form-card { border-top: 3px solid var(--color-brand); }

/* Le formulaire de premier rendez-vous est découpé en étapes lisibles,
   sans cadres imbriqués qui alourdissent la lecture. */
.rendezvous-form .form-step {
    border: 0;
    margin: 0;
    padding: 0;
}
.rendezvous-form .form-step[hidden] { display: none; }
.rendezvous-form .form-step-title {
    margin: 0 0 1.25rem;
    color: var(--color-ink);
    font-size: 1.35rem;
    font-weight: 500;
}
.rendezvous-form .form-step-title::before {
    content: '❖';
    margin-right: .55rem;
    color: var(--color-brand);
    font-size: .85em;
}
.rendezvous-form .form-step-actions {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1.75rem;
}
.rendezvous-form .form-step-actions .button[hidden] { display: none; }
.rendezvous-form .form-step-actions .button:first-child:last-child { margin-left: auto; }
.rendezvous-form .form-step .form-field > fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
.rendezvous-form .form-step .form-field > fieldset > legend {
    margin: 0 0 .75rem;
    padding: 0;
    font-weight: 600;
}
.rendezvous-form h4 {
    margin: 0 0 .75rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Chaque moment de la journée est isolé pour rendre les horaires,
   les lieux et les précisions complémentaires faciles à parcourir. */
.rendezvous-form .wedding-day-stage {
    box-sizing: border-box;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin: 1.4rem 0 0;
    padding: 1.1rem 1.2rem 1.2rem;
    border: 1px solid var(--color-line);
    border-top: 3px solid var(--color-brand);
    background: var(--color-white);
}
.rendezvous-form .wedding-day-stage:first-of-type { margin-top: 0; }
.rendezvous-form .wedding-day-stage-title {
    padding: 0 .35rem;
    color: var(--color-ink);
    font-weight: 600;
}
.rendezvous-form .wedding-day-stage .form-grid { margin-top: .65rem; }
.rendezvous-form .wedding-day-stage .stage-details { grid-column: 1 / -1; }
@media (max-width: 700px) {
    .rendezvous-form .wedding-day-stage {
        margin-top: 1rem;
        padding: .85rem .8rem 1rem;
    }
}

/* Champs dynamiques du formulaire de mariage : témoins, enfants et animations. */
.mariage-witness-list,
.mariage-dynamic-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}
.mariage-witness-row,
.mariage-dynamic-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.mariage-dynamic-row-single {
    grid-template-columns: 1fr;
}
.mariage-witness-row[hidden],
.mariage-dynamic-row[hidden] {
    display: none !important;
}
.witness-group {
    border: 0;
    padding: 0;
    margin: 1rem 0;
}
.witness-group legend {
    margin-bottom: .5rem;
    font-weight: 600;
}
@media (max-width: 700px) {
    .mariage-witness-row,
    .mariage-dynamic-row {
        grid-template-columns: 1fr;
    }
}

/* Affichage conditionnel des moments de la journée et des options du mariage. */
.form-label {
    display: block;
    margin-bottom: .45rem;
    font-weight: 600;
}
[data-stage-fields][hidden],
.conditional-field[hidden] {
    display: none !important;
}
.mariage-yes-no {
    max-width: 320px;
    margin-bottom: .8rem;
}
.conditional-field {
    margin-top: 1rem;
}
.form-advice {
    margin: 0;
    padding: .9rem 1rem;
    border-left: 3px solid var(--color-brand);
    background: var(--color-soft);
}
.uppercase-input {
    text-transform: uppercase;
}

/* Liste des autres prestataires : deux champs alignés nom / téléphone. */
.provider-list {
    display: grid;
    gap: 1rem;
}
.provider-row {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 1rem 1.2rem 1.2rem;
    border: 1px solid var(--color-line);
    border-top: 3px solid var(--color-brand);
    background: var(--color-white);
}
.provider-row legend {
    padding: 0 .35rem;
    font-weight: 600;
}
.provider-joke {
    margin-left: .35rem;
    color: var(--color-muted);
    font-size: .86rem;
    font-weight: 400;
}
@media (max-width: 700px) {
    .mariage-yes-no {
        max-width: none;
    }
    .provider-row {
        padding: .85rem .8rem 1rem;
    }
    .provider-joke {
        display: block;
        margin: .2rem 0 0;
    }
}

/*
 * Auteur du code : Gaëtan BALICKI
 * Développeur WEB
 * Contact : contact@un-temps-demotion.fr
 * Site web : www.un-temps-demotion.fr
 */
@media (max-width: 900px) {

    .split,
    .split:has(> .split-media:first-child),
    .split.profile-section,
    .legal-layout { grid-template-columns: 1fr; }
    .split .split-media { order: -1; }
    .split.reverse .split-media { order: -1; }
    .split.profile-section > .profile-photo { order: -1; }
    .split-media img { min-height: 320px; }
    .split.profile-section > .profile-photo img { max-width: 60%; }
    .card-grid, .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .legal-nav { position: static; }
}
@media (max-width: 620px) {
    :root { --eyebrow-size: .65rem; --section-title-size: 1.25rem; --body-text-size: 13.5px; }
    body { font-weight: 400; }
    .shell, .narrow { width: min(calc(100% - 2rem), var(--content-width)); }
    h1, h2 { font-size: var(--section-title-size); font-weight: 400; letter-spacing: .015em; }
    h3 { font-size: 1.08rem; font-weight: 400; }
    .property-hero .eyebrow { margin-bottom: .4rem; letter-spacing: .12em; }
    .property-hero h1 { letter-spacing: .015em; line-height: 1.2; text-wrap: balance; }
    .property-hero h1::after { width: 42px; height: 22px; margin: .25rem auto .55rem; }
    .blog-article-page .property-hero h1 { font-weight: 400; white-space: normal; overflow-wrap: anywhere; }
    .home-page .property-hero h1,
    .wedding-page:not(.rendezvous-page):not(.contract-page):not(.blog-article-page) .property-hero h1,
    .real-estate-page:not(.blog-article-page) .property-hero h1,
    .session-page .property-hero h1,
    .blog-page .property-hero h1,
    .contact-page .property-hero h1,
    .rendezvous-page .property-hero h1,
    .contract-page .property-hero h1 {
        font-size: 1.1rem;
        font-weight: 400;
        letter-spacing: 0;
        white-space: nowrap;
    }
    .rendezvous-page .property-hero h1,
    .contract-page .property-hero h1 { font-size: .95rem; }
    .section { padding: 1.25rem 0; }
    .section-heading { margin-bottom: 1.15rem; }
    .feature-card { padding: 1.25rem; }
    .feature-card img { width: calc(100% + 2.5rem); height: 210px; margin: -1.25rem -1.25rem 1.25rem; }

    .hero { min-height: 66vh; }
    .card-grid, .card-grid.four, .form-grid { grid-template-columns: 1fr; }
    .blog-page .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .blog-page .card-grid:has(> :first-child:nth-last-child(odd)) > :last-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - .65rem) / 2); }
    .blog-page .feature-card { padding: 1rem; }
    .blog-page .feature-card { display: flex; min-height: 255px; flex-direction: column; }
    .blog-page .feature-card .eyebrow { margin-bottom: .45rem; font-size: .58rem; letter-spacing: .1em; }
    .blog-page .feature-card h3 { font-size: 1rem; line-height: 1.25; }
    .blog-page .feature-card > p { display: block; margin-bottom: 1rem; font-size: .76rem; line-height: 1.4; }
    .blog-page .feature-card .button { margin-top: auto; }
    .blog-article-navigation,
    .blog-article-navigation:has(> :first-child:nth-last-child(2)),
    .blog-article-navigation:has(> :only-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; width: 100%; }
    .blog-article-navigation .feature-card { display: flex; min-width: 0; min-height: 155px; padding: .7rem .4rem; flex-direction: column; }
    .blog-article-navigation .feature-card .eyebrow { margin-bottom: .35rem; font-size: .5rem; letter-spacing: .06em; }
    .blog-article-navigation .feature-card h3 { font-size: .78rem; line-height: 1.2; overflow-wrap: anywhere; }
    .blog-article-navigation .feature-card .button { width: 100%; min-height: 2.5rem; margin-top: auto; padding: .35rem .2rem; font-size: .62rem; line-height: 1.15; white-space: normal; }
    .image-banner > img,
    .image-banner > picture,
    .image-banner > picture > img { height: 62vh; min-height: 430px; }
    .image-banner-content { width: min(calc(100% - 2rem), 900px); }
    .wedding-banner-title { display: block; font-size: 1.25rem; line-height: 1.3; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .instagram-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .35rem; }
    .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .mosaic img:nth-child(n) { grid-column: auto; grid-row: auto; }
    .wedding-gallery { grid-template-columns: 1fr; gap: .65rem; }
    .cookie-banner { align-items: stretch; flex-direction: column; gap: .8rem; }
    .cookie-actions { flex-wrap: wrap; justify-content: flex-end; }
    .cookie-actions .button { flex: 0 0 auto; }
    .share-panel { gap: .6rem; }
    .option-row, .checkbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .8rem; }
    .option-row label, .checkbox-grid label { font-size: .9rem; }
    .rendezvous-form,
    .rendezvous-form fieldset,
    .rendezvous-form .form-field { width: 100%; min-width: 0; max-width: 100%; }
    .form-field input[type='date'],
    .form-field input[type='time'] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 16px;
    }
    .button { min-height: 34px; padding: .45rem .85rem; font-size: .82rem; }
    .accordion summary { padding: .85rem .2rem; font-size: .92rem; line-height: 1.35; }
    .accordion details p { padding: 0 .2rem .9rem; line-height: 1.55; }
    .bonus-guide summary { font-size: .9rem; letter-spacing: .04em; }
    .bonus-guide .preparation-list { gap: .35rem; padding: 0 .2rem 1rem; line-height: 1.5; }
    .real-estate-page .sublime-section .eyebrow,
    .real-estate-page .section-heading .eyebrow { margin-bottom: .35rem; letter-spacing: .1em; }
    .real-estate-page .sublime-section h2,
    .real-estate-page .section-heading h2 { line-height: 1.2; }
    .real-estate-page .sublime-section p,
    .real-estate-page .section-heading p { line-height: 1.5; }
    .real-estate-page .split h2 { line-height: 1.25; }
    .real-estate-page .split p,
    .real-estate-page .service-list { line-height: 1.5; }
    .process-grid .step-number { margin-right: .4rem; font-size: 1.12rem; }
    .process-grid .feature-card h3,
    .wedding-moment-grid .feature-card h3 { font-size: 1.12rem; line-height: 1.25; }
    .feature-card h3 + p { margin-top: .9rem; }
    .contact-project-grid .feature-card .button { margin-top: .75rem; }
    .real-estate-page .process-grid .feature-card p { line-height: 1.5; }
    .site-footer-content { padding: 1.35rem .75rem 1rem; }
    .footer-social { gap: .1rem; margin: .7rem 0 .8rem; }
    .footer-social a { width: 22px; height: 22px; }
    .footer-social svg { width: 17px; height: 17px; }
    .copyright { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/*
 * Auteur du code : Gaëtan BALICKI
 * Développeur WEB
 * Contact : contact@un-temps-demotion.fr
 * Site web : www.un-temps-demotion.fr
 */
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/quicksand-300.ttf") format("truetype");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/quicksand-400.ttf") format("truetype");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/quicksand-500.ttf") format("truetype");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/quicksand-600.ttf") format("truetype");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/quicksand-700.ttf") format("truetype");
}

/*
 * Header autonome du site.
 * Cette feuille peut être chargée seule sur galeries.un-temps-demotion.fr :
 * elle ne modifie ni body, ni main, ni les titres, ni les paragraphes du site hôte.
 */
.site-header,
.main-navigation {
  --utde-header-brand: #c79970;
  --utde-header-brand-dark: #a7744c;
  --utde-header-line: #dedbd8;
  --utde-header-ink: #1f1f1f;
  --utde-header-font:
    "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --utde-header-width: 1500px;
  --utde-header-transition: 180ms ease;
  box-sizing: border-box;
  font-family: var(--utde-header-font);
  color: var(--utde-header-ink);
}

.site-header *,
.site-header *::before,
.site-header *::after,
.main-navigation *,
.main-navigation *::before,
.main-navigation *::after {
  box-sizing: border-box;
}

.site-header a,
.main-navigation a {
  color: inherit;
  text-decoration: none;
}
.site-header a:hover,
.main-navigation a:hover {
  color: var(--utde-header-brand-dark);
}
.site-header img,
.main-navigation img {
  display: block;
  max-width: 100%;
  height: auto;
}
.main-navigation button {
  color: inherit;
  font: inherit;
}

.site-header .shell,
.main-navigation .shell {
  width: min(calc(100% - 3rem), var(--utde-header-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  background: #fff;
}
.site-header .brand-row {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
}
.site-header .brand img {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.main-navigation {
  position: sticky;
  z-index: 60;
  top: 0;
  border-block: 1px solid var(--utde-header-line);
  background: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.main-navigation .mobile-nav-bar {
  display: none;
}
.main-navigation .mobile-brand {
  display: none;
}
.main-navigation .nav-links {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 3.2rem);
}
.main-navigation .nav-links a {
  position: relative;
  padding: 0.75rem 0;
  font-size: 16px;
  line-height: 1.7;
  white-space: nowrap;
}
.main-navigation .nav-links .photo-access-link {
  font-weight: 700;
}
.main-navigation .nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0.65rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  background: var(--utde-header-brand);
  transition: transform var(--utde-header-transition);
}
.main-navigation .nav-links a:hover::after,
.main-navigation .nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.main-navigation .menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

/* Variante compacte : uniquement la barre sticky, comme après avoir scrollé. */
body.header-compact .site-header,
.header-compact .site-header {
  display: none;
}

/* Utilitaire nécessaire au libellé accessible du bouton hamburger. */
.main-navigation .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;
}

@media (max-width: 900px) {
  .site-header {
    display: none;
  }
  .main-navigation .shell {
    width: min(calc(100% - 3rem), var(--utde-header-width));
  }
  .main-navigation .mobile-nav-bar {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
  }
  .main-navigation .mobile-brand {
    display: block;
    flex: 0 0 auto;
  }
  .main-navigation .mobile-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }
  .main-navigation .menu-toggle {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 auto;
    align-content: center;
    justify-content: center;
    gap: 4px;
    padding: 0.5rem;
    cursor: pointer;
  }
  .main-navigation .menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 1px;
    background: #111;
  }
  .main-navigation .nav-links {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding-block: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      max-height 320ms ease,
      padding 320ms ease,
      opacity 220ms ease,
      transform 320ms ease,
      visibility 0s linear 320ms;
    will-change: max-height, opacity, transform;
  }
  .main-navigation.is-open .nav-links {
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    padding-block: 1rem;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .main-navigation .nav-links a {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .main-navigation .shell {
    width: min(calc(100% - 2rem), var(--utde-header-width));
  }
  .main-navigation .mobile-nav-bar {
    min-height: 48px;
  }
  .main-navigation .mobile-brand img {
    width: 34px;
    height: 34px;
  }
  .main-navigation .menu-toggle span:not(.sr-only) {
    width: 20px;
  }
  .main-navigation.is-open .nav-links {
    max-height: calc(100vh - 48px);
  }
  .main-navigation .nav-links a {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-navigation *,
  .main-navigation *::before,
  .main-navigation *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Accessibilité — lien d’évitement masqué tant qu’il n’est pas utilisé au clavier. */
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  padding: 0.7rem 1rem;
  color: #fff;
  background: #111;
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.main-navigation,
.main-navigation .mobile-nav-bar {
  font-family: var(--utde-header-font);
}

.main-navigation .nav-links a {
  font-family: var(--utde-header-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.main-navigation .nav-links .photo-access-link {
  font-weight: 700;
}

