/* =========================================================
   PARIS PAYSAGE — Feuille de style principale
   Style : minimaliste, premium, photo-centrique
   ========================================================= */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Variables ---------- */
:root {
    /* Palette */
    --noir: #0e0e0e;
    --blanc: #fafaf7;
    --blanc-pur: #ffffff;
    --gris-clair: #f0efe9;
    --gris-texte: #5a5a55;
    --vert: #3a4a36;
    --vert-clair: #6b7d5e;
    --vert-pale: #e8ebe2;

    /* Typographie */
    --font-titre: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-texte: 'Inter', 'Helvetica Neue', Arial, sans-serif;

    /* Espacements */
    --espace-xs: 0.5rem;
    --espace-s: 1rem;
    --espace-m: 2rem;
    --espace-l: 4rem;
    --espace-xl: 6rem;
    --espace-xxl: 9rem;

    /* Largeurs */
    --largeur-max: 1400px;
    --largeur-texte: 760px;

    /* Transitions */
    --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Typographie ---------- */
body {
    font-family: var(--font-texte);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--noir);
    background-color: var(--blanc);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-titre);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--noir);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 400;
}

p {
    font-weight: 300;
    color: var(--gris-texte);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- Conteneurs ---------- */
.container {
    width: 100%;
    max-width: var(--largeur-max);
    margin: 0 auto;
    padding: 0 var(--espace-m);
}

.container-etroit {
    max-width: var(--largeur-texte);
    margin: 0 auto;
    padding: 0 var(--espace-m);
}

section {
    padding: var(--espace-xxl) 0;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-texte);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid var(--noir);
    background: transparent;
    color: var(--noir);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn:hover {
    background: var(--noir);
    color: var(--blanc);
}

.btn-blanc {
    border-color: var(--blanc);
    color: var(--blanc);
}

.btn-blanc:hover {
    background: var(--blanc);
    color: var(--noir);
}

.btn-plein {
    background: var(--noir);
    color: var(--blanc);
}

.btn-plein:hover {
    background: var(--vert);
    border-color: var(--vert);
}

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    background: transparent;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(14, 14, 14, 0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-titre);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--noir);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: filter var(--transition), height var(--transition);
}

/* Au scroll, on réduit légèrement le logo pour qu'il reste élégant */
.site-header.scrolled .logo img {
    height: 48px;
}

/* Logo plus grand dans le footer */
.footer-marque .logo img {
    height: 70px;
    margin-bottom: 1rem;
}

/* Logo en mode "light" (sur fond sombre — hero d'accueil) : on inverse en blanc */
.logo-light img {
    filter: invert(1);
}

/* Quand le header devient blanc au scroll, on remet le logo en noir */
.site-header.scrolled .logo-light img {
    filter: none;
}

/* Logo dans le footer (sur fond noir, toujours en blanc) */
.footer-marque .logo img {
    filter: invert(1);
}

.logo-light {
    color: var(--blanc);
}

.site-header.scrolled .logo-light {
    color: var(--noir);
}

/* Cacher le texte si une image logo est présente (le logo en contient déjà) */
.logo.has-image .logo-text {
    display: none;
}

.nav-principale {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-principale a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 400;
    position: relative;
    padding: 0.3rem 0;
}

.nav-principale a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.nav-principale a:hover::after,
.nav-principale a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Sélecteur de langue */
.nav-principale .lang-switch {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid currentColor;
    letter-spacing: 0.15em;
    margin-left: 0.6rem;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.nav-principale .lang-switch:hover {
    opacity: 1;
}

.nav-principale .lang-switch::after {
    display: none !important;
}

.nav-light a {
    color: var(--blanc);
}

.site-header.scrolled .nav-light a {
    color: var(--noir);
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 22px;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
}

.burger span {
    display: block;
    height: 1px;
    width: 100%;
    background: var(--noir);
    transition: all var(--transition);
}

.burger-light span {
    background: var(--blanc);
}

.site-header.scrolled .burger-light span {
    background: var(--noir);
}

.burger.actif span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background: var(--noir);
}

.burger.actif span:nth-child(2) {
    opacity: 0;
}

.burger.actif span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background: var(--noir);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    text-align: center;
    overflow: hidden;
    padding: 0 var(--espace-m);
}

.hero-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2d3a28 0%, #1a2218 100%);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 100%);
    z-index: -1;
}

.hero-contenu {
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    z-index: 2;
}

/* Décorations végétales du hero — silhouettes de bambou */
.hero-deco {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 230px;
    pointer-events: none;
    opacity: 0.22;
    color: var(--blanc);
    z-index: 1;
    overflow: hidden;
    animation: fadeInDeco 2.2s ease-out 0.4s both;
}

.hero-deco-gauche {
    left: 0;
}

.hero-deco-droite {
    right: 0;
}

.hero-deco svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes fadeInDeco {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 0.22; transform: translateX(0); }
}

.hero-deco-droite {
    animation-name: fadeInDecoDroite;
}

@keyframes fadeInDecoDroite {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 0.22; transform: translateX(0); }
}

/* Tablettes : décorations plus discrètes */
@media (max-width: 1100px) {
    .hero-deco {
        width: 160px;
        opacity: 0.16;
    }
}

/* Mobiles : on cache pour ne pas encombrer */
@media (max-width: 768px) {
    .hero-deco {
        display: none;
    }
}

.hero-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 1.5rem;
    opacity: 0.85;
    font-weight: 300;
}

.hero h1 {
    color: var(--blanc);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-soustitre {
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-weight: 300;
}

.hero-fleche {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5);
    animation: scrollIndicate 2s ease-in-out infinite;
}

@keyframes scrollIndicate {
    0%, 100% { transform: translateX(-50%) scaleY(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scaleY(1.2); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections génériques ---------- */
.section-titre {
    text-align: center;
    margin-bottom: var(--espace-l);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--vert);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.section-titre h2 {
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 600px;
    margin: 1.5rem auto 0;
    color: var(--gris-texte);
}

/* ---------- Page-header (autres pages) ---------- */
.page-header {
    padding: 13rem 0 5rem;
    text-align: center;
    background: var(--blanc);
    border-bottom: 1px solid var(--gris-clair);
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ---------- Grille services (accueil) ---------- */
.services-grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    background: var(--gris-clair);
    border: 1px solid var(--gris-clair);
}

.service-carte {
    background: var(--blanc);
    padding: 3.5rem 2.5rem;
    transition: all var(--transition);
    text-align: left;
    cursor: pointer;
    position: relative;
}

.service-carte:hover {
    background: var(--noir);
    color: var(--blanc);
}

.service-carte:hover h3,
.service-carte:hover p,
.service-carte:hover .service-numero {
    color: var(--blanc);
}

.service-numero {
    font-family: var(--font-titre);
    font-size: 0.95rem;
    color: var(--vert);
    margin-bottom: 1.5rem;
    font-style: italic;
    transition: color var(--transition);
}

.service-carte h3 {
    margin-bottom: 1rem;
    transition: color var(--transition);
}

.service-carte p {
    font-size: 0.95rem;
    transition: color var(--transition);
}

/* ---------- Réalisations (galerie aperçu accueil) ---------- */
.realisations-apercu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: var(--espace-l);
}

.realisation-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--gris-clair);
    cursor: pointer;
}

.realisation-item-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.realisation-item:hover .realisation-item-image {
    transform: scale(1.05);
}

.realisation-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.realisation-info {
    color: var(--blanc);
}

.realisation-info-categorie {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.realisation-info h3 {
    color: var(--blanc);
    font-size: 1.4rem;
}

/* Placeholder pour images manquantes */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--vert-pale) 0%, var(--gris-clair) 100%);
    color: var(--vert);
    font-family: var(--font-titre);
    font-style: italic;
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
}

/* ---------- Section "Citation / vision" ---------- */
.citation {
    text-align: center;
    padding: var(--espace-xxl) var(--espace-m);
    background: var(--blanc);
}

.citation blockquote {
    font-family: var(--font-titre);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
    color: var(--noir);
    font-style: italic;
}

.citation cite {
    display: block;
    margin-top: 2rem;
    font-family: var(--font-texte);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-style: normal;
    color: var(--vert);
}

/* ---------- Bandeau CTA ---------- */
.cta-bandeau {
    background: var(--noir);
    color: var(--blanc);
    text-align: center;
    padding: var(--espace-xl) var(--espace-m);
    margin-top: 4rem;
}

.cta-bandeau h2 {
    color: var(--blanc);
    margin-bottom: 1.5rem;
}

.cta-bandeau p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 580px;
    margin: 0 auto 2.5rem;
}

/* ---------- Page Services ---------- */
.service-detail {
    padding: var(--espace-xl) 0;
    border-bottom: 1px solid var(--gris-clair);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-grille {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--espace-l);
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-grille {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-texte {
    direction: ltr;
}

.service-detail-image {
    aspect-ratio: 4 / 3;
    background: var(--gris-clair);
    overflow: hidden;
}

.service-detail-numero {
    font-family: var(--font-titre);
    font-size: 0.95rem;
    color: var(--vert);
    margin-bottom: 1rem;
    font-style: italic;
    letter-spacing: 0.05em;
}

.service-detail-texte h2 {
    margin-bottom: 1.5rem;
}

.service-detail-texte p {
    margin-bottom: 1.2rem;
}

.service-detail-liste {
    list-style: none;
    margin-top: 2rem;
}

.service-detail-liste li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gris-clair);
    color: var(--noir);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-detail-liste li::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--vert);
    flex-shrink: 0;
}

/* ---------- Page Réalisations ---------- */
.filtres {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: var(--espace-l);
}

.filtre-btn {
    background: none;
    border: none;
    font-family: var(--font-texte);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gris-texte);
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition);
}

.filtre-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--noir);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.filtre-btn:hover,
.filtre-btn.actif {
    color: var(--noir);
}

.filtre-btn.actif::after {
    transform: scaleX(1);
}

.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.galerie .realisation-item {
    aspect-ratio: 1 / 1;
}

/* ---------- Page À propos ---------- */
.apropos-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--espace-l);
    align-items: center;
    padding: var(--espace-xl) 0;
}

.apropos-intro-image {
    aspect-ratio: 3 / 4;
    background: var(--gris-clair);
}

.apropos-intro-texte h2 {
    margin-bottom: 2rem;
}

.apropos-intro-texte p {
    margin-bottom: 1.5rem;
}

.valeurs {
    background: var(--vert-pale);
    padding: var(--espace-xl) 0;
}

.valeurs-grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--espace-m);
    margin-top: var(--espace-l);
}

.valeur {
    text-align: center;
    padding: 2rem;
}

.valeur-numero {
    font-family: var(--font-titre);
    font-size: 2rem;
    color: var(--vert);
    font-style: italic;
    margin-bottom: 1rem;
}

.valeur h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.valeur p {
    font-size: 0.95rem;
}

.references-clients {
    text-align: center;
    padding: var(--espace-xl) 0;
}

.references-liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem 4rem;
    margin-top: var(--espace-l);
}

.reference-item {
    font-family: var(--font-titre);
    font-style: italic;
    color: var(--gris-texte);
    font-size: 1.2rem;
}

/* ---------- Page Contact ---------- */
.contact-grille {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--espace-l);
    padding: var(--espace-xl) 0;
}

.contact-infos h2 {
    margin-bottom: 2rem;
}

.contact-infos > p {
    margin-bottom: 3rem;
}

.contact-bloc {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--gris-clair);
}

.contact-bloc:last-child {
    border-bottom: none;
}

.contact-bloc-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--vert);
    margin-bottom: 0.7rem;
    font-weight: 500;
}

.contact-bloc-valeur {
    font-family: var(--font-titre);
    font-size: 1.4rem;
    color: var(--noir);
}

.contact-bloc a:hover {
    color: var(--vert);
}

/* Formulaire */
.formulaire {
    background: var(--gris-clair);
    padding: 3.5rem;
}

.form-groupe {
    margin-bottom: 1.8rem;
}

.form-groupe label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gris-texte);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.form-groupe input,
.form-groupe textarea,
.form-groupe select {
    width: 100%;
    padding: 0.9rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gris-texte);
    font-family: var(--font-texte);
    font-size: 1rem;
    color: var(--noir);
    transition: border-color var(--transition);
}

.form-groupe input:focus,
.form-groupe textarea:focus,
.form-groupe select:focus {
    outline: none;
    border-bottom-color: var(--noir);
}

.form-groupe textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

.form-message.succes {
    display: block;
    background: var(--vert-pale);
    color: var(--vert);
}

/* Case à cocher RGPD */
.form-rgpd {
    margin: 0.5rem 0 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--gris-texte);
    line-height: 1.6;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 300;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    border: 1px solid var(--gris-texte);
    background: var(--blanc-pur);
    cursor: pointer;
    position: relative;
    transition: all var(--transition);
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--vert);
    border-color: var(--vert);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: var(--vert);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--noir);
}

/* Messages de retour formulaire */
.form-retour {
    padding: 1.5rem 1.8rem;
    margin-bottom: 2rem;
    border-left: 3px solid;
    font-size: 0.95rem;
}

.form-retour-succes {
    background: var(--vert-pale);
    border-left-color: var(--vert);
    color: var(--vert);
}

.form-retour-erreur {
    background: #fdf0f0;
    border-left-color: #c84141;
    color: #8a2a2a;
}

.form-retour p {
    color: inherit;
    margin: 0;
}

.form-retour a {
    color: inherit;
    text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--noir);
    color: var(--blanc);
    padding: var(--espace-xl) 0 2rem;
}

.footer-grille {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--espace-l);
    padding-bottom: var(--espace-l);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-marque .logo {
    color: var(--blanc);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-marque p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-titre {
    font-family: var(--font-titre);
    font-size: 1rem;
    color: var(--blanc);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.footer-liste {
    list-style: none;
}

.footer-liste li {
    margin-bottom: 0.7rem;
}

.footer-liste a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-liste a:hover {
    color: var(--blanc);
}

.footer-bas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-mentions {
    display: flex;
    gap: 2rem;
    font-size: 0.8rem;
}

.footer-mentions a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-mentions a:hover {
    color: var(--blanc);
}

/* ---------- Bandeau SAP (crédit d'impôt) ---------- */
.bandeau-sap {
    background: var(--vert-pale);
    padding: 6rem var(--espace-m);
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(58, 74, 54, 0.15);
    border-bottom: 1px solid rgba(58, 74, 54, 0.15);
}

.bandeau-sap-inner {
    max-width: 800px;
    margin: 0 auto;
}

.bandeau-sap-label {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--vert);
    margin-bottom: 1.2rem;
    font-weight: 500;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--vert);
    border-radius: 2px;
}

.bandeau-sap h2 {
    font-family: var(--font-titre);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--vert);
    margin-bottom: 1rem;
    font-weight: 400;
}

.bandeau-sap p {
    color: var(--noir);
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto;
}

.sap-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--vert-pale);
    color: var(--vert);
    padding: 0.4rem 0.9rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    border-radius: 2px;
    margin-top: 1rem;
}

.sap-mini::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--vert);
    border-radius: 50%;
}

/* ---------- Pages légales (texte long) ---------- */
.contenu-legal {
    max-width: 820px;
    margin: 0 auto;
    padding: var(--espace-l) var(--espace-m);
}

.contenu-legal h2 {
    font-size: 1.6rem;
    margin: 3rem 0 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gris-clair);
}

.contenu-legal h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.contenu-legal h3 {
    font-size: 1.2rem;
    margin: 2rem 0 1rem;
    color: var(--vert);
    font-family: var(--font-titre);
    font-style: italic;
}

.contenu-legal p,
.contenu-legal li {
    color: var(--gris-texte);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contenu-legal ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.contenu-legal ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.contenu-legal ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--vert);
}

.contenu-legal a {
    color: var(--vert);
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}

.contenu-legal a:hover {
    color: var(--noir);
}

.contenu-legal-info {
    background: var(--gris-clair);
    padding: 2rem;
    margin: 1.5rem 0;
    border-left: 3px solid var(--vert);
}

.contenu-legal-info p {
    margin-bottom: 0.4rem;
}

.contenu-legal-info strong {
    color: var(--noir);
    font-weight: 500;
}

.legal-date {
    text-align: center;
    color: var(--gris-texte);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gris-clair);
}

/* ---------- Animations au scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .footer-grille {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail-grille,
    .apropos-intro,
    .contact-grille {
        grid-template-columns: 1fr;
        gap: var(--espace-m);
    }

    .service-detail:nth-child(even) .service-detail-grille {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--espace-xl) 0;
    }

    .page-header {
        padding: 9rem 0 3rem;
    }

    .nav-principale {
        position: fixed;
        inset: 0;
        background: var(--blanc);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 150;
    }

    .nav-principale.ouvert {
        transform: translateX(0);
    }

    .nav-principale a {
        color: var(--noir) !important;
        font-size: 1.1rem;
    }

    .burger {
        display: flex;
    }

    .footer-grille {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-marque p {
        margin: 0 auto;
    }

    .footer-bas {
        flex-direction: column;
        text-align: center;
    }

    .formulaire {
        padding: 2rem 1.5rem;
    }

    .citation blockquote {
        font-size: 1.4rem;
    }

    .filtres {
        gap: 1rem;
    }

    .filtre-btn {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}
