/* Design épuré : fond blanc, texte presque noir, un seul gris pour les filets.
   Le bleu marine de G&B est réservé au logo, au bouton principal et aux blocs d'appel ;
   le vert ne sert qu'aux boutons WhatsApp. La couleur vient des photos. */
:root {
  --noir: #171717;
  --gris: #66686b;
  --filet: #e2e2e0;
  --doux: #f5f5f3;
  --blanc: #fff;
  --encre: #10294a;
  --encre-profonde: #0b1e38;
  --whatsapp: #0f7a43;
  --whatsapp-fonce: #0b5f34;
  --titre: "Montserrat", "Segoe UI", sans-serif;
  --texte: "Montserrat", "Segoe UI", sans-serif;
  --marge: clamp(16px, 4vw, 48px);
  --entete: 60px;
  --arrondi: 8px;
  --pilule: 999px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
body { margin: 0; background: var(--blanc); color: var(--noir); font: 400 1rem/1.65 var(--texte); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; font-family: var(--titre); }
h1, h2, h3 { margin: 0; font-family: var(--titre); color: inherit; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 600; line-height: 1.1; }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; line-height: 1.25; }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.evitement { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--noir); color: #fff; padding: 10px 16px; }
.evitement:focus { left: 8px; top: 8px; }
.conteneur { width: min(100%, 1200px); margin-inline: auto; padding-inline: var(--marge); }
.section { padding-block: clamp(44px, 5.5vw, 80px); }
.section + .section:not(.section-doux, .section-encre, .section-photo, .section-noir) { padding-top: 0; }
/* Après un bloc de couleur, la section blanche suivante garde sa marge du haut */
:is(.section-doux, .section-encre, .section-photo, .section-noir) + .section.section { padding-top: clamp(44px, 5.5vw, 80px); }
.section-doux { background: var(--doux); }
.section-encre { background: var(--encre); color: #fff; }

/* Une seule section sur photo par page (biens à la une) */
.section-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--encre-profonde); color: #fff; }
.fond-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.fond-voile { position: absolute; inset: 0; z-index: -1; background: rgba(11, 30, 56, .86); }

.entete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 40px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.entete-section p { margin: 8px 0 0; max-width: 60ch; color: var(--gris); }
.section-encre .entete-section p, .section-photo .entete-section p { color: rgba(255, 255, 255, .72); }
.prose { max-width: 66ch; }
.prose p:last-child { margin-bottom: 0; }

/* Boutons en pilule : un seul bouton plein par zone, les autres en contour */
.btn { display: inline-flex; transform: translateY(0); align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 24px; border: 1px solid #c9c9c6; border-radius: var(--pilule); background: var(--blanc); color: var(--noir); font: 500 .95rem/1.2 var(--titre); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.btn:hover { border-color: var(--noir); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .45); }
.btn svg { width: 19px; height: 19px; flex: none; fill: currentColor; }
.btn-plein { background: var(--encre); border-color: var(--encre); color: #fff; }
.btn-plein:hover { background: var(--encre-profonde); border-color: var(--encre-profonde); }
.btn-blanc { background: #fff; border-color: #fff; color: var(--noir); }
.btn-blanc:hover { border-color: var(--encre); background: var(--encre); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6); }
.btn-wa { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.btn-wa:hover { background: var(--whatsapp-fonce); border-color: var(--whatsapp-fonce); }
.btn-clair { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-clair:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; box-shadow: none; }
.lien { font: 500 .95rem var(--titre); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.lien:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* En-tête du site : fin, logo et liens texte */
.entete { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--filet); }
.entete-int { display: flex; align-items: center; gap: 24px; min-height: var(--entete); }
.logo { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.logo img { width: 78px; mix-blend-mode: multiply; }
.nav ul { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav a { display: block; padding: 8px 0; font: 500 .925rem var(--titre); text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--noir); }
.nav a[aria-current="page"] { border-bottom-color: var(--noir); font-weight: 600; }
.nav-bascule { display: none; min-height: 40px; padding: 6px 16px; border: 1px solid #c9c9c6; border-radius: var(--pilule); background: none; color: var(--noir); font: 500 .925rem var(--titre); cursor: pointer; }

/* Héros photo : titre, texte, une action */
.heros { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; background: var(--encre-profonde); }
.heros-page { min-height: clamp(300px, 44vh, 440px); }
.heros-accueil { min-height: min(calc(88svh - var(--entete)), 720px); justify-content: center; }
.heros-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.heros-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .42) 55%, rgba(0, 0, 0, .3) 100%); }
.heros-contenu h1 { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.heros-intro { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 2px 16px rgba(0, 0, 0, .5); }
/* Accueil : zone plus sombre au centre, derrière le titre et la phrase, pour les rendre lisibles sur la photo */
.heros-accueil .heros-voile { background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(0, 0, 0, .38), transparent 75%), linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .42) 55%, rgba(0, 0, 0, .3) 100%); }
.heros-contenu { padding-block: clamp(40px, 6vw, 72px); }
.heros-contenu h1 { max-width: 18ch; }
.heros-accueil .heros-contenu { text-align: center; }
.heros-accueil .heros-contenu h1 { margin-inline: auto; max-width: 20ch; }
.heros-intro { max-width: 52ch; margin: 16px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; color: #fff; }
.heros-accueil .heros-intro { margin-inline: auto; }
.heros .actions { margin-top: 28px; }
.heros-accueil .actions { justify-content: center; }

/* Biens à la une : carrousel */
.carrousel { position: relative; overflow: hidden; border-radius: var(--arrondi); background: var(--encre-profonde); }
.carrousel-piste { display: flex; transition: transform .7s cubic-bezier(.4, 0, .2, 1); touch-action: pan-y; }
.diapo { position: relative; flex: 0 0 100%; height: clamp(400px, 42vw, 540px); }
.diapo img { width: 100%; height: 100%; object-fit: cover; }
.diapo-texte { position: absolute; left: 0; right: 0; bottom: 0; padding: 96px clamp(20px, 5vw, 64px) 64px; background: linear-gradient(transparent, rgba(0, 0, 0, .55) 35%, rgba(0, 0, 0, .8)); color: #fff; }
.diapo-lieu { margin: 0 0 4px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.diapo h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.diapo-infos { margin: 8px 0 0; font: 500 1rem var(--titre); font-variant-numeric: tabular-nums; }
.diapo-infos span { white-space: nowrap; }
.diapo-infos span:first-child { font-weight: 600; font-size: 1.15rem; }
.diapo-infos span + span::before { content: "|"; margin: 0 10px; color: rgba(255, 255, 255, .5); }
.diapo .actions { margin-top: 18px; }
.carrousel-fleche { position: absolute; top: 30%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--noir); font: 400 1.6rem/1 var(--texte); cursor: pointer; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .5); transition: background-color .2s; }
.carrousel-fleche:hover { background: #fff; }
.carrousel-precedent { left: 16px; }
.carrousel-suivant { right: 16px; }
.carrousel-commandes { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 14px; pointer-events: none; }
.carrousel-commandes > * { pointer-events: auto; }
.carrousel-points { display: flex; gap: 8px; }
.carrousel-point { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s, background-color .3s; }
.carrousel-point[aria-current="true"] { width: 26px; border-radius: 999px; background: #fff; }
.carrousel-pause { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: transparent; color: #fff; font-size: .6rem; cursor: pointer; }

/* Cartes de biens : photo arrondie, prix d'abord, une ligne de caractéristiques, lieu en gris */
.grille-biens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 24px); }
.carte { position: relative; display: flex; flex-direction: column; }
.carte[hidden] { display: none; }
.carte-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--arrondi); background: var(--doux); }
.carte-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.carte:hover .carte-image img { transform: scale(1.03); }
.carte-etat { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 4px 10px; border-radius: var(--pilule); background: #fff; color: var(--noir); font: 600 .75rem var(--titre); }
.carte-prix { margin: 14px 0 0; font: 600 1.15rem/1.25 var(--titre); font-variant-numeric: tabular-nums; }
.carte-specs { margin: 4px 0 0; font-size: .9rem; color: var(--noir); }
.carte-specs span { white-space: nowrap; }
.carte-specs span + span::before { content: "|"; margin: 0 8px; color: #b5b5b2; }
.carte h3 { margin-top: 4px; font: 400 .925rem/1.4 var(--texte); color: var(--gris); }
.carte h3 a { text-decoration: none; }
.carte h3 a::after { content: ""; position: absolute; inset: 0; }
.carte h3 a:focus-visible { outline: none; }
.carte:has(a:focus-visible) { outline: 2px solid var(--encre); outline-offset: 6px; border-radius: var(--arrondi); }
.carte-lieu { margin: 0; color: var(--gris); font-size: .875rem; }
.carte-loue .carte-image img { filter: grayscale(.7); }

/* Filtres */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filtre { min-height: 40px; padding: 7px 18px; border: 1px solid #c9c9c6; border-radius: var(--pilule); background: #fff; color: var(--noir); font: 500 .9rem var(--titre); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filtre:hover { border-color: var(--noir); }
.filtre[aria-pressed="true"] { background: var(--noir); border-color: var(--noir); color: #fff; }

/* Listes à filets (raisons, domaines) */
.raisons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 72px); }
.raisons li, .domaines li { padding: 20px 0 22px; border-top: 1px solid var(--filet); }
.raisons h3, .domaines h3 { margin-bottom: 4px; }
.raisons p, .domaines p { margin: 0; color: var(--gris); }
.domaines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }

/* Activités */
.activites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.activite { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid var(--filet); border-radius: var(--arrondi); }
.activite img { width: 120px; height: 80px; object-fit: contain; object-position: left center; margin-bottom: 12px; mix-blend-mode: multiply; }
.activite h3 { margin-bottom: 4px; font-size: 1.15rem; }
.activite p { flex: 1; color: var(--gris); }

/* Villes */
.villes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ville { position: relative; margin: 0; height: clamp(200px, 22vw, 300px); overflow: hidden; border-radius: var(--arrondi); background: var(--doux); }
.ville img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ville figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff; font: 600 1.05rem var(--titre); }

/* Bandeau d'appel (bleu marine) */
.appel { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; }
.appel p { margin: 10px 0 0; color: rgba(255, 255, 255, .75); max-width: 55ch; }
.appel .actions { justify-content: flex-end; }

/* Fiche d'un bien : mosaïque de photos, puis informations et encadré de contact */
.fil { padding-block: 14px; font-size: .875rem; }
.fil a { color: var(--gris); text-underline-offset: 3px; }
.mosaique { position: relative; display: grid; overflow: hidden; border-radius: var(--arrondi); gap: 8px; height: clamp(260px, 42vw, 500px); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mosaique-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mosaique-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.mosaique-3 { grid-template-columns: 2fr 1fr; }
.mosaique-4 { grid-template-columns: 2fr 1fr 1fr; }
.mosaique-4 .tuile:nth-child(4) { grid-column: span 2; }
.tuile { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--doux); cursor: zoom-in; }
.tuile:first-child { grid-row: 1 / -1; }
.tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tuile:hover img { transform: scale(1.02); }
.mosaique-1 .tuile img { object-fit: contain; }
.toutes-photos { position: absolute; right: 14px; bottom: 14px; z-index: 2; min-height: 36px; padding: 6px 14px; font-size: .85rem; }
.fiche-corps { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 64px); align-items: start; padding-block: 28px clamp(40px, 5vw, 64px); }
.fiche-prix { margin: 0; font: 600 clamp(1.5rem, 2.4vw, 1.9rem)/1.15 var(--titre); font-variant-numeric: tabular-nums; }
.fiche-prix small { display: block; margin-bottom: 4px; font: 500 .85rem var(--texte); color: var(--gris); }
.fiche-corps h1 { margin-top: 10px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: 0; }
.fiche-lieu { margin: 2px 0 0; color: var(--gris); }
.releve { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 24px 0 32px; }
.releve div { padding: 12px 14px; border-radius: var(--arrondi); background: var(--doux); }
.releve dt { font-size: .8rem; color: var(--gris); }
.releve dd { margin-top: 2px; font: 600 1rem/1.3 var(--titre); font-variant-numeric: tabular-nums; }
.releve-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid; border-radius: var(--arrondi); }
.releve-compact div { border-radius: 0; }
.releve-compact div:first-child { grid-column: 1 / -1; }
.releve-compact div:first-child dd { font-size: 1.25rem; }
.descriptif { max-width: 68ch; }
.descriptif h2 { margin: 28px 0 10px; font-size: 1.05rem; }
.descriptif h2:first-child { margin-top: 0; }
.descriptif ul { margin-bottom: 1em; }
.descriptif li { position: relative; padding: 4px 0 4px 18px; }
.descriptif li::before { content: ""; position: absolute; left: 2px; top: .9em; width: 5px; height: 5px; border-radius: 50%; background: var(--noir); }
.contact-bien { position: sticky; top: calc(var(--entete) + 20px); padding: 24px; border: 1px solid var(--filet); border-radius: var(--arrondi); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .25); }
.contact-bien h2 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-bien p { color: var(--gris); }
.contact-bien .btn { width: 100%; margin-top: 10px; }

/* Galerie de photos (page Gardiennage) */
.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.galerie-photo { margin: 0; }
.galerie .tuile { display: block; width: 100%; aspect-ratio: 1; border-radius: var(--arrondi); }
.galerie figcaption { margin-top: 10px; font-size: .9rem; color: var(--gris); }

.deux.reference { align-items: center; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.reference h2 { margin-bottom: 14px; }
.reference-reperes { margin: 22px 0 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reference-reperes div { background: #fff; }
.reference-reperes div:last-child { grid-column: 1 / -1; }
.reference-appel { margin-bottom: 12px; font: 600 1rem var(--titre); color: var(--noir) !important; }
/* Affiche du salon : téléphones uniquement (masquée, elle n’est pas téléchargée car chargée en différé) */
.galerie-affiche { display: none; grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto clamp(32px, 4vw, 56px); }
@media (max-width: 767px) { .galerie-affiche { display: grid; } }
.galerie-affiche .tuile { aspect-ratio: auto; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8); }
.galerie-affiche .tuile img { height: auto; }
.galerie-evenement { grid-template-columns: 2fr 1fr; gap: 10px; }
.galerie-evenement .tuile { aspect-ratio: auto; height: clamp(200px, 20vw, 260px); }
.galerie-evenement .tuile img { object-position: 50% 15%; }

/* Visionneuse de photos */
.visionneuse { width: min(100vw, 1200px); max-width: 100vw; height: 100vh; max-height: 100vh; margin: auto; padding: 0; border: 0; background: transparent; color: #fff; }
.visionneuse::backdrop { background: rgba(0, 0, 0, .92); }
.visionneuse-cadre { display: flex; align-items: center; justify-content: center; height: 100%; padding: 64px 64px 48px; }
.visionneuse img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 4px; }
.visionneuse-bouton { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(0, 0, 0, .4); color: #fff; font: 400 1.4rem/1 var(--texte); cursor: pointer; }
.visionneuse-bouton:hover { border-color: #fff; }
.visionneuse-fermer { top: 12px; right: 12px; }
.visionneuse-precedente { left: 12px; top: 50%; transform: translateY(-50%); }
.visionneuse-suivante { right: 12px; top: 50%; transform: translateY(-50%); }
.visionneuse-compteur { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font-size: .875rem; color: rgba(255, 255, 255, .75); }

/* Consulting, gardiennage, contact */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.chiffres > div { color: rgba(255, 255, 255, .75); }
.chiffres b { display: block; margin-bottom: 4px; font: 600 clamp(2rem, 4vw, 3rem)/1 var(--titre); color: #fff; }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.deux h2 { margin-bottom: 14px; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.deux p { color: var(--gris); }
.equipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.equipe img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--arrondi); background: var(--doux); }
.equipe h3 { margin-top: 12px; }
.equipe .poste { margin: 0 0 6px; font: 500 .875rem var(--titre); color: var(--gris); }
.equipe .parcours { margin: 0; font-size: .9rem; color: var(--gris); }
.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.formule { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--filet); border-radius: var(--arrondi); background: #fff; }
.formule h3 { font-size: 1.15rem; }
.formule ul { flex: 1; margin: 12px 0 22px; color: var(--gris); }
.formule li { position: relative; padding-left: 18px; }
.formule li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--noir); }
.formule li + li { margin-top: 8px; }
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.contact-grille h2 { margin-bottom: 20px; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.champ { margin-bottom: 16px; }
.champ label { display: block; margin-bottom: 6px; font: 500 .875rem var(--titre); }
.champ input, .champ textarea, .champ select { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #c9c9c6; border-radius: var(--arrondi); background: #fff; color: var(--noir); font: inherit; }
.champ textarea { resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: 2px solid var(--encre); outline-offset: 0; border-color: var(--encre); }
.note { margin-top: 12px; font-size: .875rem; color: var(--gris); }
.coordonnees li { padding: 14px 0; border-top: 1px solid var(--filet); }
.coordonnees b { display: block; margin-bottom: 2px; font: 500 .8rem var(--titre); color: var(--gris); }

/* Formulaire « Présentez-nous votre projet » */
.projet { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.projet-intro h2 { margin-bottom: 12px; }
.projet-intro p { color: var(--gris); }
.formulaire { padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--filet); border-radius: var(--arrondi); }
.champs-deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire-statut { margin: 14px 0 0; font-weight: 500; }
.formulaire-statut:empty { display: none; }
.formulaire-statut.reussi { color: var(--whatsapp); }
.formulaire-statut.echec { color: #b3261e; }

/* Charte GBS (page Gardiennage uniquement) : noir et or du logo.
   L'or ne sert que sur fond noir ou comme fond de bouton avec texte noir (contraste suffisant). */
.page-gbs { --gbs-or: #f5b800; --gbs-or-fonce: #dca500; --gbs-noir: #0b0b0b; }
.page-gbs .nav a[aria-current="page"] { border-bottom-color: var(--gbs-or); border-bottom-width: 2px; }
.page-gbs .heros-voile { background: linear-gradient(0deg, rgba(11, 11, 11, .88) 0%, rgba(11, 11, 11, .6) 60%, rgba(11, 11, 11, .45) 100%); }
.heros-marque { display: block; width: clamp(64px, 7vw, 88px); height: auto; margin-bottom: 18px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.heros-signature { margin: 8px 0 0; font: 600 .95rem var(--titre); letter-spacing: .02em; color: var(--gbs-or, #fff); }
.btn-or { background: var(--gbs-or); border-color: var(--gbs-or); color: var(--gbs-noir); font-weight: 600; }
.btn-or:hover { background: var(--gbs-or-fonce); border-color: var(--gbs-or-fonce); color: var(--gbs-noir); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6); }
.section-noir { background: var(--gbs-noir); color: #fff; }
.section-noir .entete-section p, .section-noir p { color: rgba(255, 255, 255, .75); }
.section-noir h3 { color: var(--gbs-or); }
.section-noir .raisons li { border-top-color: rgba(245, 184, 0, .35); }
.section-noir .reference-reperes div { background: #1a1a1a; }
.section-noir .reference-reperes dt { color: var(--gbs-or); }
.section-noir .reference-reperes dd { color: #fff; }
.section-noir .reference-appel { color: #fff !important; }
.page-gbs .formule { border-top: 3px solid var(--gbs-or); }
.page-gbs .formule .btn:hover { background: var(--gbs-or); border-color: var(--gbs-or); color: var(--gbs-noir); }

/* Pied de page : bleu du logo G&B Immobilier (#003459) */
.pied { --bleu-gb: #003459; background: var(--bleu-gb); color: #fff; padding-block: 48px 96px; font-size: .925rem; }
.pied-int { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px clamp(24px, 5vw, 72px); }
.pied h2 { margin-bottom: 10px; font: 600 .875rem var(--titre); letter-spacing: 0; color: #fff; }
.pied li { padding: 3px 0; color: rgba(255, 255, 255, .78); }
.pied a { color: #fff; text-decoration: none; text-underline-offset: 3px; }
.pied a:hover, .pied a:focus-visible { text-decoration: underline; }
.pied :focus-visible { outline-color: #fff; }
.pied-marque { margin-bottom: 6px; font: 600 1.25rem var(--titre); }
.pied p { color: rgba(255, 255, 255, .78); }

/* WhatsApp flottant */
.wa-flottant { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 20px; border-radius: var(--pilule); background: var(--whatsapp); color: #fff; font: 500 .925rem var(--titre); text-decoration: none; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); transition: background-color .2s; }
.wa-flottant:hover { background: var(--whatsapp-fonce); }
.wa-flottant svg { width: 22px; height: 22px; fill: currentColor; }

@media (max-width: 1080px) {
  .nav-bascule { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; background: #fff; border-bottom: 1px solid var(--filet); padding: 4px var(--marge) 16px; }
  .nav.ouverte { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--filet); }
  .nav a[aria-current="page"] { border-bottom-color: var(--filet); }
}
@media (max-width: 860px) {
  .deux.reference { grid-template-columns: minmax(0, 1fr); }
  .appel, .contact-grille, .fiche-corps, .deux, .projet { grid-template-columns: minmax(0, 1fr); }
  .appel .actions { justify-content: flex-start; }
  .grille-biens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activites, .domaines, .formules { grid-template-columns: minmax(0, 1fr); }
  .villes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipe, .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-int { grid-template-columns: minmax(0, 1fr); }
  .contact-bien { position: static; }
  .mosaique { height: clamp(240px, 62vw, 420px); grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .mosaique .tuile:not(:first-child) { display: none; }
}
@media (max-width: 560px) {
  .galerie { grid-template-columns: minmax(0, 1fr); }
  .diapo { display: flex; flex-direction: column; height: auto; background: var(--encre-profonde); }
  .diapo img { height: 240px; flex: none; }
  .diapo-texte { position: static; flex: 1; padding: 20px 20px 60px; background: none; }
  .carrousel-fleche { top: 97px; width: 40px; height: 40px; }
  .carrousel-precedent { left: 10px; }
  .carrousel-suivant { right: 10px; }
  .grille-biens, .raisons, .champs-deux { grid-template-columns: minmax(0, 1fr); }
  .heros-accueil { min-height: 0; }
  .actions .btn { width: 100%; }
  .wa-flottant span { display: none; }
  .wa-flottant { width: 52px; padding: 0; }
  .visionneuse-cadre { padding: 56px 8px 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
