/* Pages "prestation" (Cocktail, Gala, Mariage...): same look as the home
   page — dark background, Anton titles, Didact Gothic text, gold
   accents, off-white frames with square corners. */

:root {
    --ink: rgb(11, 16, 23);
    --gold: #e8b33a;
    --paper: #f1ece2;
    --muted: rgba(241, 236, 226, 0.86);
    --line: rgba(241, 236, 226, 0.22);
    /* No grain on these pages: kept as a variable so it can come back. */
    --grain: none;
}

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

html {
    scroll-behavior: smooth;
}

/* Words are never cut at the end of a line; headings break into lines of
   even length and paragraphs avoid a lone last word (prestation.js also ties
   the last two words together). */
p,
li,
blockquote,
h1,
h2,
h3 {
    -webkit-hyphens: manual;
    hyphens: manual;
    overflow-wrap: normal;
}

p,
li,
blockquote {
    text-wrap: pretty;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

/* Long paragraphs are justified where the column is wide enough to avoid
   gaps between words (tablet and up). */
@media (min-width: 768px) {
    .intro p {
        text-align: justify;
    }
}

body {
    margin: 0;
    background: var(--ink) var(--grain);
    background-size: 140px 140px;
    color: var(--paper);
    font-family: "Didact Gothic", sans-serif;
    font-size: 20px;
    line-height: 1.65;
    line-height: 1.6;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: Anton, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.wrap {
    width: min(1180px, 100% - 32px);
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.bar {
    display: block;
    width: 56px;
    height: 3px;
    margin: 22px 0 0;
    background: var(--gold);
}

/* Top bar */
.topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    background: rgba(11, 16, 23, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand img {
    width: auto;
    height: 52px;
}

.brand span {
    display: flex;
    flex-direction: column;
    font-family: Anton, sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 1.05;
    text-transform: uppercase;
}

.brand small {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--muted);
}

.topbar nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.topbar nav a {
    text-decoration: none;
    color: var(--muted);
    transition: color 0.25s ease;
}

.topbar nav a:hover {
    color: var(--paper);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border: 2px solid var(--paper);
    background: none;
    color: var(--paper);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0 0 var(--gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--gold);
}

.btn--gold {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
}

.topbar .btn {
    padding: 10px 18px;
    font-size: 12px;
}

/* Hero: the event photo in black and white, with the title over it. */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero__photo {
    position: absolute;
    inset: 0;
    background-position: center 40%;
    background-size: cover;
    filter: grayscale(1) contrast(1.1);
    transform: scale(1.08);
    animation: hero-in 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 16, 23, 0.55) 0%, rgba(11, 16, 23, 0.25) 40%, rgba(11, 16, 23, 0.95) 100%),
        var(--grain);
    background-size: 100% 100%, 140px 140px;
}

@keyframes hero-in {
    to {
        transform: scale(1);
    }
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(56px, 12vw, 170px);
    letter-spacing: 3px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.hero__tagline {
    max-width: 640px;
    margin: 18px 0 0;
    font-size: clamp(21px, 2.2vw, 27px);
    font-style: italic;
    color: var(--paper);
}

.hero__scroll {
    position: absolute;
    right: 24px;
    bottom: 30px;
    z-index: 1;
    writing-mode: vertical-rl;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
}

.hero__scroll::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 60px;
    margin-top: 12px;
    background: var(--gold);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
}

/* Sections */
section {
    padding: 110px 0;
}

.intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.intro h2 {
    font-size: clamp(34px, 4.4vw, 58px);
}

.intro p {
    margin: 0 0 18px;
    color: var(--muted);
}

.intro p:first-child {
    color: var(--paper);
    font-size: 24px;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(32px, 4vw, 52px);
}

/* Formats: framed cards */
.formats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Four cards (Séminaire): two rows of two instead of a lone fourth card. */
@media (min-width: 901px) {
    .formats--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.format {
    position: relative;
    padding: 38px 30px 34px;
    /* Smoked glass, as on the home page and the Spectacles page: smooth,
       a fine grey edge, a soft sheen across the top. */
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 28%, rgba(255, 255, 255, 0) 55%),
        rgba(6, 6, 6, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 24px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.format:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 179, 58, 0.55);
}

.format h3 {
    font-size: 26px;
    margin-bottom: 14px;
}

.format p {
    margin: 0;
    color: var(--muted);
}

.format__tag {
    display: block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Steps: a line with four stops */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    counter-reset: step;
}

.step {
    position: relative;
    padding: 36px 26px 0 0;
    counter-increment: step;
}

.step::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    width: 11px;
    height: 11px;
    background: var(--gold);
    transform: rotate(45deg);
}

.step h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.step h3::before {
    content: counter(step, decimal-leading-zero) " · ";
    color: var(--gold);
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

/* Ideal for: words in a row */
.ideal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ideal li {
    list-style: none;
    padding: 10px 18px;
    border: 1px solid var(--line);
    font-size: 17px;
    letter-spacing: 1px;
}

.ideal {
    margin: 0;
    padding: 0;
}

/* Quote band */
.quote {
    position: relative;
    padding: 130px 0;
    text-align: center;
    overflow: hidden;
}

.quote__photo {
    position: absolute;
    inset: 0;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    filter: grayscale(1) brightness(0.35);
}

.quote blockquote {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    font-family: Anton, sans-serif;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote blockquote::before,
.quote blockquote::after {
    color: var(--gold);
    font-family: Georgia, serif;
}

.quote blockquote::before {
    content: "\201C";
}

.quote blockquote::after {
    content: "\201D";
}

/* Call to action */
.cta {
    text-align: center;
    border-top: 1px solid var(--line);
}

.cta h2 {
    font-size: clamp(36px, 5vw, 66px);
}

.cta p {
    max-width: 620px;
    margin: 20px auto 36px;
    color: var(--muted);
}

.cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* Other services */
.others {
    padding: 70px 0 90px;
    border-top: 1px solid var(--line);
}

.others h2 {
    margin-bottom: 26px;
    font-size: 22px;
    color: var(--muted);
}

.others ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.others a {
    font-family: Anton, sans-serif;
    font-size: clamp(26px, 3vw, 40px);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--paper);
    opacity: 0.45;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.others a:hover {
    opacity: 1;
    color: var(--gold);
}

footer {
    padding: 26px 0 40px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 1px;
}

/* Arrival: blocks rise in as they come into view (prestation.js). */
.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready .reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    body {
        font-size: 18px;
    }

    .topbar nav a:not(.btn) {
        display: none;
    }

    .brand img {
        height: 42px;
    }

    .brand span {
        font-size: 16px;
    }

    section {
        padding: 80px 0;
    }

    .intro,
    .formats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

    .quote__photo {
        background-attachment: scroll;
    }
}

@media (max-width: 560px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .topbar {
        padding: 10px 16px;
    }

    .brand small {
        display: none;
    }

    /* The vertical "Découvrir" cue sits on top of the hero subtitle
       on narrow screens; people scroll naturally on a phone anyway. */
    .hero__scroll {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero__photo,
    .hero__scroll::after {
        animation: none;
        transform: none;
    }

    .reveal-ready .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Kaïros ornaments (../wp-content/uploads/2026/11/deco), as on the home
   page: arabesque corners framing the intro, the Kaïros sun barely visible
   behind the quote, and the seal above the call to action. Decoration only:
   low opacity, behind the text, never clickable. */
#intro {
    position: relative;
}

#intro > .wrap {
    position: relative;
    z-index: 1;
}

.quote::after,
.cta > .wrap::before {
    content: "";
    display: block;
    pointer-events: none;
}

.quote::after {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: min(640px, 110vw);
    aspect-ratio: 1000 / 1254;
    background: url("../wp-content/uploads/2026/11/deco/soleil-seul.png") center / contain no-repeat;
    opacity: 0.07;
    transform: translate(-50%, -50%);
}

.quote .wrap {
    position: relative;
    z-index: 1;
}

.cta > .wrap::before {
    width: 52px;
    height: 66px;
    margin: 0 auto 30px;
    background: url("../wp-content/uploads/2026/11/deco/sceau-blanc.png") center / contain no-repeat;
    opacity: 0.6;
}

@media (min-width: 1200px) {
    #intro::before,
    #intro::after {
        content: "";
        position: absolute;
        z-index: 0;
        display: block;
        width: clamp(140px, 10.5vw, 200px);
        aspect-ratio: 640 / 664;
        background: url("../wp-content/uploads/2026/11/deco/coin-blanc.png") top left / contain no-repeat;
        opacity: 0.14;
        pointer-events: none;
    }

    #intro::before {
        top: 10px;
        left: 18px;
    }

    #intro::after {
        right: 18px;
        bottom: -30px;
        transform: rotate(180deg);
    }
}
