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

/* ============================================================
   COULEURS GLOBALES DU SITE — modifier ici pour changer partout
   ============================================================ */
:root {
    --olive: #505b46;        /* vert principal — nav, accents */
    --olive-dark: #3f4a38;   /* vert foncé — fond header au scroll, menu mobile */
    --beige: #f1eee5;        /* fond beige de toutes les pages */
    --text-light: #f4f0e7;   /* texte clair sur fond sombre */
    --orange: #c65322;       /* bouton Se connecter sur la page d'accueil */
    --blue: #0d4d68;         /* bleu — utilisé sur la page d'accueil */
    --sage: #94a787;         /* vert sauge clair */
    --rust: #bd5123;         /* terracotta — page Syndic */
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #2d2d2d;
    background: var(--beige);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
.logo span {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
}

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

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

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: #4e5843;
    z-index: 9999;
    display: grid;
    place-items: center;
    transition: opacity .8s ease, visibility .8s ease;
}

#loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-brand {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    letter-spacing: 10px;
    text-transform: uppercase;
    color: rgba(244, 240, 231, .88);
    opacity: 0;
    filter: blur(14px);
    transform: scale(1.07);
    animation: loaderBlur 900ms cubic-bezier(.22, 1, .36, 1) 200ms forwards;
}

.loader-line {
    display: block;
    width: 0;
    height: 1px;
    background: rgba(244, 240, 231, .4);
    animation: loaderLine 500ms cubic-bezier(.22, 1, .36, 1) 900ms forwards;
}

@keyframes loaderBlur {
    to { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes loaderLine {
    to { width: 100px; }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 74px;
    padding: 0 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
    transition: background .45s cubic-bezier(.25,.46,.45,.94),
                box-shadow .45s cubic-bezier(.25,.46,.45,.94);
}

.inner-header,
.site-header.scrolled {
    background: rgba(63, 74, 56, .82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 28px rgba(0, 0, 0, .18);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
}

.logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.logo span {
    font-size: 1rem;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: .86rem;
}

.main-nav a {
    position: relative;
    opacity: .9;
    transition: color .3s cubic-bezier(.25,.46,.45,.94),
                opacity .3s cubic-bezier(.25,.46,.45,.94);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, .75);
    transition: width .35s cubic-bezier(.25,.46,.45,.94);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    opacity: 1;
}




.login-btn,
.footer-btn {
    background: var(--orange);
    color: white;
    padding: 10px 16px;
    font-size: .75rem;
    text-transform: uppercase;
    border-radius: 2px;
    transition: transform .35s cubic-bezier(.22,.68,0,1.2),
                background .3s cubic-bezier(.25,.46,.45,.94);
}

.login-btn:hover,
.footer-btn:hover {
    transform: translateY(-2px);
    background: #dd642f;
}

.home-page .login-btn {
    background: #10557e;
}
.home-page .login-btn:hover {
    background: #0d3f5e;
}

.burger {
    display: none;
    width: 34px;
    height: 26px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: white;
}

/* Hero */
.hero,
.page-hero {
    position: relative;
    min-height: 520px;
    background-image: url("images/bg/la-rochelle.png");
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(78, 88, 67, 0.65);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 100px 20px 40px;
}

.page-hero-content {
    position: relative;
    width: min(1120px, 90%);
    margin: 0 auto;
    padding: 100px 20px 50px;
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 9vw, 8rem);
    letter-spacing: 5px;
    line-height: 1;
    text-shadow: 0 4px 28px rgba(0, 0, 0, .3);
}

.hero-content p,
.page-hero-content p {
    font-size: 1rem;
    margin-top: 10px;
}

.small-hero {
    min-height: 390px;
}

.page-hero-content h1,
.ex-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.0;
    white-space: nowrap;
}

/* Cards */
.cards-section {
    position: relative;
    z-index: 5;
    width: min(1120px, 92%);
    margin: -96px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    perspective: 1200px;
}

.portal-card {
    position: relative;
    min-height: 220px;
    padding: 24px 22px 26px;
    color: white;
    cursor: pointer;
    overflow: visible;
    transform-style: preserve-3d;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    transition: transform .5s cubic-bezier(.22,.68,0,1.2),
                filter .4s cubic-bezier(.25,.46,.45,.94);
}

.portal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: filter .4s cubic-bezier(.25,.46,.45,.94);
}


.card-content {
    position: relative;
    z-index: 1;
}

.card-gestion::before { background: #809076; }
.card-syndic::before  { background: #b14d23; }
.card-expert::before  { background: #10557e; }

.card-icon {
    position: absolute;
    top: -56px;
    right: 22px;
    width: 130px;
    height: auto;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .32));
    transition: transform .5s cubic-bezier(.22,.68,0,1.2),
                filter .4s cubic-bezier(.25,.46,.45,.94);
}


.key-icon {
    width: 136px;
}

.letter-icon {
    width: 140px;
}

.scale-icon {
    top: -48px;
    width: 162px;
}

.card-content h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: 1.5px;
    opacity: .9;
}

.card-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.18rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.35;
    margin-bottom: 16px;
}

.card-content p {
    margin-bottom: 14px;
    font-size: .86rem;
    line-height: 1.55;
    opacity: .92;
}

.card-content button {
    position: absolute;
    right: 24px;
    bottom: 24px;
    background: transparent;
    border: 0;
    color: white;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: .72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: .9;
}

.card-content button::after {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    margin-top: 3px;
    background: white;
    transition: width .25s ease;
}

.portal-card:hover button::after {
    width: 100%;
}

/* Home sections */
.intro-section,
.ideal-section,
.content-section,
.beige-band {
    background: var(--beige);
    padding: 95px 0;
}

.text-center {
    text-align: center;
}

.intro-section h2,
.ideal-section h2,
.content-section h2,
.beige-band h2 {
    color: #4a4a4a;
    font-size: 2.1rem;
    margin-bottom: 28px;
}

.intro-section p {
    max-width: 820px;
    margin: 0 auto 28px;
}

.blue-btn {
    display: inline-block;
    background: var(--blue);
    color: white;
    padding: 12px 22px;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: .75rem;
    transition: transform .35s cubic-bezier(.22,.68,0,1.2),
                background .3s cubic-bezier(.25,.46,.45,.94);
}

.blue-btn:hover {
    transform: translateY(-2px);
    background: #0f617f;
}

.heritage-section {
    background: var(--olive);
    color: var(--text-light);
    padding: 80px 0;
}

.half-text {
    width: min(520px, 100%);
}

.left-text {
    margin-right: auto;
}

.right-text {
    margin-left: auto;
    text-align: right;
}

.half-text h2 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 36px;
}

.half-text em {
    font-style: italic;
}

.half-text p {
    margin-bottom: 18px;
}

/* Inner pages */
.inner-main {
    padding-top: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 70px;
    align-items: start;
}

.content-grid p {
    margin-bottom: 18px;
}

.content-card {
    background: white;
    padding: 34px;
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.content-card h3 {
    color: var(--olive-dark);
    margin-bottom: 20px;
}

.content-card ul {
    padding-left: 18px;
}

.content-card li {
    margin-bottom: 12px;
}

.beige-band {
    padding-top: 40px;
}

/* Footer */
.site-footer {
    background: var(--olive-dark);
    color: var(--text-light);
    padding: 42px 34px 16px;
}

.footer-grid {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 28px;
}

.site-footer h3 {
    font-size: .85rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.site-footer p {
    font-size: .8rem;
    opacity: .88;
    margin-bottom: 6px;
}

.site-footer a:not(.footer-btn) {
    font-size: .8rem;
    opacity: .88;
    margin-bottom: 6px;
    display: block;
    color: inherit;
    text-decoration: none;
}

.socials {
    display: flex;
    gap: 24px;
    align-items: center;
}

.socials a {
    color: rgba(244,240,231,.65);
    transition: color .2s ease;
}

.socials a:hover {
    color: rgba(244,240,231,1);
}

.socials svg {
    width: 24px;
    height: 24px;
    display: block;
}

.social-logo {
    width: 24px;
    height: 24px;
    display: block;
    opacity: .65;
    transition: opacity .2s ease;
}

.socials a:hover .social-logo {
    opacity: 1;
}

.footer-bottom {
    width: min(1120px, 100%);
    margin: 28px auto 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .35);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: .72rem;
    opacity: .85;
}

/* Pré-masquage avant le premier rendu (transition depuis une carte) */
html.card-entering .page-hero               { opacity: 0; }
html.card-entering main > *:not(.page-hero) { opacity: 0; transform: translateY(32px); }
html.card-entering .site-footer             { opacity: 0; }

/* Responsive */
@media (max-width: 950px) {
    .site-header {
        padding: 0 20px;
    }

    .main-nav {
        position: fixed;
        top: 74px;
        right: -100%;
        width: min(320px, 80vw);
        height: calc(100vh);
        background-color: #3a4832;
        flex-direction: column;
        align-items: flex-start;
        padding: 34px;
        transition: right.3s ease;
    }

    .main-nav.open {
        right: 0;
    }

    .burger {
        display: block;
    }


    .cards-section {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: -60px;
    }

    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .right-text {
        margin-left: 0;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 3.1rem;
    }

    .card-icon {
        width: 104px;
        top: -36px;
    }

    .scale-icon {
        width: 132px;
        top: -32px;
    }

    .site-header {
        height: 66px;
    }

    .logo span {
        font-size: .9rem;
    }

    .intro-section,
    .ideal-section,
    .content-section {
        padding: 70px 0;
    }

    .half-text h2,
    .intro-section h2,
    .ideal-section h2,
    .content-section h2 {
        font-size: 1.7rem;
    }
}

/* ============================================
   TRANSITIONS & NOUVEAUX COMPOSANTS
   ============================================ */

/* Page entry */
body:not(.home-page) {
    animation: pageFade .45s ease;
}

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

/* Scroll reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* Hero CTA + segmentation */
.hero-cta {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 14px 34px;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 2px;
    margin-top: 28px;
    transition: transform .25s ease, background .25s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    background: #dd642f;
}

.seg-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.seg-btn {
    display: inline-block;
    border: 1.5px solid rgba(255, 255, 255, .65);
    color: rgba(255, 255, 255, .92);
    padding: 9px 20px;
    border-radius: 2px;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.seg-btn:hover {
    background: rgba(255, 255, 255, .14);
    border-color: white;
    color: white;
}

/* CTA arrow link */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--orange);
    transition: gap .25s ease;
}

.cta-link::after {
    content: '→';
    transition: transform .25s ease;
}

.cta-link:hover {
    gap: 12px;
}

.cta-link:hover::after {
    transform: translateX(3px);
}

.heritage-section .cta-link {
    color: var(--text-light);
    opacity: .85;
}

.heritage-section .cta-link:hover {
    opacity: 1;
}

/* Pain points (Gestion) */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.pain-item {
    padding: 32px 26px;
    border-radius: 4px;
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.pain-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .1);
}

.pain-item strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.05rem;
    color: var(--olive-dark);
    margin-bottom: 10px;
}

/* Olive dark section */
.olive-section {
    background: var(--olive);
    color: var(--text-light);
    padding: 90px 0;
}

.olive-section h2 {
    font-size: 2.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.olive-section > .container > p {
    opacity: .82;
    margin-bottom: 0;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.service-item {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    padding: 28px;
    transition: background .25s ease;
}

.service-item:hover {
    background: rgba(255, 255, 255, .17);
}

.service-item h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.service-item p {
    font-size: .88rem;
    opacity: .82;
    color: var(--text-light);
    margin: 0;
}

/* Steps */
.steps {
    margin-top: 36px;
}

.step {
    display: flex;
    gap: 26px;
    align-items: flex-start;
    padding: 26px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    transition: background .2s ease;
}

.step:last-child {
    border-bottom: none;
}

.step-num {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--olive);
    color: white;
    display: grid;
    place-items: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.05rem;
    margin-bottom: 7px;
    color: #3a3a3a;
}

.step p {
    font-size: .9rem;
    color: #555;
    margin: 0;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.pricing-card {
    background: white;
    border-radius: 4px;
    padding: 36px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
    transition: transform .25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card h3 {
    font-size: 1.15rem;
    color: var(--olive-dark);
    margin-bottom: 6px;
}

.pricing-card .price {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    color: var(--olive);
    margin: 14px 0 6px;
    line-height: 1;
}

.pricing-card .price span {
    font-size: .85rem;
    color: #888;
    font-family: 'Montserrat', Arial, sans-serif;
}

.pricing-card ul {
    margin-top: 20px;
    padding-left: 18px;
}

.pricing-card li {
    margin-bottom: 10px;
    font-size: .9rem;
}

/* GLI */
.gli-card {
    background: var(--olive-dark);
    color: var(--text-light);
    border-radius: 4px;
    padding: 40px;
    margin-top: 36px;
}

.gli-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.gli-card p {
    opacity: .88;
    margin-bottom: 10px;
    font-size: .92rem;
}

/* Contact forms */
.contact-form {
    display: grid;
    gap: 14px;
    max-width: 700px;
    margin-top: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    font-size: .9rem;
    background: white;
    color: #2d2d2d;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(80, 91, 70, .1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 126px;
}

.submit-btn {
    justify-self: start;
    background: var(--orange);
    color: white;
    border: 0;
    padding: 14px 32px;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    transition: transform .25s ease, background .25s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: #dd642f;
}

/* Syndic — idées clefs */
.ideas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.idea-card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    padding: 32px;
    transition: background .25s ease;
}

.idea-card:hover {
    background: rgba(255, 255, 255, .17);
}

.idea-card h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.08rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.idea-card p {
    font-size: .9rem;
    opacity: .82;
    color: var(--text-light);
    margin: 0;
}

/* Valeurs / Promesse */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.value-item {
    padding: 26px 22px;
    border-left: 3px solid var(--olive);
    transition: border-color .25s ease;
}

.value-item:hover {
    border-left-color: var(--orange);
}

.value-item h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.08rem;
    color: var(--olive-dark);
    margin-bottom: 10px;
}

.value-item p {
    font-size: .9rem;
    color: #555;
    margin: 0;
}

/* Tabs (Acheter & Louer) */
.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 36px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 14px 34px;
    font-size: .95rem;
    cursor: pointer;
    position: relative;
    color: #999;
    font-family: inherit;
    transition: color .25s ease;
}

.tab-btn.active {
    color: var(--olive-dark);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--olive);
    transition: width .3s ease;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-panel {
    display: none;
    animation: tabFade .35s ease;
}

.tab-panel.active {
    display: block;
}

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

/* Biens (Acheter & Louer) */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.property-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
}

.property-thumb {
    height: 185px;
    background: var(--sage);
    display: flex;
    align-items: flex-end;
    padding: 14px;
}

.property-thumb.thumb-blue { background: var(--blue); }
.property-thumb.thumb-rust { background: var(--rust); }

.property-thumb span {
    background: rgba(0, 0, 0, .45);
    color: white;
    font-size: .72rem;
    padding: 4px 10px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.property-info {
    padding: 20px;
}

.property-info h4 {
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 6px;
    font-size: 1rem;
    color: #2d2d2d;
}

.property-price {
    color: var(--olive);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.property-info p {
    font-size: .82rem;
    color: #777;
    margin: 0;
}

/* Expert (Expertiser) */
.expert-highlight {
    background: var(--olive-dark);
    color: var(--text-light);
    border-radius: 4px;
    padding: 40px;
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 36px;
    align-items: center;
    margin: 44px 0;
}

.expert-badge {
    text-align: center;
    padding: 20px;
    border: 1.5px solid rgba(255, 255, 255, .3);
    border-radius: 4px;
}

.expert-badge strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .95rem;
    line-height: 1.4;
}

.expert-badge small {
    display: block;
    font-size: .72rem;
    opacity: .7;
    margin-top: 8px;
}

.expert-highlight h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.expert-highlight p {
    opacity: .88;
    font-size: .92rem;
    margin: 0;
}

/* Cas d'usage */
.use-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.use-case {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
    font-size: .9rem;
    transition: transform .2s ease;
}

.use-case:hover {
    transform: translateX(4px);
}

.use-case::before {
    content: '→';
    color: var(--olive);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Rapport d'expertise */
.rapport-card {
    background: white;
    border: 2px solid var(--olive);
    border-radius: 4px;
    padding: 36px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .08);
}

.rapport-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--olive-dark);
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.rapport-card ul {
    padding-left: 20px;
}

.rapport-card li {
    margin-bottom: 12px;
    font-size: .9rem;
}

/* Investir — stratégies */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.strategy-card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    padding: 32px;
    transition: background .25s ease;
}

.strategy-card:hover {
    background: rgba(255, 255, 255, .17);
}

.strategy-card .tag {
    display: inline-block;
    background: rgba(255, 255, 255, .2);
    color: var(--text-light);
    font-size: .7rem;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.strategy-card h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.08rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.strategy-card p {
    font-size: .9rem;
    opacity: .82;
    color: var(--text-light);
    margin: 0;
}

/* Tableau fiscal */
.fiscal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 28px;
    font-size: .9rem;
}

.fiscal-table th {
    background: var(--olive-dark);
    color: var(--text-light);
    padding: 14px 20px;
    text-align: left;
    font-weight: normal;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.fiscal-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #e5e1d8;
}

.fiscal-table tr:nth-child(even) td {
    background: rgba(0, 0, 0, .02);
}

.fiscal-table tr:hover td {
    background: rgba(80, 91, 70, .05);
    transition: background .2s ease;
}

.fiscal-note {
    margin-top: 14px;
    font-size: .78rem;
    color: #888;
}

/* Responsive new components */
@media (max-width: 950px) {
    .pain-grid,
    .services-grid,
    .values-grid,
    .properties-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ideas-grid,
    .pricing-grid,
    .strategy-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .expert-highlight {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .use-cases {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .pain-grid,
    .services-grid,
    .values-grid,
    .properties-grid {
        grid-template-columns: 1fr;
    }

    .fiscal-table th,
    .fiscal-table td {
        padding: 10px 12px;
        font-size: .82rem;
    }

    .seg-btns {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   SYSTÈME DE THÈME PAR PAGE
   Palette héritée de la carte cliquée
   ============================================ */

/* — Palettes ——————————————————————————————————— */

body.theme-sage {
    --theme-color:   #94a787;   /* vert sauge  (= --sage)  */
    --theme-dark:    #5a7a5c;   /* sauge foncé             */
    --theme-overlay: rgba(100, 138, 105, 0.85);
    --theme-glow:    rgba(148, 167, 135, 0.18);
}

body.theme-rust {
    --theme-color:   #bd5123;   /* orange rouille (= --rust) */
    --theme-dark:    #9e4420;   /* rouille foncé             */
    --theme-overlay: rgba(189, 81, 35, 0.85);
    --theme-glow:    rgba(189, 81, 35, 0.14);
}

body.theme-navy {
    --theme-color:   #0d4d68;   /* bleu marine (= --blue) */
    --theme-dark:    #093d54;   /* marine foncé           */
    --theme-overlay: rgba(13, 77, 104, 0.85);
    --theme-glow:    rgba(13, 77, 104, 0.15);
}

/* — Hero overlay teinté ———————————————————————— */
[class*="theme-"] .hero-overlay {
    background: var(--theme-overlay);
    transition: background .4s ease;
}

/* — Lien actif dans le menu ————————————————————
   L'underline prend la couleur du thème          */
[class*="theme-"] .main-nav a.active::after {
    background: var(--theme-color);
    width: 100%;
}

/* — Titres h2 dans les sections claires ————————— */
[class*="theme-"] .content-section h2,
[class*="theme-"] .beige-band h2 {
    color: var(--theme-dark);
}

/* — Numérotation des étapes ————————————————————— */
[class*="theme-"] .step-num {
    background: var(--theme-color);
}

/* — Bordure gauche des valeurs / engagements ———— */
[class*="theme-"] .value-item {
    border-left-color: var(--theme-color);
}

[class*="theme-"] .value-item:hover {
    border-left-color: var(--theme-dark);
}

/* — Chiffre tarifaire ——————————————————————————— */
[class*="theme-"] .pricing-card .price {
    color: var(--theme-dark);
}

/* — Flèche des cas d'usage ——————————————————————— */
[class*="theme-"] .use-case::before {
    color: var(--theme-color);
}

/* — Carte latérale (content-card) ——————————————— */
[class*="theme-"] .content-card {
    border-top: 3px solid var(--theme-color);
}

[class*="theme-"] .content-card h3 {
    color: var(--theme-dark);
}

/* — Rapport d'expertise ————————————————————————— */
[class*="theme-"] .rapport-card {
    border-color: var(--theme-color);
}

[class*="theme-"] .rapport-card h3 {
    color: var(--theme-dark);
}

/* — Expert highlight ———————————————————————————— */
[class*="theme-"] .expert-highlight {
    background: var(--theme-dark);
}

/* — GLI card ———————————————————————————————————— */
[class*="theme-"] .gli-card {
    background: var(--theme-dark);
}

/* — Boutons CTA principaux —————————————————————— */
[class*="theme-"] .submit-btn {
    background: var(--theme-dark);
}

[class*="theme-"] .submit-btn:hover {
    background: var(--theme-color);
    filter: brightness(.92);
}

[class*="theme-"] .blue-btn {
    background: var(--theme-dark);
}

[class*="theme-"] .blue-btn:hover {
    background: var(--theme-color);
    filter: brightness(.92);
}

/* — Hero CTA (page d'accueil, si thème actif) ——— */
[class*="theme-"] .hero-cta {
    background: var(--theme-dark);
}

[class*="theme-"] .hero-cta:hover {
    background: var(--theme-color);
}

/* — Lien flèche (cta-link) ——————————————————————— */
[class*="theme-"] .cta-link {
    color: var(--theme-dark);
}

/* — Focus des champs de formulaire ——————————————— */
[class*="theme-"] .contact-form input:focus,
[class*="theme-"] .contact-form select:focus,
[class*="theme-"] .contact-form textarea:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px var(--theme-glow);
}

/* ============================================
   ACCENTS CHROMATIQUES PAR PAGE
   Wine/Cherry (Gestion) · Blush/Rose (Syndic) · Burnt Nectar (Expertiser)
   ============================================ */

body.theme-sage {
    --accent:      #76070d;
    --accent-mid:  #5c0509;
    --accent-bg:   rgba(118, 7, 13, .09);
    --accent-glow: rgba(118, 7, 13, .18);
}

body.theme-rust {
    --accent:      #e8c5b8;
    --accent-mid:  #c49080;
    --accent-text: #7a3030;
    --accent-bg:   rgba(232, 197, 184, .25);
    --accent-glow: rgba(232, 197, 184, .4);
}

body.theme-navy {
    --accent:      #c65322;
    --accent-mid:  #a34119;
    --accent-bg:   rgba(198, 83, 34, .08);
    --accent-glow: rgba(198, 83, 34, .15);
}

/* — Dark section tinted by theme ————————————————— */
body.theme-rust .olive-section {
    background: var(--theme-dark);
}

body.theme-navy .olive-section {
    background: var(--theme-dark);
}

/* — Stats band (Gestion) ————————————————————————— */
.stats-band {
    background: var(--beige);
    padding: 52px 0 72px;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.stat-item {
    background: white;
    border-radius: 4px;
    padding: 34px 28px 30px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .08);
    border-top: 3px solid var(--accent, var(--olive));
    transition: transform .25s ease, box-shadow .25s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .11);
}

.stat-icon {
    color: var(--accent, var(--olive));
    margin-bottom: 14px;
}

.stat-icon svg {
    display: block;
}

.stat-num {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.8rem;
    color: var(--accent, var(--olive-dark));
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: .87rem;
    color: #666;
    line-height: 1.55;
}

/* — Garanties grid (Gestion) ————————————————————— */
.garanties-section {
    background: var(--accent-bg, rgba(118, 7, 13, .08));
    padding: 84px 0;
    border-top: 3px solid var(--accent, #76070d);
    border-bottom: 3px solid var(--accent, #76070d);
}

.garanties-section h2 {
    color: var(--accent, var(--olive-dark));
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.garanties-section > .container > p {
    color: #555;
}

.garanties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.garantie-item {
    background: white;
    border-radius: 4px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform .25s ease, box-shadow .25s ease;
}

.garantie-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
}

.garantie-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-bg, rgba(103, 5, 38, .08));
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--accent, var(--olive));
}

.garantie-item h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.02rem;
    color: var(--accent, var(--olive-dark));
    margin-bottom: 7px;
}

.garantie-item p {
    font-size: .88rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* — Callback band (Syndic) ——————————————————————— */
.callback-band {
    background: var(--accent-bg, rgba(232, 197, 184, .2));
    border-top: 1px solid var(--accent-mid, #c49080);
    border-bottom: 1px solid var(--accent-mid, #c49080);
    padding: 62px 0;
}

.callback-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}

.callback-text h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.9rem;
    color: var(--theme-dark);
    margin-bottom: 8px;
}

.callback-text p {
    font-size: .95rem;
    color: #555;
    max-width: 540px;
    line-height: 1.6;
}

.callback-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--theme-dark);
    color: white;
    padding: 16px 32px;
    border-radius: 3px;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .25s ease, background .25s ease;
}

.callback-btn:hover {
    transform: translateY(-2px);
    background: var(--theme-color);
}

.callback-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* — Expert steps section (Expertiser) ———————————— */
.expert-steps-section {
    background: var(--beige);
    padding: 84px 0;
}

.expert-steps-section h2 {
    color: var(--theme-dark);
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.expert-steps-section > .container > p {
    color: #555;
    max-width: 680px;
    margin-top: 12px;
}

.expert-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.expert-step-card {
    background: white;
    border-radius: 4px;
    padding: 28px 22px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}

.expert-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .1);
}

.expert-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent, var(--olive));
    color: white;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.expert-step-card h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .98rem;
    color: var(--accent-mid, var(--olive-dark));
    margin-bottom: 8px;
    line-height: 1.3;
}

.expert-step-card p {
    font-size: .86rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* — Wine accent overrides (Gestion) ——————————————— */
body.theme-sage .pain-item strong {
    color: var(--accent);
}

body.theme-sage .step-num {
    background: var(--accent);
}

body.theme-sage .gli-card {
    border-left: 4px solid var(--accent);
}

body.theme-sage .contact-form input:focus,
body.theme-sage .contact-form textarea:focus,
body.theme-sage .contact-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* — Burnt orange accent overrides (Expertiser) ————— */
body.theme-navy .expert-badge {
    border-color: var(--accent);
}

body.theme-navy .expert-badge strong {
    color: var(--accent);
}

body.theme-navy .use-case::before {
    color: var(--accent);
}

body.theme-navy .step-num {
    background: var(--accent);
}

body.theme-navy .rapport-card {
    border-color: var(--accent);
}

body.theme-navy .rapport-card h3 {
    color: var(--accent-mid);
}

body.theme-navy .expert-steps-section h2 {
    color: var(--accent-mid);
}

/* — Responsive ——————————————————————————————————— */
@media (max-width: 950px) {
    .stats-inner,
    .garanties-grid {
        grid-template-columns: 1fr 1fr;
    }

    .callback-band .container {
        flex-direction: column;
        text-align: center;
    }

    .expert-steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .stats-inner,
    .garanties-grid,
    .expert-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   IDENTITÉ VISUELLE PAR PAGE
   Header thémé · Sections colorées · Accents vivants
   ============================================ */

/* — Header coloré par page ————————————————————— */
body.theme-rust .inner-header,
body.theme-rust .site-header.scrolled {
    background: rgba(87, 40, 20, .82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 2px 24px rgba(0,0,0,.28);
}

body.theme-navy .inner-header,
body.theme-navy .site-header.scrolled {
    background: rgba(16, 85, 126, .82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 2px 24px rgba(0,0,0,.22);
}

body.theme-sage .inner-header,
body.theme-sage .site-header.scrolled {
    background: rgba(72, 88, 60, .82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}


/* — Footer thémé par page ——————————————————————— */
body.theme-sage .site-footer  { background: #3a4832; }
body.theme-rust .site-footer  { background: #6a2e10; }
body.theme-navy .site-footer  { background: #0c2840; }

/* — Fond global teinté par page ————————————————— */
body.theme-sage { background: #dce8d4; }
body.theme-rust { background: #fce4d8; }
body.theme-navy { background: #10557e; }

/* — Sections colorées par page (sage) ————————— */
body.theme-sage .content-section,
body.theme-sage .beige-band,
body.theme-sage .stats-band {
    background: #d8e6d0;
}

body.theme-sage .olive-section {
    background: #4a0407;
}

/* — Sections colorées par page (rust / rose) ——— */
body.theme-rust .content-section,
body.theme-rust .beige-band {
    background: #fce0d4;
}

/* — Accent coral-rose vif pour Syndic ————————— */
body.theme-rust {
    --accent:      #d4785c;
    --accent-mid:  #b05640;
    --accent-bg:   rgba(212, 120, 92, .14);
    --accent-glow: rgba(212, 120, 92, .26);
}

/* Callback band : fond rose bien visible ———————— */
body.theme-rust .callback-band {
    background: #f5c0aa;
    border-top-color: #d4785c;
    border-bottom-color: #d4785c;
}

/* Value items : bord rose coral ————————————————— */
body.theme-rust .value-item {
    border-left-color: #d4785c;
    background: rgba(255, 255, 255, .72);
}

body.theme-rust .value-item:hover {
    border-left-color: #b05640;
}

/* Pain items : fond rose pâle ——————————————————— */
body.theme-rust .pain-item {
    background: #fff5f2;
    border-top: 3px solid #d4785c;
    box-shadow: 0 4px 16px rgba(212, 120, 92, .14);
}

/* Content card : liseret rose ——————————————————— */
body.theme-rust .content-card {
    border-top-color: #d4785c;
}

body.theme-rust .content-card h3 {
    color: #b05640;
}

/* — Sections colorées par page (navy / bleu) ——— */
body.theme-navy .content-section,
body.theme-navy .beige-band {
    background: #d4e4f0;
}

/* Section étapes : fond crème dorée pour plus de jaune */
body.theme-navy .expert-steps-section {
    background: #f5efd0;
}

body.theme-navy .olive-section {
    background: #3e2c04;
}

/* — Accent or/jaune : Expertiser ————————————————*/
body.theme-navy {
    --accent:      #c9a020;
    --accent-mid:  #a07d10;
    --accent-bg:   rgba(201, 160, 32, .1);
    --accent-glow: rgba(201, 160, 32, .2);
}

/* — Boutons Gestion : cherry red #76070d ————————— */
body.theme-sage .login-btn,
body.theme-sage .submit-btn,
body.theme-sage .blue-btn,
body.theme-sage .footer-btn,
body.theme-sage .callback-btn,
body.theme-sage .hero-cta {
    background: #76070d;
}
body.theme-sage .login-btn:hover,
body.theme-sage .submit-btn:hover,
body.theme-sage .blue-btn:hover,
body.theme-sage .footer-btn:hover,
body.theme-sage .callback-btn:hover,
body.theme-sage .hero-cta:hover {
    background: #5c0509;
    transform: translateY(-2px);
}

/* — Boutons Syndic : light blue ————————————————— */
body.theme-rust .login-btn,
body.theme-rust .submit-btn,
body.theme-rust .blue-btn,
body.theme-rust .footer-btn,
body.theme-rust .callback-btn,
body.theme-rust .hero-cta {
    background: #4896c8;
}
body.theme-rust .login-btn:hover,
body.theme-rust .submit-btn:hover,
body.theme-rust .blue-btn:hover,
body.theme-rust .footer-btn:hover,
body.theme-rust .callback-btn:hover,
body.theme-rust .hero-cta:hover {
    background: #3578a8;
    transform: translateY(-2px);
}

/* — Boutons Expertiser : doré ———————————————————— */
body.theme-navy .login-btn,
body.theme-navy .submit-btn,
body.theme-navy .blue-btn,
body.theme-navy .footer-btn,
body.theme-navy .hero-cta {
    background: var(--accent);
    color: #1a1200;
}
body.theme-navy .login-btn:hover,
body.theme-navy .submit-btn:hover,
body.theme-navy .blue-btn:hover,
body.theme-navy .footer-btn:hover,
body.theme-navy .hero-cta:hover {
    background: var(--accent-mid);
    color: white;
    transform: translateY(-2px);
}

/* — Cartes sur fond coloré : toujours lisibles —— */
body[class*="theme-"] .pain-item,
body[class*="theme-"] .pricing-card,
body[class*="theme-"] .rapport-card,
body[class*="theme-"] .use-case,
body[class*="theme-"] .expert-step-card,
body[class*="theme-"] .garantie-item,
body[class*="theme-"] .stat-item {
    background: white;
}

body.theme-sage .pain-item {
    border-top: 3px solid var(--theme-color);
}

body.theme-sage .stat-item,
body.theme-navy .stat-item {
    border-top-color: var(--accent);
}

/* — Idea cards Syndic : rose translucide ———————— */
body.theme-rust .idea-card {
    background: rgba(245, 192, 170, .25);
    border: 1px solid rgba(212, 120, 92, .35);
}

body.theme-rust .idea-card:hover {
    background: rgba(245, 192, 170, .4);
}

/* — Formulaire : fond blanc sur fond coloré ———— */
body[class*="theme-"] .contact-form input,
body[class*="theme-"] .contact-form textarea,
body[class*="theme-"] .contact-form select {
    background: white;
}

/* — GLI card thémée ————————————————————————————— */
body.theme-rust .gli-card {
    background: #8c3a14;
}

/* — Step cards Expertiser sur fond bleu ————————— */
body.theme-navy .expert-step-card {
    border-left: 3px solid var(--accent);
}

/* — Use-cases Expertiser sur fond bleu —————————— */
body.theme-navy .use-case {
    border-left: 2px solid var(--accent);
    box-shadow: 0 4px 14px rgba(18, 60, 100, .1);
}

/* ═══════════════════════════════════════════════════════
   RETOUR DE CARTE → ACCUEIL — Fondu simple
═══════════════════════════════════════════════════════ */
html.home-returning #loader {
    display: none !important;
}
html.home-returning body {
    animation: none !important;
    opacity: 0;
    transition: opacity 650ms cubic-bezier(.22, 1, .36, 1);
}
html.home-returning.fade-in body {
    opacity: 1;
}



