@charset "UTF-8";

/* =========================================================================
   Sublime émoi — feuille de style principale
   Palette et langage visuel d'origine conservés :
   teal #2F6977 / #92C5C8 / #D9EDED / #F4F9FA, or #BD8E3E,
   blocs plats sans arrondi, libellés capitales très espacées,
   accents manuscrits en Rushtick.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Polices
   ------------------------------------------------------------------------- */

@font-face {
    font-family: "Rushtick";
    src: url("/static/typo/Rushtick.woff2") format("woff2"),
         url("/static/typo/Rushtick.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* -------------------------------------------------------------------------
   2. Jetons de design
   ------------------------------------------------------------------------- */

:root {
    /* Couleurs */
    --deep: #2F6977;
    --deep-90: rgba(47, 105, 119, .9);
    --deep-60: rgba(47, 105, 119, .6);
    --brand: #92C5C8;
    --soft: #D9EDED;
    --mist: #F4F9FA;
    --gold: #BD8E3E;
    --white: #fff;
    --muted: #6f8f98;
    --line: rgba(47, 105, 119, .16);

    /* Typo */
    --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-script: "Rushtick", "Brush Script MT", cursive;

    --text-xs: .8125rem;
    --text-sm: .9375rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --h3: clamp(1.375rem, 1.05rem + 1.4vw, 2rem);
    --h2: clamp(1.75rem, 1.15rem + 2.6vw, 3rem);
    --h1: clamp(2.125rem, 1.4rem + 3.1vw, 3.5rem);
    --script: clamp(3rem, 1.4rem + 7vw, 6rem);

    /* Rythme */
    --gutter: clamp(1.125rem, 4vw, 2.5rem);
    --section-y: clamp(2.75rem, 6vw, 5rem);
    --gap: clamp(1rem, 2.5vw, 2rem);
    --pad-block: clamp(1.5rem, 4vw, 2.5rem);

    /* Largeurs */
    --w-wide: 1400px;
    --w-page: 1200px;
    --w-text: 900px;

    --header-h: 64px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 62em) {
    :root { --header-h: 132px; }
}

/* -------------------------------------------------------------------------
   3. Reset
   ------------------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* clip empêche tout débordement horizontal sans casser position:sticky */
    overflow-x: clip;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--deep);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--deep);
    text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

::selection { background: var(--brand); color: var(--white); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Lien d'évitement clavier */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 200;
    padding: .75rem 1.25rem;
    background: var(--deep);
    color: var(--white);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* -------------------------------------------------------------------------
   4. Primitives de mise en page
   ------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: calc(var(--w-page) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--w-wide) + var(--gutter) * 2); }
.container--text { max-width: calc(var(--w-text) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(1.75rem, 4vw, 3rem); }
.section--mist { background: var(--mist); }
.section--soft { background: var(--soft); }
.section--deep { background: var(--deep); color: var(--white); }
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--white); }

/* Empilement vertical régulier : remplace les marges au coup par coup */
.stack > * + * { margin-top: var(--stack-gap, 1.25rem); }
.stack--sm { --stack-gap: .75rem; }
.stack--lg { --stack-gap: 2rem; }

.grid { display: grid; gap: var(--gap); }
.grid > * { min-width: 0; }

/* Hauteurs libres : chaque carte s'arrête à la fin de son contenu.
   La double classe l'emporte sur le height:100% des cartes. */
.grid--start { align-items: start; }
.grid.grid--start > * { height: auto; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 36em) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 48em) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62em) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Texte + média côte à côte */
.split {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}
@media (min-width: 62em) {
    .split { grid-template-columns: 1fr 1fr; }
    .split--media-first > .split__media { order: -1; }
}
.split__media img { width: 100%; }
/* Les portraits verticaux ne doivent ni étirer la colonne texte en vis-à-vis,
   ni occuper tout l'écran sur tablette */
@media (min-width: 48em) {
    .split__media img {
        max-height: 30rem;
        object-fit: cover;
        object-position: center 35%;
    }
}
@media (min-width: 62em) {
    .split__media img { max-height: 33rem; }
}

/* -------------------------------------------------------------------------
   5. Typographie de composants
   ------------------------------------------------------------------------- */

.h1, h1 { font-size: var(--h1); }
.h2, h2 { font-size: var(--h2); }
.h3, h3 { font-size: var(--h3); }
h4 { font-size: var(--text-lg); }

/* Accent manuscrit (ex. « ensemble », « mes valeurs ») */
.script {
    display: block;
    font-family: var(--font-script);
    font-size: var(--script);
    font-weight: 400;
    line-height: .85;
    letter-spacing: 0;
    color: var(--brand);
    text-transform: none;
}
.script--deep { color: var(--deep); }
.script--white { color: var(--white); }
/* Variante insérée au fil d'un titre : « Ce que je peux *vous* apporter » */
.script--inline {
    display: inline;
    line-height: 1;
    vertical-align: -.08em;
}

/* Libellé capitales espacées : dates, catégories, « Suivez-nous » */
.eyebrow {
    display: block;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 .5rem;
}

.lede {
    font-size: var(--text-lg);
    color: var(--deep-90);
    max-width: 62ch;
}
.section-head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head .lede { margin-top: .75rem; }
.text-center { text-align: center; }
.text-center .lede { margin-inline: auto; }

/* Utilitaires d'espacement (rares, volontairement limités) */
.mt-md { margin-top: clamp(1rem, 2vw, 1.5rem); }
.mt-lg { margin-top: clamp(1.5rem, 3.5vw, 2.5rem); }

/* Corps de texte long (articles, pages légales) */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: var(--h3); margin: 2em 0 .6em; }
.prose h3 { font-size: var(--text-lg); margin: 1.8em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
/* Certains contenus migrés emballent chaque puce dans un <p> */
.prose li > p { margin: 0; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--deep); }
.prose a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.prose a:hover { text-decoration: none; }
/* Neutralise les tailles en dur héritées de l'ancien éditeur */
.prose [style*="font-size"] { font-size: inherit !important; }
.prose img { margin: 1.5rem 0; }

/* -------------------------------------------------------------------------
   6. Boutons et liens
   ------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .7rem 1.6rem;
    border: 2px solid var(--gold);
    background: var(--gold);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .2em;
    text-indent: .2em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--white); color: var(--gold); }

.btn--deep { border-color: var(--deep); background: var(--deep); }
.btn--deep:hover { background: var(--white); color: var(--deep); }

.btn--outline { background: transparent; color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--white); }

.btn--light { border-color: var(--white); background: var(--white); color: var(--deep); }
.btn--light:hover { background: transparent; color: var(--white); }

.btn--block { width: 100%; }

/* Lien texte en capitales souligné (langage d'origine) */
.link-cap {
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-cap:hover { color: var(--gold); border-color: var(--gold); }
.link-cap--brand { color: var(--brand); }

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    align-items: center;
}
.actions--center { justify-content: center; }

/* -------------------------------------------------------------------------
   7. Blocs de couleur et cartes
   ------------------------------------------------------------------------- */

.panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--pad-block);
    background: var(--mist);
}
.panel--soft { background: var(--soft); }
.panel--brand { background: var(--brand); }
.panel--white { background: var(--white); }
.panel--deep { background: var(--deep); color: var(--white); }
.panel--deep h2, .panel--deep h3 { color: var(--white); }
.panel__body { flex: 1 1 auto; }
.panel__foot { margin-top: 1.5rem; }
.panel h2, .panel h3, .quote h3 { margin-bottom: .75rem; }

/* Carte article : la carte entière est cliquable */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
}
.card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--soft);
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.25rem 0 0; }
.card__title {
    font-size: var(--h3);
    margin: 0 0 .5rem;
    transition: color .2s var(--ease);
}
.card:hover .card__title { color: var(--gold); }
.card__excerpt {
    color: var(--deep-90);
    /* aperçu limité : évite des cartes de hauteurs très inégales */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card__more { margin-top: 1rem; }

/* Carte article mise en avant : image + texte côte à côte sur grand écran */
.card--feature { background: var(--mist); }
@media (min-width: 62em) {
    .card--feature {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: clamp(1.5rem, 3vw, 3rem);
    }
    .card--feature .card__media { aspect-ratio: 3 / 2; height: 100%; }
    .card--feature .card__body { padding: 0 clamp(1.5rem, 3vw, 2.5rem) 0 0; }
    .card--feature .card__excerpt { -webkit-line-clamp: 6; }
}
.card--feature .card__body { padding: 1.25rem; }

/* Vignette illustrée (« nous travaillons sur… », valeurs) */
.tile { text-align: center; }
.tile__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    object-fit: contain;
}
.tile h3 { font-size: var(--text-lg); margin-bottom: .35rem; }
.tile p { font-size: var(--text-sm); color: var(--deep-90); }

/* Témoignage */
.quote {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: var(--pad-block);
    background: var(--soft);
}
.quote blockquote { margin: 0; }
.quote--mist { background: var(--mist); }
.quote__text { flex: 1 1 auto; }
.quote__author {
    margin: 1rem 0 0;
    font-family: var(--font-script);
    font-size: 2.25rem;
    font-weight: 400;
    /* Rushtick a de longues hampes : il faut de l'air dans la ligne */
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--brand);
}
.quote__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .9rem;
    margin-top: 1rem;
    padding: 0;
    list-style: none;
}
.quote__tags li {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: 0;
    font-size: var(--text-xs);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--deep-90);
}
.quote__tags img { width: 16px; height: 16px; }

/* Bandeau d'appel à l'action */
.cta-band {
    padding: var(--pad-block);
    background: var(--mist);
    text-align: center;
}
.cta-band .lede { margin: .75rem auto 0; }
.cta-band .actions { margin-top: 1.5rem; }

/* Motif floral décoratif */
.decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: .9;
}
.decor img { width: 100%; }
.decor--right { right: -40px; top: 20px; width: 150px; }
.decor--left { left: -40px; bottom: -20px; width: 130px; }
@media (max-width: 61.99em) { .decor { display: none; } }

.has-decor { position: relative; overflow: hidden; }
.has-decor > .container { position: relative; z-index: 1; }

/* -------------------------------------------------------------------------
   8. En-tête
   ------------------------------------------------------------------------- */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(47, 105, 119, .09); }

/* Bandeau utilitaire (desktop uniquement) */
.topbar {
    display: none;
    background: var(--mist);
    font-size: var(--text-xs);
}
@media (min-width: 62em) { .topbar { display: block; } }
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 42px;
}
.topbar__links, .topbar__side {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.topbar a {
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color .2s var(--ease);
}
.topbar a:hover { color: var(--gold); }
.topbar__follow {
    font-family: var(--font-script);
    font-size: 1.5rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brand);
}

.social {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.social a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    transition: transform .2s var(--ease);
}
.social a:hover { transform: scale(1.15); }
.social img { width: 18px; height: 18px; }

.newsletter-link { display: inline-flex; align-items: center; gap: .5rem; }
.newsletter-link img { width: 18px; height: 18px; }

/* Barre principale */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding-block: .5rem;
}
@media (min-width: 62em) { .navbar { min-height: 90px; } }

.brand { display: block; flex: 0 0 auto; }
.brand img {
    width: 130px;
    height: auto;
}
@media (min-width: 62em) { .brand img { width: 175px; } }

.nav { display: none; }
@media (min-width: 62em) {
    .nav {
        display: flex;
        align-items: center;
        gap: clamp(.75rem, 1.8vw, 1.75rem);
        margin: 0;
        padding: 0;
        list-style: none;
    }
}
.nav a {
    position: relative;
    display: block;
    padding: .5rem 0;
    font-size: var(--text-sm);
    letter-spacing: .04em;
    transition: color .2s var(--ease);
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-weight: 700; }

/* Bouton Contact décoré (traits or d'origine) */
.nav-cta {
    position: relative;
    display: none;
    flex: 0 0 auto;
    padding: .5rem .25rem;
    font-size: var(--text-sm);
    letter-spacing: .28em;
    text-indent: .28em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}
@media (min-width: 62em) { .nav-cta { display: block; } }
.nav-cta::before,
.nav-cta::after {
    content: "";
    position: absolute;
    width: 58px;
    height: 8px;
    background: no-repeat center / contain;
    opacity: .9;
}
.nav-cta::before {
    left: -22px;
    bottom: -2px;
    background-image: url("/static/img/pictos/line-btn-bottom.svg");
}
.nav-cta::after {
    right: -22px;
    top: -4px;
    background-image: url("/static/img/pictos/line-btn-top.svg");
}
.nav-cta:hover { color: var(--deep); }

/* Actions mobiles */
.nav-mobile-actions {
    display: flex;
    align-items: center;
    gap: .25rem;
}
@media (min-width: 62em) { .nav-mobile-actions { display: none; } }

.icon-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.icon-btn img, .icon-btn svg { width: 22px; height: 22px; }

/* -------------------------------------------------------------------------
   9. Tiroir de navigation mobile
   ------------------------------------------------------------------------- */

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(47, 105, 119, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    width: min(88vw, 360px);
    padding: 1.25rem;
    background: var(--white);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .32s var(--ease);
}
.drawer.is-open { transform: translateX(0); }
@media (min-width: 62em) { .drawer, .drawer-backdrop { display: none; } }

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.drawer__head img { width: 120px; }

.drawer__nav {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}
.drawer__nav li { border-bottom: 1px solid var(--line); }
.drawer__nav a {
    display: block;
    padding: .95rem .25rem;
    font-size: var(--text-lg);
}
.drawer__nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }

.drawer__contact {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    font-size: var(--text-sm);
}
.drawer__contact li { margin-bottom: .5rem; }
.drawer__contact a { display: inline-flex; align-items: center; gap: .6rem; }
.drawer__contact img { width: 15px; height: 15px; }

.drawer__foot { margin-top: auto; padding-top: 1.5rem; }

body.is-locked { overflow: hidden; }

/* -------------------------------------------------------------------------
   10. Accueil — bandeau d'ouverture
   ------------------------------------------------------------------------- */

.hero { background: var(--mist); }
.hero__inner {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding-block: var(--section-y);
}
@media (min-width: 62em) {
    .hero__inner { grid-template-columns: 1fr 1.1fr; }
}
.hero__eyebrow, .hero__tagline {
    font-size: var(--text-lg);
    color: var(--deep-90);
    margin: 0;
}
.hero h1 {
    font-family: var(--font-script);
    font-size: clamp(3.25rem, 1.5rem + 8vw, 6.5rem);
    font-weight: 400;
    line-height: .9;
    letter-spacing: 0;
    margin: .25rem 0;
}
.hero__baseline {
    margin: 1.5rem 0 0;
    font-size: var(--text-lg);
    font-weight: 500;
}
.hero .actions { margin-top: 2rem; }
.hero__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--soft);
}
.hero__media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* -------------------------------------------------------------------------
   11. En-tête de page intérieure
   ------------------------------------------------------------------------- */

.page-head {
    padding-block: clamp(2rem, 5vw, 3.5rem);
    background: var(--mist);
    text-align: center;
}
.page-head .lede { margin: 1rem auto 0; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem .6rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    font-size: var(--text-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
.breadcrumb a:hover { color: var(--gold); }

/* -------------------------------------------------------------------------
   12. Article
   ------------------------------------------------------------------------- */

.article__cover {
    aspect-ratio: 16 / 9;
    background: var(--soft);
}
.article__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* les visuels sont souvent des portraits verticaux : on cadre vers le haut */
    object-position: center 25%;
}
@media (max-width: 47.99em) { .article__cover { aspect-ratio: 4 / 3; } }

.article__head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.article__body { margin-inline: auto; }

/* -------------------------------------------------------------------------
   13. Contact
   ------------------------------------------------------------------------- */

.contact-card { padding: var(--pad-block); background: var(--mist); }
.contact-card__photo {
    aspect-ratio: 4 / 3;
    margin-bottom: 1.25rem;
    background: var(--soft);
}
.contact-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-list { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.contact-list li { margin-bottom: .75rem; }
.contact-list a, .contact-list span { display: flex; align-items: start; gap: .7rem; }
.contact-list img { width: 16px; height: 16px; margin-top: .35rem; flex: 0 0 auto; }
.contact-list a:hover { color: var(--gold); }

/* Formulaires */
.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 36em) {
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid .field--full { grid-column: 1 / -1; }
}

.field label {
    display: block;
    margin-bottom: .4rem;
    font-size: var(--text-sm);
    font-weight: 500;
}
.field .required::after { content: " *"; color: var(--gold); }

.input, .textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1px solid var(--soft);
    border-radius: 0;
    background: var(--white);
    /* 16px minimum : évite le zoom automatique iOS au focus */
    font: inherit;
    font-size: 1rem;
    color: var(--deep);
    transition: border-color .2s var(--ease);
}
.input:focus, .textarea:focus { border-color: var(--brand); outline-offset: 0; }
.textarea { min-height: 150px; resize: vertical; }

.checkbox-row {
    display: flex;
    align-items: start;
    gap: .75rem;
    font-size: var(--text-sm);
}
.checkbox-row input[type="checkbox"] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: .2rem 0 0;
    accent-color: var(--deep);
}
.checkbox-row label { margin: 0; font-weight: 400; }

.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--brand);
    background: var(--mist);
    font-size: var(--text-sm);
}
.alert--error { border-color: #c0392b; background: #fdf0ee; color: #90291c; }

/* -------------------------------------------------------------------------
   14. Newsletter (formulaire Brevo)
   ------------------------------------------------------------------------- */

.newsletter { background: var(--deep); color: var(--white); }
.newsletter h2 {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 1.5rem + 3.5vw, 3.75rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: var(--white);
}
.newsletter__inner {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
}
@media (min-width: 62em) {
    .newsletter__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}
.newsletter__fields {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.newsletter__fields .input { flex: 1 1 15rem; border-color: transparent; }
.newsletter__fields .btn { flex: 0 0 auto; }
.newsletter .checkbox-row { margin-top: 1rem; color: var(--white); }
.newsletter .checkbox-row p { margin: 0; }
.newsletter .checkbox-row a { text-decoration: underline; }

/* Panneaux de message Brevo */
.newsletter .sib-form-message-panel {
    display: none;
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    font-size: var(--text-sm);
    background: var(--white);
    color: var(--deep);
}
.newsletter .sib-form-message-panel__text { display: flex; align-items: center; gap: .6rem; }
.newsletter .sib-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.newsletter .entry__error {
    display: block;
    margin-top: .5rem;
    font-size: var(--text-xs);
    color: #ffd9d9;
}
.newsletter .entry__error:empty { display: none; }
.input--hidden { position: absolute !important; left: -9999px !important; }

/* -------------------------------------------------------------------------
   15. Instagram
   ------------------------------------------------------------------------- */

.insta { text-align: center; }
.insta__handle {
    font-family: var(--font-script);
    font-size: 2rem;
    line-height: 1.4;
    color: var(--brand);
    margin: .25rem 0 1.5rem;
}
.insta__feed { margin-bottom: 1.5rem; }

/* -------------------------------------------------------------------------
   16. Pied de page
   ------------------------------------------------------------------------- */

.footer { margin-top: auto; }

.footer__top { padding-block: clamp(2rem, 5vw, 3.25rem); background: var(--mist); }
.footer__grid {
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    grid-template-columns: 1fr;
}
@media (min-width: 36em) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1.4fr; } }

.footer__logo img { width: 160px; }
.footer__label {
    margin: 0 0 .75rem;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.footer__list { margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.footer__list li { margin-bottom: .55rem; }
.footer__list a:hover { color: var(--gold); text-decoration: underline; }
.footer__contact { font-size: var(--text-sm); }
.footer__contact a { text-decoration: underline; text-underline-offset: 2px; }
.footer__contact a:hover { color: var(--gold); }

.footer__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-top: 1.5rem;
}
.footer__badges img { height: 28px; width: auto; }
.footer__badge-frame { background: var(--white); padding: .35rem .5rem; }
.footer__badge-frame img { height: 44px; }
.footer__social { margin-top: 1.25rem; }

.footer__pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: var(--text-xs);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.footer__pay ul {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer__pay img { height: 26px; width: auto; }

.footer__middle { padding-block: clamp(1.5rem, 3vw, 2.25rem); background: var(--deep); color: var(--white); }
.footer__middle .footer__label { color: var(--white); }
.footer__promos {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 36em) { .footer__promos { grid-template-columns: repeat(2, 1fr); } }
.footer__promos p { margin: 0; font-size: var(--text-sm); opacity: .85; }
.footer__promos a.link-cap { color: var(--white); }
.footer__promos a.link-cap:hover { color: var(--brand); border-color: var(--brand); }

.footer__bottom { padding-block: 1.25rem; font-size: var(--text-xs); }
.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
}
.footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}
.footer__legal a:hover { color: var(--gold); text-decoration: underline; }
.footer__credit {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--muted);
}
.footer__credit img { width: 132px; height: auto; }
.footer__credit:hover { color: var(--deep); }

/* -------------------------------------------------------------------------
   17. Retour en haut
   ------------------------------------------------------------------------- */

.to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--deep);
    box-shadow: 0 4px 16px rgba(47, 105, 119, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--deep); color: var(--white); }
.to-top svg { width: 16px; height: 16px; }

/* -------------------------------------------------------------------------
   18. Apparition au défilement
   ------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* -------------------------------------------------------------------------
   19. Bandeau cookies (cookieconsent)
   ------------------------------------------------------------------------- */

.cc-window { font-family: var(--font-sans) !important; font-size: var(--text-sm) !important; }
.cc-btn { border-radius: 0 !important; letter-spacing: .1em; text-transform: uppercase; }
