/* ============================================================
   RÉSIDENCE DU CÈDRE — MORGES
   Site web — Gérances de Luze SA
   Charte graphique : Pantone 1807 (#a1202a) + gris #696c70
   ============================================================ */

/* ---------- 1. VARIABLES & RESET ---------- */
:root {
  /* ---- Identité Résidence du Cèdre — V2 : vert d'origine + crème mis en avant ---- */
  --vert-cedre   : #1F4434;  /* vert principal (logo) — couleur d'origine conservée */
  --vert-fonce   : #143123;  /* vert sombre (hover) */
  --vert-clair   : #2d614a;  /* vert intermédiaire */
  --creme        : #F5EFE0;  /* crème logo (fond clair) */
  --creme-fonce  : #E8DFC9;  /* crème accent */
  --creme-doux   : #FBF6EA;  /* crème très doux pour fonds étendus — mis en avant V2 */

  /* ---- Alias pour compatibilité (anciennement rouge) ---- */
  --rouge-deluze : #1F4434;  /* vert cèdre d'origine */
  --rouge-fonce  : #143123;  /* vert sombre d'origine */

  /* ---- Signature Gérances de Luze ---- */
  --signature-rouge   : #a1202a;  /* rouge Pantone 1807 De Luze */
  --signature-bordeaux: #7d1820;  /* bordeaux foncé De Luze */
  --signature-gris    : #4a4a4a;  /* gris De Luze */

  /* ---- Neutres ---- */
  --gris-deluze  : #696c70;
  --gris-clair   : #d8d8d8;
  --noir         : #0e0e0e;
  --blanc        : #ffffff;
  --beige-cedre  : #c9a96a;
  --fond-clair   : #FBF6EA;  /* crème très doux pour les sections "fond" */
  --fond-section : #FBF6EA;  /* unifié sur le crème doux */

  /* Couleurs réelles du bâtiment (charte architecte) */
  --crepi-facade : #e6dcc4;  /* NCS 1505-Y20R - crépis 1.5 mm ribé */
  --metal-fonce  : #3a342d;  /* NCS 805-Y20R - fenêtres, garde-corps, barrières */

  /* Statuts de lot */
  --statut-libre   : #2d6e3e;
  --statut-reserve : #b8860b;
  --statut-vendu   : #696c70;

  --font-titre   : "Playfair Display", "Times New Roman", serif;
  --font-corps   : "Inter", "Arial", system-ui, sans-serif;

  --ease         : cubic-bezier(.25,.8,.25,1);
  --transition   : 0.4s var(--ease);

  --max-width    : 1280px;
  --gutter       : clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-corps);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--noir);
  background: var(--creme-doux);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 2. TYPOGRAPHIE ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-titre);
  font-weight: 600;
  line-height: 1.15;
  color: var(--noir);
  letter-spacing: -0.01em;
}
.rc-h1 { font-size: clamp(2.5rem, 5.5vw, 4.8rem); }
.rc-h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 1.2rem; }
.rc-h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 0.8rem; }
.rc-eyebrow {
  display: inline-block;
  font-family: var(--font-corps);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rouge-deluze);
  margin-bottom: 1rem;
}
.rc-eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--rouge-deluze);
  vertical-align: middle;
  margin-right: 0.8rem;
}
.rc-lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--gris-deluze); max-width: 62ch; }

/* ---------- 3. CONTENEURS & SECTIONS ---------- */
.rc-container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.rc-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.rc-section--fond { background: var(--fond-section); }
.rc-section--dark { background: var(--noir); color: var(--blanc); }
.rc-section--dark h1, .rc-section--dark h2, .rc-section--dark h3 { color: var(--blanc); }
.rc-section--rouge { background: var(--rouge-deluze); color: var(--blanc); }
.rc-section--rouge h1, .rc-section--rouge h2 { color: var(--blanc); }
.rc-section--rouge .rc-eyebrow { color: var(--blanc); }
.rc-section--rouge .rc-eyebrow::before { background: var(--blanc); }
.rc-section--vert {
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(197,170,108,0.14) 0%, rgba(197,170,108,0) 60%),
    var(--vert-cedre);
  color: var(--blanc);
}
.rc-section--vert h1, .rc-section--vert h2 { color: var(--blanc); }
.rc-divider--clair { background: var(--beige-cedre); }

.rc-divider { width: 60px; height: 2px; background: var(--rouge-deluze); margin: 1.5rem 0 2rem; }

/* ---------- 4. HEADER & NAVIGATION ---------- */
.rc-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0;
  background: linear-gradient(180deg, rgba(14,14,14,0.45), rgba(14,14,14,0));
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.rc-header.is-scrolled {
  background: rgba(251,246,234,0.97);  /* crème doux pour rester dans la nouvelle palette */
  backdrop-filter: blur(8px);
  padding: 0.7rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.rc-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter);
}
.rc-logo { display: flex; align-items: center; gap: 0.75rem; }
.rc-logo__mark {
  width: 46px; height: 46px;
  color: var(--blanc);
  transition: transform var(--transition), color var(--transition), filter var(--transition);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55));
  flex-shrink: 0;
}
.rc-logo:hover .rc-logo__mark { transform: scale(1.05); }
.is-scrolled .rc-logo__mark { color: var(--vert-cedre); filter: none; }

.rc-logo__text {
  font-family: var(--font-titre);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.1;
  color: var(--blanc);
  transition: color var(--transition);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.rc-logo__text small { display: block; font-size: 0.65rem; letter-spacing: 0.18em; opacity: 0.85; font-family: var(--font-corps); }
.is-scrolled .rc-logo__text { color: var(--noir); text-shadow: none; }

.rc-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2vw, 2.2rem); }
.rc-nav__link {
  position: relative;
  font-size: clamp(0.92rem, 1vw, 1rem); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blanc);
  padding: 0.5rem 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9), 0 2px 18px rgba(0,0,0,0.6);
  transition: color var(--transition);
  white-space: nowrap;
}
.is-scrolled .rc-nav__link { color: var(--noir); text-shadow: none; font-weight: 500; }
.rc-nav__link::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--beige-cedre);
  transition: width var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.is-scrolled .rc-nav__link::after { background: var(--vert-cedre); box-shadow: none; }
.rc-nav__link:hover::after, .rc-nav__link.is-active::after { width: 100%; }
/* Sur image hero : on garde le blanc et on souligne en crème pour la lisibilité */
.rc-nav__link:hover, .rc-nav__link.is-active { color: var(--beige-cedre); }
/* Quand on a scrollé : le hover passe en vert cèdre sur fond clair */
.is-scrolled .rc-nav__link:hover,
.is-scrolled .rc-nav__link.is-active { color: var(--vert-cedre); }

.rc-burger {
  display: none; width: 36px; height: 36px; position: relative;
}
.rc-burger span {
  position: absolute; left: 6px; right: 6px; height: 2px;
  background: var(--blanc); transition: all var(--transition);
}
.is-scrolled .rc-burger span { background: var(--noir); }
.rc-burger span:nth-child(1) { top: 12px; }
.rc-burger span:nth-child(2) { top: 17px; }
.rc-burger span:nth-child(3) { top: 22px; }
.rc-burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.rc-burger.is-open span:nth-child(2) { opacity: 0; }
.rc-burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 5. BOUTONS ---------- */
.rc-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.rc-btn--primary { background: var(--rouge-deluze); color: var(--blanc); }
.rc-btn--primary:hover { background: var(--rouge-fonce); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,68,52,0.3); }
.rc-btn--ghost { background: transparent; color: var(--blanc); border-color: var(--blanc); }
.rc-btn--ghost:hover { background: var(--blanc); color: var(--noir); }
.rc-btn--dark { background: var(--noir); color: var(--blanc); }
.rc-btn--dark:hover { background: var(--rouge-deluze); }
.rc-btn__arrow { transition: transform var(--transition); }
.rc-btn:hover .rc-btn__arrow { transform: translateX(4px); }

/* ---------- 6. HERO ---------- */
.rc-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--blanc);
  text-align: center;
}
.rc-hero__media { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.rc-hero__media video,
.rc-hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.rc-hero__media video { pointer-events: none; }
.rc-hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    /* Bandeau haut très foncé pour lisibilité du menu sur toutes images */
    linear-gradient(180deg, rgba(14,14,14,0.78) 0%, rgba(14,14,14,0.55) 12%, rgba(14,14,14,0.25) 22%, rgba(14,14,14,0) 35%),
    /* Voile foncé concentré au centre derrière le texte */
    radial-gradient(ellipse 80% 65% at 50% 55%, rgba(14,14,14,0.72) 0%, rgba(14,14,14,0.4) 60%, rgba(14,14,14,0) 100%),
    /* Dégradé global avec touche vert cèdre en bas */
    linear-gradient(180deg, rgba(14,14,14,0.35) 0%, rgba(14,14,14,0.15) 40%, rgba(14,14,14,0.2) 70%, rgba(31,68,52,0.75) 100%);
}
.rc-hero__title, .rc-hero__subtitle, .rc-hero__baseline, .rc-hero__eyebrow {
  text-shadow: 0 2px 28px rgba(0,0,0,0.75), 0 1px 4px rgba(0,0,0,0.5);
}
.rc-hero__title { font-weight: 700; }
.rc-hero__content {
  position: relative; z-index: 3;
  padding: 8rem var(--gutter) 6rem;
  max-width: 900px;
}
.rc-hero__eyebrow {
  font-size: 0.85rem; letter-spacing: 0.4em; text-transform: uppercase;
  margin-bottom: 1.5rem; opacity: 0.95;
}
.rc-hero__title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  color: var(--blanc);
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.rc-hero__subtitle {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 300; line-height: 1.5;
  margin: 0 auto 1rem; max-width: 38ch;
}
.rc-hero__baseline {
  font-size: 0.9rem; letter-spacing: 0.15em;
  text-transform: uppercase; opacity: 0.85;
  margin-bottom: 2.5rem;
}
.rc-hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.rc-hero__scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
}
.rc-hero__scroll::after {
  content: ""; width: 1px; height: 40px;
  background: var(--blanc); animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- 7. PAGE HERO (autres pages, plus court) ---------- */
.rc-page-hero {
  position: relative; min-height: 55vh;
  display: flex; align-items: center;
  color: var(--blanc); overflow: hidden;
  padding-top: 6rem;
}
.rc-page-hero__media { position: absolute; inset: 0; z-index: 1; }
.rc-page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.rc-page-hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.85) 0%, rgba(14,14,14,0.55) 15%, rgba(14,14,14,0.25) 28%, rgba(14,14,14,0.35) 65%, rgba(31,68,52,0.7) 100%),
    radial-gradient(ellipse 80% 60% at 30% 60%, rgba(14,14,14,0.45) 0%, rgba(14,14,14,0) 70%);
}
.rc-page-hero__content { position: relative; z-index: 3; padding: 4rem 0; }
.rc-page-hero__content h1 {
  color: var(--blanc);
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.rc-page-hero__content .rc-lead {
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.rc-breadcrumb {
  font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0.95;
  margin-bottom: 1rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
.rc-breadcrumb a:hover { color: var(--beige-cedre); }

/* ---------- 8. GRILLES & CARTES ---------- */
.rc-grid { display: grid; gap: 2rem; }
.rc-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.rc-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rc-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.rc-card {
  background: var(--blanc);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--gris-clair);
  transition: all var(--transition);
  position: relative;
}
.rc-card:hover {
  border-color: var(--rouge-deluze);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.rc-card__icon {
  width: 48px; height: 48px;
  color: var(--rouge-deluze);
  margin-bottom: 1.2rem;
}
.rc-card__title {
  font-family: var(--font-titre);
  font-size: 1.25rem; font-weight: 600;
  margin-bottom: 0.6rem;
}
.rc-card__text { font-size: 0.95rem; color: var(--gris-deluze); line-height: 1.6; }

/* ---------- 9. SECTION INTRO (texte + image) ---------- */
.rc-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.rc-split--reverse .rc-split__media { order: 2; }
.rc-split__media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.rc-split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rc-split__media:hover img { transform: scale(1.04); }

/* ---------- 10. STATS / CHIFFRES CLÉS (sobre) ---------- */
.rc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.rc-stat__number {
  font-family: var(--font-titre);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  color: var(--rouge-deluze); font-weight: 700; line-height: 1;
  display: block; margin-bottom: 0.5rem;
}
.rc-section--dark .rc-stat__number,
.rc-section--rouge .rc-stat__number { color: var(--blanc); }
.rc-stat__label { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris-deluze); }
.rc-section--dark .rc-stat__label,
.rc-section--rouge .rc-stat__label { color: rgba(255,255,255,0.85); }

/* ---------- 11. DISTANCES (à pied) — V2 : grille fixe pour 7 items équilibrés ---------- */
.rc-distances {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}
@media (max-width: 1180px) { .rc-distances { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .rc-distances { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .rc-distances { grid-template-columns: 1fr; } }
.rc-distance {
  text-align: center; padding: 1.8rem 1rem;
  background: var(--blanc); border-top: 3px solid var(--rouge-deluze);
  transition: transform var(--transition);
}
.rc-distance:hover { transform: translateY(-4px); }
.rc-distance__icon { width: 32px; height: 32px; color: var(--rouge-deluze); margin: 0 auto 0.8rem; }
.rc-distance__value { font-family: var(--font-titre); font-size: 1.8rem; font-weight: 700; color: var(--noir); display: block; }
.rc-distance__label { font-size: 0.85rem; color: var(--gris-deluze); margin-top: 0.3rem; }

/* ---------- 12. PAGE INTERACTIVE — Façade cliquable ---------- */
.rc-interactive {
  position: relative; max-width: 900px; margin: 0 auto;
  background: var(--fond-clair); padding: 2rem;
}
.rc-interactive__visual {
  position: relative; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  overflow: hidden;
}
.rc-interactive__visual img { width: 100%; height: 100%; object-fit: cover; }
.rc-interactive__svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.rc-zone {
  fill: rgba(31,68,52,0); stroke: rgba(255,255,255,0.4); stroke-width: 2;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.rc-zone:hover, .rc-zone.is-active {
  fill: rgba(31,68,52,0.45); stroke: var(--blanc); stroke-width: 3;
}
.rc-zone__label {
  fill: var(--blanc); font-family: var(--font-titre); font-size: 28px; font-weight: 700;
  text-anchor: middle; dominant-baseline: middle;
  pointer-events: none; opacity: 0.7;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.rc-fiche {
  background: var(--blanc); padding: 2rem;
  margin-top: 1.5rem; border-left: 4px solid var(--rouge-deluze);
  min-height: 200px;
  display: none;
  animation: ficheIn 0.5s var(--ease);
}
.rc-fiche.is-active { display: block; }
@keyframes ficheIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.rc-fiche__header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.rc-fiche__title { font-family: var(--font-titre); font-size: 1.6rem; }
.rc-fiche__status { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.3rem 0.8rem; }
.rc-fiche__status--libre { background: var(--statut-libre); color: var(--blanc); }
.rc-fiche__status--reserve { background: var(--statut-reserve); color: var(--blanc); }
.rc-fiche__status--phare { background: var(--rouge-deluze); color: var(--blanc); }
.rc-fiche__status--vendu { background: var(--statut-vendu); color: var(--blanc); }
.rc-lots-list li button[data-status="reserve"] .rc-lots-list__type::after { content: " · Réservé"; color: var(--statut-reserve); font-weight: 600; }
.rc-lots-list li button[data-status="phare"] .rc-lots-list__lot::before { content: "★ "; color: var(--rouge-deluze); }
.rc-fiche__specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.rc-fiche__spec { font-size: 0.9rem; }
.rc-fiche__spec strong { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris-deluze); margin-bottom: 0.2rem; font-weight: 600; }

/* Onglets mobile pour les fiches */
.rc-tabs { display: none; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; justify-content: center; }
.rc-tabs__btn {
  padding: 0.6rem 1.2rem; font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--gris-clair); background: var(--blanc); transition: all var(--transition);
}
.rc-tabs__btn.is-active { background: var(--rouge-deluze); color: var(--blanc); border-color: var(--rouge-deluze); }

/* ---------- 13. GALERIE ---------- */
.rc-gallery-filters { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.rc-gallery-filters__btn {
  padding: 0.7rem 1.4rem; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--gris-clair); background: transparent;
  transition: all var(--transition);
}
.rc-gallery-filters__btn:hover { border-color: var(--rouge-deluze); color: var(--rouge-deluze); }
.rc-gallery-filters__btn.is-active { background: var(--rouge-deluze); color: var(--blanc); border-color: var(--rouge-deluze); }

.rc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.rc-gallery__item {
  position: relative; overflow: hidden; cursor: zoom-in;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--fond-clair);
}
.rc-gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.rc-gallery__item:hover img { transform: scale(1.06); }
.rc-gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.78) 100%);
  transition: background var(--transition);
  pointer-events: none;
}
.rc-gallery__item:hover::after {
  background: linear-gradient(180deg, transparent 30%, rgba(31,68,52,0.85) 100%);
}
.rc-gallery__badge {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  padding: 0.4rem 0.75rem;
  background: rgba(31,68,52,0.95);
  color: var(--blanc); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.rc-gallery__badge--reserve { background: rgba(184,134,11,0.95); }
.rc-gallery__badge--cedre { background: rgba(45,74,42,0.95); }
.rc-gallery__badge--exterieur { background: rgba(14,14,14,0.85); }
.rc-gallery__caption {
  position: absolute; bottom: 0.9rem; left: 0.9rem; right: 0.9rem;
  color: var(--blanc); z-index: 2;
}
.rc-gallery__caption strong {
  display: block; font-family: var(--font-titre);
  font-size: 1.05rem; font-weight: 600;
  margin-bottom: 0.15rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.rc-gallery__caption span {
  font-size: 0.78rem; letter-spacing: 0.08em;
  opacity: 0.92;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.rc-gallery__item.is-hidden { display: none; }

/* Lightbox */
.rc-lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14,14,14,0.96);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.rc-lightbox.is-open { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.rc-lightbox img, .rc-lightbox video {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
}
.rc-lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  color: var(--blanc); font-size: 2rem; line-height: 1;
}
.rc-lightbox__close:hover { color: var(--rouge-deluze); }
.rc-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  color: var(--blanc); font-size: 2rem; transition: color var(--transition);
}
.rc-lightbox__nav:hover { color: var(--rouge-deluze); }
.rc-lightbox__nav--prev { left: 1.5rem; }
.rc-lightbox__nav--next { right: 1.5rem; }

/* ---------- 14. CONTACT ---------- */
.rc-contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); }
.rc-contact-card { background: var(--noir); color: var(--blanc); padding: 2.5rem; }
.rc-contact-card h3 { color: var(--blanc); }
.rc-contact-card__role { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--beige-cedre); margin-bottom: 0.5rem; }
.rc-contact-card__name { font-family: var(--font-titre); font-size: 1.7rem; margin-bottom: 1.8rem; }
.rc-contact-card__list { list-style: none; margin: 0 0 2rem; }
.rc-contact-card__list li { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.rc-contact-card__list svg { width: 18px; height: 18px; color: var(--beige-cedre); flex-shrink: 0; margin-top: 0.2rem; }
.rc-contact-card__list a:hover { color: var(--beige-cedre); }

.rc-form { display: grid; gap: 1.2rem; }
.rc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rc-form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.rc-form__field label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--gris-deluze); }
.rc-form__field input,
.rc-form__field select,
.rc-form__field textarea {
  font: inherit; font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gris-clair);
  background: var(--blanc);
  transition: border-color var(--transition);
}
.rc-form__field input:focus,
.rc-form__field select:focus,
.rc-form__field textarea:focus {
  outline: none; border-color: var(--rouge-deluze);
}
.rc-form__field textarea { min-height: 130px; resize: vertical; font-family: var(--font-corps); }
.rc-form__note { font-size: 0.75rem; color: var(--gris-deluze); line-height: 1.5; }
.rc-form__honeypot { position: absolute; left: -9999px; }
.rc-form__success {
  display: none; padding: 1rem 1.2rem;
  background: #e6f3e8; color: #2d6e3e; border-left: 4px solid #2d6e3e;
  font-size: 0.9rem;
}
.rc-form__success.is-visible { display: block; }
.rc-form__error {
  display: none; padding: 1rem 1.2rem; margin-top: 0.5rem;
  background: #fbeaea; color: #a1202a; border-left: 4px solid #a1202a;
  font-size: 0.9rem;
}
.rc-form__error.is-visible { display: block; }

/* ---------- 15. CARTE ---------- */
.rc-map-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 4px 14px rgba(31,68,52,0.12);
}
.rc-map-frame::before {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 0 4px var(--blanc);
  border-radius: inherit;
}
.rc-map {
  width: 100%; height: 460px; border: 0;
  display: block;
  filter: saturate(0.95);
}
.rc-section--vert + section .rc-map-frame,
.rc-section--rouge + section .rc-map-frame { margin-top: -1rem; }
.rc-map-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.6rem 1.1rem;
  background: var(--vert-cedre); color: var(--blanc);
  font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  transition: all var(--transition);
}
.rc-map-cta:hover { background: var(--vert-fonce); transform: translateY(-2px); }

/* ---------- 16. FOOTER ---------- */
.rc-footer { background: var(--noir); color: rgba(255,255,255,0.78); padding: 4rem 0 0; }
.rc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.rc-footer h4 {
  color: var(--blanc); font-family: var(--font-corps);
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 1.2rem;
}
.rc-footer__brand .rc-logo__mark { width: 60px; height: 60px; color: var(--blanc); filter: none; }
.rc-footer__brand .rc-logo__text { color: var(--blanc); font-size: 1.1rem; text-shadow: none; }
.rc-footer__slogan {
  font-family: var(--font-titre); font-style: italic;
  font-size: 1.05rem; color: var(--beige-cedre); margin: 1.2rem 0;
}
.rc-footer__signature {
  font-size: 0.85rem; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  margin: 1.2rem 0;
}
.rc-footer__signature a {
  color: var(--beige-cedre);
  border-bottom: 1px solid rgba(201,169,106,0.4);
  padding-bottom: 1px;
  transition: all var(--transition);
}
.rc-footer__signature a:hover {
  color: var(--blanc);
  border-bottom-color: var(--blanc);
}
.rc-footer ul { list-style: none; }
.rc-footer ul li { padding: 0.3rem 0; font-size: 0.92rem; }
.rc-footer a:hover { color: var(--beige-cedre); }
.rc-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem;
}
.rc-footer__bottom em { font-family: var(--font-titre); font-style: italic; color: var(--beige-cedre); }

/* ---------- 17. ANIMATIONS REVEAL ---------- */
.rc-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rc-reveal.is-visible { opacity: 1; transform: translateY(0); }
.rc-reveal--delay-1 { transition-delay: 0.1s; }
.rc-reveal--delay-2 { transition-delay: 0.2s; }
.rc-reveal--delay-3 { transition-delay: 0.3s; }

/* Désactive l'effet d'apparition haut→bas sur les slides du carrousel : on garde uniquement le glissé horizontal */
.rc-carousel .rc-carousel__slide.rc-reveal,
.rc-carousel__slide.rc-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  transition-delay: 0s !important;
}

/* ---------- 17b. PAGES INFOS (mentions légales / confidentialité) ---------- */
.is-scrolled-bg { padding-top: 90px; background: var(--blanc); }
.rc-page-header {
  background: var(--vert-cedre);
  color: var(--blanc);
  padding: 6rem var(--gutter) 3.5rem;
  text-align: center;
}
.rc-page-header h1 {
  color: var(--blanc);
  font-family: var(--font-titre);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0.5rem;
}
.rc-page-header .rc-eyebrow { color: var(--beige-cedre); }
.rc-page-header .rc-eyebrow::before { background: var(--beige-cedre); }
.rc-prose {
  max-width: 780px;
  font-size: 0.98rem; line-height: 1.75;
  color: var(--noir);
}
.rc-prose .rc-h3 {
  font-family: var(--font-titre);
  font-size: 1.4rem; line-height: 1.25;
  color: var(--vert-cedre);
  margin: 2.2rem 0 0.8rem;
}
.rc-prose .rc-h3:first-child { margin-top: 0; }
.rc-prose p, .rc-prose ul { margin: 0 0 1rem; }
.rc-prose ul { padding-left: 1.3rem; }
.rc-prose ul li { margin-bottom: 0.4rem; }
.rc-prose a { color: var(--vert-cedre); border-bottom: 1px solid rgba(31,68,52,0.3); transition: all var(--transition); }
.rc-prose a:hover { border-bottom-color: var(--vert-cedre); }

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .rc-gallery { grid-template-columns: repeat(2, 1fr); }
  .rc-footer__grid { grid-template-columns: 1fr 1fr; }
  .rc-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .rc-burger { display: block; }
  .rc-nav {
    position: fixed; inset: 0;
    background: var(--noir); color: var(--blanc);
    flex-direction: column; justify-content: center; gap: 2rem;
    transform: translateX(100%); transition: transform var(--transition);
    z-index: 99;
  }
  .rc-nav.is-open { transform: translateX(0); }
  .rc-nav__link { color: var(--blanc); font-size: 1.1rem; }
  .is-scrolled .rc-nav__link { color: var(--blanc); }

  .rc-split { grid-template-columns: 1fr; }
  .rc-split--reverse .rc-split__media { order: 0; }

  .rc-form__row { grid-template-columns: 1fr; }
  .rc-footer__grid { grid-template-columns: 1fr; }
  .rc-footer__bottom { flex-direction: column; text-align: center; }

  .rc-gallery { grid-template-columns: 1fr; gap: 0.9rem; }

  /* Interactive : afficher onglets, masquer SVG zones cliquables au profit d'une liste */
  .rc-tabs { display: flex; }
}

@media (max-width: 480px) {
  .rc-hero__cta { flex-direction: column; align-items: stretch; }
  .rc-hero__cta .rc-btn { justify-content: center; }
}

/* ---------- 18b. CARROUSEL ATOUTS (scroll natif + auto + flèches) ---------- */
.rc-carousel { position: relative; padding: 0 56px; }
@media (max-width: 768px) { .rc-carousel { padding: 0 44px; } }
.rc-carousel__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rc-carousel__viewport::-webkit-scrollbar { display: none; }

/* Flèches de navigation */
.rc-carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: var(--blanc); border: 1px solid var(--gris-clair);
  color: var(--vert-cedre);
  cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-family: var(--font-titre);
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.rc-carousel__nav:hover {
  background: var(--vert-cedre); color: var(--blanc);
  border-color: var(--vert-cedre);
  transform: translateY(-50%) scale(1.06);
}
.rc-carousel__nav--prev { left: 0; }
.rc-carousel__nav--next { right: 0; }
.rc-section--dark .rc-carousel__nav,
.rc-section--fond .rc-carousel__nav { background: var(--blanc); }
.rc-carousel__track {
  display: flex;
  gap: 1.4rem;
}
.rc-carousel__slide {
  flex: 0 0 calc(25% - 1.05rem);
  scroll-snap-align: start;
  min-width: 0;
}
.rc-carousel__dots {
  display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem;
}
.rc-carousel__dot {
  width: 32px; height: 3px; background: var(--gris-clair);
  cursor: pointer; transition: all var(--transition);
  border: none;
}
.rc-carousel__dot.is-active { background: var(--vert-cedre); width: 56px; }
.rc-carousel__dot:hover { background: var(--vert-clair); }
.rc-section--dark .rc-carousel__dot { background: rgba(255,255,255,0.2); }
.rc-section--dark .rc-carousel__dot.is-active { background: var(--beige-cedre); }
.rc-section--fond .rc-carousel__dot { background: rgba(31,68,52,0.2); }

@media (max-width: 1024px) {
  .rc-carousel__slide { flex: 0 0 calc(50% - 0.8rem); margin-right: 1.6rem; }
}
@media (max-width: 640px) {
  .rc-carousel__slide { flex: 0 0 100%; margin-right: 1.6rem; }
}

/* ---------- 18c. WIDGET CONTACT FLOTTANT (sticky bottom-right) ---------- */
.rc-fab {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 90;
  font-family: var(--font-corps);
}
.rc-fab__btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--vert-cedre);
  color: var(--blanc);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25), 0 4px 8px rgba(31,68,52,0.4);
  transition: all var(--transition);
  cursor: pointer; position: relative;
}
.rc-fab__btn:hover { transform: scale(1.06); background: var(--vert-fonce); }
.rc-fab__btn svg { width: 30px; height: 30px; }
.rc-fab__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--vert-cedre);
  animation: rc-fab-pulse 2.2s ease-out infinite;
  opacity: 0;
}
@keyframes rc-fab-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.rc-fab__panel {
  position: absolute; bottom: 80px; right: 0;
  width: 320px; max-width: calc(100vw - 3.2rem);
  background: var(--blanc);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 20px 50px rgba(0,0,0,0.32),
    0 6px 14px rgba(0,0,0,0.16);
  opacity: 0; transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  transition: all var(--transition);
  pointer-events: none;
  overflow: hidden;
}
.rc-fab.is-open .rc-fab__panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.rc-fab__header {
  background: var(--vert-cedre); color: var(--blanc);
  padding: 1.2rem 1.4rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.rc-fab__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--creme); color: var(--vert-cedre);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-titre); font-weight: 700; font-size: 1.1rem;
}
.rc-fab__name { font-family: var(--font-titre); font-size: 1.05rem; line-height: 1.2; margin: 0; }
.rc-fab__role { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; margin-top: 2px; }
.rc-fab__status { font-size: 0.75rem; color: rgba(255,255,255,0.85); margin-top: 0.3rem; display: flex; align-items: center; gap: 0.4rem; }
.rc-fab__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,0.25); }
.rc-fab__body { padding: 1rem 1.2rem 1.2rem; }
.rc-fab__msg { font-size: 0.88rem; color: var(--gris-deluze); margin-bottom: 1rem; line-height: 1.5; }
.rc-fab__actions { display: grid; gap: 0.5rem; }
.rc-fab__action {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 1rem; background: var(--fond-clair);
  font-size: 0.9rem; color: var(--noir);
  text-decoration: none; transition: all var(--transition);
}
.rc-fab__action svg { width: 18px; height: 18px; color: var(--vert-cedre); flex-shrink: 0; }
.rc-fab__action:hover { background: var(--vert-cedre); color: var(--blanc); }
.rc-fab__action:hover svg { color: var(--blanc); }
.rc-fab__action span { display: block; }
.rc-fab__action small { display: block; font-size: 0.72rem; color: var(--gris-deluze); margin-top: 1px; }
.rc-fab__action:hover small { color: rgba(255,255,255,0.85); }
.rc-fab__close {
  position: absolute; top: 0.8rem; right: 0.8rem;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.18); color: var(--blanc);
  font-size: 1.1rem; line-height: 1;
}
.rc-fab__close:hover { background: rgba(255,255,255,0.3); }

@media (max-width: 480px) {
  .rc-fab { right: 1rem; bottom: 1rem; }
  .rc-fab__btn { width: 56px; height: 56px; }
}

/* ---------- 18d. SIGNATURE RED VISION (footer) ---------- */
.rc-credit {
  background: rgba(0,0,0,0.4);
  padding: 0.7rem 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}
.rc-credit a {
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
}
.rc-credit a:hover { color: var(--blanc); border-bottom-color: var(--blanc); }

/* ---------- 19. UTILITAIRES ---------- */
.rc-text-center { text-align: center; }
.rc-mt-1 { margin-top: 1rem; } .rc-mt-2 { margin-top: 2rem; } .rc-mt-3 { margin-top: 3rem; }
.rc-mb-1 { margin-bottom: 1rem; } .rc-mb-2 { margin-bottom: 2rem; } .rc-mb-3 { margin-bottom: 3rem; }
.rc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Focus visible accessibilité */
*:focus-visible { outline: 2px solid var(--rouge-deluze); outline-offset: 3px; }

/* Print */
@media print {
  .rc-header, .rc-footer, .rc-hero__scroll, .rc-burger, .rc-nav { display: none !important; }
  .rc-hero { min-height: auto; color: var(--noir); }
  .rc-hero__overlay { display: none; }
}
