/* ==========================================================================
   Les Démos IA : composants des sites métier (restaurant, immobilier, paysagiste)
   et animations. S'appuie sur les variables de main.css.
   ========================================================================== */

/* ---------- Animations d'apparition ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-img { clip-path: inset(12% 6% 12% 6% round var(--radius)); opacity: .2; transition: clip-path 1.2s var(--ease), opacity 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .rv-img.is-in { clip-path: inset(0 0 0 0 round var(--radius)); opacity: 1; }
.js .rv-img img { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.js .rv-img.is-in img { transform: scale(1); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + .1s); }
[data-split].is-in .w > span { transform: none; }
.hl .w > span { color: inherit; }
/* Les anciennes animations au défilement de main.css laissent la place à celles-ci. */
@supports (animation-timeline: view()) { .card, .step, .site-card, .tool, .section__head { animation: none; } }
@media (prefers-reduced-motion: reduce) {
	.js .rv, .js .rv-img { opacity: 1; transform: none; clip-path: none; }
	.js .rv-img img, [data-split] .w > span { transform: none; }
}

/* ---------- Utilitaires ---------- */
.center { text-align: center; margin-top: 2.4rem; }
.btn--sm { padding: .65rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); color: #fff; box-shadow: none; }
.eyebrow--light, .kicker--light { color: rgba(255, 255, 255, .85) !important; }
.kicker--gold { color: var(--c-accent-2) !important; }
.section__head--center { justify-content: center; text-align: center; }
.stars { color: #F5B301; letter-spacing: .1em; font-size: .95rem; }
.picto { width: 22px; height: 22px; flex: none; }
.back { margin: 0 0 1.2rem; font-size: .9rem; }
.back a { display: inline-flex; align-items: center; gap: .45rem; color: var(--c-muted); text-decoration: none; font-weight: 600; }
.back a:hover { color: var(--c-ink); }
.back .picto { width: 18px; height: 18px; }
.back--light a { color: rgba(255, 255, 255, .85); }
.back--light a:hover { color: #fff; }
.checks { list-style: none; margin: 1.2rem 0 1.8rem; padding: 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks .icon { color: var(--c-accent-text); margin-top: .2em; }
.checks--light .icon { color: var(--c-accent-2); }
.info-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .picto, .info-list .icon { color: var(--c-accent-text); margin-top: .15em; }
.embedded-section { margin-block: 2rem; }
.embedded-section .section { padding-block: clamp(32px, 5vw, 64px); background: none; }
.embedded-section .container { width: 100%; }
.tag { display: inline-flex; align-items: center; padding: .32rem .7rem; border-radius: 999px; background: var(--c-surface); color: var(--c-ink); font: 700 .68rem/1.1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.tag--dark { background: var(--c-ink); color: var(--c-bg); }
.tag--gold { background: var(--c-accent-2); color: #1b1408; }
.tag--sold { background: #B3261E; color: #fff; }

/* ---------- En-tête : bouton et mode transparent ---------- */
.header__cta { margin-right: .4rem; }
:root[data-style="prestige"] .header__cta { padding: .75rem 1.2rem; }
.has-overlay-header .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-overlay-header .site-header:not(.is-scrolled) .brand,
.has-overlay-header .site-header:not(.is-scrolled) .nav__list > li > a,
.has-overlay-header .site-header:not(.is-scrolled) .icon-btn { color: #fff; }
.has-overlay-header .site-header:not(.is-scrolled) .icon-btn { border-color: rgba(255, 255, 255, .35); }
.has-overlay-header .site-header:not(.is-scrolled) .nav__list > li > a:hover,
.has-overlay-header .site-header:not(.is-scrolled) .nav__list > .current-menu-item > a { background: rgba(255, 255, 255, .14); }
.has-overlay-header .site-main > :first-child { margin-top: calc(-1 * var(--header-h)); }
@media (max-width: 880px) {
	.has-overlay-header.nav-open .site-header, html.nav-open .has-overlay-header .site-header { background: var(--c-bg); }
	.header__cta { display: none; }
}

/* ---------- Hero plein écran (restaurant, immobilier) ---------- */
.hero-full { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(640px, 94vh); color: #fff; overflow: hidden; isolation: isolate; }
.hero-full__media, .feature-band__media, .banner__media, .project-hero__media { position: absolute; inset: -8% 0; z-index: -2; }
.hero-full__media img, .feature-band__media img, .banner__media img, .project-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-full__media img { animation: kenburns 22s ease-out both; }
.hero-full__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .78) 100%); }
.hero-full__content { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(36px, 6vw, 72px); }
.hero-full__title { font-size: calc(clamp(2.9rem, 7.5vw, 6.4rem) * var(--ds)); line-height: .98; max-width: 14ch; margin: .35em 0 .35em; color: #fff; }
.hero-full__title .hl { color: var(--c-accent-2); }
.hero-full__text { max-width: 52ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); margin-bottom: 2rem; }
.hero-full__strip { border-top: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-full__strip-inner { display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; padding-block: 1rem; font-size: .92rem; }
.hero-full__strip-inner > * { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255, 255, 255, .9); text-decoration: none; }
.hero-full__strip .picto, .hero-full__strip .icon { width: 18px; height: 18px; color: var(--c-accent-2); }
.hero-full__note { margin: 1.4rem 0 0; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.hero-full__note strong { color: #fff; font-size: 1.1rem; }
:root[data-style="gourmand"] .hero-full__title { font-weight: 400; letter-spacing: -.02em; }
:root[data-style="prestige"] .hero-full--estate { min-height: max(700px, 100vh); }
:root[data-style="prestige"] .hero-full__title { font-size: clamp(2.6rem, 6vw, 5.2rem); max-width: 16ch; }

/* Moteur de recherche immobilier */
.search-box { max-width: 980px; padding: .5rem; background: rgba(255, 255, 255, .96); color: var(--c-ink); border-radius: calc(var(--radius) + 4px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .search-box { background: color-mix(in srgb, var(--c-surface) 96%, transparent); }
.search-box__switch { display: inline-flex; gap: 0; margin: 0 0 .4rem; padding: 0; border: 0; }
.search-box__switch label { cursor: pointer; }
.search-box__switch input { position: absolute; opacity: 0; pointer-events: none; }
.search-box__switch span { display: block; padding: .6rem 1.2rem; font: 700 .75rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); border-bottom: 2px solid transparent; }
.search-box__switch input:checked + span { color: var(--c-ink); border-color: var(--c-accent-2); }
.search-box__switch input:focus-visible + span { outline: 2px solid var(--c-accent-text); }
.search-box__fields { display: grid; grid-template-columns: 1fr 1.2fr 1fr auto; gap: .4rem; }
.search-box__field { display: flex; flex-direction: column; gap: .2rem; padding: .7rem .9rem; border-radius: var(--radius); background: var(--c-surface-2); }
.search-box__field span { font: 700 .65rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.search-box__field select, .search-box__field input { padding: 0; border: 0; background: transparent; font-weight: 600; color: var(--c-ink); border-radius: 0; }
.search-box__field select:focus, .search-box__field input:focus { outline: none; }
.search-box__field:focus-within { box-shadow: inset 0 0 0 2px var(--c-accent-2); }
.search-box__btn { padding-inline: 1.8rem; }

/* ---------- Histoire (restaurant) ---------- */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__media { position: relative; padding: 0 12% 18% 0; }
.story__img { margin: 0; overflow: hidden; border-radius: var(--radius); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__img--a { aspect-ratio: 4 / 5; }
.story__img--b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 8px solid var(--c-bg); border-radius: 50%; }
.js .story__img--b.rv-img { clip-path: circle(20% at 50% 50%); }
.js .story__img--b.rv-img.is-in { clip-path: circle(75% at 50% 50%); }
.story__stamp { position: absolute; left: -36px; top: 40px; width: 130px; height: 130px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); animation: spin 18s linear infinite; }
.story__stamp svg { width: 100%; height: 100%; }
.story__stamp text { font: 600 10.5px var(--f-body); letter-spacing: .18em; text-transform: uppercase; fill: currentColor; }
.story__title { font-size: calc(clamp(2rem, 4vw, 3.2rem) * var(--ds)); margin: .2em 0 .6em; }
.story__text { color: var(--c-muted); font-size: 1.1rem; }
.story__sign { font-family: var(--f-display); font-style: italic; font-size: 1.4rem; color: var(--c-accent-text); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--c-line); }
.facts dt { font: var(--f-display-weight) calc(2rem * var(--ds))/1 var(--f-display); color: var(--c-ink); }
.facts dd { margin: .35rem 0 0; font-size: .85rem; color: var(--c-muted); }

/* ---------- Onglets ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.6rem 0 2rem; }
.tabs--center { justify-content: center; }
.tab { padding: .7rem 1.3rem; border: 1px solid var(--c-line); border-radius: 999px; background: transparent; color: var(--c-ink); font: 600 .92rem/1 var(--f-body); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.tab:hover { border-color: var(--c-ink); }
.tab.is-active { background: var(--c-accent); color: var(--c-accent-ink); border-color: var(--c-accent); }
[data-panel] { animation: fadeUp .5s var(--ease); }

/* ---------- Carte du restaurant ---------- */
.menu-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 3rem; max-width: 1080px; }
.menu-list--full { grid-template-columns: 1fr; max-width: none; }
.dish__link { display: flex; gap: 1.1rem; align-items: center; padding: 1.1rem .8rem; margin-inline: -.8rem; border-radius: var(--radius); color: inherit; text-decoration: none; transition: background .25s; }
.dish__link:hover { background: color-mix(in srgb, var(--c-surface) 80%, transparent); text-decoration: none; }
.dish__img { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--c-surface-2); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish__link:hover .dish__img img { transform: scale(1.12) rotate(4deg); }
.dish__body { flex: 1; min-width: 0; }
.dish__head { display: flex; align-items: baseline; gap: .6rem; }
.dish__name { font: var(--f-display-weight) calc(1.3rem * var(--ds))/1.2 var(--f-display); }
.dish__dots { flex: 1; min-width: 20px; border-bottom: 2px dotted var(--c-line); transform: translateY(-.3em); }
.dish__price { font: 600 1.05rem/1 var(--f-body); color: var(--c-accent-text); white-space: nowrap; }
.dish__desc { display: block; margin-top: .3rem; color: var(--c-muted); font-size: .92rem; line-height: 1.5; }
.dish__badge { display: inline-block; margin-top: .5rem; padding: .2rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--c-accent-2) 22%, transparent); color: var(--c-ink); font: 600 .7rem/1.3 var(--f-body); letter-spacing: .04em; }
.dish-page__price .dish__badge { margin: 0 0 0 .8rem; vertical-align: middle; }

.banner { position: relative; display: flex; align-items: flex-end; min-height: 56vh; color: #fff; overflow: hidden; isolation: isolate; }
.banner__shade, .feature-band__shade, .project-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .7)); }
.banner__content { padding: calc(var(--header-h) + 60px) 0 clamp(36px, 5vw, 64px); }
.banner__title { font-size: calc(clamp(3rem, 9vw, 7rem) * var(--ds)); color: #fff; line-height: .95; }
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--c-bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-line); }
.subnav__inner { display: flex; align-items: center; gap: .3rem; overflow-x: auto; padding-block: .7rem; scrollbar-width: none; }
.subnav a { flex: none; padding: .5rem 1rem; border-radius: 999px; color: var(--c-muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.subnav a:hover, .subnav a.is-active { color: var(--c-ink); background: var(--c-surface-2); }
.subnav .subnav__cta { margin-left: auto; background: var(--c-accent); color: var(--c-accent-ink); }
.container--menu { width: min(860px, 100% - 2 * var(--gutter)); }
.carte__group { padding-block: 2.4rem 1rem; scroll-margin-top: calc(var(--header-h) + 70px); }
.carte__title { display: flex; align-items: center; gap: 1.2rem; font-size: calc(clamp(2rem, 4vw, 3rem) * var(--ds)); margin-bottom: 1rem; }
.carte__title::before, .carte__title::after { content: ''; flex: 1; height: 1px; background: var(--c-line); }
.carte__note { margin-top: 3rem; text-align: center; color: var(--c-muted); font-size: .88rem; font-style: italic; }

.feature-band { position: relative; display: flex; align-items: center; min-height: 78vh; color: #fff; overflow: hidden; isolation: isolate; }
.feature-band__content { padding-block: 120px; }
.feature-band__title { font-size: calc(clamp(2.4rem, 6vw, 5rem) * var(--ds)); max-width: 16ch; color: #fff; line-height: 1; margin: .2em 0 .4em; }
.feature-band__text { max-width: 48ch; font-size: 1.15rem; color: rgba(255, 255, 255, .88); }

.formule { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 2.2rem 2rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s; }
.formule:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .45); }
.formule--featured { background: var(--c-accent); color: var(--c-accent-ink); border-color: var(--c-accent); }
.formule--featured .formule__text { color: inherit; opacity: .85; }
.formule--featured .btn { background: var(--c-accent-ink); color: var(--c-accent); }
.formule__flag { position: absolute; top: -12px; right: 20px; padding: .35rem .8rem; border-radius: 999px; background: var(--c-accent-2); color: #1b1408; font: 700 .7rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; }
.formule__name { font-size: calc(1.6rem * var(--ds)); color: inherit; }
.formule__price { margin: 0; font: var(--f-display-weight) calc(3.4rem * var(--ds))/1 var(--f-display); }
.formule__text { color: var(--c-muted); flex: 1; }

.booking__grid, .quote-sec__grid, .estimate-band__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

/* ---------- Avis clients ---------- */
.slider-nav { display: flex; gap: .5rem; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 2rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.review__text { margin: 0; flex: 1; font-family: var(--f-display); font-size: calc(1.25rem * var(--ds)); line-height: 1.4; }
.review__by { display: flex; align-items: center; gap: .8rem; }
.review__by small { display: block; color: var(--c-muted); font-size: .8rem; }
.review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); font-weight: 700; }

/* ---------- Galerie mosaïque + visionneuse ---------- */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 14px; }
.mosaic__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--c-surface-2); cursor: zoom-in; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.mosaic__item:hover img { transform: scale(1.07); }
.mosaic__item:nth-child(9n + 1) { grid-column: span 2; grid-row: span 2; }
.mosaic--project { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(8, 8, 10, .92); opacity: 0; animation: fadeIn .3s forwards; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: zoomIn .45s var(--ease); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; color: rgba(255, 255, 255, .7); font: 500 .85rem var(--f-mono); }

/* ---------- Chiffres clés ---------- */
.stats-band { background: var(--c-accent); color: var(--c-accent-ink); }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: clamp(36px, 5vw, 60px); }
.stat { display: flex; flex-direction: column; gap: .3rem; padding-left: 1.2rem; border-left: 1px solid color-mix(in srgb, var(--c-accent-ink) 25%, transparent); }
.stat__num { font: var(--f-display-weight) clamp(2.4rem, 5vw, 3.6rem)/1 var(--f-display); color: var(--c-accent-2); }
.stat__label { font-size: .9rem; opacity: .85; }

/* ---------- Cartes de biens ---------- */
.estate-card { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.estate-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15, 27, 51, .45); }
.estate-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface-2); }
.estate-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.estate-card:hover .estate-card__media img { transform: scale(1.06); }
.estate-card__tags { position: absolute; top: 14px; left: 14px; display: flex; gap: .4rem; z-index: 2; }
.estate-card__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .75rem; font-weight: 600; }
.estate-card__count .picto { width: 14px; height: 14px; }
.estate-card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem 1.4rem 1.4rem; }
.estate-card__price { margin: 0; font: var(--f-display-weight) 1.6rem/1 var(--f-display); color: var(--c-ink); }
.estate-card__title { font-family: var(--f-body); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.estate-card__title a { color: inherit; text-decoration: none; }
.estate-card__title a::after { content: ''; position: absolute; inset: 0; }
.estate-card__place { display: flex; align-items: center; gap: .35rem; margin: 0; color: var(--c-muted); font-size: .88rem; }
.estate-card__place .picto { width: 16px; height: 16px; }
.estate-card__specs { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; list-style: none; margin: .6rem 0 0; padding: .9rem 0 0; border-top: 1px solid var(--c-line); font-size: .86rem; color: var(--c-ink); }
.estate-card__specs li { display: inline-flex; align-items: center; gap: .35rem; }
.estate-card__specs .picto { width: 17px; height: 17px; color: var(--c-muted); }
.estate-card.is-sold .estate-card__media img { filter: grayscale(.7) brightness(.85); }
.dpe-pill { margin-left: auto; display: grid !important; place-items: center; width: 26px; height: 26px; border-radius: 4px; color: #fff; font-weight: 800; font-size: .8rem; }
.dpe-a { --dpe: #009A3E; } .dpe-b { --dpe: #52B153; } .dpe-c { --dpe: #A5CC74; } .dpe-d { --dpe: #F4E70F; } .dpe-e { --dpe: #F0B50F; } .dpe-f { --dpe: #EB8235; } .dpe-g { --dpe: #D7221F; }
.dpe-pill { background: var(--dpe); }
.dpe-c.dpe-pill, .dpe-d.dpe-pill { color: #222; }

/* ---------- Services ---------- */
.service { position: relative; display: flex; flex-direction: column; gap: .8rem; padding: 2rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.service::after { content: ''; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--c-accent); opacity: 0; transform: scale(.4); transition: opacity .5s, transform .6s var(--ease); }
.service:hover { transform: translateY(-6px); border-color: var(--c-accent-text); }
.service:hover::after { opacity: .08; transform: scale(1); }
.service__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: calc(var(--radius) * .6); background: color-mix(in srgb, var(--c-accent) 14%, transparent); color: var(--c-accent-text); transition: transform .5s var(--ease); }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.08); }
.service__icon .picto { width: 28px; height: 28px; }
.service__num { position: absolute; top: 1.6rem; right: 1.8rem; font: 500 .8rem var(--f-mono); color: var(--c-muted); }
.service__title { font-size: calc(1.4rem * var(--ds)); }
.service__text { margin: 0; color: var(--c-muted); }

/* ---------- Bloc texte + image ---------- */
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split__media { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 4.4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--round { border-radius: 999px 999px var(--radius) var(--radius); }
.js .split__media--round.rv-img.is-in { clip-path: inset(0 0 0 0 round 999px 999px var(--radius) var(--radius)); }
:root[data-style="prestige"] .split__media { box-shadow: 24px 24px 0 -1px var(--c-bg), 24px 24px 0 0 var(--c-accent-2); overflow: visible; }
:root[data-style="prestige"] .split__media img { border-radius: var(--radius); }

/* ---------- Quartiers ---------- */
.area { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; isolation: isolate; }
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.area::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(10, 18, 36, .85)); }
.area:hover img { transform: scale(1.08); }
.area__body { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; display: flex; flex-direction: column; gap: .2rem; }
.area__body strong { font: var(--f-display-weight) 1.5rem/1.1 var(--f-display); }
.area__body small { opacity: .85; }

/* ---------- Bandeau estimation ---------- */
.estimate-band { background: var(--c-accent); color: var(--c-accent-ink); padding-block: var(--section-y); position: relative; overflow: hidden; }
.estimate-band::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border: 1px solid color-mix(in srgb, var(--c-accent-2) 40%, transparent); border-radius: 50%; }
.estimate-band__title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: inherit; margin: .2em 0 .5em; }
.estimate-band__copy p { opacity: .85; font-size: 1.1rem; }
.estimate-band .dia-form { position: relative; z-index: 1; background: var(--c-bg); color: var(--c-ink); }

/* ---------- Équipe ---------- */
.member { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 2rem; text-align: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.member__avatar { display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: .6rem; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-2); font: var(--f-display-weight) 1.8rem/1 var(--f-display); box-shadow: 0 0 0 6px var(--c-surface), 0 0 0 7px var(--c-accent-2); }
.member__avatar--1 { background: color-mix(in srgb, var(--c-accent) 75%, var(--c-accent-2)); }
.member__avatar--2 { background: color-mix(in srgb, var(--c-accent) 55%, var(--c-accent-2)); color: var(--c-accent-ink); }
.member__avatar--photo { padding: 0; overflow: hidden; background: var(--c-surface-2); }
.member__avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team .member { padding-inline: 1rem; }
.member__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1rem; margin: .5rem 0 0; font-size: .8rem; }
.member__links a { color: var(--c-accent-text); text-decoration: none; overflow-wrap: anywhere; }
.member__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.agent__mail { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; margin: .7rem 0 .2rem; font-size: .92rem; font-weight: 600; color: var(--c-accent-text); text-decoration: none; }
.agent__mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.agent__mail svg { width: 1.05em; height: 1.05em; }
.member__name { font-size: 1.3rem; }
.member__role { margin: 0; color: var(--c-muted); font-size: .9rem; }

/* ---------- Paysagiste : hero ---------- */
.hero-garden { position: relative; padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-garden__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero-garden .hero__title .hl { color: var(--c-accent-text); }
.hero-garden__visual { position: relative; }
.hero-garden__arch { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); }
.js .hero-garden__arch.rv-img.is-in { clip-path: inset(0 0 0 0 round 999px 999px var(--radius) var(--radius)); }
.hero-garden__arch img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35); animation: bob 6s ease-in-out infinite; font-size: .88rem; line-height: 1.3; }
.float-card--a { left: -10%; bottom: 14%; flex-direction: column; align-items: flex-start; gap: .1rem; max-width: 170px; }
.float-card--a strong { font: var(--f-display-weight) 2.4rem/1 var(--f-display); color: var(--c-accent-text); }
.float-card--a strong::before { content: '+ '; font-size: .6em; vertical-align: .3em; }
.float-card--b { right: -6%; top: 10%; animation-delay: -3s; }
.float-card--b .picto { color: var(--c-accent-text); }
.trust { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; list-style: none; margin: 2.2rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--c-line); font-size: .86rem; color: var(--c-muted); }
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust .picto { width: 18px; height: 18px; color: var(--c-accent-text); }
.leaf { position: absolute; width: 90px; height: 90px; background: var(--c-accent); opacity: .12; border-radius: 0 70% 0 70%; animation: drift 14s ease-in-out infinite; pointer-events: none; }
.leaf--1 { left: 4%; top: 12%; }
.leaf--2 { right: 44%; bottom: 8%; width: 60px; height: 60px; animation-delay: -5s; background: var(--c-accent-2); opacity: .25; }
.leaf--3 { right: 3%; top: 4%; width: 130px; height: 130px; animation-delay: -9s; }

/* ---------- Avant / après ---------- */
.ba-sec__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ba-sec__hint { display: inline-flex; align-items: center; gap: .5rem; color: var(--c-accent-text); font-weight: 600; font-size: .9rem; }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: pan-y; }
.ba--wide { aspect-ratio: 16 / 8; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { filter: saturate(.75); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: #fff; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.ba__handle span::before, .ba__handle span::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; border: 7px solid transparent; translate: 0 -50%; }
.ba__handle span::before { left: 8px; border-right-color: var(--c-accent); }
.ba__handle span::after { right: 8px; border-left-color: var(--c-accent); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__label { position: absolute; top: 16px; padding: .35rem .75rem; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font: 700 .72rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; background: var(--c-accent); color: var(--c-accent-ink); }

/* ---------- Portfolio ---------- */
.portfolio .chips { margin: 0 0 2rem; }
.masonry { columns: 3 320px; column-gap: 20px; }
.work { break-inside: avoid; margin: 0 0 20px; }
.work.is-hidden { display: none; }
.work__link { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; isolation: isolate; }
.work__media { display: block; }
.work__media img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.work:nth-child(3n + 1) .work__media img { aspect-ratio: 4 / 5; object-fit: cover; }
.work:nth-child(3n + 2) .work__media img { aspect-ratio: 1; object-fit: cover; }
.work:nth-child(3n) .work__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.work__media .ph { position: relative; aspect-ratio: 1; }
.work__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; padding: 1.4rem; background: linear-gradient(180deg, transparent 35%, rgba(12, 24, 14, .85)); }
.work__cat { font: 700 .7rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-2); }
.work__title { font: var(--f-display-weight) calc(1.4rem * var(--ds))/1.15 var(--f-display); }
.work__meta { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; opacity: .85; }
.work__meta .picto { width: 15px; height: 15px; }
.work__more { display: inline-flex; align-items: center; gap: .4rem; max-height: 0; opacity: 0; overflow: hidden; font-weight: 600; font-size: .88rem; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.work__link:hover .work__more, .work__link:focus-visible .work__more { max-height: 30px; opacity: 1; margin-top: .4rem; }
.work__link:hover .work__media img { transform: scale(1.06); }
.work .badge { top: 14px; left: 14px; }

.zone-title { display: flex; align-items: center; gap: .5rem; margin: 1.8rem 0 .8rem; font-weight: 700; }
.zone-title .picto { color: var(--c-accent-text); }
.zone { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.zone li { padding: .35rem .8rem; border-radius: 999px; background: var(--c-surface-2); font-size: .85rem; }

.seasons__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.seasons__panels { position: relative; min-height: 260px; padding: 2.4rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.seasons__big { position: absolute; right: -.1em; bottom: -.25em; font: italic var(--f-display-weight) clamp(5rem, 10vw, 8rem)/1 var(--f-display); color: var(--c-accent); opacity: .1; pointer-events: none; }
.seasons__panel p { position: relative; font-size: 1.25rem; line-height: 1.55; max-width: 32ch; }

/* ---------- Pages d'une réalisation ---------- */
.project-hero { position: relative; display: flex; align-items: flex-end; min-height: 82vh; color: #fff; overflow: hidden; isolation: isolate; }
.project-hero__content { padding: calc(var(--header-h) + 60px) 0 clamp(40px, 6vw, 80px); }
.project-hero__title { font-size: calc(clamp(2.6rem, 6.5vw, 5.6rem) * var(--ds)); max-width: 18ch; color: #fff; line-height: 1; }
.facts-strip { background: var(--c-accent); color: var(--c-accent-ink); }
.facts-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.6rem; }
.facts-strip__grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; }
.facts-strip .picto { grid-row: span 2; width: 28px; height: 28px; color: var(--c-accent-2); }
.facts-strip span { font-size: .78rem; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.facts-strip strong { font: var(--f-display-weight) 1.3rem/1.2 var(--f-display); }
.project { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.project__lead .single__lead { margin: 0; font-family: var(--f-display); font-size: calc(clamp(1.4rem, 2.6vw, 2rem) * var(--ds)); color: var(--c-ink); line-height: 1.3; }
.project-nav { border-block: 1px solid var(--c-line); }
.project-nav__grid { display: grid; grid-template-columns: 1fr 1fr; }
.project-nav__item { display: flex; align-items: center; gap: 1.2rem; padding: 2rem 0; color: inherit; text-decoration: none; }
.project-nav__item--next { justify-content: flex-end; text-align: right; border-left: 1px solid var(--c-line); }
.project-nav__item small { display: block; color: var(--c-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.project-nav__item strong { font: var(--f-display-weight) 1.25rem/1.2 var(--f-display); }
.project-nav__img { flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; }
.project-nav__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-nav__item:hover .project-nav__img img { transform: scale(1.15); }

/* ---------- Fiche d'un plat ---------- */
.dish-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.dish-page__media { position: relative; margin: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--c-surface-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.js .dish-page__media.rv-img { clip-path: circle(30% at 50% 50%); }
.js .dish-page__media.rv-img.is-in { clip-path: circle(71% at 50% 50%); }
.dish-page__media img { width: 100%; height: 100%; object-fit: cover; }
.dish-page__title { font-size: calc(clamp(2.4rem, 5vw, 4rem) * var(--ds)); margin: .2em 0 .3em; }
.dish-page__price { font: var(--f-display-weight) 2rem/1 var(--f-display); color: var(--c-accent-text); }

/* ---------- Fiche d'un bien ---------- */
.estate { padding-top: clamp(24px, 4vw, 48px); }
.estate__gallery { display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 260px)); border-radius: var(--radius); overflow: hidden; }
.estate__gallery--1 { grid-template-columns: 1fr; grid-template-rows: 520px; }
.estate__gallery--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 520px; }
.estate__gallery--3 { grid-template-columns: 2fr 1fr; }
.estate__gallery--4 .estate__shot:nth-child(4) { grid-column: span 2; }
.estate__shot { position: relative; display: block; overflow: hidden; background: var(--c-surface-2); cursor: zoom-in; border-radius: 0 !important; }
.estate__shot:first-child { grid-row: span 2; }
.estate__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.estate__shot:hover img { transform: scale(1.05); }
.js .estate__shot.rv-img, .js .estate__shot.rv-img.is-in { clip-path: none; }
.estate__all { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 4px; background: rgba(255, 255, 255, .95); color: #0F1B33; font-weight: 700; font-size: .85rem; }
.estate__all .picto { width: 16px; height: 16px; }
.estate__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(32px, 5vw, 56px) var(--section-y); }
.estate__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.estate__tags .tag:not(.tag--dark):not(.tag--gold) { background: var(--c-surface-2); }
.estate__title { font-size: clamp(2rem, 4vw, 3rem); }
.estate__place { display: flex; align-items: center; gap: .4rem; margin: .8rem 0 0; color: var(--c-muted); }
.estate__price { margin: 1.2rem 0 0; font: var(--f-display-weight) clamp(2rem, 4vw, 2.8rem)/1 var(--f-display); color: var(--c-ink); }
.estate__price small { font-family: var(--f-body); font-size: .9rem; color: var(--c-muted); font-weight: 500; }
.keyspecs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; list-style: none; margin: 2rem 0; padding: 0; border: 1px solid var(--c-line); border-radius: var(--radius); }
.keyspecs li { display: flex; flex-direction: column; gap: .25rem; padding: 1.2rem 1.3rem; border-right: 1px solid var(--c-line); }
.keyspecs li:last-child { border-right: 0; }
.keyspecs .picto { color: var(--c-accent-2); margin-bottom: .3rem; }
.keyspecs strong { font: var(--f-display-weight) 1.4rem/1 var(--f-display); }
.keyspecs span { color: var(--c-muted); font-size: .82rem; }
.estate__block { margin-top: 3rem; }
.estate__block h2 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.specs-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; margin: 0; }
.specs-table div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--c-line); }
.specs-table dt { color: var(--c-muted); }
.specs-table dd { margin: 0; font-weight: 600; text-align: right; }
.dpe-scale { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; max-width: 520px; }
.dpe-scale__row { display: flex; align-items: center; gap: .8rem; }
.dpe-scale__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 30px; padding: 0 .8rem; background: var(--dpe); color: #fff; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); font-size: .75rem; }
.dpe-scale__bar b { font-size: 1rem; }
.dpe-a .dpe-scale__bar { width: 40%; } .dpe-b .dpe-scale__bar { width: 48%; } .dpe-c .dpe-scale__bar { width: 56%; color: #222; } .dpe-d .dpe-scale__bar { width: 64%; color: #222; } .dpe-e .dpe-scale__bar { width: 72%; } .dpe-f .dpe-scale__bar { width: 80%; } .dpe-g .dpe-scale__bar { width: 88%; }
.dpe-scale__row:not(.is-current) .dpe-scale__bar { opacity: .35; }
.dpe-scale__row.is-current .dpe-scale__bar { height: 40px; box-shadow: 0 8px 20px -10px var(--dpe); }
.dpe-scale__here { font-weight: 700; font-size: .85rem; }
.calc { padding: 2rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.calc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.calc label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .88rem; color: var(--c-muted); }
.calc output { font-weight: 700; color: var(--c-ink); }
.calc input[type="range"] { width: 100%; accent-color: var(--c-accent-2); }
.calc__result { display: flex; justify-content: space-between; align-items: baseline; margin: 1.6rem 0 .4rem; padding-top: 1.2rem; border-top: 1px solid var(--c-line); font-size: 1.05rem; }
.calc__result strong { font: var(--f-display-weight) 2.2rem/1 var(--f-display); color: var(--c-ink); }
.calc__note { margin: 0; font-size: .8rem; color: var(--c-muted); }
.estate__aside { position: sticky; top: calc(var(--header-h) + 20px); }
.agent { display: grid; gap: 1rem; padding: 1.6rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(15, 27, 51, .4); }
.agent__head { display: flex; align-items: center; gap: 1rem; }
.agent__head .member__avatar { width: 56px; height: 56px; margin: 0; font-size: 1.1rem; box-shadow: 0 0 0 3px var(--c-surface), 0 0 0 4px var(--c-accent-2); }
.agent__head small { display: block; color: var(--c-muted); font-size: .82rem; }
.agent .dia-form { padding: 0; border: 0; background: none; box-shadow: none; }
.agent .dia-form__title { font-size: 1.15rem; }
.agent .dia-form__grid { grid-template-columns: 1fr; }

/* ---------- Liste des biens ---------- */
.page-head--estate { padding-bottom: 1.6rem; }
.page-head--flush { padding-top: 0; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem; padding: 1.2rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: 0 20px 40px -32px rgba(15, 27, 51, .35); }
.filters label { display: flex; flex-direction: column; gap: .3rem; flex: 1 1 140px; font: 700 .66rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.filters select, .filters input { padding: .7rem .8rem; font-size: .92rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.filters__reset { align-self: center; color: var(--c-muted); font-size: .88rem; }

/* ---------- Formulaires ---------- */
.dia-form { padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .45); }
.dia-form__title { font-size: calc(1.5rem * var(--ds)); margin-bottom: 1.2rem; }
.dia-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.dia-field { display: flex; flex-direction: column; gap: .35rem; margin: 0; }
.dia-field--wide { grid-column: 1 / -1; }
.dia-field label { font-size: .82rem; font-weight: 600; }
.dia-field label span { color: var(--c-accent-text); }
.dia-field input, .dia-field select, .dia-field textarea { padding: .8rem .9rem; transition: border-color .2s, box-shadow .2s; }
.dia-field input:focus, .dia-field select:focus, .dia-field textarea:focus { outline: none; border-color: var(--c-accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent-text) 18%, transparent); }
.dia-field.is-invalid input, .dia-field.is-invalid select, .dia-field.is-invalid textarea { border-color: #C0392B; }
.dia-form__hp { position: absolute; left: -9999px; }
.dia-form__consent { margin: 1rem 0; font-size: .78rem; color: var(--c-muted); }
.dia-form__submit { width: 100%; }
.dia-form.is-sending .dia-form__submit { opacity: .6; pointer-events: none; }
.dia-form__status:empty { display: none; }
.dia-form__status { margin-top: 1rem; padding: .9rem 1rem; border-radius: calc(var(--radius) * .6); font-size: .92rem; }
.dia-form__status.is-ok { background: color-mix(in srgb, #2E8B57 14%, transparent); color: var(--c-ink); }
.dia-form__status.is-error { background: color-mix(in srgb, #C0392B 14%, transparent); color: var(--c-ink); }
.dia-form.is-done .dia-form__grid, .dia-form.is-done .dia-form__consent, .dia-form.is-done .dia-form__submit { display: none; }
.dia-form.is-done .dia-form__status { font-size: 1.05rem; padding: 1.4rem; animation: fadeUp .5s var(--ease); }

/* ---------- Ajustements par style ---------- */
:root[data-style="gourmand"] .section__title, :root[data-style="gourmand"] .story__title { font-weight: 400; }
:root[data-style="gourmand"] .kicker { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; letter-spacing: 0; text-transform: none; }
:root[data-style="gourmand"] .carte-preview { background-image: radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--c-accent-2) 12%, transparent), transparent 40%); }
:root[data-style="prestige"] .kicker { color: var(--c-accent-2); }
:root[data-style="prestige"] .stats-band { background: var(--c-ink); color: var(--c-bg); }
:root[data-style="prestige"][data-theme="dark"] .stats-band { background: var(--c-surface-2); color: var(--c-ink); }
:root[data-style="prestige"] .service__icon { background: transparent; border: 1px solid var(--c-accent-2); color: var(--c-accent-2); border-radius: 50%; }
:root[data-style="nature"] .section--tint { background: color-mix(in srgb, var(--c-surface-2) 70%, var(--c-bg)); }

/* ---------- Keyframes ---------- */
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(18px, -22px) rotate(18deg); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 1000px) {
	.story__grid, .split__grid, .booking__grid, .quote-sec__grid, .estimate-band__grid, .hero-garden__grid, .ba-sec__grid, .seasons__inner, .project, .dish-page__grid, .estate__layout { grid-template-columns: 1fr; }
	.menu-list { grid-template-columns: 1fr; }
	.reviews__track { grid-auto-columns: calc((100% - 24px) / 2); }
	.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
	.stats-band__grid, .facts-strip__grid { grid-template-columns: repeat(2, 1fr); }
	.search-box__fields { grid-template-columns: 1fr 1fr; }
	.search-box__btn { grid-column: 1 / -1; }
	.estate__aside { position: static; }
	.estate__gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 160px; }
	.estate__shot:first-child { grid-column: 1 / -1; grid-row: auto; }
	.estate__shot:nth-child(n + 4) { display: none; }
	.hero-garden__visual { max-width: 520px; margin-inline: auto; }
	.story__media { max-width: 560px; }
}
@media (max-width: 640px) {
	.hero-full { min-height: 92svh; }
	.hero-full__strip-inner { flex-direction: column; gap: .5rem; }
	.reviews__track { grid-auto-columns: 88%; }
	.dia-form__grid, .calc__grid, .specs-table { grid-template-columns: 1fr; }
	.search-box__fields { grid-template-columns: 1fr; }
	.facts { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
	.facts dt { font-size: 1.5rem; }
	.float-card--a { left: 0; }
	.float-card--b { right: 0; }
	.story__stamp { width: 96px; height: 96px; left: -10px; }
	.mosaic, .mosaic--project { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
	.project-nav__grid { grid-template-columns: 1fr; }
	.project-nav__item--next { border-left: 0; border-top: 1px solid var(--c-line); }
	.ba--wide { aspect-ratio: 4 / 3; }
	.keyspecs li { border-right: 0; border-bottom: 1px solid var(--c-line); }
	.dish__img { width: 64px; height: 64px; }
}
