/* ==========================================================================
   SYNDIWISE — Feuille de style principale
   Immobilier premium, mobile-first, sombre & luxueux.
   Palette de marque :
     --primary   #27AA80  (vert émeraude SYNDIWISE)
     --bg        #0B0F18  (fond principal)
     --bg-2      #111827  (fond secondaire)
     --bg-3      #1F2937  (couleur secondaire marque / surfaces)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	/* Couleurs de marque */
	--primary:        #27AA80;
	--primary-light:  #34D399;
	--primary-dark:   #1A8060;
	--primary-subtle: rgba(39, 170, 128, 0.10);
	--primary-glow:   rgba(39, 170, 128, 0.22);

	/* Accent or (luxe) */
	--gold:       #D4A843;
	--gold-light: #F0C85A;

	/* Fonds */
	--bg:   #0B0F18;
	--bg-2: #111827;
	--bg-3: #1F2937;

	/* Surfaces */
	--surface:   rgba(255,255,255,0.04);
	--surface-2: rgba(255,255,255,0.07);
	--surface-3: rgba(39,170,128,0.06);

	/* Bordures */
	--border:   rgba(255,255,255,0.07);
	--border-2: rgba(255,255,255,0.13);
	--border-p: rgba(39,170,128,0.30);

	/* Texte */
	--text:      #F9FAFB;
	--text-dim:  #9CA3AF;
	--text-mute: #6B7280;

	/* Rayons */
	--radius-sm: 10px;
	--radius:    16px;
	--radius-lg: 24px;

	/* Ombres */
	--shadow-sm: 0 4px 14px rgba(0,0,0,.22);
	--shadow:    0 14px 40px rgba(0,0,0,.32);
	--glow:      0 0 0 1px rgba(39,170,128,.20), 0 20px 60px rgba(39,170,128,.12);
	--glow-sm:   0 0 0 1px rgba(39,170,128,.15), 0 8px 28px rgba(39,170,128,.10);

	/* Conteneurs */
	--container:        1240px;
	--container-narrow: 780px;

	/* Typographie */
	--font-sans:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	--font-display: 'Space Grotesk', var(--font-sans);

	/* Dégradés */
	--grad-brand: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 55%, var(--primary-dark) 100%);
	--grad-text:  linear-gradient(135deg, var(--primary-light), var(--primary));
	--grad-gold:  linear-gradient(135deg, var(--gold-light), var(--gold));
	--grad-dark:  linear-gradient(180deg, var(--bg), var(--bg-2));
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	background-image:
		radial-gradient(800px 500px at 8% -12%, rgba(39,170,128,.14), transparent 60%),
		radial-gradient(700px 400px at 92% 8%, rgba(31,41,55,.60), transparent 60%);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.12;
	margin: 0 0 .5em;
	letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-dim); }
button { font: inherit; cursor: pointer; }
input, select, textarea {
	font: inherit;
	color: var(--text);
	background: var(--bg-3);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: .8rem 1rem;
	width: 100%;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(39,170,128,.18);
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239CA3AF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--bg-2); padding: .5rem 1rem; border-radius: 8px; z-index: 9999; color: var(--primary-light); border: 1px solid var(--border-p); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)); }
.section--muted { background: var(--bg-2); }
.section--dark { background: var(--bg-3); }
.section--no-top { padding-top: 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-sub { color: var(--text-dim); max-width: 660px; margin-inline: auto; font-size: 1.05rem; }
.eyebrow {
	display: inline-block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 12px;
}
.eyebrow--gold { color: var(--gold); }
.grad {
	background: var(--grad-text);
	-webkit-background-clip: text;
	        background-clip: text;
	color: transparent;
}
.grad--gold {
	background: var(--grad-gold);
	-webkit-background-clip: text;
	        background-clip: text;
	color: transparent;
}
.center-row { display: flex; justify-content: center; margin-top: 36px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.muted { color: var(--text-mute); }
.text-small { font-size: .9rem; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: .85rem 1.6rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: .95rem;
	letter-spacing: .01em;
	border: 1px solid transparent;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
	white-space: nowrap;
}
.btn--primary {
	color: #04140C;
	background: var(--grad-brand);
	box-shadow: 0 10px 28px rgba(39,170,128,.28);
}
.btn--primary:hover { transform: translateY(-2px); color: #04140C; box-shadow: 0 14px 40px rgba(39,170,128,.42); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary {
	color: var(--primary-light);
	background: var(--surface-3);
	border-color: var(--border-p);
}
.btn--secondary:hover { background: rgba(39,170,128,.12); color: var(--primary-light); border-color: var(--primary); }
.btn--ghost {
	color: var(--text);
	background: var(--surface);
	border-color: var(--border-2);
	backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--text); border-color: rgba(255,255,255,.22); }
.btn--whatsapp {
	color: #041C0F;
	background: linear-gradient(135deg, #25D366, #128C7E);
	box-shadow: 0 10px 28px rgba(37,211,102,.22);
}
.btn--whatsapp:hover { color: #041C0F; transform: translateY(-2px); box-shadow: 0 14px 38px rgba(37,211,102,.35); }
.btn--gold {
	color: #1A1000;
	background: var(--grad-gold);
	box-shadow: 0 10px 28px rgba(212,168,67,.22);
}
.btn--gold:hover { transform: translateY(-2px); color: #1A1000; box-shadow: 0 14px 38px rgba(212,168,67,.36); }
.btn--sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- En-tête / navigation ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(11,15,24,.72);
	backdrop-filter: saturate(160%) blur(16px);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid var(--border);
	transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
	background: rgba(11,15,24,.92);
	box-shadow: 0 2px 20px rgba(0,0,0,.24);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; padding: 14px clamp(16px,4vw,32px);
	max-width: var(--container); margin-inline: auto;
}
.site-logo {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text);
	flex-shrink: 0;
}
.site-logo:hover { color: var(--text); }
.logo-mark {
	width: 28px; height: 28px; border-radius: 8px;
	background: var(--grad-brand);
	box-shadow: 0 0 0 1px rgba(39,170,128,.40), 0 0 20px rgba(39,170,128,.35);
	flex-shrink: 0;
}
.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.primary-menu > li { position: relative; }
.primary-menu a {
	color: var(--text-dim); font-weight: 500; font-size: .9rem;
	padding: 7px 12px; border-radius: 8px; display: block;
	transition: color .2s ease, background .2s ease;
}
.primary-menu a:hover { color: var(--text); background: var(--surface); }
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a { color: var(--primary-light); }

/* Sous-menus */
.primary-menu .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0;
	min-width: 200px;
	background: var(--bg-2); border: 1px solid var(--border-2);
	border-radius: var(--radius-sm); padding: 6px;
	box-shadow: var(--shadow); list-style: none;
	opacity: 0; pointer-events: none; transform: translateY(-6px);
	transition: opacity .2s ease, transform .2s ease;
}
.primary-menu > li:hover .sub-menu,
.primary-menu > li:focus-within .sub-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.primary-menu .sub-menu a { color: var(--text-dim); border-radius: 6px; font-size: .88rem; }
.primary-menu .sub-menu a:hover { color: var(--text); background: var(--surface); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
	display: none; background: transparent; border: 0; padding: 8px;
	flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); display: block; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.primary-nav {
		position: fixed; top: 65px; left: 0; right: 0; bottom: 0;
		background: rgba(11,15,24,.97);
		backdrop-filter: blur(12px);
		padding: 24px 20px;
		transform: translateX(100%); opacity: 0; pointer-events: none;
		transition: transform .3s ease, opacity .3s ease;
		overflow-y: auto;
	}
	.primary-menu { flex-direction: column; gap: 2px; }
	.primary-menu a { font-size: 1.05rem; padding: 12px 14px; }
	.primary-menu .sub-menu { position: static; opacity: 1; pointer-events: auto; transform: none; background: transparent; border: 0; box-shadow: none; padding-left: 14px; }
	.primary-nav.is-open { transform: translateX(0); opacity: 1; pointer-events: auto; }
	.nav-toggle { display: inline-flex; }
	.header-actions .btn:not(.btn--primary) { display: none; }
}

/* ---------- Héro principal ---------- */
.hero {
	position: relative; overflow: hidden;
	padding: clamp(110px, 15vw, 190px) 0 clamp(80px, 12vw, 150px);
	isolation: isolate;
}
.hero__canvas {
	position: absolute; inset: 0; width: 100%; height: 100%;
	z-index: -2; display: block;
}
.hero__overlay {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(700px 350px at 50% 0%, rgba(39,170,128,.13), transparent 70%),
		linear-gradient(180deg, rgba(11,15,24,0) 0%, var(--bg) 80%);
}
.hero__inner { text-align: center; max-width: 900px; margin-inline: auto; }
.hero__title { font-size: clamp(2.5rem, 6.5vw, 4.4rem); line-height: 1.04; }
.hero__sub {
	font-size: clamp(1.02rem, 1.7vw, 1.22rem);
	color: var(--text-dim); max-width: 660px;
	margin: 20px auto 32px; line-height: 1.7;
}
.hero .cta-row { justify-content: center; }
.hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--surface-3); border: 1px solid var(--border-p);
	border-radius: 999px; padding: 6px 14px 6px 10px;
	font-size: .82rem; color: var(--primary-light);
	margin-bottom: 20px;
}
.hero__badge-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--primary); box-shadow: 0 0 0 3px rgba(39,170,128,.3);
	animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(39,170,128,.3); }
	50% { box-shadow: 0 0 0 6px rgba(39,170,128,.1); }
}
.hero__stats {
	list-style: none; margin: 56px 0 0; padding: 0;
	display: flex; gap: 0; justify-content: center; flex-wrap: wrap;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	overflow: hidden; max-width: 680px; margin-inline: auto; margin-top: 56px;
}
.hero__stats li {
	flex: 1; min-width: 130px;
	display: flex; flex-direction: column; align-items: center;
	padding: 20px 16px; gap: 4px;
	border-right: 1px solid var(--border);
}
.hero__stats li:last-child { border-right: 0; }
.hero__stats strong {
	font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--text);
}
.hero__stats span { color: var(--text-mute); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Héro de page interne ---------- */
.page-hero {
	padding: clamp(80px, 11vw, 150px) 0 clamp(36px, 5vw, 72px);
	text-align: center; position: relative;
}
.page-hero::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(700px 300px at 50% 0%, rgba(39,170,128,.10), transparent 70%);
}
.page-hero--compact { padding-block: clamp(60px, 8vw, 110px) 36px; }
.page-title { margin-bottom: 12px; }
.page-sub { color: var(--text-dim); max-width: 660px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Cartes de propriétés ---------- */
.prop-card {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
	display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-5px); border-color: var(--border-p); box-shadow: var(--shadow), var(--glow-sm); }
.prop-card__media {
	position: relative; display: block; aspect-ratio: 4/3; overflow: hidden;
	background: var(--bg-3);
}
.prop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.prop-card:hover .prop-card__media img { transform: scale(1.06); }
.prop-card__badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--grad-brand); color: #04140C;
	padding: 3px 10px; border-radius: 999px;
	font-weight: 700; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase;
}
.prop-card__type {
	position: absolute; top: 12px; right: 12px;
	background: rgba(11,15,24,.75); border: 1px solid var(--border-2);
	padding: 4px 10px; border-radius: 999px;
	color: var(--text-dim); font-size: .75rem; backdrop-filter: blur(4px);
}
.prop-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prop-card__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.prop-card__title { margin: 0; font-size: 1.05rem; font-weight: 600; }
.prop-card__title a { color: var(--text); }
.prop-card__title a:hover { color: var(--primary-light); }
.prop-card__price { font-weight: 700; color: var(--primary-light); white-space: nowrap; font-family: var(--font-display); }
.prop-card__price .price-unit { color: var(--text-mute); font-weight: 500; font-size: .8rem; }
.prop-card__meta { display: flex; align-items: center; gap: 6px; color: var(--text-mute); font-size: .88rem; }
.prop-card__specs {
	list-style: none; padding: 0; margin: 6px 0 0;
	display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-mute); font-size: .84rem;
}
.prop-card__specs li { display: flex; align-items: center; gap: 4px; }
.prop-card__footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.prop-card__footer .btn { flex: 1; font-size: .84rem; padding: .5rem .75rem; }

/* Grilles */
.props-grid, .rentals-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

/* ---------- Carrousel ---------- */
.carousel { position: relative; }
.carousel__track {
	display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding-bottom: 8px; scrollbar-width: thin; scroll-behavior: smooth;
}
.carousel__track > * { min-width: min(88vw, 320px); scroll-snap-align: start; }
.carousel__track::-webkit-scrollbar { height: 4px; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 10px; }
.carousel__btn {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--bg-2); color: var(--text);
	border: 1px solid var(--border-2);
	font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-sm); cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
	z-index: 2;
}
.carousel__btn:hover { background: var(--bg-3); border-color: var(--border-p); }
.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }
@media (max-width: 640px) { .carousel__btn { display: none; } }

/* ---------- Grille de fonctionnalités ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature-card {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 28px 24px;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--border-p); box-shadow: var(--shadow-sm), var(--glow-sm); }
.feature-card__icon {
	width: 48px; height: 48px; border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.4rem; margin-bottom: 16px;
	background: linear-gradient(135deg, rgba(39,170,128,.16), rgba(39,170,128,.06));
	border: 1px solid var(--border-p);
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.testimonial {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 28px 26px; margin: 0;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.testimonial:hover { border-color: var(--border-p); box-shadow: var(--glow-sm); }
.testimonial blockquote {
	margin: 0 0 18px; color: var(--text); font-size: 1.02rem;
	line-height: 1.7; font-style: italic;
}
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--grad-brand);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: #04140C;
	flex-shrink: 0;
}
.testimonial figcaption div { display: flex; flex-direction: column; }
.testimonial strong { color: var(--text); font-size: .9rem; }
.testimonial span { color: var(--text-mute); font-size: .82rem; }
.testimonial__stars { color: var(--gold); font-size: .9rem; margin-bottom: 12px; }

/* ---------- Bandeau CTA ---------- */
.cta-banner { padding: 0 clamp(16px,4vw,32px) 80px; }
.cta-banner__inner {
	background:
		radial-gradient(500px 240px at 0% 0%, rgba(39,170,128,.14), transparent 60%),
		radial-gradient(400px 200px at 100% 100%, rgba(31,41,55,.70), transparent 60%),
		var(--bg-2);
	border: 1px solid var(--border-p);
	border-radius: var(--radius-lg);
	padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
	text-align: center;
	box-shadow: var(--glow);
	max-width: var(--container); margin-inline: auto;
}
.cta-banner__inner h2 { margin-bottom: 10px; }
.cta-banner .cta-row { justify-content: center; margin-top: 24px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.blog-card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-5px); border-color: var(--border-p); box-shadow: var(--shadow); }
.blog-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-card__title { margin: 4px 0 8px; font-size: 1.18rem; }
.blog-card__title a { color: var(--text); }
.blog-card__title a:hover { color: var(--primary-light); }
.blog-card__excerpt { color: var(--text-dim); font-size: .92rem; line-height: 1.65; flex: 1; }
.meta { font-size: .8rem; color: var(--text-mute); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.meta-sep { opacity: .4; }

/* ---------- Article single ---------- */
.post-hero { padding: clamp(60px, 9vw, 130px) 0 44px; text-align: center; }
.post-title { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.post-lede { color: var(--text-dim); font-size: 1.12rem; max-width: 660px; margin: 0 auto; }
.post-cover { margin: 0 auto; max-width: var(--container); padding: 0 clamp(16px,4vw,32px) 44px; }
.post-cover img { border-radius: var(--radius); }
.section--reader { padding-top: 24px; }
.prose { color: var(--text); font-size: 1.05rem; line-height: 1.8; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.7em; color: var(--text); }
.prose p, .prose ul, .prose ol { color: var(--text-dim); }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--primary-light); }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose blockquote {
	border-left: 3px solid var(--primary); padding-left: 1.1rem;
	color: var(--text); font-style: italic; margin: 1.6em 0;
}
.prose pre { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; overflow-x: auto; }
.prose code { background: var(--bg-3); padding: 2px 6px; border-radius: 6px; font-size: .91em; }
.prose pre code { background: transparent; padding: 0; }

/* ---------- Filtres de recherche ---------- */
.search-bar {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 20px; margin-bottom: 32px;
}
.filters {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px; align-items: end;
}
.field { display: flex; flex-direction: column; gap: 7px; color: var(--text-dim); font-size: .84rem; font-weight: 500; }
.filter-empty { text-align: center; color: var(--text-mute); padding: 48px 0; }

/* ---------- Propriété single ---------- */
.property-meta-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; color: var(--text-dim); margin-top: 12px; font-size: .95rem; }
.big-price { color: var(--primary-light); font-size: 1.5rem; font-weight: 700; font-family: var(--font-display); }
.property-gallery {
	display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 210px;
	gap: 10px; border-radius: var(--radius); overflow: hidden;
}
.gallery-main { grid-row: span 2; grid-column: 1; margin: 0; }
.gallery-main img, .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb { margin: 0; }
@media (max-width: 720px) {
	.property-gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; }
	.gallery-main { grid-row: auto; }
	.gallery-thumb { display: none; }
}
.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: start; }
.split--reverse > *:first-child { order: 2; }
.split--property > .property-sidebar { position: sticky; top: 90px; }
.split--contact { grid-template-columns: 1.45fr 1fr; }
.split--app { grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
@media (max-width: 880px) { .split, .split--reverse, .split--contact, .split--app { grid-template-columns: 1fr; } .split--reverse > *:first-child { order: 0; } .split--app { gap: 40px; } }
.cta-card {
	background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius);
	padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm);
}
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; color: var(--text-dim); font-size: .92rem; }
.amenities li::before { content: "✓ "; color: var(--primary); font-weight: 700; }

/* ---------- Équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.team-card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 28px; text-align: center;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.team-card:hover { border-color: var(--border-p); box-shadow: var(--glow-sm); }
.team-card__avatar {
	width: 70px; height: 70px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 14px;
	font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #04140C;
	background: var(--grad-brand);
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card p { font-size: .88rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-note { color: var(--text-mute); font-size: .8rem; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
	width: 44px; height: 44px; border-radius: 12px;
	background: var(--surface-3); border: 1px solid var(--border-p);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.1rem; flex-shrink: 0;
}
.contact-info h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-info p { font-size: .9rem; margin: 0; }

/* ---------- Pied de page ---------- */
.site-footer {
	margin-top: 100px; border-top: 1px solid var(--border);
	background: var(--bg-2); padding: 72px 0 32px;
}
.footer-grid {
	display: grid; gap: 44px;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px,4vw,32px);
}
.footer-brand { max-width: 300px; }
.footer-brand p { font-size: .92rem; max-width: 280px; }
.footer-col h4 {
	font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
	color: var(--text); margin-bottom: 16px;
}
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-menu a { color: var(--text-dim); font-size: .9rem; transition: color .2s ease; }
.footer-menu a:hover { color: var(--primary-light); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
	width: 36px; height: 36px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--surface); border: 1px solid var(--border-2); color: var(--text-dim);
	font-size: .88rem; font-weight: 700; transition: background .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--surface-3); color: var(--primary-light); border-color: var(--border-p); }
.footer-bottom {
	border-top: 1px solid var(--border); margin-top: 48px; padding-top: 22px;
	color: var(--text-mute); font-size: .84rem; text-align: center;
	max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px,4vw,32px);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flottant ---------- */
.whatsapp-float {
	position: fixed; bottom: 22px; right: 22px; z-index: 200;
	width: 58px; height: 58px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #25D366, #128C7E);
	color: #fff; box-shadow: 0 16px 40px rgba(37,211,102,.32);
	transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { color: #fff; transform: translateY(-3px) scale(1.06); box-shadow: 0 22px 50px rgba(37,211,102,.45); }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Carte de service ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 32px 28px; display: flex; flex-direction: column; gap: 16px;
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--border-p); box-shadow: var(--shadow), var(--glow-sm); }
.service-card__num {
	font-family: var(--font-display); font-size: 2rem; font-weight: 700;
	background: var(--grad-text);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	line-height: 1;
}
.service-card h3 { font-size: 1.1rem; margin: 0; }
.service-card p { margin: 0; font-size: .92rem; }

/* ---------- Étapes du processus ---------- */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: step; }
.process-step {
	text-align: center; padding: 28px 20px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	position: relative;
}
.process-step::before {
	counter-increment: step;
	content: counter(step);
	display: block;
	font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
	background: var(--grad-text);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	margin-bottom: 12px;
}
.process-step h4 { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin-inline: auto; }
.faq-item {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
	overflow: hidden;
}
.faq-item summary {
	list-style: none; padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--text);
	display: flex; justify-content: space-between; align-items: center;
	transition: background .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--surface-2); }
.faq-item summary::after {
	content: "+"; font-size: 1.3rem; color: var(--primary); line-height: 1;
	transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 22px 20px; color: var(--text-dim); line-height: 1.7; }

/* ---------- Maquette App Mobile ---------- */
.app-phone {
	width: 240px; min-height: 480px;
	background: var(--bg-3); border: 2px solid var(--border-2);
	border-radius: 36px; overflow: hidden; margin-inline: auto;
	box-shadow: var(--shadow), var(--glow); position: relative;
}
.app-phone__screen { padding: 24px 16px; display: flex; flex-direction: column; gap: 10px; }
.app-phone__bar { height: 10px; border-radius: 6px; background: var(--surface-2); }
.app-phone__bar.short { width: 55%; }
.app-phone__bar.accent { background: var(--grad-brand); height: 8px; }
.app-screens {
	display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
	align-items: flex-start;
}
.app-feature-list { display: flex; flex-direction: column; gap: 16px; }
.app-feature-item { display: flex; gap: 14px; align-items: flex-start; }
.app-feature-icon {
	width: 42px; height: 42px; border-radius: 12px;
	background: var(--surface-3); border: 1px solid var(--border-p);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.15rem; flex-shrink: 0;
}

/* ---------- Compteurs animés ---------- */
.stat-counter { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--text); line-height: 1; }
.stat-counter--primary { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-row { display: flex; gap: 0; flex-wrap: wrap; }
.stats-row .stat-item {
	flex: 1; min-width: 140px; text-align: center;
	padding: 28px 20px; border-right: 1px solid var(--border);
}
.stats-row .stat-item:last-child { border-right: 0; }
.stat-label { color: var(--text-mute); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }

/* ---------- Carte info immobilier ---------- */
.info-card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 20px 22px;
}
.info-card h4 { font-size: .9rem; color: var(--text-dim); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }

/* ---------- Badge flottant ---------- */
.badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px; border-radius: 999px;
	font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}
.badge--primary { background: var(--surface-3); color: var(--primary-light); border: 1px solid var(--border-p); }
.badge--gold { background: rgba(212,168,67,.12); color: var(--gold-light); border: 1px solid rgba(212,168,67,.25); }
.badge--neutral { background: var(--surface); color: var(--text-dim); border: 1px solid var(--border); }

/* ---------- Animations (état de base pour reveal) ---------- */
.fade-up { opacity: 0; transform: translateY(24px); }
.reveal, .reveal-item, .reveal-grid > * { opacity: 0; transform: translateY(20px); }
.is-visible { opacity: 1 !important; transform: none !important; transition: opacity .7s ease, transform .7s ease; }
.reveal-grid.is-visible > * { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.fade-up, .reveal, .reveal-item, .reveal-grid > * { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
	.hero__canvas { display: none; }
	.hero__badge-dot { animation: none; }
}

/* ---------- Maquette SaaS ---------- */
.split__media { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.mock {
	width: 100%; aspect-ratio: 4/3;
	background: var(--bg-3); border: 1px solid var(--border-2); border-radius: var(--radius);
	padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow);
}
.mock-bar { height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), transparent); }
.mock-bar.short { width: 55%; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.mock-line { height: 10px; border-radius: 4px; background: var(--grad-brand); opacity: .65; }
.mock-line.short { width: 42%; opacity: .3; }

/* ---------- Aperçu app bureau ---------- */
.app-preview { max-width: 1000px; margin: 0 auto; }
.app-preview__frame {
	background: var(--bg-3); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: var(--glow);
}
.app-preview__chrome {
	display: flex; gap: 7px; padding: 13px 16px;
	background: var(--bg-2); border-bottom: 1px solid var(--border);
}
.app-preview__chrome span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.app-preview__chrome span:first-child { background: #ff5f56; }
.app-preview__chrome span:nth-child(2) { background: #ffbd2e; }
.app-preview__chrome span:last-child { background: #27c93f; }
.app-preview__body { display: grid; grid-template-columns: 210px 1fr; min-height: 360px; }
.app-preview__body aside {
	background: var(--bg-2); padding: 20px; display: flex; flex-direction: column;
	gap: 12px; border-right: 1px solid var(--border);
}
.app-preview__body aside .row { height: 14px; border-radius: 6px; background: var(--surface-2); }
.app-preview__body aside .row.short { width: 60%; }
.app-preview__body aside .row.active { background: var(--surface-3); border: 1px solid var(--border-p); }
.app-preview__body main {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 24px; align-items: end;
}
.app-preview__body main .bar { background: var(--grad-brand); border-radius: 8px 8px 0 0; height: 42%; }
.app-preview__body main .bar.med { height: 62%; }
.app-preview__body main .bar.tall { height: 88%; }
.app-preview__body main .bar.low { height: 28%; opacity: .7; }
@media (max-width: 640px) { .app-preview__body { grid-template-columns: 1fr; } .app-preview__body aside { display: none; } }

/* ---------- Utilitaires ---------- */
.bullet { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--text-dim); }
.bullet li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; }
.bullet li::before { content: "▸"; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.divider { border: 0; border-top: 1px solid var(--border); margin-block: 24px; }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }

/* ---------- Pagination ---------- */
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.nav-links .page-numbers {
	min-width: 42px; height: 42px; padding: 0 12px;
	border-radius: 10px; background: var(--surface); border: 1px solid var(--border);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--text-dim); font-weight: 500; transition: background .2s, color .2s, border-color .2s;
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover { background: var(--grad-brand); color: #04140C; border-color: transparent; }

/* ---------- Emplacement publicitaire ---------- */
.ad-slot { display: block; max-width: 728px; margin: 32px auto; text-align: center; }
.ad-placeholder {
	border: 1px dashed var(--border-2); border-radius: var(--radius-sm);
	padding: 32px; color: var(--text-mute); font-size: .78rem; letter-spacing: .14em;
	text-transform: uppercase; background: var(--surface);
}

/* ---------- Tableau de bord propriétaire ---------- */
.owner-bar {
	background: var(--surface-3); border: 1px solid var(--border-p); border-radius: var(--radius);
	padding: 16px 22px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
	font-size: .9rem;
}
.owner-bar strong { color: var(--primary-light); }

/* ---------- Media mobile critique ---------- */
@media (max-width: 480px) {
	.hero__stats { flex-direction: column; }
	.hero__stats li { border-right: 0; border-bottom: 1px solid var(--border); }
	.hero__stats li:last-child { border-bottom: 0; }
	.cta-row { flex-direction: column; align-items: stretch; }
	.cta-row .btn { text-align: center; }
}
