/* ==========================================================================
   CubixArt - feuille de style du site (refonte 2026)
   Couleurs du logo : mauve #2E2B3D, dégradé orange-rose #FFB25B -> #FF6B7F
   ========================================================================== */

@font-face {
    font-family: "Outfit";
    src: url("/fonts/outfit.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/inter.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --encre: #2E2B3D;
    --encre-profonde: #25222F;
    --texte: #2E2B3D;
    --texte-doux: #5E5A6E;
    --texte-clair: #D9D6E2;
    --fond: #FFFFFF;
    --fond-doux: #F4F3F6;
    --trait: #E3E1E8;
    --accent: #E8456A;
    --accent-clair: #FFD3A3;
    --degrade: linear-gradient(120deg, #FFB25B, #FF6B7F);
    --titre: "Outfit", "Segoe UI", Arial, sans-serif;
    --corps: "Inter", "Segoe UI", Arial, sans-serif;
    --largeur: 1280px;
    --marge: clamp(20px, 4vw, 32px);
    --rayon: 6px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
    margin: 0;
    font-family: var(--corps);
    font-size: 17px;
    line-height: 1.65;
    color: var(--texte);
    background: var(--fond);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: var(--encre); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
    font-family: var(--titre);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
}

p { margin: 0; }

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

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

.conteneur { max-width: var(--largeur); margin: 0 auto; padding-left: var(--marge); padding-right: var(--marge); }

.section { padding-top: clamp(72px, 9vw, 110px); padding-bottom: clamp(72px, 9vw, 110px); }

.section-fond { background: var(--fond-doux); }

.section-tete { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }

.section-tete-ligne {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: clamp(32px, 5vw, 48px);
}

.titre-section { font-size: clamp(34px, 4.2vw, 48px); }

.texte-doux { color: var(--texte-doux); }

.lien-fort { font-family: var(--titre); font-weight: 600; font-size: 17px; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.bouton {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 26px;
    border-radius: 999px; border: 1px solid transparent;
    font-family: var(--titre); font-size: 17px; font-weight: 600;
    text-decoration: none; cursor: pointer; transition: filter .2s ease, background-color .2s ease, color .2s ease;
}

.bouton-devis { background: var(--degrade); color: var(--encre); }
.bouton-devis:hover { color: var(--encre); filter: brightness(1.05); }

.bouton-plein { background: var(--encre); color: #FFFFFF; }
.bouton-plein:hover { background: #3D3950; color: #FFFFFF; }

.bouton-contour { border-color: var(--encre); color: var(--encre); background: transparent; }
.bouton-contour:hover { background: var(--encre); color: #FFFFFF; }

.bouton-clair { border-color: rgba(255, 255, 255, .75); color: #FFFFFF; background: transparent; }
.bouton-clair:hover { background: rgba(255, 255, 255, .14); color: #FFFFFF; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.entete {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #ECEAF0;
    transition: box-shadow .3s ease;
}

.entete.defile { box-shadow: 0 6px 24px rgba(46, 43, 61, .08); }

.entete-interieur {
    max-width: var(--largeur); margin: 0 auto; padding: 12px var(--marge);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.entete-logo { display: flex; flex: none; }
.entete-logo img { height: 52px; width: auto; }

.entete-actions { display: flex; align-items: center; gap: 32px; }

.menu { display: flex; align-items: center; gap: 32px; }

.menu a {
    font-family: var(--titre); font-size: 16px; font-weight: 500;
    text-decoration: none; color: var(--encre);
}

.menu a:hover, .menu a[aria-current="page"] { color: var(--accent); }

.entete .bouton-devis { min-height: 44px; padding: 10px 22px; font-size: 16px; }

.burger {
    display: none; flex: none;
    width: 44px; height: 44px; align-items: center; justify-content: center;
    border: 1px solid #D6D3DE; border-radius: 999px; background: #FFFFFF; cursor: pointer; color: var(--encre);
}

.burger .icone-fermer { display: none; }
.burger[aria-expanded="true"] .icone-ouvrir { display: none; }
.burger[aria-expanded="true"] .icone-fermer { display: block; }

@media (max-width: 860px) {
    .entete-logo img { height: 44px; }
    .entete-actions { gap: 10px; }
    .entete .bouton-devis { padding: 9px 16px; font-size: 15px; white-space: nowrap; }
    .burger { display: flex; }
    .menu {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #FFFFFF; border-bottom: 1px solid #ECEAF0;
        box-shadow: 0 16px 32px rgba(46, 43, 61, .1);
        padding: 8px var(--marge) 20px;
    }
    .menu.ouvert { display: flex; }
    .menu a { padding: 14px 0; font-size: 19px; border-bottom: 1px solid #F0EEF3; }
    .menu a:last-child { border-bottom: 0; }
}

@media (max-width: 380px) {
    .entete .bouton-devis { padding: 9px 12px; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   Accueil : visuel principal (vidéo)
   -------------------------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    min-height: min(86vh, 820px); background: var(--encre) center / cover no-repeat;
    display: flex;
}

.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(28, 25, 40, .82) 0%, rgba(28, 25, 40, .35) 45%, rgba(28, 25, 40, 0) 72%);
}

.hero-contenu {
    position: relative; z-index: 1; width: 100%;
    max-width: var(--largeur); margin: 0 auto; padding: 120px var(--marge) clamp(40px, 6vw, 64px);
    display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; color: #FFFFFF;
}

.hero-sur-titre { font-family: var(--titre); font-weight: 500; font-size: 16px; color: var(--accent-clair); }

.hero h1 { max-width: 920px; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.04; }

.hero-texte { max-width: 620px; font-size: clamp(17px, 1.6vw, 19px); color: #F1EFF5; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 6px; }

@media (max-width: 560px) {
    .hero-contenu { padding-top: clamp(38px, 9vh, 78px); gap: 16px; }
    .hero h1 { font-size: clamp(30px, 8.8vw, 38px); }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* Clients */
.clients { border-bottom: 1px solid #ECEAF0; }
.clients .conteneur { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 44px; padding-top: 32px; padding-bottom: 32px; }
.clients-titre { font-size: 15px; color: var(--texte-doux); }
.clients-liste { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 0; padding: 0; list-style: none; font-family: var(--titre); font-size: 20px; font-weight: 600; color: #4A4659; }

/* --------------------------------------------------------------------------
   Cartes de projets
   -------------------------------------------------------------------------- */
.carte { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--encre); }
.carte:hover { color: var(--encre); }

.carte-image { position: relative; overflow: hidden; border-radius: var(--rayon); background: var(--fond-doux); aspect-ratio: 3 / 2; }
.carte-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte:hover .carte-image img { transform: scale(1.03); }

.carte-badge {
    position: absolute; left: 16px; top: 16px; z-index: 1;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(46, 43, 61, .86); color: #FFFFFF; font-size: 14px; font-weight: 500;
}

.carte-texte { display: flex; flex-direction: column; gap: 2px; }
.carte-titre { font-family: var(--titre); font-size: 21px; font-weight: 600; line-height: 1.25; }
.carte:hover .carte-titre { color: var(--accent); }
.carte-meta { font-size: 15px; color: var(--texte-doux); }

.selection {
    display: grid; gap: 32px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}
.selection .carte:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.selection .carte:nth-child(1) .carte-image { aspect-ratio: auto; height: 100%; min-height: 420px; }
.selection .carte:nth-child(1) .carte-titre { font-size: 25px; }
.selection .carte:nth-child(2), .selection .carte:nth-child(3) { grid-column: span 5; }
.selection .carte:nth-child(n+4) { grid-column: span 4; }
.selection .carte:nth-child(1) { display: grid; grid-template-rows: 1fr auto; }

@media (max-width: 860px) {
    .selection { grid-template-columns: minmax(0, 1fr); }
    .selection .carte:nth-child(n) { grid-column: auto; grid-row: auto; }
    .selection .carte:nth-child(1) .carte-image { aspect-ratio: 3 / 2; min-height: 0; height: auto; }
}

/* --------------------------------------------------------------------------
   Services, étapes, expertise
   -------------------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 32px; }
.service { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--encre); }
.service svg { width: 36px; height: 36px; color: var(--accent); }
.service h3 { font-size: 22px; }
.service p { color: var(--texte-doux); font-size: 16px; }

.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.etape { display: flex; flex-direction: column; gap: 10px; }
.etape-numero { font-family: var(--titre); font-size: 44px; font-weight: 600; line-height: 1; color: var(--accent); }
.etape h3 { font-size: 21px; }
.etape p { color: var(--texte-doux); font-size: 16px; }

.expertise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--trait); }
.expertise details { border-bottom: 1px solid var(--trait); }
.expertise summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 22px 0; font-family: var(--titre); font-size: 20px; font-weight: 600;
}
.expertise summary::-webkit-details-marker { display: none; }
.expertise summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--accent); flex: none; }
.expertise details[open] summary::after { content: "–"; }
.expertise details p { color: var(--texte-doux); font-size: 16px; margin-bottom: 14px; }
.expertise details div { padding-bottom: 10px; }

@media (max-width: 860px) { .expertise { grid-template-columns: minmax(0, 1fr); } }

.bandeau-image { position: relative; height: clamp(300px, 42vw, 560px); overflow: hidden; }
.bandeau-image img { width: 100%; height: 100%; object-fit: cover; }
.bandeau-legende {
    position: absolute; right: var(--marge); bottom: 22px;
    padding: 7px 14px; border-radius: 999px; background: rgba(46, 43, 61, .82); color: #FFFFFF; font-size: 14px;
}

/* --------------------------------------------------------------------------
   En-têtes de pages intérieures
   -------------------------------------------------------------------------- */
.page-tete { padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(32px, 4vw, 44px); }
.page-tete h1 { font-size: clamp(44px, 6.5vw, 72px); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 16px; }
.page-tete p { max-width: 760px; font-size: clamp(17px, 1.6vw, 19px); color: var(--texte-doux); }
.fil-ariane { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--texte-doux); margin-bottom: 24px; }
.fil-ariane a { color: var(--texte-doux); }

/* Réalisations */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 5vw, 52px); }
.filtre {
    min-height: 44px; padding: 10px 20px; border-radius: 999px;
    border: 1px solid #D6D3DE; background: #FFFFFF; color: var(--encre);
    font-family: var(--titre); font-size: 16px; font-weight: 500; cursor: pointer;
}
.filtre:hover { border-color: var(--encre); }
.filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #FFFFFF; }

.grille-projets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr)); gap: clamp(44px, 5vw, 64px) 40px; }
.grille-projets .carte-titre { font-size: 23px; }
.grille-projets .carte-ligne { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.grille-projets .carte[hidden] { display: none; }

.texte-seo { max-width: 820px; }
.texte-seo h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 16px; }
.texte-seo p { color: var(--texte-doux); }

/* Page projet */
.projet-visuel { height: clamp(320px, 56vw, 760px); background: var(--encre); overflow: hidden; }
.projet-visuel img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }

.projet-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
.projet-intro-texte { grid-column: span 8; display: flex; flex-direction: column; gap: 24px; }
.projet-intro h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
.projet-description { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: #4A4659; max-width: 720px; }
.fiche { grid-column: span 4; margin: 0; border-top: 2px solid var(--encre); align-self: start; }
.fiche div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--trait); }
.fiche dt { color: var(--texte-doux); }
.fiche dd { margin: 0; font-weight: 600; text-align: right; }

@media (max-width: 860px) {
    .projet-intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .projet-intro-texte, .fiche { grid-column: auto; }
}

.section-sombre { background: var(--encre); color: #FFFFFF; }
.section-sombre h2 { margin-bottom: 32px; font-size: clamp(28px, 3vw, 36px); }
.projet-video { width: 100%; border-radius: var(--rayon); background: #1C1928; aspect-ratio: 16 / 9; }
.projet-video-pleine { display: block; width: 100%; max-height: 100vh; border-radius: 0; object-fit: contain; background: transparent; }
.section-video h2 { margin-bottom: 32px; font-size: clamp(28px, 3vw, 36px); }

.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.galerie h2 { grid-column: 1 / -1; font-size: clamp(28px, 3vw, 36px); }
.galerie figure { margin: 0; }
.galerie img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); cursor: zoom-in; }
.galerie figure.large { grid-column: 1 / -1; }
.galerie figure.large img { aspect-ratio: 16 / 9; }

@media (max-width: 700px) {
    .galerie { grid-template-columns: minmax(0, 1fr); }
    .galerie img, .galerie figure.large img { aspect-ratio: 3 / 2; }
}

.projet-suivant { position: relative; display: block; overflow: hidden; border-radius: var(--rayon); height: clamp(280px, 34vw, 420px); color: #FFFFFF; text-decoration: none; }
.projet-suivant:hover { color: #FFFFFF; }
.projet-suivant img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.projet-suivant:hover img { transform: scale(1.03); }
.projet-suivant::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 25, 40, .82), rgba(28, 25, 40, .1) 65%); }
.projet-suivant-texte { position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 6px; }
.projet-suivant-texte span:first-child { color: var(--accent-clair); font-size: 16px; }
.projet-suivant-texte span:last-child { font-family: var(--titre); font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }

/* Promotion immobilière */
.promotion-entree { padding-bottom: clamp(56px, 7vw, 88px); }
.promotion-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.promotion-intro .projet-intro-texte { grid-column: auto; gap: 20px; }
.promotion-intro h1 { font-size: clamp(38px, 4.2vw, 54px); line-height: 1.05; margin: 0; text-wrap: balance; }
.promotion-intro .lien-fort { align-self: flex-start; }
.promotion-couverture { margin: 0; }
.promotion-couverture img { width: 100%; height: auto; border-radius: var(--rayon); }
.promotion figcaption { margin-top: 8px; }
.promotion .section-tete-ligne > .section-tete { margin-bottom: 0; }

.promotion-galerie + .promotion-galerie { margin-top: clamp(40px, 6vw, 72px); }
.promotion-galerie-tete { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 22px; }
.promotion-galerie-tete h3 { font-size: clamp(26px, 3vw, 36px); }
.promotion-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.promotion-grille a { display: block; border-radius: var(--rayon); }
.promotion-rendus { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promotion-rendus img { aspect-ratio: 16 / 9; }
.promotion-planches img { aspect-ratio: 4 / 3; object-fit: contain; padding: 8px; border: 1px solid var(--trait); }
.promotion-niveau + .promotion-niveau { margin-top: clamp(24px, 4vw, 40px); }
.promotion-niveau h4 { margin-bottom: 12px; font-size: 20px; }
.promotion-devis { margin-bottom: 0; align-items: center; }

@media (max-width: 860px) {
    .promotion-intro { grid-template-columns: minmax(0, 1fr); }
    .promotion-intro h1 { text-wrap: initial; }
}

@media (max-width: 960px) {
    .promotion-rendus { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .promotion-rendus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .promotion-planches img { aspect-ratio: 4 / 5; padding: 4px; }
    .promotion-grille figcaption { font-size: 13px; line-height: 1.4; }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px; }
.contact-formulaire { grid-column: span 7; }
.contact-infos { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; }
.contact-infos h2, .contact-formulaire h2 { font-size: 28px; margin-bottom: 8px; }
.contact-infos dl { margin: 0; border-top: 2px solid var(--encre); }
.contact-infos dl div { padding: 18px 0; border-bottom: 1px solid var(--trait); display: flex; flex-direction: column; gap: 4px; }
.contact-infos dt { color: var(--texte-doux); font-size: 15px; }
.contact-infos dd { margin: 0; font-family: var(--titre); font-size: 20px; font-weight: 600; }

.champ { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.champ label { font-weight: 600; font-size: 15px; }
.champ input, .champ textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #CFCBD8; border-radius: var(--rayon);
    font: inherit; color: var(--texte); background: #FFFFFF;
}
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(46, 43, 61, .12); }
.champ textarea { min-height: 180px; resize: vertical; }
.piege { position: absolute; left: -9999px; }
.statut { margin-top: 14px; min-height: 1.6em; font-size: 15px; }
.statut.erreur { color: #B42318; }

@media (max-width: 860px) {
    .contact { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .contact-formulaire, .contact-infos { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   Blog et articles
   -------------------------------------------------------------------------- */
.blog { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px; }
.blog-liste { grid-column: span 8; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; align-content: start; }
.blog-cote { grid-column: span 4; display: flex; flex-direction: column; gap: 32px; }
.blog-carte .carte-image { aspect-ratio: 16 / 10; }
.blog-carte .carte-meta { order: -1; }
.blog-extrait { font-size: 16px; color: var(--texte-doux); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-carte[hidden] { display: none; }
.encart { padding: 28px; border-radius: var(--rayon); background: var(--fond-doux); display: flex; flex-direction: column; gap: 14px; }
.encart h2 { font-size: 22px; }
.encart p { font-size: 16px; color: var(--texte-doux); }
.encart-sombre { background: var(--encre); color: #FFFFFF; }
.encart-sombre p { color: var(--texte-clair); }
.recherche { display: flex; gap: 8px; }
.recherche input, .newsletter input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #CFCBD8; border-radius: var(--rayon); font: inherit; font-size: 16px; }
.newsletter { display: flex; flex-direction: column; gap: 10px; }
.aucun-resultat { grid-column: 1 / -1; color: var(--texte-doux); }

@media (max-width: 980px) {
    .blog { grid-template-columns: minmax(0, 1fr); }
    .blog-liste, .blog-cote { grid-column: auto; }
}
@media (max-width: 640px) { .blog-liste { grid-template-columns: minmax(0, 1fr); } }

.article-visuel { border-radius: var(--rayon); overflow: hidden; margin-bottom: clamp(32px, 4vw, 48px); }
.article-visuel img { width: 100%; height: auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: var(--texte-doux); margin-bottom: 16px; }

.prose { max-width: 740px; font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 1.1em 0 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 1em 0 0; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--rayon); height: auto; margin: 1.5em 0; }
.prose a { color: var(--accent); }
.prose .article-conclusion { margin-top: 2em; padding: 24px 28px; border-radius: var(--rayon); background: var(--fond-doux); }
.prose .article-conclusion p:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   Pages simples (merci, 404, légales)
   -------------------------------------------------------------------------- */
.page-simple { min-height: 56vh; display: flex; align-items: center; }
.page-simple .conteneur { max-width: 820px; text-align: left; }
.page-simple h1 { font-size: clamp(40px, 5.4vw, 60px); margin-bottom: 18px; }
.page-simple p { font-size: 18px; color: var(--texte-doux); }
.page-simple .encart { margin-top: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.grand-chiffre { font-family: var(--titre); font-size: clamp(90px, 16vw, 160px); font-weight: 700; line-height: .9; letter-spacing: -0.04em; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px; }

.legal h2 { font-size: 24px; margin-top: 2em; }
.legal ul { padding-left: 1.3em; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.pied { background: var(--encre-profonde); color: var(--texte-clair); font-size: 15px; }
.pied a { color: #FFFFFF; text-decoration: none; }
.pied a:hover { color: #FFB25B; }
.pied-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.pied-colonnes > div { display: flex; flex-direction: column; gap: 8px; }
.pied-logo { height: 60px; width: auto; max-width: none; align-self: flex-start; object-fit: contain; margin-bottom: 6px; }
.pied-titre { font-family: var(--titre); font-weight: 600; font-size: 17px; color: #FFFFFF; margin-bottom: 6px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 36px; border-top: 1px solid #3A3648; font-size: 14px; }
.pied-bas nav { display: flex; flex-wrap: wrap; gap: 24px; }
.pied-mots { font-size: 13px; color: #A9A5B8; padding-bottom: 28px; }

/* --------------------------------------------------------------------------
   Apparition douce au défilement
   -------------------------------------------------------------------------- */
.js .apparition { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .apparition.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .apparition { opacity: 1; transform: none; transition: none; }
    .carte-image img, .projet-suivant img { transition: none; }
}
