/*
 * Clé des Champs — theme.css
 * CSS structurel et placeholders de design
 * À remplacer / compléter selon le Figma livré
 *
 * Organisation :
 *   1. Variables CSS (couleurs, typo, espacements)
 *   2. Global / Reset
 *   2a. Overrides Bootstrap (grid, layout)
 *   3. Header & Navigation
 *   4. Section Hero
 *   4a. Section Présentation
 *   4bis. Section Portes ouvertes (mini-section)
 *   5. Section Projet
 *   6. Section Galerie
 *   7. Section Appartements
 *   8. Section Contact
 *   9. Footer
 *  10. Page Détail Appartement
 *  11. Utilitaires
 */

/* ═══════════════════════════════════════════════════
   1. VARIABLES CSS
   ═══════════════════════════════════════════════════ */
:root {
  /* Couleurs — Design Figma CDC */
  --color-primary: #14453E; /* FONCE — vert principal */
  --color-primary-dk: #115441; /* COLOR 7 — vert hover/active */
  --color-secondary: #919B53; /* CLAIR — vert olive secondaire */
  --color-accent-warm: #CEBFAE; /* BEIGE — accent warm */

  --color-text: #222222; /* texte principal */
  --color-text-light: #666666; /* texte secondaire */
  --color-bg: #FFFFFF; /* BLANC */
  --color-bg-alt: #EDE7E2; /* GRIS — fond alternatif (beige clair) */
  --color-border: #E0E0D8; /* bordures */

  /* Statuts appartements */
  --color-disponible: #46CE86; /* vert clair disponible */
  --color-reserve: #FF9800; /* orange réservé */
  --color-vendu: #E5421E; /* rouge-orange vendu */

  /* Typographie */
  --font-heading: "ivyora-display", serif;
  --font-body: "ivyora-text", sans-serif;
  --font-size-base: 16px;

  /* Espacements */
  --section-padding: 80px;
  --section-padding-sm: 20px;

  /* Header */
  --header-height: 117px;
  --header-current-height: var(--header-height);
  --header-bg: var(--color-primary);
  --header-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ═══════════════════════════════════════════════════
   2. GLOBAL / RESET
   ═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* scroll-behavior géré par JS (scrollIntoView) pour éviter les conflits */
  scroll-padding-top: var(--header-current-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-bg-alt);
  padding-top: var(--header-current-height); /* compense la navbar fixed */
  transition: padding-top 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cache les flèches de navigation par défaut de Swiper */
.swiper-button-next, .swiper-button-prev {
  color: transparent;
}

/* ── Barre admin WordPress ──────────────────────────
   WP ajoute automatiquement margin-top:32px au body,
   mais la navbar fixed ne le perçoit pas — on la décale. */
.admin-bar .navbar.fixed-top {
  top: 32px;
}
.admin-bar body {
  padding-top: calc(var(--header-current-height) + 32px);
}
.admin-bar html {
  scroll-padding-top: calc(var(--header-current-height) + 32px);
}
@media screen and (max-width: 782px) {
  /* WP passe à 46px en dessous de 782px */
  .admin-bar .navbar.fixed-top {
    top: 46px;
  }
  .admin-bar body {
    padding-top: calc(var(--header-current-height) + 46px);
  }
  .admin-bar html {
    scroll-padding-top: calc(var(--header-current-height) + 46px);
  }
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--color-primary-dk);
}

img {
  max-width: 100%;
  height: auto;
}

/* Surcharge couleur Bootstrap */
.btn-primary {
  --bs-btn-bg: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary-dk);
  --bs-btn-hover-border-color: var(--color-primary-dk);
  --bs-btn-active-bg: var(--color-primary-dk);
}
.btn-outline-primary {
  --bs-btn-color: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary);
  --bs-btn-hover-border-color: var(--color-primary);
}


/* ═══════════════════════════════════════════════════
   2a. OVERRIDES BOOTSTRAP — Grid & Layout
   ═══════════════════════════════════════════════════ */
:root {
  --bs-gutter-x: 20px;
}

@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1140px;
  }
}

.rounded48 {
  border-radius: 48px;
}

/* ═══════════════════════════════════════════════════
   3. HEADER & NAVIGATION
   ═══════════════════════════════════════════════════ */
.site-header .navbar {
  background-color: var(--header-bg);
  box-shadow:
    var(--header-shadow),
    0 8px 20px -8px rgba(0, 0, 0, 0.5);
  height: var(--header-height);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

@media (max-width: 991.98px) {
  .site-header .navbar {
    box-shadow:
      var(--header-shadow),
      0 4px 12px -6px rgba(0, 0, 0, 0.5);
  }
}

/* Navbar — fond FONCE constant (pas de transparence) */

/* Logo */
.navbar-brand img {
  max-height: 80px;
  width: auto;
}
@media (max-width: 991.98px) {
  .navbar-brand {
    margin-left: auto;
    margin-right: auto;
    transform: translateX(30px);
  }
  .navbar-brand img {
    max-height: 60px;
    transition: max-height 0.3s ease;
  }
  .site-header .navbar.is-collapsed .navbar-brand img {
    max-height: 45px;
  }
}

.navbar-brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

/* Liens nav */
.navbar .nav-link {
  color: var(--color-bg-alt);
  font-size: 20px;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--color-accent-warm);
}

/* Bouton hamburger */
.navbar-toggler {
  border: none !important;
  filter: brightness(0) invert(1);
}
@media (max-width: 991.98px) {
  .navbar-toggler {
    margin-right: 0px;
  }
}
.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none;
}

/* Mobile nav */
@media (max-width: 991.98px) {
  .site-header .navbar {
    height: auto;
    min-height: var(--header-height);
    transition: min-height 0.3s ease;
  }
  .site-header .navbar.is-collapsed {
    min-height: 80px;
  }
  .navbar-collapse {
    background-color: var(--header-bg);
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  /* Liens mobiles en GRIS (même couleur que desktop) */
  .navbar-collapse.show .nav-link {
    color: var(--color-bg-alt) !important;
  }
  .navbar-collapse.show .nav-link:hover {
    color: var(--color-accent-warm) !important;
  }
}

/* ═══════════════════════════════════════════════════
   4. SECTION HERO
   ═══════════════════════════════════════════════════ */
.section-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  background-color: var(--color-bg-alt);
  background-size: cover;
  background-position: 0px 0px;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
@media (max-width: 1600px) {
  .section-hero {
    background-position: 0px 0px;
  }
}

.section-hero .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  max-width: 700px;
  height: 100%;
  padding-top: 70px;
}
@media (max-width: 991.98px) {
  #accueil {
    background-size: inherit;
    background-position: -860px -200px;
  }
  .section-hero .container {
    max-width: 330px;
    padding-top: 30px;
  }
}

@media (max-width: 991.98px) {
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 80%,
      var(--color-primary) 100%
    );
  z-index: 0;
  opacity: 0.8;
}
}

.hero-deco-bottom-right {
  position: absolute;
  z-index: 10;
  bottom: 0;
  right: 0;
  width: 637px;
  height: 350px;
  background-image: url('../images/bg-hero-right.png');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: bottom left;
}

@media (max-width: 991.98px) {
  .hero-deco-bottom-right {
    width: 212px;
    height: 82px;
    background-image: url('../images/bg-hero-deco-mobile.png');
  }
}

/* Élément décoratif PNG en bas à droite — classe réutilisable */
.section-hero,
.section-map,
.has-bg-hero-decoration {
  position: relative;
}

.section-map::after,
.has-bg-hero-decoration::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: url('../images/bg-hero-right.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  z-index: 1;
  pointer-events: none;
}

.has-bg-decoration-left {
  background-image: url('../images/bg-hero-left.png');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: bottom left;
}
.has-bg-decoration-right {
  background-image: url('../images/bg-hero-right.png');
  background-repeat: no-repeat;
  background-position: bottom right;
}

@media (max-width: 991.98px) {
  .section-map {
    padding-bottom: 60px !important;
  }
  .section-map::after {
    width: 200px;
    height: 200px;
  }
  .has-bg-decoration-right-mobile {
    background-image: url('../images/bg-hero-right.png');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 55%;
  }
}


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

.hero-title {
  font-size: 64px;
  font-weight: 500;
  font-family: "ivyora-display", serif;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  text-align: center;
  width: 100%;
}
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 36px;
  }
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════════════
   4a. SECTION PRÉSENTATION — INTRO (fond GRIS)
   ═══════════════════════════════════════════════════ */
.section-presentation-intro {
  background-color: var(--color-bg-alt);
}

.presentation-intro-titre {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 50px);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.presentation-intro-titre br {
  display: block;
  content: "";
  margin: 0.5rem 0;
}

/* ═══════════════════════════════════════════════════
   4a2. SECTION PRÉSENTATION — DÉTAILS (fond FONCE)
   ═══════════════════════════════════════════════════ */
.section-presentation-details {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Infos (4 colonnes) */
.presentation-stats {
  position: relative;
}

.info-box {
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.info-text {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 500;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.4;
}

/* Bordures verticales entre les colonnes de stats */
.presentation-stats .col-lg-3:not(:last-child) .info-box {
  position: relative;
}

.presentation-stats .col-lg-3:not(:last-child) .info-box::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 120px;
  width: 2px;
  background-color: var(--color-primary);
}

@media (max-width: 991.98px) {
  .section-presentation-intro {
    padding-bottom: 0px !important;
  }
  .presentation-stats::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--color-primary); 
    transform: translateX(-50%);
  }
  .info-box {
    padding: inherit;
    min-height: inherit;
    height: 100%;
  }
  .presentation-stats .col-lg-3:not(:last-child) .info-box::after {
    display: none;
  }
  #col_info_box_0 .info-box,
  #col_info_box_1 .info-box {
    position: relative;
    border-bottom: 1px solid;
    padding-bottom: 30px;
  }
}

/* Points forts */
.point-fort-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.point-fort-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.point-fort-titre {
  margin-top: auto;
  font-size: 1rem;
}

/* Bordures verticales entre les points forts */
.presentation-points-forts .col-lg-3:not(:first-child) .point-fort-card {
  position: relative;
}

.presentation-points-forts .col-lg-3:not(:first-child) .point-fort-card::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  height: 100px;
  width: 1px;
  background-color: var(--color-bg);
}

@media (max-width: 991.98px) {
  .section-presentation-details {
    padding-top: 1px !important;
    padding-bottom: 80px !important;
  }
  .presentation-points-forts {
    position: relative;
    padding: 0px !important;
  }
  .presentation-points-forts::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--color-bg) ; 
    transform: translateX(-50%);
  }
  .point-fort {
    padding: inherit;
    min-height: inherit;
    height: 100%;
  }
  .point-fort-card {
    height: 150px;
  }
  .point-fort-icon {
    width: 40px;
    min-height: inherit;
  }
  #col_point_fort_1 .point-fort-icon {
    width: 60px;
  }
  .point-fort-titre {
    font-size: 18px !important;
    line-height: 22px;
  }
  .presentation-points-forts .col-lg-3 .point-fort-card::before {
    display: none;
  }
  #col_point_fort_0 .point-fort-card,
  #col_point_fort_1 .point-fort-card {
    position: relative;
    border-bottom: 1px solid;
    padding-bottom: 30px;
  }
}

/* Onglets */
.presentation-onglets {
  margin-top: 3rem;
  position: relative;
}

/* ── Pills de navigation ────────────────────────── */
.presentation-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: flex-start;
}

.presentation-tab-btn {
  width: 103px;
  height: 39px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 1);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 25px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.presentation-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.presentation-tab-btn.active {
  background: var(--color-bg-alt);
  border-color: var(--color-bg-alt);
  color: var(--color-primary);
}

@media (max-width: 991.98px) {
  .presentation-tabs-nav {
    max-width: 300px;
  }
}

/* ── Swiper ────────────────────────────────────── */
/* ── Swiper ────────────────────────────────────── */
.presentation-swiper {
  overflow: hidden;
  padding-bottom: 1rem;
}

.presentation-swiper .swiper-slide {
  height: auto;
}

/* Annule le négatif margin du .row de Bootstrap pour éviter le débordement */
.presentation-swiper .swiper-slide .row {
  margin-left: 0;
  margin-right: 0;
}

.presentation-prev,
.presentation-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  border: none;
  background-color: transparent;
  z-index: 10;
  padding: 0;
}

/* Cacher les icônes par défaut de Swiper */
.presentation-prev:after,
.presentation-next:after {
  display: none;
}

.presentation-prev {
  left: -45px !important;
  background-image: url('/wp-content/themes/cdc/assets/images/arrow-prev-gris.png');
}

.presentation-next {
  right: -45px !important;
  background-image: url('/wp-content/themes/cdc/assets/images/arrow-next-gris.png');
}

.presentation-prev:hover,
.presentation-next:hover {
  opacity: 0.8;
}

/* ── Titre et texte ────────────────────────────── */
.presentation-onglet-titre {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.section-presentation-details .presentation-onglet-titre {
  color: #ffffff;
}

.presentation-onglet-text {
  font-size: 20px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

.section-presentation-details .presentation-onglet-text {
  color: rgba(255, 255, 255, 0.85);
}

.presentation-texte {
  padding-bottom: 1rem;
  height: 480px;
  overflow: hidden;
}
/* 
.presentation-texte .scroll-inner {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 1rem;
  scrollbar-gutter: stable;
  scrollbar-color: var(--color-accent-warm) transparent;
  scrollbar-width: thin;
}
.presentation-texte .scroll-inner::-webkit-scrollbar {
  width: 8px;
}

.presentation-texte .scroll-inner::-webkit-scrollbar-track {
  background: transparent;
}

.presentation-texte .scroll-inner::-webkit-scrollbar-thumb {
  background: var(--color-accent-warm);
  border-radius: 4px;
}

.presentation-texte .scroll-inner::-webkit-scrollbar-thumb:hover {
  background: #d4c8be;
}
*/

.presentation-image img {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
  object-fit: cover;
}

/* Points forts en bas (Parking, Autoroute, Bus, Place de jeux) */
.presentation-points-forts {
  border-top-color: rgba(255, 255, 255, 0.2) !important;
}

.point-fort-card {
  padding: 1.5rem 1rem;
}

.point-fort-icon {
  display: flex;
  justify-content: center;
}

.point-fort-icon img {
  width: inherit;
  filter: brightness(0) invert(1);
}

.point-fort-titre {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}

@media (max-width: 991.98px) {
  
  .point-fort-card {
    padding: 10px 20px !important;
    height: 125px;
  }
  .presentation-points-forts::before {
    background: rgb(255 255 255 / 40%);
  }
  #col_point_fort_0 .point-fort-card, 
  #col_point_fort_1 .point-fort-card {
    position: relative;
    border-bottom: 1px solid rgb(255 255 255 / 40%);
    padding-bottom: 30px;
  }
  #col_point_fort_1 .point-fort-icon {
    margin-top: 14px;
  }

  /* Pills */
  .presentation-tabs-nav {
    justify-content: flex-start;
  }

  /* Swiper : image sur mobile empilée au-dessus du texte */
  .presentation-swiper .swiper-slide .row {
    flex-direction: column;
  }

  .presentation-texte {
    padding: 0;
    margin-bottom: 0;
    width: 100%;
    height: 250px;
  }
  
  .presentation-onglet-titre {
    font-size: 30px;
  }
  .presentation-onglet-text {
    font-size: 18px;
    line-height: 22px;
  }

  .presentation-image {
    padding: 0;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  /* Flèches plus proches sur mobile */
  .presentation-prev {
    width: 14px;
    height: 14px;
    left: -19px !important;
  }

  .presentation-next {
    width: 14px;
    height: 14px;
    right: -19px !important;
  }
}

/* Sur écrans < 991.98px : texte avant image */
@media (max-width: 991.98px) {
  .presentation-swiper .swiper-slide .row {
    flex-direction: column-reverse;
  }

  .presentation-image {
    margin-bottom: 0;
    margin-top: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════
   4a3. SECTION PRÉSENTATION — DÉTAIL (générique, fond FONCE)
   ═══════════════════════════════════════════════════ */
.section-presentation-detail,
.presentation-detail {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: var(--section-padding) 0;
}

.presentation-detail-titre {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.presentation-detail-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .section-presentation-detail {
    padding: var(--section-padding-sm) 0;
  }
}

/* ═══════════════════════════════════════════════════
   4bis. SECTION PORTES OUVERTES (mini-section)
   ═══════════════════════════════════════════════════ */
.section-portes-ouvertes {
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
}

.section-portes-ouvertes .container {
  width: 100%;
}

.section-portes-ouvertes .row {
  text-align: center;
}

.section-portes-ouvertes [class^="col-"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portes-ouvertes-title {
  font-family: "ivyora-text", serif;
  font-size: 48px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}
@media (max-width: 991.98px) {
  .portes-ouvertes-title {
    font-size: 36px;
  }
}

.portes-ouvertes-dates,
.portes-ouvertes-adresse {
  font-family: "ivyora-text", serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.portes-ouvertes-dates p {
  margin: 0;
}

.portes-ouvertes-adresse {
  line-height: 1.4;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #ffffff !important;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.portes-ouvertes-adresse:hover {
  color: #ffffff !important;
  opacity: 0.8;
  text-decoration: none;
}

.portes-ouvertes-adresse::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../images/marker.png');
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════
   4ter. SECTION MAP (fond FONCE)
   ═══════════════════════════════════════════════════ */
.section-map {
  background-color: var(--color-primary);
  color: #ffffff;
}

.map-img {
  border-radius: 4px;
  display: block;
}

/* Overlay SVG sur la carte */
.map-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.map-overlay-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
}

.map-zone {
  cursor: pointer;
  transition: filter 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
  /* Pictos en gris neutre par défaut */
  filter: brightness(0) invert(1) grayscale(100%) opacity(70%);
}

.map-zone:hover,
.map-zone.active {
  opacity: 1;
  /* Pictos colorés au survol */
  filter: brightness(0) invert(1) saturate(1.5) hue-rotate(45deg) brightness(1.2) drop-shadow(0 0 6px rgba(206, 191, 174, 0.8));
}

/* Tableau map — 4 colonnes */
.map-table {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-left: 30px;
}

.map-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.8;
}

.map-row:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.map-row.active {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--color-secondary);
}

.map-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-col img {
  width: auto;
  height: auto;
  filter: brightness(0) invert(1);
}


.map-col-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.map-col-icon img {
  max-width: 32px;
  max-height: 32px;
}

.map-col-label {
  flex: 1;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  justify-content: flex-start;
  max-width: 209px;
}

.map-col-time {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  min-width: 60px;
  text-align: left;
}

.map-col-transport {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
}

@media (max-width: 991.98px) {
  .map-list {
    max-height: 100%;
    overflow-y: visible;
  }
  .section-map .container {
    flex-direction: column;
  }
}

@media (max-width: 991.98px) {
  .map-table {
    margin-left: 0;
  }
  .map-col-label,
  .map-col-time {
    font-size: 16px;
  }
}

/* ═══════════════════════════════════════════════════
   5. SECTION PROJET
   ═══════════════════════════════════════════════════ */
.section-padding {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  padding-left: 10px;
  padding-right: 10px;
}

@media (max-width: 767.98px) {
  .section-padding {
    padding-top: var(--section-padding-sm);
    padding-bottom: var(--section-padding-sm);
  }
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 50px);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

@media (max-width: 991.98px) {
  .section-title {
    font-size: 30px;
  }
}
@media (max-width: 400px) {
  .section-title {
    font-size: 28px;
  }
}


.section-intro {
  font-size: 1.05rem;
  color: var(--color-text-light);
}

/* Points forts */
.points-forts-title,
.telechargements-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
}

.point-fort-item {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.point-fort-icon {
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Téléchargements */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 2px;
  margin-top: 0.4rem;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.btn-download:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════
   6. SECTION GALERIE
   ═══════════════════════════════════════════════════ */
.section-galerie {
  background-color: var(--color-bg-alt);
}

/* Slider principal Swiper */
.galerie-main-slider {
  height: 500px;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}
@media (max-width: 991.98px) {
  .galerie-main-slider {
    height: 211px;
  }
}

.galerie-main-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
}

.galerie-main-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Boutons navigation */
.galerie-button-prev,
.galerie-button-next {
  position: absolute;
  width: 16px;
  height: 26px;
  color: transparent;
}

.galerie-button-prev {
  left: -30px;
  top: 250px;
  margin-top: -13px;
  background-image: url('/wp-content/themes/cdc/assets/images/arrow-prev-fonce.png');
}

.galerie-button-next {
  right: -30px;
  top: 250px;
  margin-top: -13px;
  background-image: url('/wp-content/themes/cdc/assets/images/arrow-next-fonce.png');
}


.galerie-button-prev::after,
.galerie-button-next::after {
  font-size: 28px;
  font-weight: 700;
}

/* Thumbnails Swiper */
.galerie-thumbs-slider {
  height: 155px;
  margin-top: 1rem;
}

.galerie-thumbs-slider .swiper-slide {
  width: 100px;
  height: 155px;
  opacity: 0.4;
  cursor: pointer;
  border-radius: 30px;
  overflow: hidden;
}


@media (max-width: 991.98px) {
  .galerie-button-prev {
    width: 14px;
    height: 14px;
    top: 115px;
    left: -5px;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .galerie-button-next {
    width: 14px;
    height: 14px;
    top: 115px;
    right: -7px;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .galerie-thumbs-slider {
    height: 85px;
    margin-top: 1rem;
  }
  .galerie-thumbs-slider .swiper-slide {
    height: 66px;
    border-radius: 10px;
  }
}

.galerie-thumbs-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.galerie-thumbs-slider .swiper-slide-thumb-active {
  opacity: 1;
}

.galerie-video {
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════════════
   7. SECTION APPARTEMENTS
   ═══════════════════════════════════════════════════ */
.appartements-tabs .nav-link {
  color: var(--color-text-light);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.appartements-tabs .nav-link.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: transparent;
}

/* Placeholder SVG */
.svg-placeholder {
  min-height: 300px;
  background-color: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.95rem;
  padding: 2rem;
}

/* Tableau listing */
.appartements-table,
.appartements-table * {
  --bs-body-font-family: "ivyora-text", sans-serif !important;
}

.appartements-table {
  background-color: transparent;
  border-collapse: collapse;
  overflow: hidden;
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-hover-bg: transparent;
  font-family: "ivyora-text", sans-serif !important;
}
.appartements-table thead {
  background-color: transparent;
  font-family: "ivyora-text", sans-serif !important;
}
.appartements-table thead th {
  font-weight: 700;
  white-space: nowrap;
  border-bottom: none;
  border-top: none;
  color: var(--color-text-dark);
  text-transform: none;
  font-size: 18px;
  letter-spacing: 0px;
  padding: 1.25rem 0.5rem;
  text-align: center;
  font-family: "ivyora-text", sans-serif !important;
}
.appartements-table tbody {
  font-family: "ivyora-text", sans-serif !important;
}
.appartements-table tbody td {
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid var(--color-accent-warm);
  vertical-align: middle;
  font-size: 18px;
  font-weight: 500;
  font-family: "ivyora-text", sans-serif !important;
  text-align: center;
  white-space: nowrap;
}

.appartements-table .th_batiment, 
.appartements-table .td_batiment {
  display: none;
}

/* Cassure de la bordure pour la 1ère colonne fixe */
@media (max-width: 991.98px) {
  #appartements-table tbody tr td:first-child {
    border-bottom: none;
    background-image: linear-gradient(to right, var(--color-accent-warm) calc(100% - 1.5rem), transparent calc(100% - 1.5rem));
    background-position: bottom;
    background-size: 100% 1px;
    background-repeat: no-repeat;
  }
}
.appartements-table tbody tr {
  cursor: pointer;
  transition: background-color 0.15s ease;
  background-color: transparent;
}
.appartements-table tbody tr:hover {
  background-color: transparent;
}
.appartements-table tbody tr:nth-child(even) {
  background-color: transparent;
}
.appartements-table tbody tr:nth-child(even):hover {
  background-color: transparent;
}
/* TRI DÉSACTIVÉ provisoirement
.appartements-table th.sortable {
  cursor: pointer;
}
.sort-icon {
  opacity: 0.5;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}
*/

/* Badges statut */
.badge.statut {
  font-size: 18px;
  font-weight: 500;
  border-radius: 0;
  color: var(--color-text-dark);
  letter-spacing: 0.02em;
  padding: 0;
  margin-bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background-color: transparent !important;
  font-family: var(--font-body);
}
.badge.statut::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
}
.statut-disponible {
  /* color: var(--color-disponible) !important; */
}
.statut-disponible::before {
  background-color: var(--color-disponible) !important;
}
.statut-reserve {
  color: var(--color-reserve) !important;
}
.statut-reserve::before {
  background-color: var(--color-reserve) !important;
}
.statut-vendu {
  color: var(--color-vendu) !important;
}
.statut-vendu::before {
  background-color: var(--color-vendu) !important;
}

/* Lien téléchargement plan */
.btn-download-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.btn-download-plan:hover {
  color: var(--color-primary-dk);
}


@media (max-width: 991.98px) {

  .table-responsive {
    overflow: visible;
  }

  #appartements-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Sticky 1ère colonne */
  #appartements-table thead tr th:first-child,
  #appartements-table tbody tr td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: var(--color-bg-alt);
    padding-right: 1.5rem;
  }

  /* Ombre de droite */
  #appartements-table thead tr th:first-child::after,
  #appartements-table tbody tr td:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 8px;
    height: 100%;
    /* background: linear-gradient(to right, rgba(0,0,0,0.08), transparent); */
  }
}

/* ═══════════════════════════════════════════════════
   8. SECTION CONTACT
   ═══════════════════════════════════════════════════ */
.section-contact {
  background-color: var(--color-bg);
}

/* Styles Contact Form 7 */
.wpcf7-form .form-label {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.wpcf7-form .form-control {
  background-color: var(--color-bg-alt);
  border-color: var(--color-border);
}
.wpcf7-form .form-control:focus {
  background-color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(44, 110, 73, 0.15);
}

.wpcf7-list-item-label,
.wpcf7-list-item-label::before, 
.wpcf7-list-item-label::after {
  display: none;
}

.wpcf7-not-valid-tip {
  font-size: 0.7em;
  background: #eee;
  border-radius: 10px;
  padding: 2px 18px;
  margin-top: 6px;
  font-family: arial;
  font-weight: bold;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  background: #d1e7dd;
  border-width: 1px;
  border-radius: 10px;
  padding: 10px 20px;
}

/* Checkbox avec label inline */
.form-check {
  margin-bottom: 0.75rem;
  padding-left: inherit;
}
.wpcf7-list-item {
  margin-left: inherit;
}

/* CF7 wraps checkbox dans un span avec form-check-input class */
.wpcf7-checkbox.form-check-input {
  all: unset;
  display: inline;
}
.wpcf7-checkbox input[type="checkbox"] {
  cursor: pointer;
  margin-right: 0.5rem;
  margin-top: 0.2rem;
}

.form-check-label {
  margin-bottom: 0;
  display: inline;
  cursor: pointer;
}

/* Submit button */
.wpcf7-form .wpcf7-submit {
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 0.65rem 2rem;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.2s;
  font-weight: 500;
}
.wpcf7-form .wpcf7-submit:hover {
  background-color: var(--color-primary-dk);
}

.wpcf7-not-valid-tip {
  font-size: 0.8em;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  color: #664d03;
  background-color: #fff3cd;
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ffecb5;
}

/* ═══════════════════════════════════════════════════
   9. FOOTER
   ═══════════════════════════════════════════════════ */
.site-footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0;
  font-size: 0.95rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

/* Footer Columns */
.footer-col {
  padding: 0;
}

/* Left Column: Logo left, address centered */
.footer-left {
  text-align: left;
}

/* Middle Column: Nav centered, items left */
.footer-nav {
  text-align: left;
}

/* Right Column: All centered */
.footer-right {
  text-align: center;
}

/* Left Column: Logo & Address */
.footer-left .footer-logo-section {
  margin-bottom: 1.5rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
  max-height: 80px;
  width: auto;
  display: block;
}
@media (max-width: 991.98px) {
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-nav .footer-menu li {
    margin-bottom: -12px;
  }
}

  
.footer-site-name {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-left .footer-address {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 20px;
  text-align: center;
}

.footer-left .footer-address p {
  margin: 0;
}

/* Middle Column: Navigation */
.footer-nav .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
@media (max-width: 991.98px) {
  .footer-nav .footer-menu {
    margin-left: auto;
    margin-right: auto;
    max-width: 113px;
  }
}
.footer-nav .footer-menu li {
  margin-bottom: 0;
}

.footer-nav .footer-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  transition: color 0.3s ease;
}

.footer-nav .footer-menu a:hover {
  color: #ffffff;
}

/* Right Column: Company Info */
.footer-company-header {
  margin-bottom: 2rem;
}

.footer-company-logo {
  max-height: 60px;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-company-name {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer-company-addresses {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.footer-company-address {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 20px;
}

/* Footer Text */
.footer-text p {
  margin: 0;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   10. PAGE DÉTAIL APPARTEMENT
   ═══════════════════════════════════════════════════ */
.breadcrumb-bar {
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}
.breadcrumb-bar .breadcrumb {
  font-size: 0.85rem;
  background: transparent;
  padding: 0;
  margin: 0;
}
.breadcrumb-bar .breadcrumb-item a {
  color: var(--color-primary);
}

.apt-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.apt-specs-table {
  font-size: 0.95rem;
}
.apt-specs-table th {
  color: var(--color-text-light);
  font-weight: 600;
  width: 40%;
}

.apt-description {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.apt-plan figcaption,
.apt-plan-caption {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 0.5rem;
}

.apt-plan-placeholder {
  min-height: 250px;
  background-color: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}

/* Galerie sur page détail */
.apt-galerie {
  background-color: var(--color-bg-alt);
}

/* ═══════════════════════════════════════════════════
   9b. SECTION COURTIERS
   ═══════════════════════════════════════════════════ */
.section-courtiers {
  background-color: var(--color-bg-alt);
}

@media (max-width: 991.98px) {
  .section-courtiers {
    padding-left: 0px;
    padding-right: 0px;
  }
  .courtier-ville {
    margin-bottom: 0;
  }
}

.courtiers-slider .swiper-slide {
  height: auto;
}

.courtier-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  justify-content: flex-end;
  min-height: 100%;
}

.courtier-ville {
  font-size: 38px;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.2;
}

.courtier-photo {
  margin-bottom: 1.5rem;
  width: 100%;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.courtier-photo img,
.courtier-photo-placeholder {
  width: 174px;
  height: 210px;
  object-fit: cover;
  display: block;
}

.courtier-photo-placeholder {
  background-color: var(--color-border);
}

.courtier-nom {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  line-height: 1.3;
}

.courtier-tel,
.courtier-email {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}
.courtier-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0;
}

.courtier-email-icon {
  width: 36px;
  height: 36px;
  transition: filter 0.3s ease;
}

.courtier-tel:hover,
.courtier-email:hover {
  color: var(--color-primary);
}

.courtier-email:hover .courtier-email-icon {
  filter: brightness(0.7) saturate(1.2);
}

/* Boutons navigation courtiers */
.courtiers-button-prev,
.courtiers-button-next {
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  border: none;
  background-color: transparent;
  padding: 0;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}
@media (max-width: 991.98px) {
  .courtier-ville {
    font-size: 30px;
  }
  .courtier-nom, .courtier-tel, .courtier-email {
    font-size: 14px;
    line-height: 1;
  }
  .courtiers-button-prev,
  .courtiers-button-next {
    width: 16px;
    height: 16px;
  }
}

.courtiers-button-prev::after,
.courtiers-button-next::after {
  display: none;
}

.courtiers-button-prev {
  background-image: url('/wp-content/themes/cdc/assets/images/arrow-prev-fonce.png');
}

.courtiers-button-next {
  background-image: url('/wp-content/themes/cdc/assets/images/arrow-next-fonce.png');
}

.courtiers-button-prev:hover,
.courtiers-button-next:hover {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════
   10. SECTION APPARTEMENTS — FILTRES
   ═══════════════════════════════════════════════════ */

.filtre {
  background-color: var(--color-primary-dk);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 6px 6px 6px 16px;
  padding-right: 2.75rem;
  font-weight: 700;
  font-size: 20px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.filtre:hover:not(:disabled) {
  background-color: #1f4a47;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.filtre:focus {
  background-color: var(--color-primary-dk);
  color: #fff;
  border-color: transparent;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Option text dans le dropdown */
.filtre option {
  background-color: #fff;
  color: var(--color-primary-dk);
  padding: 0.5rem;
}

@media (max-width: 991.98px) {
  .filtre {
    padding: 6px 38px 6px 20px;
  }
}

/* ═══════════════════════════════════════════════════
   11. UTILITAIRES
   ═══════════════════════════════════════════════════ */

/* Accessibilité — skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: #fff;
}

/* Anim d'entrée légère sur les sections */
.section-fade {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.section-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   SECTION CONTACT
   ═══════════════════════════════════════════════ */
.section-contact {
  background-color: var(--color-bg-alt);
}

.section-contact .col-lg-12 {
  max-width: 100%;
  width: 100%;
  padding: 0;
}

.section-contact .wpcf7-form {
  width: 100%;
}

.section-contact .wpcf7-form > .row {
  max-width: 100% !important;
  width: 100%;
  padding: 2.5rem !important;
  background-color: var(--color-accent-warm);
  border-radius: 30px;
}

.section-contact .wpcf7-form [class*="col-"] {
  margin-bottom: 1.5rem;
}

.section-contact .wpcf7-form-control-wrap {
  width: 100%;
}

.section-contact .wpcf7-form-control-wrap[data-name="privacy"] {
  width: inherit;
}

.section-contact .wpcf7-form input[type="text"],
.section-contact .wpcf7-form input[type="email"],
.section-contact .wpcf7-form input[type="tel"],
.section-contact .wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 25px;
  background-color: #ffffff;
  color: #333;
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
  box-sizing: border-box;
}

.section-contact .wpcf7-form input[type="text"]:focus,
.section-contact .wpcf7-form input[type="email"]:focus,
.section-contact .wpcf7-form input[type="tel"]:focus,
.section-contact .wpcf7-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 77, 66, 0.1);
}

.section-contact .wpcf7-form textarea {
  resize: vertical;
  min-height: 180px;
  font-family: inherit;
}

.section-contact .wpcf7-form label {
  display: block;
  color: #1a4d42;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.section-contact .wpcf7-form input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: #1a4d42;
}

.section-contact .wpcf7-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.section-contact .wpcf7-form .form-check-input {
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.section-contact .wpcf7-form .form-check-label {
  color: #1a4d42;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.5;
}

.section-contact .wpcf7-submit {
  background-color: #1a4d42;
  color: #ffffff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  margin-top: 1rem;
}

.section-contact .wpcf7-submit::after {
  content: '→';
  display: inline-block;
}

.section-contact .wpcf7-submit:hover {
  background-color: #0d2f2a;
}

@media (max-width: 991.98px) {
  .section-contact .wpcf7-form [class*="col-"] {
    margin-bottom: 20px;
  }
  .section-contact .wpcf7-form > .row {
    padding: 20px !important;
    margin: 0px;
  }
  .section-contact .wpcf7-form label {
    font-size: 18px !important;
    font-weight: 700 !important;
  }
  .section-contact .wpcf7-form .form-check-label {
    font-size: 15px !important;
    font-weight: 400 !important;
  }
}


/* ═══════════════════════════════════════════════════
   DÉSACTIVER AOS (animations) — via paramètre GET
   ═══════════════════════════════════════════════════ */
body.aos-disabled [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  animation-delay: 0 !important;
}

