/* Design Tokens pour Le Clos Saint-Vincent */
:root {
  /* Couleurs inspirées de l'architecture résidentielle moderne */
  --brand-1: #2f3a45; /* Gris anthracite pour les titres */
  --brand-2: #ede7e1; /* Beige doux des façades */
  --accent-1: #7ebda5; /* Turquoise plaquette */
  --accent-2: #d4af37; /* Doré premium */
  --text: #202327; /* Noir charbon pour le texte */
  --muted: #5d636b; /* Gris moyen */
  --bg: #ffffff; /* Blanc pur */
  --bg-alt: #f6f6f7; /* Gris très clair */

  /* Typographies */
  --font-head: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Design system */
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-1: 0 8px 20px rgba(47, 58, 69, 0.08);
  --shadow-2: 0 12px 30px rgba(47, 58, 69, 0.12);
  --shadow-hover: 0 16px 40px rgba(47, 58, 69, 0.15);
  --hero-container: 1700px;
  --container: 1200px;

  /* Espacements */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;

  /* Animations */
  --easing: cubic-bezier(0.2, 0.6, 0.2, 1);
  --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --dur-1: 200ms;
  --dur-2: 450ms;
  --dur-3: 900ms;
}

/* Reset et base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.top-bar {
  background: var(--accent-1);
  color: #ffffff;
  text-align: center;
  padding: var(--sp-2) var(--sp-4);
  font-size: 1.2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-top-right-radius: var(--radius);
}

/* Utilitaires */
.hero-container {
  width: min(100%, var(--hero-container));
  padding-inline: var(--sp-4);
  margin-inline: auto;
}

.container {
  width: min(100%, var(--container));
  padding-inline: var(--sp-4);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typographie */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--brand-1);
  margin: 0 0 var(--sp-4) 0;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
}

.lead {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: var(--sp-2);
  display: block;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur-2) var(--easing);
  font-family: var(--font-body);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent-1);
  color: white;
  box-shadow: var(--shadow-1);
}

.btn--primary:hover {
  background: #5fa88a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-1);
  border: 2px solid var(--brand-2);
}

.btn--ghost:hover {
  background: var(--brand-2);
  border-color: var(--brand-1);
}

.btn--white {
  background: white;
  color: var(--accent-1);
  box-shadow: var(--shadow-1);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-1);
  z-index: 50;
  transition: all var(--dur-2) var(--easing);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-4);
  width: min(100%, 1500px);
  max-width: none;
}

.brand {
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-1);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-logo {
  height: 90px;
  width: auto;
  margin-right: 1rem;
}

.brand-text {
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--dur-1) var(--easing);
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-1);
}

.main-nav a.active {
  position: relative;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-1);
  border-radius: 1px;
}

.main-nav .btn--primary {
  color: white !important;
}

.main-nav .btn--primary:hover {
  color: white !important;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--brand-1);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  transition: background var(--dur-1) var(--easing);
  white-space: nowrap;
}

.nav-phone:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav-alsei {
  display: inline-flex;
  align-items: center;
}

.nav-alsei a {
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.nav-alsei__logo {
  height: 68px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
}

/* Hero Section */
.hero {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%),
    url("../../assets/images/hero_resized.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding-block: var(--sp-12);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero .hero-container {
  position: relative;
  z-index: 2;
}

.hero__grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch; /* Stretch pour faire la même hauteur sur Desktop */
  }
}

.hero__copy {
  animation: slideInLeft var(--dur-3) var(--easing);
}

/* Encadré (encart) de la home façon LP */
.hero__panel {
  max-width: 100%;
  background: linear-gradient(
    180deg,
    rgba(126, 189, 165, 0.94),
    rgba(95, 168, 138, 0.96)
  );
  color: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Grand logo dans l'encart vert */
.hero__brand-logo {
  height: clamp(72px, 12vw, 140px);
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
  margin-top: var(--sp-2);
}

.hero__panel__top {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-6) var(--sp-8) var(--sp-2);
}

.label-logos {
  display: flex;
  gap: var(--sp-4);
  margin-left: auto;
}

.label-logos img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.hero__panel__body {
  padding: 0 var(--sp-8) var(--sp-4);
}

.hero__labels {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  padding: var(--sp-4) var(--sp-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
}

.hero__labels img {
  height: auto;
  max-height: 42px; /* Hauteur maximale uniformisée */
  max-width: 100px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  object-fit: contain;
}

.hero__panel h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero__panel h1,
.hero__panel h2,
.hero__panel p,
.hero__panel .lead {
  color: #fff;
}

.hero__kicker {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.95;
}

.hero__sub {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: var(--sp-1);
  margin-bottom: 0;
  font-family: var(--font-head);
  line-height: 1.3;
}

.hero__offer-badge {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-6);
  margin-top: var(--sp-6);
  display: inline-flex;
  flex-direction: column;
  gap: var(--sp-1);
  box-shadow: 0 4px 12px rgba(47, 58, 69, 0.06);
  border-left: 4px solid var(--accent-2); /* Ligne dorée premium sur la gauche */
  align-items: flex-start;
}

.hero__offer-badge-title {
  color: var(--brand-1) !important; /* Anthracite foncé premium */
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 !important;
  line-height: 1.2;
}

.hero__offer-badge-subtitle {
  color: var(--muted) !important;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0 !important;
}

.hero__panel__footer {
  background: rgba(0, 0, 0, 0.15);
  padding: var(--sp-4) var(--sp-8);
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}

.hero__panel__footer .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero__panel__footer .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
  border-color: #fff;
}

.price {
  font-size: 1.5rem;
  color: var(--accent-1);
  margin: var(--sp-4) 0;
}

/* plus d'image secondaire: la photo reste en fond */

.hero__ctas {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}

.hero__badges {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.badge {
  background: var(--brand-2);
  color: var(--brand-1);
  padding: var(--sp-2) var(--sp-4);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(47, 58, 69, 0.1);
  transition: all var(--dur-2) var(--easing);
}

.italic {
  font-style: italic;
}

.green {
  color: var(--accent-1);
}

.text-center {
  text-align: center;
}

/* Section mise en avant */
.highlight {
  margin: var(--sp-8) auto;
  text-align: center;
}

.highlight__img {
  width: min(100%, var(--hero-container));
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  display: block;
  margin-inline: auto;
}

/* Ancien encart vert supprimé; styles conservés si réutilisés ailleurs */
.highlight__content {
  background: var(--accent-1);
  color: #fff;
  margin: var(--sp-8) auto 0;
  max-width: 900px;
  padding: var(--sp-8);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.highlight__content h2 {
  color: #fff;
}

.highlight__stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--sp-8);
  margin-top: var(--sp-6);
  padding: 0;
}

.highlight__stats li {
  font-weight: 600;
}

.badge:hover {
  background: var(--accent-1);
  color: white;
}

/* Accordion logements */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.accordion-item {
  border: 1px solid var(--brand-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  background: var(--bg);
  border: none;
  padding: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.accordion-title {
  text-transform: uppercase;
  color: var(--accent-1);
  font-size: 1.4rem;
}

.accordion-range {
  margin-left: auto;
  font-size: 1.4rem;
}

.accordion-count {
  color: var(--muted);
  font-size: 0.875rem;
}

.accordion-icon {
  margin-left: auto;
  font-size: 1.25rem;
}

.accordion-content {
  padding: var(--sp-6);
  border-top: 1px solid var(--brand-2);
}

.lot {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.lot-main h3 {
  margin: 0 0 var(--sp-2) 0;
}

.lot-price {
  font-size: 1.25rem;
  font-weight: 600;
}

.lot-details {
  color: var(--muted);
}

@media (min-width: 768px) {
  .lot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .lot-main {
    flex: 1;
  }

  .lot-details {
    flex: 1;
  }

  .lot-action {
    flex-shrink: 0;
  }
}

/* Plan Location Section */
.plan-location {
  padding-block: var(--sp-24);
  background: var(--bg);
  position: relative;
}

.plan-location__content {
  text-align: center;
  margin-bottom: var(--sp-8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.plan-location__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  margin: 0;
}

.plan-location__media img {
  width: 100%;
  max-height: 600px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-top-right-radius: var(--radius);
  transition: transform var(--dur-3) var(--easing);
}

.plan-location__media:hover img {
  transform: scale(1.02);
}

/* Sections */
.section {
  padding-block: var(--sp-24);
}

.section--alt {
  /* Bandeau vert plus punchy au lieu du gris */
  background: linear-gradient(180deg, #eaf4ee, #e3efe9);
}

.grid-3 {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.two-col {
  display: grid;
  gap: var(--sp-12);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: var(--sp-12);
  transition: all var(--dur-2) var(--easing);
  border: 1px solid rgba(47, 58, 69, 0.05);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-right-radius: var(--radius);
  margin-bottom: var(--sp-4);
}

.card h3 {
  color: var(--brand-1);
  margin-bottom: var(--sp-3);
}

.card p {
  color: var(--muted);
  margin: 0;
}

/* Listes */
.list-check {
  padding-left: 0;
  list-style: none;
}

.list-check li {
  margin: var(--sp-3) 0;
  position: relative;
  padding-left: var(--sp-6);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-1);
  font-weight: 700;
  font-size: 1.2em;
}

.list-icons {
  padding-left: 0;
  list-style: none;
}

.list-icons li {
  margin: var(--sp-3) 0;
  position: relative;
  padding-left: var(--sp-6);
}

.list-icons li::before {
  content: "-";
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

/* Map */
.map img {
  border-top-right-radius: var(--radius);
  box-shadow: var(--shadow-1);
  width: 100%;
  height: 600px;
  object-fit: contain;
}

/* Pictogrammes (Nos atouts) */
.pictos {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.picto {
  background: #5fa88a;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: var(--sp-8);
  text-align: center;
}

.picto h3 {
  margin-top: var(--sp-12);
  font-size: 1.25rem;
  color: white;
}

.picto__icon {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
  color: var(--accent-1);
}

/* Tableau logements: codes couleurs */
.accordion-item.type-t2 {
  border-left: 6px solid #2b9eb3;
}
.accordion-item.type-t3 {
  border-left: 6px solid #6689e8;
}
.accordion-item.type-t4 {
  border-left: 6px solid #53a66f;
}

/* Bandeau grande photo / Slider */
.photo-band {
  margin-block: var(--sp-24);
}

.photo-band img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

/* Image Slider */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.slider__track {
  display: flex;
  transition: transform 0.5s var(--easing);
}

.slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.slider__slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-1);
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: all var(--dur-2) var(--easing);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider__btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-hover);
}

.slider__btn--prev {
  left: var(--sp-4);
}

.slider__btn--next {
  right: var(--sp-4);
}

.slider__dots {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--sp-2);
  z-index: 10;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all var(--dur-2) var(--easing);
  padding: 0;
}

.slider__dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.slider__dot.active {
  background: white;
  transform: scale(1.2);
}

/* Slider responsive */
@media (max-width: 768px) {
  .slider__slide img {
    height: 350px;
  }

  .slider__btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .slider__btn--prev {
    left: var(--sp-2);
  }

  .slider__btn--next {
    right: var(--sp-2);
  }
}

@media (max-width: 480px) {
  .slider__slide img {
    height: 280px;
  }

  .slider__btn {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .slider__track {
    transition: none;
  }
}

/* CTA Section */
.cta {
  background: linear-gradient(
    135deg,
    var(--brand-2) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  padding-block: var(--sp-24);
  text-align: center;
}

.cta h2 {
  margin-bottom: var(--sp-8);
}

.form {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 800px;
  margin: 0 auto var(--sp-8);
}

.form label {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-weight: 600;
  text-align: left;
}

.form input,
.form textarea {
  border: 1px solid #dadde2;
  border-radius: var(--radius-sm);
  padding: var(--sp-4);
  font-size: 1rem;
  transition: all var(--dur-2) var(--easing);
  background: white;
  font-family: var(--font-body);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(59, 125, 79, 0.1);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

.form button {
  grid-column: 1 / -1;
  justify-self: center;
  padding: var(--sp-4) var(--sp-8);
}

/* Launch Offer Card */
.launch-offer-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  margin-top: var(--sp-8);
  overflow: hidden;
  transition: all var(--dur-2) var(--easing);
}

.launch-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.launch-offer-card__image {
  width: 100%;
  height: 200px;
  background:
    linear-gradient(
      135deg,
      rgba(47, 58, 69, 0.6) 0%,
      rgba(59, 125, 79, 0.4) 100%
    ),
    url("../../assets/images/1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.launch-offer-card__content {
  padding: var(--sp-8);
  text-align: center;
}

.launch-offer-card__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--brand-1);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}

.launch-offer-card__text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: var(--sp-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.launch-offer-card__cta {
  margin-top: var(--sp-2);
}

.launch-offer-card__footnote {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--sp-4);
}

/* Section footnote for logements */
.section__footnote {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: calc(-1 * var(--sp-6));
  margin-bottom: var(--sp-4);
}

.footer-address {
  margin-top: var(--sp-8);
  font-style: normal;
  color: var(--muted);
}

/* Localisation: image sans contour + lightbox */
.map img {
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 1);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 0;
  box-shadow: var(--shadow-2);
  cursor: zoom-out;
}

.lightbox-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  font-weight: bold;
  text-transform: capitalize;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--brand-1);
  color: white;
  padding-block: var(--sp-8);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.site-footer nav {
  display: flex;
  gap: var(--sp-6);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--dur-1) var(--easing);
}

.site-footer a:hover {
  color: white;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp var(--dur-2) var(--easing);
}

/* Breakpoint intermédiaire : on masque le texte "Le Clos Saint-Vincent"
   pour libérer de l'espace au menu, mais on garde le menu desktop. */
@media (max-width: 1280px) {
  .brand-text {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding-inline: var(--sp-3);
  }

  .hero {
    padding-block: var(--sp-8);
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  /* le panneau reste en premier plan, pas d'image secondaire */

  .section {
    padding-block: var(--sp-16);
  }

  .plan-location {
    padding-block: var(--sp-16);
  }

  .plan-location__content {
    margin-bottom: var(--sp-6);
  }

  .plan-location__media img {
    min-height: 40vh;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
  }

  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--sp-4);
    box-shadow: var(--shadow-2);
  }

  .main-nav ul.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
    font-size: 40px;
    margin: 0;
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    height: 60px;
    margin-right: 0.5rem;
  }

  .nav-alsei__logo {
    height: 44px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__badges {
    justify-content: center;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .card {
    padding: var(--sp-6);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--accent-1);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow-2);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--dur-2) var(--easing);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #5fa88a;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* États de focus pour l'accessibilité */
button:focus,
input:focus,
a:focus {
  outline: 2px solid var(--accent-1);
  outline-offset: 2px;
}

/* Animation d'apparition au scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--dur-3) var(--easing);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Page Merci */
.thanks {
  padding-block: var(--sp-24);
  background: linear-gradient(
    135deg,
    var(--brand-2) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  text-align: center;
}

.thanks__container {
  max-width: 720px;
}

.thanks h1 {
  margin-bottom: var(--sp-6);
}

.thanks__contact {
  margin-top: var(--sp-6);
  color: var(--muted);
}

.thanks__cta {
  margin-top: var(--sp-8);
}

/* Page Mentions légales */
.legal__container {
  max-width: 860px;
}

.legal h1 {
  margin-bottom: var(--sp-6);
}

.legal h2 {
  margin-top: var(--sp-12);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.legal p {
  color: var(--text);
  margin-bottom: var(--sp-4);
}

/* Styles pour le Formulaire Sidebar du Hero (style Calloway) */
.hero__sidebar {
  background: #ffffff;
  padding: var(--sp-6) var(--sp-8);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  height: 100%;
  width: 100%;
  justify-content: space-between;
}

.sidebar-header {
  text-align: center;
}

.sidebar-header h3 {
  font-size: 1.25rem;
  color: var(--accent-1);
  margin: 0;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sidebar-header h4 {
  font-size: 1.8rem;
  color: var(--brand-1);
  margin: var(--sp-1) 0 var(--sp-2);
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
}

.sidebar-header p {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.4;
}

.sidebar-form-element {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3) !important;
  width: 100%;
}

.sidebar-form-element label {
  font-size: 0.8rem;
  color: var(--brand-1);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  width: 100%;
}

.sidebar-form-element input,
.sidebar-form-element textarea {
  padding: var(--sp-3) var(--sp-4) !important;
  font-size: 0.9rem !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid #dadde2;
  background: #fbfbfb;
  width: 100%;
}

.sidebar-form-element input:focus,
.sidebar-form-element textarea:focus {
  border-color: var(--accent-1);
  background: white;
  box-shadow: 0 0 0 3px rgba(126, 189, 165, 0.15);
}

.sidebar-form-element button {
  width: 100%;
  margin-top: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  justify-content: center;
  font-size: 1rem;
}

/* Lien Téléphone Persistant Mobile dans le Header (Bouton rond avec icône SVG blanche) */
.mobile-phone-link {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--accent-1);
  color: white !important;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: var(--shadow-1);
  transition: all var(--dur-1) var(--easing);
  text-decoration: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.mobile-phone-link svg {
  stroke: white;
  fill: none;
  width: 22px;
  height: 22px;
  display: block;
}

.mobile-phone-link:hover {
  background: #5fa88a;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .mobile-phone-link {
    display: inline-flex;
    margin-right: var(--sp-3);
  }
  .mobile-phone-number {
    display: none;
  }
}

/* Cache le bouton "Je suis intéressé" sur desktop car le formulaire est déjà visible sur le côté */
@media (min-width: 992px) {
  .hide-desktop {
    display: none !important;
  }
}

/* Préchargement des fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500&family=Inter:wght@400;500;600&display=swap");
