/*
Theme Name: Paradise Villas — Hama Groupe
Theme URI: https://hamagroupe.com
Author: Hama Groupe
Description: Site du programme immobilier Paradise Villas (Hama Groupe, Saint-Louis du Sénégal). Pages Accueil, Le projet, Les villas, Investir, Emplacement, Galerie et Contact créées automatiquement à l'activation ; formulaire avec choix WhatsApp / téléphone / e-mail et suivi des demandes dans l'administration. Réglages : Apparence > Personnaliser > Paradise Villas.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paradise-villas
*/

:root {
	--ink: #1f1b1e;
	--text: #4a4248;
	--muted: #887e85;
	--plum: #5b4f58;
	--plum-d: #463c44;
	--accent: #a65c3b;
	--sand: #f5f1eb;
	--sand-d: #ebe4da;
	--line: #e3ddd4;
	--white: #fff;
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1240px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 16.5px; line-height: 1.75; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--ink); font-weight: 500; line-height: 1.15; }
h1, h2 { font-family: var(--serif); letter-spacing: -.005em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 500; letter-spacing: .01em; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.ico { width: 20px; height: 20px; flex: none; }
.ico-wa { width: 20px; height: 20px; flex: none; }
.skip-link { position: absolute; left: -9999px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lead { font-size: 1.16rem; color: var(--ink); line-height: 1.65; font-weight: 400; }
.muted { color: var(--muted); display: flex; gap: 8px; align-items: center; font-size: .92rem; }
.note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 30px; }

/* ---------- Étiquettes & liens ---------- */
.label { font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.label-light { color: rgba(255, 255, 255, .82); }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.link-arrow .ico { width: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border: 1px solid transparent; border-radius: 0; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; cursor: pointer; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn .ico, .btn .ico-wa { width: 18px; height: 18px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wa { background: #1fae54; color: #fff; }
.btn-wa:hover { background: #18914a; }

/* ---------- Pré-chargement ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--sand); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; animation: pvAutoHide .01s 6s forwards; }
html:not(.js) .preloader { display: none; }
.loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; }
.preloader-mark { width: 96px; height: auto; opacity: 0; transform: translateY(10px); animation: pvIn .9s var(--ease) .1s forwards; }
.preloader-name { margin-top: 16px; font-size: .78rem; letter-spacing: .5em; padding-left: .5em; color: var(--plum); opacity: 0; animation: pvIn .9s var(--ease) .35s forwards; }
.preloader-bar { width: 150px; height: 1px; background: rgba(91, 79, 88, .2); margin: 26px 0 14px; overflow: hidden; }
.preloader-bar i { display: block; height: 100%; width: 100%; background: var(--plum); transform: scaleX(0); transform-origin: left; animation: pvBar 1.3s var(--ease) .3s forwards; }
.preloader-sub { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); opacity: 0; animation: pvIn .9s var(--ease) .6s forwards; }
.pv-seen .preloader-mark, .pv-seen .preloader-name, .pv-seen .preloader-sub { animation-duration: .3s; animation-delay: 0s; }
.pv-seen .preloader-bar i { animation-duration: .4s; animation-delay: 0s; }
@keyframes pvIn { to { opacity: 1; transform: none; } }
@keyframes pvNav { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pvBar { to { transform: scaleX(1); } }
@keyframes pvAutoHide { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- Barre d'infos ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar-status { margin: 0; display: flex; align-items: center; gap: 10px; letter-spacing: .06em; }
.topbar-status span { width: 7px; height: 7px; border-radius: 50%; background: #3cbf6b; }
.topbar-links { display: flex; gap: 28px; }
.topbar-links a { display: flex; align-items: center; gap: 8px; }
.topbar-links a:hover { color: #fff; }
.topbar-links .ico { width: 15px; height: 15px; color: rgba(255, 255, 255, .5); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(31, 27, 30, .35); }
body.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 36px; height: 88px; transition: height .3s; }
.scrolled .header-inner { height: 72px; }
.brand img { height: 58px; width: auto; transition: height .3s; }
.scrolled .brand img { height: 48px; }
.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; gap: 32px; }
.main-nav .menu a { position: relative; font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding: 8px 0; }
.main-nav .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav .menu a:hover, .main-nav .menu .current-menu-item > a { color: var(--accent); }
.main-nav .menu a:hover::after, .main-nav .menu .current-menu-item > a::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-btn { padding: 13px 22px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 11px 9px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(100vh - 128px); min-height: 560px; max-height: 860px; color: #fff; overflow: hidden; background: var(--ink); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.06); }
.hero-slide.is-active { opacity: 1; transform: scale(1); transition: opacity 1.4s ease, transform 8s linear; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 16, 19, .78) 0%, rgba(20, 16, 19, .25) 45%, rgba(20, 16, 19, .15) 70%, rgba(20, 16, 19, .35) 100%); pointer-events: none; }
.hero-content { position: absolute; left: 0; right: 0; bottom: 120px; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(3.2rem, 7.4vw, 6.2rem); line-height: .98; margin-bottom: 20px; font-weight: 500; }
.hero-lead { font-size: 1.2rem; max-width: 560px; color: rgba(255, 255, 255, .9); font-weight: 300; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; display: flex; align-items: center; gap: 18px; justify-content: flex-end; }
.hero-count { font-size: .82rem; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.hero-count b { color: #fff; font-weight: 500; }
.hero-progress { width: 120px; height: 1px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero-progress i { display: block; height: 100%; background: #fff; width: 0; }
.hero-progress i.run { animation: pvProg 6s linear forwards; }
@keyframes pvProg { to { width: 100%; } }
.hero-prev, .hero-next { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; cursor: pointer; transition: background .25s, color .25s; }
.hero-prev:hover, .hero-next:hover { background: #fff; color: var(--ink); }

/* ---------- Chiffres clés ---------- */
.keyfacts { border-bottom: 1px solid var(--line); background: #fff; }
.keyfacts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.keyfacts-grid > div { padding: 30px 28px; border-left: 1px solid var(--line); }
.keyfacts-grid > div:last-child { border-right: 1px solid var(--line); }
.keyfacts small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.keyfacts b { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--ink); line-height: 1.15; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--sand); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; }
.head-row h2 { margin: 0; max-width: 720px; }

.intro { display: grid; grid-template-columns: 1fr 1.08fr; gap: 90px; align-items: center; }
.intro-text p:not(.lead):not(.label) { color: var(--text); }
.intro-text .link-arrow { margin-top: 10px; }
.intro-media { margin: 0; }
.intro-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
figcaption { font-size: .8rem; color: var(--muted); margin-top: 12px; letter-spacing: .02em; }

/* ---------- Annonces villas ---------- */
.listings { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.listing { background: #fff; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .35s; }
.listing:hover { box-shadow: 0 26px 50px -30px rgba(31, 27, 30, .45); }
.listing-img { position: relative; display: block; aspect-ratio: 16 / 10.5; overflow: hidden; }
.listing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.listing:hover .listing-img img { transform: scale(1.04); }
.status { position: absolute; top: 18px; left: 18px; background: #fff; color: var(--ink); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; padding: 7px 12px; display: flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2fae5f; }
.listing-body { padding: 30px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.listing-loc { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.listing-loc .ico { width: 15px; height: 15px; }
.listing h3 { font-family: var(--serif); font-size: 1.85rem; margin-bottom: 4px; }
.listing h3 a:hover { color: var(--accent); }
.listing-tag { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.listing-specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.listing-specs li { display: flex; flex-direction: column; gap: 8px; padding: 16px 10px 16px 0; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.listing-specs li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.listing-specs .ico { color: var(--accent); width: 22px; height: 22px; }
.listing-specs b { display: block; color: var(--ink); font-size: .95rem; font-weight: 500; margin-bottom: 2px; }
.listing-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.listing-price { margin: 0; font-family: var(--serif); font-size: 1.75rem; color: var(--ink); line-height: 1.1; font-weight: 600; }
.listing-price small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 4px; }

/* ---------- Grande image + phrase ---------- */
.statement { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.statement > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; background: rgba(25, 20, 24, .5); }
.statement-inner { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.statement-text { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.2; margin-bottom: 18px; }
.statement-text span { color: #e3b48f; padding: 0 .1em; }
.statement p:last-child { color: rgba(255, 255, 255, .85); margin: 0; }

/* ---------- Services ---------- */
.services-wrap { display: grid; grid-template-columns: .85fr 1.4fr; gap: 80px; align-items: start; }
.services-head { position: sticky; top: 140px; }
.services-head p:not(.label) { color: var(--muted); }
.services-head .btn { margin-top: 10px; }
.services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.services li { display: flex; gap: 20px; padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.services li:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
.services .ico { width: 30px; height: 30px; color: var(--accent); margin-top: 2px; }
.services h3 { margin-bottom: 6px; }
.services p { margin: 0; font-size: .94rem; color: var(--muted); line-height: 1.6; }

/* ---------- Bloc sombre image / texte ---------- */
.split-dark { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: rgba(255, 255, 255, .78); }
.split-dark-img { min-height: 560px; overflow: hidden; }
.split-dark-img img { width: 100%; height: 100%; object-fit: cover; }
.split-dark-text { padding: 100px clamp(30px, 7vw, 110px); align-self: center; }
.split-dark-text h2 { color: #fff; }
.split-dark-text .btn { margin-top: 18px; }
.ticks { margin-bottom: 24px; }
.ticks li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid rgba(127, 117, 124, .25); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.split-dark .ticks li::before { border-color: #e3b48f; }
.ticks-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }

/* ---------- Emplacement ---------- */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.distances { margin: 10px 0 30px; }
.distances th, .distances td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.distances th { color: var(--text); }
.distances th .ico { color: var(--accent); width: 22px; height: 22px; vertical-align: -5px; margin-right: 14px; }
.distances td { text-align: right; font-family: var(--serif); font-size: 1.4rem; color: var(--ink); white-space: nowrap; }
.map { background: var(--sand-d); aspect-ratio: 4 / 3.2; }
.map iframe, .map-full iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.02); }
.map-tall { aspect-ratio: 4 / 4; }
.map-full { height: 440px; background: var(--sand-d); }

/* ---------- Plan de paiement ---------- */
.plan { margin-bottom: 10px; }
.plan-bar { display: flex; height: 64px; margin-bottom: 0; }
.plan-bar span { display: flex; align-items: center; padding-left: 20px; color: #fff; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; border-right: 2px solid var(--sand); }
.plan-bar span:nth-child(1) { background: var(--plum-d); }
.plan-bar span:nth-child(2) { background: var(--plum); }
.plan-bar span:nth-child(3) { background: #7c6f78; }
.plan-bar span:nth-child(4) { background: var(--accent); border-right: 0; }
.section:not(.section-alt) .plan-bar span { border-color: #fff; }
.plan-steps { display: grid; grid-template-columns: 30fr 30fr 30fr 10fr; }
.plan-steps li { padding: 20px 20px 0 0; display: flex; flex-direction: column; }
.plan-steps small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.plan-steps b { color: var(--ink); font-weight: 500; margin: 4px 0; }
.plan-steps span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.offer { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: center; margin-top: 70px; padding: 50px; border: 1px solid var(--line); background: #fff; }
.offer h3 { font-family: var(--serif); font-size: 2rem; }
.offer .ticks { margin: 0; }
.offer-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.methods { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 30px; }
.method-card { display: flex; align-items: center; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.method-card:hover { background: rgba(255, 255, 255, .6); padding-left: 14px; }
.section:not(.section-alt) .method-card:hover { background: var(--sand); }
.mc-ico { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--plum); flex: none; background: #fff; }
.mc-ico .ico, .mc-ico .ico-wa { width: 22px; height: 22px; }
.mc-wa { color: #1fae54; }
.mc-text { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.mc-text small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mc-text b { font-weight: 500; color: var(--ink); font-size: 1.05rem; margin: 3px 0; word-break: break-word; }
.mc-text em { font-style: normal; font-size: .85rem; color: var(--muted); }
.method-card > .ico { color: var(--muted); transition: transform .3s, color .3s; }
.method-card:hover > .ico { color: var(--accent); transform: translateX(4px); }
.office { margin-top: 36px; }
.office h3 { margin-bottom: 12px; }
.office p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; color: var(--text); }
.office .ico { color: var(--accent); margin-top: 4px; }

/* Formulaire */
.form-card { background: #fff; border: 1px solid var(--line); padding: 44px; box-shadow: 0 30px 60px -45px rgba(31, 27, 30, .5); }
.form-head h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 6px; }
.form-head p { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.method { border: 0; padding: 0; margin: 0 0 22px; }
.method legend { font-size: .82rem; font-weight: 500; color: var(--ink); margin-bottom: 12px; padding: 0; }
.method-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.method-opt { position: relative; cursor: pointer; }
.method-opt input, .chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.method-opt span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 1px solid var(--line); text-align: center; transition: border-color .2s, background .2s, color .2s; color: var(--text); }
.method-opt span .ico, .method-opt span .ico-wa { width: 24px; height: 24px; color: var(--muted); transition: color .2s; }
.method-opt b { font-weight: 500; font-size: .86rem; }
.method-opt:hover span { border-color: var(--plum); }
.method-opt input:checked + span { border-color: var(--plum); background: var(--plum); color: #fff; }
.method-opt input:checked + span .ico, .method-opt input:checked + span .ico-wa { color: #fff; }
.method-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: .78rem; font-weight: 500; color: var(--ink); margin-bottom: 7px; letter-spacing: .02em; }
.field em { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 2px; background: #fdfcfa; color: var(--ink); font-size: .95rem; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235b4f58' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--plum); background: #fff; }
.field.is-invalid input { border-color: #c0392b; background: #fdf3f2; }
.field.is-hidden { display: none; }
.lbl-tel { display: none; }
.method-phone .lbl-wa { display: none; }
.method-phone .lbl-tel { display: inline; }
.req-email { display: none; }
.method-email .req-email { display: inline; }
.method-email .req-phone { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; position: relative; }
.chip span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); font-size: .85rem; transition: .2s; }
.chip input:checked + span { border-color: var(--plum); color: var(--plum); background: var(--sand); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); }
.method-email .field-when { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 6px 0 22px; cursor: pointer; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--plum); flex: none; }
.consent.is-invalid { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdf3f2; border-left: 3px solid #c0392b; color: #8e2b20; padding: 12px 16px; font-size: .9rem; }
.form-success { text-align: center; padding: 20px 0; }
.form-success .fs-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: #e9f6ee; color: #1f8a4a; }
.form-success .fs-ico .ico { width: 28px; height: 28px; stroke-width: 2; }
.form-success h3 { font-family: var(--serif); font-size: 1.8rem; }
.form-success p { color: var(--muted); }
.form-success .btn { margin: 6px 4px; }
.form-card.is-compact { padding: 36px; }

/* ---------- Pages intérieures ---------- */
.banner { position: relative; height: 420px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 16, 19, .75), rgba(20, 16, 19, .2) 70%); }
.banner-inner { position: relative; z-index: 1; padding-bottom: 56px; }
.banner h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 10px; }
.banner p { color: rgba(255, 255, 255, .88); max-width: 640px; font-size: 1.1rem; font-weight: 300; margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 16px; }
.crumbs a:hover { color: #fff; }

.subnav { position: sticky; top: 72px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
body.admin-bar .subnav { top: 104px; }
.subnav .wrap { display: flex; gap: 34px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 18px 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--ink); border-color: var(--accent); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.pillar { padding: 44px 40px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar .ico { width: 34px; height: 34px; color: var(--accent); margin-bottom: 22px; }
.pillar h3 { font-family: var(--serif); font-size: 1.7rem; }
.pillar p { color: var(--muted); margin: 0; }

.program { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.program-item { padding: 36px 30px 36px 0; border-bottom: 1px solid var(--line); }
.program-item:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.program-item .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; }
.program-item p { color: var(--muted); margin: 0; font-size: .95rem; }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.audience div { border-top: 2px solid var(--plum); padding-top: 20px; }
.audience span { font-family: var(--serif); font-size: 1.1rem; color: var(--accent); }
.audience p { font-family: var(--serif); font-size: 1.55rem; color: var(--ink); line-height: 1.25; margin: 6px 0 0; }

/* Détail villa */
.villa-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.villa-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; margin-bottom: 44px; }
.villa-gallery a { display: block; overflow: hidden; }
.villa-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.villa-gallery a:hover img { transform: scale(1.04); }
.vg-main { grid-column: 1 / -1; aspect-ratio: 16 / 9.5; }
.vg-thumb { aspect-ratio: 4 / 3; }
.vg-note { position: absolute; right: 12px; top: 12px; background: rgba(255, 255, 255, .9); font-size: .68rem; letter-spacing: .08em; padding: 5px 10px; color: var(--muted); }
.villa-info h2 { margin-bottom: 4px; }
.villa-tagline { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--accent); }
.listing-specs-lg { margin: 30px 0; }
.listing-specs-lg b { font-size: 1.1rem; }
.small-title { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.villa-info .ticks li { border-color: var(--line); }
.villa-aside { position: sticky; top: 150px; }
.price-box { background: #fff; border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 60px -45px rgba(31, 27, 30, .5); }
.price-box small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.price { font-family: var(--serif); font-size: 2.1rem; color: var(--ink); font-weight: 600; line-height: 1.1; margin: 0; }
.price-note { font-size: .86rem; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.price-link { text-align: center; font-size: .85rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }
.price-link:hover { color: var(--accent); }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.compare th, .compare td { padding: 18px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ink); background: var(--sand); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 22%; font-size: .9rem; }
.compare td { color: var(--text); width: 39%; }
.compare td .ico { color: #2fae5f; }
.compare .row-price td { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Investir */
.reasons { border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.reason-num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--sand-d); }
.reason h3 { font-family: var(--serif); font-size: 1.75rem; display: flex; align-items: center; gap: 14px; }
.reason h3 .ico { color: var(--accent); width: 26px; height: 26px; }
.reason p { margin: 0; max-width: 820px; color: var(--text); }

/* Emplacement */
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.mosaic figure { margin: 0; }
.mosaic img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; }
.mosaic-text { max-width: 760px; margin: 40px 0 0; font-size: 1.08rem; }

/* Galerie */
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter { background: none; border: 1px solid var(--line); padding: 10px 20px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { columns: 3; column-gap: 14px; }
.g-item { display: block; position: relative; margin-bottom: 14px; break-inside: avoid; overflow: hidden; }
.g-item img { width: 100%; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); color: #fff; font-size: .85rem; opacity: 0; transition: opacity .3s; }
.g-item:hover span { opacity: 1; }
.g-item.is-hidden { display: none; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.4fr; gap: 80px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .3s; color: var(--accent); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { color: var(--text); padding-bottom: 22px; margin: 0; max-width: 680px; }

/* Bandeau CTA */
.cta-band { position: relative; padding: 110px 0; color: #fff; overflow: hidden; background: var(--ink); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.cta-inner h2 { color: #fff; margin-bottom: 12px; }
.cta-inner p:not(.label) { color: rgba(255, 255, 255, .8); max-width: 560px; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* Contenus WordPress */
.entry { max-width: 820px; margin: 0 auto; }
.entry-content { font-size: 1.06rem; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content h3 { margin-top: 1.4em; font-size: 1.25rem; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.2em; }
.entry-content ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1.2em; }
.entry-content blockquote { margin: 1.6em 0; padding-left: 26px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--ink); }
.extra-content { max-width: 820px; margin: 50px auto 0; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.post-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card h2 { font-size: 1.6rem; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-date { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: 8px; }
.pagination { margin-top: 50px; text-align: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--line); margin: 0 3px; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Pied de page ---------- */
.site-footer { background: #171416; color: rgba(255, 255, 255, .6); font-size: .92rem; padding-top: 90px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1.1fr; gap: 60px; padding-bottom: 70px; }
.footer-brand img { height: 86px; width: auto; margin-bottom: 24px; }
.site-footer h4 { color: #fff; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; }
.footer-menu li { margin-bottom: 10px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact .ico { width: 17px; height: 17px; color: rgba(255, 255, 255, .4); margin-top: 4px; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.socials a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; }
.footer-bottom p { margin: 0; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.footer-bottom p:last-child { text-align: right; }
.credit { text-align: center; }
.credit a { color: #fff; font-weight: 600; letter-spacing: .08em; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 1px; }
.credit a:hover { color: #e3b48f; border-color: #e3b48f; }

/* ---------- WhatsApp, barre mobile, visionneuse ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: #1fae54; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); transition: transform .3s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico-wa { width: 30px; height: 30px; }
.mobile-bar { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(15, 12, 14, .95); display: flex; align-items: center; justify-content: center; padding: 40px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: rgba(255, 255, 255, .8); }
.lb-close { position: absolute; top: 14px; right: 24px; font-size: 2.6rem; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; display: grid; place-items: center; background: none; border: 1px solid rgba(255, 255, 255, .35); color: #fff; cursor: pointer; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; }
	.hero-slide.is-active { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.main-nav .menu { gap: 22px; }
	.header-btn { display: none; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.services-wrap, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
	.services-head { position: static; }
	.villa-grid { grid-template-columns: 1fr 300px; gap: 40px; }
}
@media (max-width: 960px) {
	html { scroll-padding-top: 80px; }
	.topbar-links li:nth-child(2) { display: none; }
	.header-inner { height: 72px; }
	.brand img { height: 48px; }
	.burger { display: flex; }
	.main-nav { position: fixed; inset: 0; z-index: 70; background: #fff; padding: 90px 28px 40px; overflow-y: auto; display: none; flex-direction: column; }
	.nav-open .main-nav { display: flex; animation: pvNav .45s var(--ease); }
	.nav-open .main-nav { transform: none; }
	.nav-open { overflow: hidden; }
	.nav-open .burger { position: relative; z-index: 80; }
	.nav-open .burger span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
	.nav-open .burger span:nth-child(2) { opacity: 0; }
	.nav-open .burger span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { display: block; font-family: var(--serif); font-size: 1.9rem; text-transform: none; letter-spacing: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.main-nav .menu a::after { display: none; }
	.nav-mobile-extra { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
	.nav-line { display: flex; gap: 10px; align-items: center; color: var(--text); }
	.nav-line .ico { color: var(--accent); }
	.hero { height: 78vh; min-height: 520px; }
	.hero-content { bottom: 110px; }
	.keyfacts-grid { grid-template-columns: 1fr 1fr; }
	.keyfacts-grid > div:nth-child(odd) { border-left: 0; }
	.keyfacts-grid > div { border-bottom: 1px solid var(--line); }
	.keyfacts-grid > div:last-child { border-right: 0; }
	.intro, .location, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
	.listings { grid-template-columns: 1fr; }
	.split-dark { grid-template-columns: 1fr; }
	.split-dark-img { min-height: 340px; }
	.split-dark-text { padding: 70px 24px; }
	.pillars, .program { grid-template-columns: 1fr; }
	.pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
	.program-item, .program-item:not(:nth-child(3n+1)) { padding: 28px 0; border-left: 0; }
	.audience { grid-template-columns: 1fr 1fr; }
	.villa-grid { grid-template-columns: 1fr; }
	.villa-aside { position: static; }
	.offer { grid-template-columns: 1fr; padding: 34px; gap: 30px; }
	.mosaic { grid-template-columns: 1fr 1fr; }
	.mosaic figure:first-child { grid-column: 1 / -1; }
	.gallery { columns: 2; }
	.posts { grid-template-columns: 1fr 1fr; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
	.subnav { top: 72px; }
}
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; padding-bottom: 62px; }
	.wrap { width: min(100% - 40px, var(--wrap)); }
	.section { padding: 76px 0; }
	.topbar-status { font-size: .72rem; }
	.topbar-links { gap: 16px; }
	.topbar-links li:nth-child(1) { display: none; }
	.hero { height: 82vh; min-height: 540px; }
	.hero-content { bottom: 96px; }
	.hero-lead { font-size: 1.05rem; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-nav { bottom: 28px; justify-content: space-between; }
	.hero-progress { flex: 1; }
	.keyfacts-grid > div { padding: 22px 16px; }
	.keyfacts b { font-size: 1.35rem; }
	.head-row { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
	.listing-body { padding: 24px 20px; }
	.listing-specs { grid-template-columns: 1fr 1fr; }
	.listing-specs li:nth-child(3) { padding-left: 0; border-left: 0; }
	.listing-specs li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.listing-foot { flex-direction: column; align-items: flex-start; }
	.statement { min-height: 440px; }
	.services { grid-template-columns: 1fr; }
	.services li, .services li:nth-child(even) { padding: 24px 0; border-left: 0; }
	.ticks-2 { grid-template-columns: 1fr; }
	.plan-bar { height: 52px; }
	.plan-bar span { font-size: 1.15rem; padding-left: 10px; }
	.plan-bar span:last-child { padding-left: 6px; font-size: .95rem; }
	.plan-steps { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
	.form-card, .form-card.is-compact { padding: 28px 20px; }
	.grid-2 { grid-template-columns: 1fr; gap: 0; }
	.method-opt span { padding: 14px 4px; }
	.method-opt b { font-size: .78rem; }
	.banner { height: 340px; }
	.banner-inner { padding-bottom: 40px; }
	.reason { grid-template-columns: 1fr; gap: 6px; padding: 30px 0; }
	.reason-num { font-size: 2.4rem; }
	.reason h3 { font-size: 1.45rem; }
	.audience { grid-template-columns: 1fr; }
	.mosaic { grid-template-columns: 1fr; }
	.gallery { columns: 1; }
	.posts { grid-template-columns: 1fr; }
	.compare th, .compare td { padding: 14px 14px; font-size: .88rem; }
	.compare thead th { font-size: 1.1rem; }
	.map-full { height: 320px; }
	.faq summary { font-size: 1.2rem; }
	.footer-top { grid-template-columns: 1fr; gap: 40px; }
	.footer-bottom { grid-template-columns: 1fr; text-align: center; gap: 8px; }
	.footer-bottom p:last-child { text-align: center; }
	.wa-float { display: none; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -12px rgba(0, 0, 0, .3); }
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 10px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
	.mobile-bar a + a { border-left: 1px solid var(--line); }
	.mobile-bar .ico, .mobile-bar .ico-wa { width: 21px; height: 21px; color: var(--plum); }
	.mobile-bar .mb-wa { background: #1fae54; color: #fff; }
	.mobile-bar .mb-wa .ico-wa { color: #fff; }
	.lightbox { padding: 20px; }
	.lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}
