/* ============================================================
   WEE VISUAL SWISS — style.css · Direction "Galerie"
   Noir profond · Serif EB Garamond · Vert #284742 · Pêche #f7e0d7
   ============================================================ */

:root {
    --bg:     #0c0c0c;
    --ink:    #f5efe9;
    --muted:  #8f8880;
    --green:  #284742;
    --green-l:#3d6b62;
    --peach:  #f7e0d7;
    --line:   #232323;
    --serif:  'EB Garamond', Georgia, serif;
    --sans:   'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
/* les images qui doivent remplir un cadre gardent leur hauteur imposée */
.card img, .cv-aside.has-photo .cv-ph img, .reflect-media .rp img,
.hero-ph.ph img, .ph img { height: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- Typo ---------- */
.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 26px;
}
.eyebrow a:hover { color: var(--peach); }

h1, h2 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
}
h1 em, h2 em, .accent {
    font-style: italic;
    color: var(--peach);
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 92px;
}
.site-header .logo img { height: 42px; width: auto; }
.site-nav { display: flex; gap: 44px; }
.site-nav a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 8px 0;
    transition: color .25s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); border-bottom: 1px solid var(--green-l); }

/* ---------- Hero ---------- */
.hero { padding: 100px 0 110px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}
.hero h1 { font-size: clamp(50px, 6.6vw, 96px); }
.hero-sub {
    margin-top: 36px;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted);
}
.link-line {
    display: inline-block;
    margin-top: 48px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--green-l);
    transition: color .25s, border-color .25s;
}
.link-line:hover { color: var(--peach); border-color: var(--peach); }

.ph { position: relative; background: #161616; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-ph { height: min(72vh, 640px); }
.ph .cap {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: var(--bg);
    padding: 14px 22px;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Bandeau preuves ---------- */
.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.stats .wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.stat {
    padding: 44px 32px;
    text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 40px;
    color: var(--peach);
}
.stat span {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding: 130px 0; }
.section h2 { font-size: clamp(36px, 4.6vw, 64px); max-width: 22ch; }
.section .lead {
    margin-top: 30px;
    max-width: 54ch;
    font-size: 17px;
    color: var(--muted);
}

/* ---------- Services ---------- */
.services { margin-top: 70px; border-top: 1px solid var(--line); }
.service {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 60px;
    align-items: baseline;
    padding: 44px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left .3s;
}
.service:hover { padding-left: 16px; }
.service .t {
    font-family: var(--serif);
    font-size: 32px;
    transition: color .25s;
}
.service:hover .t { color: var(--peach); }
.service .p {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--peach);
    white-space: nowrap;
}
.service .d {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 15px;
    max-width: 62ch;
}

/* ---------- Portfolio ---------- */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 70px;
}
.card { position: relative; overflow: hidden; background: #161616; }
.card { aspect-ratio: 4 / 5; }
.card picture { width: 100%; height: 100%; }
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92;
    transition: transform .6s ease, opacity .4s;
}
.card:hover img { transform: scale(1.03); opacity: 1; }
.card .tag {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bg);
    padding: 12px 22px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* Collections : colonnes indépendantes qui se tassent.
   Remplissage 1-2-3 puis 4-5-6 (voir assets/js/collections.js).
   Chaque photo garde ses proportions ; l'espacement est identique partout. */
.masonry {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-top: 70px;
}
.masonry .mcol {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.masonry img, .masonry picture { width: 100%; display: block; }
.masonry img { height: auto; margin: 0; }
/* Repli si le script ne s'exécute pas : mise en colonnes native */
.masonry:not(.is-ready) {
    display: block;
    columns: 3;
    column-gap: 22px;
}
.masonry:not(.is-ready) > * { break-inside: avoid; margin-bottom: 22px; }

/* ---------- CTA pêche ---------- */
.cta-block { background: var(--peach); color: #141414; }
.cta-block h2 { color: #141414; }
.cta-block h2 em { color: var(--green); }
.cta-block .lead { color: #6d5f57; }
.btn {
    display: inline-block;
    margin-top: 46px;
    padding: 20px 52px;
    background: var(--green);
    color: var(--peach);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    transition: background .25s;
}
.btn:hover { background: #141414; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    margin-top: 70px;
}
.contact-list { list-style: none; }
.contact-list li {
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-list .k {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-list .v { font-family: var(--serif); font-size: 24px; }
.contact-list a.v:hover { color: var(--peach); }

form .field { margin-bottom: 30px; }
form label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--muted);
}
form input, form textarea {
    width: 100%;
    padding: 16px;
    background: #141414;
    border: 1px solid var(--line);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
}
form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--green-l);
}
form textarea { min-height: 170px; resize: vertical; }
form .btn { margin-top: 8px; }
.notice {
    padding: 16px 20px;
    background: #17211f;
    border: 1px solid var(--green);
    margin-bottom: 30px;
    font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0; }
.site-footer .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.site-footer img { height: 32px; width: auto; }
.site-footer p {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
}
.site-footer a:hover { color: var(--peach); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .site-header .wrap { height: 74px; }
    .site-nav { gap: 24px; }
    .hero { padding: 60px 0 70px; }
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-ph { height: 52vh; }
    .section { padding: 80px 0; }
    .stats .wrap { grid-template-columns: 1fr; }
    .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
    .grid3 { grid-template-columns: 1fr; }
    .masonry:not(.is-ready) { columns: 2; }
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .service .p { white-space: normal; }
}
@media (max-width: 540px) {
    .masonry:not(.is-ready) { columns: 1; }
    .site-nav a { letter-spacing: 0.18em; }
    .service { grid-template-columns: 1fr; }
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--peach);
    outline-offset: 3px;
}

/* ---------- Footer riche ---------- */
.foot-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.site-footer .foot-logo { height: 34px; width: auto; margin-bottom: 20px; }
.foot-copy { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.foot-h {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.foot-links a { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); transition: color .25s; }
.foot-links a:hover { color: var(--peach); }
.foot-links svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Références clients ---------- */
.refs { border-top: 1px solid var(--line); padding: 46px 0; }
.refs-h {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}
.refs-line {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--muted);
}

/* ---------- Page À propos ---------- */
.bio-cols {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.bio-cols p { color: var(--muted); font-size: 16px; }
.bio-cols p::first-letter { }
@media (max-width: 860px) { .bio-cols { grid-template-columns: 1fr; gap: 22px; } }

.process {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.step {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 40px 32px 48px;
}
.step .n {
    display: block;
    font-family: var(--serif);
    font-size: 44px;
    color: var(--peach);
    margin-bottom: 22px;
}
.step .t {
    display: block;
    font-family: var(--serif);
    font-size: 26px;
    margin-bottom: 14px;
}
.step .d { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }

/* ---------- Réservation de sessions ---------- */
.legend { margin-top: 40px; display: flex; gap: 26px; }
.lg {
    font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px; color: var(--muted);
}
.lg::before { content: ''; width: 14px; height: 14px; display: inline-block; }
.lg.free::before { background: #2f7d5c; }
.lg.booked::before { background: #d07b2f; }

.day { margin-bottom: 60px; }
.day-title {
    font-size: 26px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}
.slot {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
}
.slot em {
    font-style: normal;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: .85;
}
.slot.free {
    background: rgba(47, 125, 92, .12);
    border-color: #2f7d5c;
    color: #2f7d5c;
    transition: background .2s, color .2s;
}
.slot.free:hover { background: #2f7d5c; color: #fff; }
.slot.booked {
    background: rgba(208, 123, 47, .14);
    border-color: #d07b2f;
    color: #b0651f;
    cursor: not-allowed;
}

.policy {
    background: var(--peach);
    color: #141414;
    padding: 28px 30px;
}
.policy p { margin-bottom: 14px; font-size: 15px; }
.policy p:last-child { margin-bottom: 0; }
.policy a { color: var(--green); }

/* ---------- Calibrage v6 : logo & mobile ---------- */
/* Logo à 75% d'opacité partout (demande Salim) */
.site-header .logo img,
.site-footer .foot-logo { opacity: .75; }

/* Header smartphone : logo au-dessus, navigation compacte sur une ligne */
@media (max-width: 640px) {
    .site-header .wrap {
        height: auto;
        flex-direction: column;
        gap: 12px;
        padding-top: 16px;
        padding-bottom: 14px;
    }
    .site-header .logo img { height: 34px; }
    .site-nav { gap: 18px; flex-wrap: wrap; justify-content: center; }
    .site-nav a { font-size: 10px; letter-spacing: 0.16em; padding: 4px 0; }
}

/* À propos smartphone : image entière, jamais coupée */
@media (max-width: 640px) {
    .ph-full-mobile { height: auto; min-height: 0; }
    .ph-full-mobile img { height: auto; object-fit: contain; }
}

/* Espacements resserrés sur smartphone (contact et pages en général) */
@media (max-width: 640px) {
    .hero { padding: 44px 0 44px; }
    .hero-grid { gap: 34px; }
    .section { padding: 54px 0; }
    .contact-grid { gap: 40px; margin-top: 40px; }
    .contact-list li { padding: 16px 0; }
    .contact-list .v { font-size: 20px; }
    form .field { margin-bottom: 20px; }
    .day { margin-bottom: 40px; }
    .foot-grid { gap: 30px; }
    .site-footer { padding: 40px 0; }
}

/* ---------- Mode collection : salle blanche ---------- */
/* Fond blanc pur pour une restitution fidèle des couleurs des photos,
   variation subtile mais harmonieuse avec le reste du site. */
body.collection {
    --bg: #ffffff;
    --ink: #141414;
    --muted: #8a8a8a;
    --line: #ececec;
    background: var(--bg);
    color: var(--ink);
}
body.collection h1 em, body.collection h2 em { color: var(--green); }
body.collection .site-nav a.active { color: var(--ink); }

body.collection .hero { padding: 70px 0 30px; }
.eyebrow-top {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 20px;
}
.col-count {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--green);
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Photos flottantes, respiration accrue */
body.collection .masonry { gap: 30px; margin-top: 50px; }
body.collection .masonry .mcol { gap: 30px; }
@media (max-width: 900px) { body.collection .masonry, body.collection .masonry .mcol { gap: 18px; } }


/* Le pied de page reste doux, séparé par un filet clair */
body.collection .site-footer { border-top-color: var(--line); }

/* ---------- Mentions légales ---------- */
.legal p { max-width: 70ch; color: var(--muted); margin-bottom: 18px; font-size: 15.5px; }
.legal p strong { color: var(--ink); }
.legal a { color: var(--green); }
.legal-h {
    font-size: 22px;
    margin: 44px 0 16px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}
.legal-h:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.foot-legal { margin-top: 8px; }
.foot-legal a {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}
.foot-legal a:hover { color: var(--green); }

/* ---------- Bloc discret Sessions CV & LinkedIn ---------- */
.cv-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 110px;
}
.cv-strip-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
    flex-wrap: wrap;
}
.cv-t { font-family: var(--serif); font-size: 26px; }
.cv-d { color: var(--muted); font-size: 14px; margin-top: 6px; }
@media (max-width: 640px) {
    .cv-strip { margin-bottom: 54px; }
    .cv-strip-in { padding-top: 28px; padding-bottom: 28px; gap: 18px; }
    .cv-t { font-size: 21px; }
}

/* ---------- Étapes de la réservation ---------- */
.rdv-steps { margin-top: 38px; display: flex; gap: 34px; flex-wrap: wrap; }
.rdv-steps span { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.rdv-steps b {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 19px;
    color: var(--green);
}

/* ---------- Encart bonus "Sessions CV & LinkedIn" ---------- */
/* Un objet à part : encadré, détaché du flux, badge vert sur le cadre. */
.cv-aside-wrap { padding: 20px 0 110px; }
.cv-aside {
    position: relative;
    max-width: 720px;
    border: 1px solid var(--green);
    padding: 46px 50px 42px;
}
.cv-badge {
    position: absolute;
    top: -11px;
    left: 40px;
    background: var(--bg);
    color: var(--green);
    padding: 0 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}
.cv-aside .cv-t { font-family: var(--serif); font-size: 30px; }
.cv-aside .cv-d { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 56ch; }
.cv-aside .link-line { margin-top: 30px; }
@media (max-width: 640px) {
    .cv-aside-wrap { padding: 0 0 54px; }
    .cv-aside { padding: 34px 26px 30px; }
    .cv-aside .cv-t { font-size: 24px; }
    .cv-badge { left: 24px; }
}
/* l'ancien bandeau n'est plus utilisé */
.cv-strip { display: none; }

/* ---------- Encart bonus : variante avec photo ---------- */
.cv-aside.has-photo {
    max-width: 980px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: center;
    padding: 0;
}
.cv-aside.has-photo .cv-txt { padding: 46px 0 42px 50px; }
.cv-aside.has-photo .cv-ph { height: 100%; min-height: 300px; }
.cv-aside.has-photo .cv-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
    .cv-aside.has-photo { grid-template-columns: 1fr; gap: 0; }
    .cv-aside.has-photo .cv-txt { padding: 34px 26px 30px; }
    .cv-aside.has-photo .cv-ph { min-height: 0; }
    .cv-aside.has-photo .cv-ph img { height: auto; }
}

/* ---------- Encart bonus : centrage + photo 4:5 ---------- */
.cv-aside { margin: 0 auto; }
.cv-aside.has-photo .cv-ph {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
}
.cv-aside.has-photo .cv-ph img { height: 100%; }
@media (max-width: 760px) {
    .cv-aside.has-photo .cv-ph { aspect-ratio: 4 / 5; }
    .cv-aside.has-photo .cv-ph img { height: 100%; object-fit: cover; }
}

/* ---------- Page Offres ---------- */
.offer-level { border-top: 1px solid var(--line); padding-top: 80px !important; }
.offer-level:first-of-type { border-top: 0; }
.level-head { max-width: 62ch; }
.level-pitch { margin-top: 24px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }

.offer-list {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid var(--line);
}
/* filets dessinés par les bordures : aucun bloc vide ne subsiste */
.offer-list .offer { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-list .offer:nth-child(2n) { border-right: 0; }
.offer-list .offer:nth-last-child(-n+2):nth-child(2n+1),
.offer-list .offer:last-child { border-bottom: 0; }
/* une offre seule, ou la dernière d'un nombre impair : occupe toute la largeur */
.offer-list .offer:last-child:nth-child(2n+1) {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
}
.offer-list .offer:only-child { text-align: left; }
.offer {
    background: var(--bg);
    padding: 34px 36px;
    transition: background .25s;
}
.offer:hover { background: var(--peach); }
.offer-name { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 12px; }
.offer-desc { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.offer:hover .offer-desc { color: #6d5f57; }

.offer-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding: 26px 34px;
    border: 1px solid var(--green);
    flex-wrap: wrap;
    transition: background .25s;
}
.offer-custom:hover { background: var(--green); }
.offer-custom span { font-size: 15px; color: var(--ink); }
.offer-custom em {
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green);
    white-space: nowrap;
}
.offer-custom:hover span, .offer-custom:hover em { color: #fff; }
@media (max-width: 760px) {
    .offer-list { grid-template-columns: 1fr; }
    .offer { padding: 28px 26px; }
}

/* ---------- Bandeau références animé ---------- */
.refs-rotator {
    height: 40px;
    position: relative;
    overflow: hidden;
    margin-top: 6px;
}
.refs-rotator .r {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    font-family: var(--serif);
    font-size: 26px;
    color: var(--muted);
    opacity: 0;
    animation: refCycle var(--dur, 15s) infinite;
}
@keyframes refCycle {
    0%, 4% { opacity: 0; transform: translateY(8px); }
    8%, 20% { opacity: 1; transform: translateY(0); }
    24%, 100% { opacity: 0; transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
    .refs-rotator { height: auto; }
    .refs-rotator .r { position: static; opacity: 1; animation: none; transform: none; display: inline; }
    .refs-rotator .r::after { content: ' · '; }
}

/* ---------- Aperçu des 3 niveaux d'offres (accueil) ---------- */
.levels-preview {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
}
.level-card {
    background: var(--bg);
    padding: 40px 36px 44px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background .28s;
}
.level-card:hover { background: var(--peach); }
.lc-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}
.lc-name {
    font-family: var(--serif);
    font-size: 30px;
    margin-bottom: 18px;
}
.lc-desc {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
    flex: 1;
}
.level-card:hover .lc-desc { color: #6d5f57; }
.lc-link {
    margin-top: 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--green);
}
@media (max-width: 820px) {
    .levels-preview { grid-template-columns: 1fr; }
    .level-card { padding: 32px 28px 34px; }
}

/* ---------- Sections centrées (Le studio, Nos offres) ---------- */
.section.centered { text-align: center; }
.section.centered h2 { margin-left: auto; margin-right: auto; }
.section.centered .lead { margin-left: auto; margin-right: auto; }
.section.centered .eyebrow { display: inline-block; }
/* Les cartes de niveaux gardent leur texte aligné à gauche (lisibilité) */
.section.centered .levels-preview { text-align: left; }

/* ---------- Bandeau références centré ---------- */
.refs { text-align: center; }
.refs .refs-h { display: block; }
.refs-rotator .r { text-align: center; }
.refs-line { text-align: center; }

/* ---------- Bandeau références centré ---------- */
.refs { text-align: center; }
.refs .refs-h { display: block; }
.refs-rotator .r { text-align: center; }

/* ============================================================
   REFONTE v18 — parcours, CTA, ratios, mobile
   ============================================================ */

/* ---------- Héros refondu ---------- */
.hero-main { padding: 80px 0 90px; }
.hero-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--green);
    border: 1px solid var(--green);
    padding: 7px 14px;
    margin-bottom: 28px;
}
.hero-actions { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; margin-top: 42px; }
.hero-actions .btn { margin-top: 0; }
.hero-actions .link-line { margin-top: 0; }

/* Photo héros : cadrée (4:5) ou détourée PNG (sans cadre) */
.hero-ph { height: auto; }
.hero-ph.ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-ph.is-free { background: none; }
.hero-ph.is-free img {
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    background: none;
}

/* ---------- Bande de preuves resserrée ---------- */
.stats-slim .stat { padding: 20px 24px; }
.stats-slim .stat b { font-size: 24px; display: inline-block; margin-right: 10px; }
.stats-slim .stat span { font-size: 9.5px; letter-spacing: 0.24em; }

/* ---------- Manifeste ---------- */
.manifest { padding: 96px 0 86px; text-align: center; }
.manifest p {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 50px);
    line-height: 1.15;
    max-width: 22ch;
    margin: 0 auto;
    color: var(--ink);
}

/* ---------- Section réflexion ---------- */
.reflect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.reflect-media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    align-items: start;
}
.reflect-media .rp { background: #ece7e1; overflow: hidden; }
.reflect-media .rp img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.reflect-media .rp1 { grid-column: 1; margin-top: 44px; }
.reflect-media .rp2 { grid-column: 2; }
.reflect-media .rp3 { grid-column: 1 / -1; width: 62%; margin: 0 auto; }
.reflect-txt .eyebrow { margin-bottom: 30px; }
.rpoint { padding: 22px 0; border-top: 1px solid var(--line); }
.rpoint:first-of-type { border-top: 0; padding-top: 0; }
.rp-t { font-family: var(--serif); font-size: 23px; margin-bottom: 8px; }
.rp-d { color: var(--muted); font-size: 15px; }
.reflect-txt .link-line { margin-top: 34px; }

/* ---------- Page offres : bloc bénéfice ---------- */
.benefit {
    margin-top: 34px;
    padding: 28px 32px;
    background: var(--peach);
    max-width: 70ch;
}
.benefit-h {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}
.benefit p { color: #5f544c; font-size: 15.5px; line-height: 1.7; }

/* ---------- Contact rapide (accueil) ---------- */
.quick-contact { background: var(--peach); color: #141414; text-align: center; }
.quick-contact h2 { color: #141414; margin-left: auto; margin-right: auto; }
.quick-contact h2 em { color: var(--green); }
.quick-contact .lead { color: #6d5f57; margin-left: auto; margin-right: auto; }
.quick-form { max-width: 640px; margin: 44px auto 0; text-align: left; }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quick-form label { color: #7d6f66; }
.quick-form input, .quick-form textarea { background: #fff; border-color: #e6d3c9; color: #141414; }
.quick-form textarea { min-height: 130px; }
.quick-form .btn { display: block; margin: 8px auto 0; }
.quick-contact .notice { max-width: 640px; margin: 0 auto 24px; background: #fff; border: 0; }
@media (max-width: 640px) { .qf-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Bouton flottant "Réservez un appel gratuit" ---------- */
.cta-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: flex;
    align-items: stretch;
    box-shadow: 0 10px 30px rgba(0,0,0,.16);
}
.cta-float-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: var(--green);
    color: var(--peach);
    padding: 15px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: background .25s;
}
.cta-float-btn:hover { background: #141414; }
.cta-float-btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.cta-float-close {
    background: #1d332f;
    color: rgba(247,224,215,.75);
    border: 0;
    width: 34px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.cta-float-close:hover { color: #fff; }
@media (max-width: 640px) {
    .cta-float { right: 12px; left: 12px; bottom: 12px; }
    .cta-float-btn { flex: 1; justify-content: center; font-size: 10.5px; padding: 14px 12px; }
}

/* ---------- Ratios d'images verrouillés (4:5 partout) ---------- */
.card img,
.cv-aside.has-photo .cv-ph img,
.reflect-media .rp img { object-fit: cover; }
/* Dans les collections, l'image garde ses proportions d'origine */
.masonry img,
.masonry picture {
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain;
    max-height: none;
}

/* ---------- Mobile : tout centré, ratios conservés ---------- */
@media (max-width: 760px) {
    .reflect-grid { grid-template-columns: 1fr; gap: 40px; }
    .reflect-media .rp1 { margin-top: 0; }
    .reflect-media .rp3 { width: 100%; }
}
@media (max-width: 640px) {
    .hero-main, .hero { text-align: center; }
    .hero-actions { justify-content: center; gap: 20px; }
    .hero-ph.is-free img { max-height: 420px; }
    .manifest { padding: 60px 0 54px; }
    .stats-slim .stat { padding: 16px 20px; }

    /* textes centrés partout sur smartphone */
    .section, .section .wrap, .reflect-txt, .level-head, .offer, .benefit,
    .cv-aside .cv-txt, .legal, .day-title, .contact-grid > div { text-align: center; }
    .section h2, .section .lead, .level-pitch, .benefit p, .offer-desc,
    .cv-aside .cv-d, .rp-d { margin-left: auto; margin-right: auto; }
    .rpoint { text-align: center; }
    .contact-list li { align-items: center; }
    .foot-grid, .foot-links a { justify-content: center; }
    .foot-grid { text-align: center; }
    .foot-links li { display: flex; justify-content: center; }
    .quick-form { text-align: center; }
    .quick-form label { text-align: center; }
    .offer-custom { justify-content: center; text-align: center; }
    .rdv-steps { justify-content: center; }
    .legend { justify-content: center; }
    .slots { justify-items: stretch; }
    .slot { align-items: center; }
}

/* ---------- Manifeste v19 : mise en évidence, teinte sourde ---------- */
:root { --accent-warm: #a8503a; }

.manifest { padding: 110px 0 100px; }
.manifest .manifest-line {
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 62px);
    line-height: 1.1;
    max-width: 20ch;
    margin: 0 auto;
    color: var(--accent-warm);
    position: relative;
    padding-bottom: 30px;
}
.manifest .manifest-line::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 54px;
    height: 1px;
    background: var(--accent-warm);
    opacity: .5;
}
.manifest .manifest-sub {
    margin: 34px auto 0;
    max-width: 56ch;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.75;
}
@media (max-width: 640px) {
    .manifest { padding: 66px 0 60px; }
    .manifest .manifest-line { padding-bottom: 24px; }
    .manifest .manifest-sub { margin-top: 26px; font-size: 15.5px; }
}

/* ============================================================
   HÉROS FOURCHETTE + PARALLAXE  (bloc unique, réécrit proprement)
   Ratio de l'image : largeur × 3,72 = hauteur
   ============================================================ */

html, body { overflow-x: hidden; }

/* Le menu reste au-dessus : la fourchette glisse dessous au défilement */
.site-header { position: relative; z-index: 5; background: var(--bg); }

/* Pas de calque isolé : la fourchette doit pouvoir passer devant
   les éléments situés APRÈS le héros (bande de chiffres). */
.hero-fork { position: relative; padding: 0; z-index: 50; }

/* --- La fourchette --- */
.fork-layer {
    position: absolute;
    top: 0;                     /* démarre sous la barre de menu */
    left: 50%;
    width: clamp(150px, 17vw, 260px);
    transform: translateX(-50%) translate3d(0, var(--lift, 0px), 0);
    z-index: 80;          /* passe au-dessus du menu et des textes */
    pointer-events: none;
    will-change: transform;
}
.fork-layer .fork-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 34px rgba(20,20,20,.14));
}

/* --- Contenu du héros --- */
.hero-fork-in {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 110px;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.fork-title {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.06;
    font-size: clamp(34px, 4.6vw, 66px);
}
.fork-title .ft-l1 { display: block; max-width: 46%; }
.fork-title .ft-l2 {
    display: block;
    margin-top: .22em;
    margin-left: auto;
    max-width: 46%;
    text-align: right;
}
.fork-meta { margin-top: 90px; max-width: 34%; }
.fork-meta .hero-sub { margin-top: 0; }
.fork-meta .btn { margin-top: 26px; }
.fork-meta .link-line { display: block; width: fit-content; margin-top: 26px; }

/* La fourchette passe PAR-DESSUS tout : barre de menu et bande de chiffres.
   La bande reste donc en arrière-plan. */
.hero-fork + .stats {
    position: relative;
    z-index: 1;
    background: var(--bg);
}

/* --- Apparition douce au chargement --- */
@keyframes forkIn {
    from { opacity: 0; transform: translateY(-26px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
    .fork-layer .fork-img { animation: forkIn .9s ease-out both; }
}

/* ============================================================
   TABLETTE ET SMARTPHONE (≤ 760 px)
   Fourchette centrée sous le menu, contenu dessous, tout centré.
   Pas de parallaxe ici : elle ne dégagerait rien et creuserait un vide.
   ============================================================ */
@media (max-width: 760px) {
    .fork-layer {
        left: 50%;
        width: 26vw;                              /* repli si min() non supporté */
        width: min(26vw, 11.3vh);
        transform: translateX(-50%) translate3d(0, var(--lift, 0px), 0);
    }
    /* la fourchette effleure le haut du titre : la parallaxe la dégage au défilement */
    .hero-fork-in {
        padding-top: calc(97vw - 22px);           /* repli */
        padding-top: calc(min(26vw, 11.3vh) * 3.72 - 22px);
        padding-bottom: 42px;
        min-height: 0;
        text-align: center;
    }
    .fork-title { font-size: clamp(27px, 8.2vw, 40px); }
    .fork-title .ft-l1,
    .fork-title .ft-l2 {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
    }
    .fork-title .ft-l2 { margin-top: .1em; }
    .fork-meta { margin-top: 30px; max-width: 100%; text-align: center; }
    .fork-meta .btn {
        display: inline-block;
        margin: 20px auto 0;
        padding: 17px 34px;
    }
    .fork-meta .link-line { margin: 20px auto 0; }

    .site-nav { gap: 13px; }
    .site-nav a { font-size: 9.5px; letter-spacing: 0.1em; }
}

/* Écrans peu hauts (iPhone SE, 8…) : tout se resserre */
@media (max-width: 760px) and (max-height: 720px) {
    .fork-layer { width: 18vw; width: min(18vw, 8vh); }
    .hero-fork-in {
        padding-top: calc(67vw - 14px);
        padding-top: calc(min(18vw, 8vh) * 3.72 - 14px);
        padding-bottom: 28px;
    }
    .fork-title { font-size: clamp(21px, 6vw, 27px); }
    .fork-meta { margin-top: 20px; }
    .fork-meta .hero-sub { font-size: 10px; }
    .fork-meta .btn { margin-top: 14px; padding: 14px 24px; font-size: 9.5px; }
    .fork-meta .link-line { margin-top: 14px; font-size: 9.5px; }
}

@media (max-width: 380px) {
    .site-nav { gap: 10px; }
    .site-nav a { font-size: 9px; letter-spacing: 0.06em; }
}
@media (max-width: 340px) {
    .site-nav { gap: 7px; }
    .site-nav a { font-size: 8px; letter-spacing: 0.04em; }
}

/* ============================================================
   ENCART CV & LINKEDIN — discret
   ============================================================ */
.cv-aside-wrap { padding: 0 0 90px; }
.cv-aside { max-width: 540px; margin: 0 auto; }
.cv-aside .cv-t { font-size: 22px; }
.cv-aside .cv-d { font-size: 13.5px; margin-top: 9px; }
.cv-aside .link-line { margin-top: 22px; font-size: 10px; }
.cv-badge { font-size: 9px; letter-spacing: 0.34em; }

.cv-aside.has-photo {
    max-width: 720px;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 30px;
    padding: 0;
}
.cv-aside.has-photo .cv-txt { padding: 32px 0 30px 34px; }
.cv-aside.has-photo .cv-ph { aspect-ratio: 4 / 5; height: auto; min-height: 0; }
.cv-aside.has-photo .cv-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 760px) {
    .cv-aside-wrap { padding: 0 0 48px; }
    .cv-aside.has-photo { grid-template-columns: 1fr; gap: 0; }
    .cv-aside .cv-txt,
    .cv-aside.has-photo .cv-txt { padding: 26px 22px 24px; }
    .cv-aside-wrap, .cv-aside, .cv-aside .cv-txt { text-align: center; }
    .cv-aside .cv-d { margin-left: auto; margin-right: auto; }
    .cv-aside .link-line { display: inline-block; }
    .cv-badge { left: 50%; transform: translateX(-50%); }
}

/* ---------- Aucune session ouverte ---------- */
.rdv-vide {
    max-width: 620px;
    border: 1px solid var(--line);
    padding: 46px 44px 44px;
    text-align: center;
    margin: 0 auto;
}
.rdv-vide .rv-t {
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.rdv-vide .rv-d {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 46ch;
    margin: 0 auto;
}
.rdv-vide .btn { margin-top: 32px; }
.rdv-vide .rv-alt {
    margin-top: 26px;
    font-size: 13.5px;
    color: var(--muted);
}
.rdv-vide .rv-alt a { border-bottom: 1px solid var(--line); }
.rdv-vide .rv-alt a:hover { color: var(--green); border-color: var(--green); }
@media (max-width: 640px) {
    .rdv-vide { padding: 34px 24px 32px; }
    .rdv-vide .rv-t { font-size: 23px; }
}
