/* ==========================================================================
   BM Services — Feuille de style globale
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* --- Variables CSS --- */
:root {
  --color-dark:       #1E293B;   /* header, footer, sections sombres */
  --color-blue:       #3B82F6;   /* bleu légèrement plus clair pour dark mode */
  --color-blue-dark:  #2563EB;
  --color-blue-light: rgba(59,130,246,.18); /* accents bleus sur fond sombre */
  --color-bg:         #F5F5F5;   /* fond général de la page */
  --color-white:      #FFFFFF;   /* cartes, sections alt */
  --color-grey-mid:   #6B7280;   /* textes secondaires */
  --color-grey-light: #E5E7EB;   /* bordures légères */
  --color-border:     rgba(0,0,0,.10);

  --font-heading: 'Raleway', sans-serif;
  --font-body:    'Source Serif 4', serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.15);

  --transition: .25s ease;
  --max-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #1F2937;
  background: var(--color-bg);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p  { color: #374151; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: .75rem;
}
.section-title {
  margin-bottom: 1rem;
}
.section-intro {
  max-width: 640px;
  color: var(--color-grey-mid);
  margin-bottom: 2.5rem;
}
.text-center { text-align: center; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: .8rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-blue);
  color: #fff;
  border-color: var(--color-blue);
}
.btn-primary:hover {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}
.btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--color-blue);
}
.btn-white {
  background: #fff;
  color: var(--color-blue);
  border-color: #fff;
}
.btn-white:hover {
  background: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.85);
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
/* Fallback texte (masqué quand l'image charge) */
.nav-logo span { color: var(--color-blue); }

/* Logo image — header */
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Logo image — footer (légèrement plus grand) */
.logo-img--footer {
  height: 72px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: .5rem; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: #1E293B;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 1.25rem 1.5rem;
  gap: .25rem;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn { margin-top: .75rem; justify-content: center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-dark);
  overflow: hidden;
  padding: 5rem 0 4rem;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,16,36,.75) 0%, rgba(8,16,36,.72) 38%, rgba(8,16,36,.20) 56%, rgba(8,16,36,.03) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 18% 38%;
  width: 100%;
  height: 100%;
  opacity: .35;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 62%;
  margin-left: 0;
  text-align: left;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  color: #93C5FD;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2.25rem;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.75);
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
}
.hero-trust-item svg { flex-shrink: 0; }

/* ==========================================================================
   SECTIONS COMMUNES
   ========================================================================== */
.section { padding: 5rem 0; background: #FFFFFF; }
.section-alt { background: #F5F5F5; }

/* ==========================================================================
   PRÉSENTATION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; height: 380px; object-fit: cover; }

/* --- Carrousel section présentation --- */
.about-carousel { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-carousel-track { position: relative; width: 100%; height: 380px; }
.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s ease;
}
.about-slide.active { opacity: 1; }
.about-carousel-dots {
  position: absolute;
  bottom: .85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .45rem;
  z-index: 10;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.carousel-dot.active {
  background: #fff;
  transform: scale(1.3);
}
.about-text .section-label { display: block; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
}
.about-feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--color-blue-light);
  color: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ==========================================================================
   BUNGALOWS CARDS
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  position: relative;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-img img { transform: scale(1.04); }
.card-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--color-blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 4px;
}
.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  color: #1F2937;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: .85rem;
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-grey-mid);
}
.card-desc {
  font-size: .9rem;
  color: var(--color-grey-mid);
  flex: 1;
  margin-bottom: 1.25rem;
}
.card .btn { align-self: flex-start; }

/* ==========================================================================
   OPTIONS / PERSONNALISATIONS
   ========================================================================== */
.options-section { background: var(--color-dark); }
.options-section .section-label { color: #93C5FD; }
.options-section h2 { color: #F0F0F0; }
.options-section .section-intro { color: rgba(255,255,255,.65); }
.options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.option-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.option-card:hover {
  background: rgba(37,99,235,.2);
  border-color: rgba(37,99,235,.5);
  transform: translateY(-4px);
}
.option-icon {
  width: 52px;
  height: 52px;
  background: rgba(37,99,235,.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: #93C5FD;
  font-size: 1.5rem;
}
.option-card h3 {
  color: #F0F0F0;
  font-size: 1.05rem;
  margin-bottom: .5rem;
}
.option-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: .75rem; }
.cta-section p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   PAGE HERO (sous-pages)
   ========================================================================== */
.page-hero {
  background: var(--color-dark);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(37,99,235,.45) 0%, transparent 80%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-family: var(--font-heading);
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .85rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.page-hero .breadcrumb a:hover { color: #93C5FD; }
.page-hero .breadcrumb span { color: rgba(255,255,255,.3); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.72); margin-top: .75rem; font-size: 1.05rem; }

/* ==========================================================================
   CATALOGUE PAGE
   ========================================================================== */
.catalogue-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.catalogue-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.catalogue-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.catalogue-card-img img { width: 100%; height: 200px; object-fit: cover; }
.catalogue-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  color: #1F2937;
}
.catalogue-card-body h3 { margin-bottom: .5rem; }
.catalogue-specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: .75rem 0 1rem;
}
.spec-badge {
  background: #EFF6FF;
  color: #1D4ED8;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  padding: .28rem .7rem;
  border-radius: 50px;
  border: 1px solid #BFDBFE;
}
.catalogue-usage {
  font-size: .88rem;
  color: var(--color-grey-mid);
  flex: 1;
  margin-bottom: 1.5rem;
}
.catalogue-card .btn { align-self: flex-start; }

/* ==========================================================================
   PAGE DÉTAIL BUNGALOW
   ========================================================================== */
.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.detail-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
}
.detail-main-img img { width: 100%; height: 380px; object-fit: cover; }
.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
}
.detail-thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: .75;
  transition: opacity var(--transition), transform var(--transition);
}
.detail-thumbs img:hover, .detail-thumbs img.active { opacity: 1; transform: scale(1.03); }
.detail-info .section-label { display: block; }
.detail-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.detail-info p { margin-bottom: 1rem; }
.detail-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin: 1.5rem 0;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid #E5E7EB;
}
.detail-spec-item {}
.detail-spec-label {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--color-grey-mid);
  margin-bottom: .2rem;
}
.detail-spec-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  color: #111827;
}
.detail-options h3 { margin-bottom: 1rem; font-size: 1rem; }
.detail-options-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.detail-option-badge {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: #DBEAFE;
  color: #1D4ED8;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 50px;
}
.detail-cta {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.detail-cta-phone {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #1F2937;
}
.detail-cta-phone a { color: var(--color-blue); }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info p { color: var(--color-grey-mid); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-blue-light);
  color: var(--color-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-label {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--color-grey-mid);
  margin-bottom: .15rem;
}
.contact-detail-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  color: #E8E8E8;
}
.contact-detail-value a { color: var(--color-blue); transition: color var(--transition); }
.contact-detail-value a:hover { color: var(--color-blue-dark); }
.contact-map {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.contact-map iframe { width: 100%; height: 220px; border: none; display: block; }
/* Formulaire */
.contact-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}
.contact-form-card h3 {
  margin-bottom: 1.75rem;
  font-size: 1.3rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.15rem;
}
.form-group label {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #D0D0D0;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: .93rem;
  color: #E0E0E0;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.form-submit { width: 100%; justify-content: center; margin-top: .5rem; padding: .95rem; font-size: 1rem; }
.form-notice {
  margin-top: .85rem;
  font-size: .8rem;
  color: var(--color-grey-mid);
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.65; color: rgba(255,255,255,.6); max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: #93C5FD; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .6rem;
}
.footer-contact-item a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-contact-item a:hover { color: #93C5FD; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ==========================================================================
   TABLE SCROLL (mobile)
   ========================================================================== */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}
.table-scroll table { min-width: 520px; }

/* ==========================================================================
   FAQ ACCORDÉON — flèche animée
   ========================================================================== */
details { cursor: pointer; }
details summary {
  list-style: none;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }
details summary svg {
  transition: transform .25s ease;
  flex-shrink: 0;
}
details[open] > summary svg { transform: rotate(180deg); }

/* ==========================================================================
   STICKY CTA MOBILE (téléphone fixé en bas)
   ========================================================================== */
.sticky-cta-bar {
  display: none; /* affiché via media query */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-dark);
  border-top: 2px solid var(--color-blue);
  padding: .7rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
.sticky-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: var(--color-blue);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .03em;
  border-radius: var(--radius-sm);
  padding: .85rem;
  width: 100%;
  transition: background var(--transition);
}
.sticky-cta-bar a:hover { background: var(--color-blue-dark); }

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }
  .options-grid { grid-template-columns: 1fr 1fr; }
  .catalogue-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Image présentation : on la garde visible mais moins haute */
  .about-img { display: block; }
  .about-img img { height: 260px; }
  .about-carousel-track { height: 260px; }
  /* Détail bungalow : info en premier sur tablette/mobile */
  .detail-layout { grid-template-columns: 1fr; }
  .detail-gallery { order: 2; }
  .detail-info { order: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .catalogue-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* Boutons hero full-width sur mobile */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  /* Boutons CTA section full-width */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 380px; justify-content: center; }
  .about-features { grid-template-columns: 1fr; }
  /* Thumbnails : 2 colonnes au lieu de 3 pour éviter l'orphelin */
  .detail-thumbs { grid-template-columns: repeat(2, 1fr); }
  .detail-specs-grid { grid-template-columns: 1fr; }
  /* Page hero : padding réduit sur mobile */
  .page-hero { padding: 2rem 0 1.75rem; }
  /* Sticky CTA visible sur mobile */
  .sticky-cta-bar { display: block; }
  /* Espace en bas pour ne pas masquer le contenu */
  body { padding-bottom: 76px; }
  /* Logo footer réduit sur mobile */
  .logo-img--footer { height: 52px; }
}
@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .contact-form-card { padding: 1.5rem; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  .catalogue-grid { grid-template-columns: 1fr; }
  /* Hero trust items : une colonne sur petit écran */
  .hero-trust { flex-direction: column; gap: .65rem; }
  /* Logo header légèrement réduit */
  .logo-img { height: 52px; }
}

/* ==========================================================================
   COMPOSITION TECHNIQUE (pages détail)
   ========================================================================== */
.detail-construction {
  margin: 0;
  background: #F7F7F5;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}
.detail-construction h3 {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 1rem;
}
.construction-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.construction-list li {
  display: flex;
  gap: .5rem;
  font-family: var(--font-heading);
  font-size: .82rem;
  color: #444;
  line-height: 1.4;
}
.construction-list li strong {
  color: #222;
  white-space: nowrap;
  min-width: 72px;
}



/* ==========================================================================
   OPTIONS V2 — cards avec galerie photo
   ========================================================================== */
.options-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.optv2-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.optv2-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Galerie */
.optv2-gallery {
  flex-shrink: 0;
}
.optv2-main {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.optv2-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.optv2-card:hover .optv2-main-img {
  transform: scale(1.04);
}
.optv2-thumbs {
  display: flex;
  gap: 4px;
  padding: 4px;
}
.optv2-thumb {
  flex: 1;
  height: 56px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 3px;
  opacity: .55;
  transition: opacity var(--transition), outline var(--transition);
  border: 2px solid transparent;
}
.optv2-thumb:hover { opacity: .85; }
.optv2-thumb.active {
  opacity: 1;
  border-color: var(--color-blue);
}

/* Contenu */
.optv2-body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.optv2-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .85rem;
  flex-wrap: wrap;
}
.optv2-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--color-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93C5FD;
  flex-shrink: 0;
}
.optv2-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #F0F0F0;
  flex: 1;
}
.optv2-badge {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  white-space: nowrap;
}
.optv2-list {
  list-style: none;
  margin: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.optv2-list li {
  font-family: var(--font-heading);
  font-size: .83rem;
  color: rgba(255,255,255,.65);
  padding-left: 1.1rem;
  position: relative;
}
.optv2-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-blue);
  font-size: .75rem;
}
.optv2-cta {
  margin-top: auto;
  align-self: flex-start;
  font-size: .82rem;
  padding: .6rem 1.2rem;
}

@media (max-width: 860px) {
  .options-v2-grid { grid-template-columns: 1fr; }
  .optv2-main { height: 200px; }
}
@media (max-width: 480px) {
  .optv2-main { height: 170px; }
  .optv2-thumb { height: 46px; }
}

/* ==========================================================================
   NOS RÉALISATIONS — grille galerie
   ========================================================================== */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.real-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.real-item--large { grid-column: unset; }
.real-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
.real-item:hover img { transform: scale(1.05); }
.real-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: .85rem 1rem;
  opacity: 0;
  transition: opacity .3s ease;
}
.real-item:hover .real-overlay {
  opacity: 1;
}
.real-overlay span {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}

}


/* ==========================================================================
   DARK MODE — compléments
   ========================================================================== */

/* Placeholder texte dans les champs de formulaire */
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group select option { background: #1E293B; color: #E0E0E0; }

/* FAQ — texte des réponses (styles inline dans le HTML) */
details > div { color: rgba(255,255,255,.72) !important; }
details summary { color: #E8E8E8; }

/* Tableau comparatif */
.table-scroll td,
.table-scroll th { color: #E0E0E0; }
.table-scroll tr:nth-child(even) td { background: rgba(255,255,255,.04) !important; }
.table-scroll tr:nth-child(odd) td  { background: transparent !important; }

/* .contact-form-card h3 hérite du h3 global → déjà clair */
/* Liens standard sur fond sombre */
.contact-detail-value a { color: var(--color-blue); }

/* Section présentation — paragraphe description */
.about-text p { color: rgba(255,255,255,.68); }

/* ============================================================
   Pages options detail
   ============================================================ */
.option-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}
.option-detail-desc h2 { margin-bottom: 1rem; }
.option-detail-desc p  { color: rgba(255,255,255,.7); margin-bottom: .75rem; }
.option-detail-cta-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.option-detail-cta-box .section-label {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-grey-mid);
  margin-bottom: .5rem;
}
.option-detail-cta-box .price-display {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: .5rem;
}
.option-detail-cta-box .price-note {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}
.btn-full { display: flex; justify-content: center; width: 100%; }
.option-detail-cta-box .phone-alt {
  margin-top: .75rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.option-detail-cta-box .phone-alt a { color: var(--color-blue); }
.gallery-section-title { margin-bottom: 1.5rem; }
.option-gallery-grid { margin-bottom: 0; }

@media (max-width: 700px) {
  .option-detail-layout { grid-template-columns: 1fr; }
}

/* optv2 actions (boutons dans les cards options) */
.optv2-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}
.optv2-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: .8rem;
  padding: .55rem .75rem;
}

/* ============================================================
   Options compactes (4 colonnes, sans images)
   ============================================================ */
.options-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.optc-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .2s, box-shadow .2s;
}
.optc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.optc-icon {
  width: 48px;
  height: 48px;
  background: var(--color-blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
}
.optc-body { display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.optc-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.optc-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  flex: 1;
}
.optc-actions {
  display: flex;
  gap: .4rem;
  margin-top: auto;
  padding-top: .5rem;
}
.optc-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: .78rem;
  padding: .5rem .6rem;
}

@media (max-width: 900px) {
  .options-compact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .options-compact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Galeries photos -- recadrage intelligent
   ============================================================ */

/* Gallery main image on detail pages */
#gallery-main {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  display: block;
}
.detail-thumbs img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  object-position: center;
}


/* option-gallery-grid uniforme */
.option-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.option-gallery-grid .real-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.option-gallery-grid .real-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}

.option-gallery-grid .real-item:hover img,
.realisations-grid .real-item:hover img {
  transform: scale(1.05);
}

/* --- Lightbox --- */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lb-overlay.lb-open { display: flex; }
.lb-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 60px rgba(0,0,0,.8);
  cursor: default;
}
.lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }

/* responsive galeries */
@media (max-width: 700px) {
  .realisations-grid,
  .option-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .realisations-grid,
  .option-gallery-grid { grid-template-columns: 1fr; }
}


/* ====================================================
   LIGHT THEME — clean comprehensive overrides
   ==================================================== */

/* Body defaults */
body          { color: #1F2937; }
h1, h2, h3, h4 { color: #111827; }
p             { color: #374151; }

/* NAV stays dark — text must be light */
.site-header  { color: #fff; }
.nav-links a  { color: rgba(255,255,255,.75); }
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-mobile a { color: rgba(255,255,255,.85); }

/* PAGE HERO stays dark */
.page-hero h1,
.page-hero p { color: #fff; }
.page-hero .breadcrumb { color: rgba(255,255,255,.55); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.55); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.3); }

/* HERO (homepage) stays dark */
.hero h1 { color: #fff; }
.hero-sub { color: rgba(255,255,255,.85); }
.hero-trust-item { color: rgba(255,255,255,.8); }

/* CTA SECTION stays blue */
.cta-section h2 { color: #fff; }
.cta-section p  { color: rgba(255,255,255,.88); }

/* FOOTER stays dark */
.site-footer h4              { color: #fff; }
.site-footer p               { color: rgba(255,255,255,.62); }
.site-footer a               { color: rgba(255,255,255,.65); }
.site-footer a:hover         { color: #fff; }
.footer-bottom               { color: rgba(255,255,255,.35); }
.footer-bottom a             { color: rgba(255,255,255,.35); }
.footer-bottom a:hover       { color: rgba(255,255,255,.7); }
.footer-contact-item         { color: rgba(255,255,255,.65); }
.footer-contact-item a       { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: #fff; }

/* OPTIONS SECTION (dark bg on homepage) */
.options-section h2              { color: #F0F0F0; }
.options-section .section-intro  { color: rgba(255,255,255,.65); }
.options-section .section-label  { color: #93C5FD; }
.option-card h3                  { color: #F0F0F0; }
.option-card p                   { color: rgba(255,255,255,.62); }

/* STICKY CTA BAR stays dark */
.sticky-cta-bar a { color: #fff; }

/* ── LIGHT CONTENT SECTIONS ── */

/* Section backgrounds alternation */
.section     { background: #FFFFFF; }
.section-alt { background: #F5F5F5; }

/* About / Présentation */
.about-feature { color: #374151; }
.about-text h2 { color: #111827; }
.about-text p  { color: #4B5563; }

/* Bungalow cards */
.card         { background: #FFFFFF; }
.card-title   { color: #111827; }
.card-desc    { color: #6B7280; }
.card-meta-item { color: #6B7280; }

/* Catalogue cards (bungalows.html) */
.catalogue-card           { background: #FFFFFF; }
.catalogue-card-body h3   { color: #111827; }
.catalogue-model-label    { color: #3B82F6; font-weight: 700; }
.catalogue-price          { color: #111827; }
.catalogue-price strong   { color: #1D4ED8; }
.catalogue-price .price-ht { color: #6B7280; }
.catalogue-usage          { color: #6B7280; }
.spec-badge               { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.cotes-note               { font-size: .72rem; color: #9CA3AF; font-style: italic; margin: .2rem 0 .35rem; }

/* Bungalow detail pages */
.detail-section-label        { color: #3B82F6; }
.detail-info h1              { color: #111827; }
.detail-info p               { color: #374151; }
.detail-specs-grid           { background: #F8FAFC; border: 1px solid #E5E7EB; }
.detail-spec-label           { color: #6B7280; }
.detail-spec-value           { color: #111827; font-weight: 700; }
.detail-options h3           { color: #111827; }
.detail-option-badge         { background: #DBEAFE !important; color: #1D4ED8 !important; }
.detail-cta                  { border-top-color: #E5E7EB; }
.detail-cta-phone            { color: #1F2937; }
.detail-cta-phone a          { color: #2563EB; }

/* Composition & matériaux (white block already) */
.detail-construction         { background: #FFFFFF; border-color: #D1D5DB; }
.construction-list li        { color: #374151; }
.construction-list li strong { color: #111827; }

/* FAQ */
.faq-item, details           { background: #FFFFFF; border: 1px solid #E5E7EB; }
details summary              { color: #111827; font-weight: 600; }
details > div                { color: #374151 !important; }
.faq-section                 { background: #F5F5F5; }
.faq-section h2              { color: #111827; }

/* Bungalows table */
.table-scroll                { border: 1px solid #E5E7EB; border-radius: var(--radius-md); }
.table-scroll th             { background: #1E293B !important; color: #fff !important; }
.table-scroll td             { color: #374151 !important; border-bottom: 1px solid #E5E7EB; }
.table-scroll tr:nth-child(even) td { background: #F9FAFB !important; }

/* Contact form */
.contact-form-card             { background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: var(--radius-lg); }
.contact-form-card h3          { color: #111827; }
.contact-info h2               { color: #111827; }
.contact-info p                { color: #4B5563; }
.contact-detail-label          { color: #6B7280; }
.contact-detail-value          { color: #1F2937; }
.contact-detail-value a        { color: #2563EB; }
.form-group label              { color: #374151; font-weight: 600; }
.form-group input,
.form-group select,
.form-group textarea {
  background: #F9FAFB;
  border: 1px solid #D1D5DB;
  color: #1F2937;
  border-radius: var(--radius-sm);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3B82F6;
  outline: none;
  background: #FFFFFF;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9CA3AF; }

/* Options compact cards (index.html) */
.options-compact-grid          { background: transparent; }
.optc-card                     { background: #FFFFFF; border: 1px solid #E5E7EB; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.optc-title                    { color: #111827; }
.optv2-badge                   { background: #DBEAFE; color: #1D4ED8; border: 1px solid #BFDBFE; }
.optv2-list li                 { color: #374151; }
.optv2-list li::before         { color: #3B82F6; }

/* Option detail pages */
.option-detail-layout          { gap: 2.5rem; }
.option-detail-desc h2         { color: #111827; }
.option-detail-desc p          { color: #374151; }
.option-detail-cta-box         { background: #F8FAFC; border: 1px solid #E5E7EB; }
.option-detail-cta-box .section-label  { color: #6B7280; }
.option-detail-cta-box .price-display  { color: #1D4ED8; font-size: 1.75rem; font-weight: 800; }
.option-detail-cta-box .price-note     { color: #9CA3AF; }
.option-detail-cta-box .phone-alt      { color: #9CA3AF; }
.option-detail-cta-box .phone-alt a    { color: #2563EB; }
.gallery-section-title         { color: #111827; }

/* Section intro & labels */
.section-intro  { color: #4B5563; }
.section-title  { color: #111827; }
.section-label  { color: #3B82F6; }

/* Réalisations section */
.realisations-section { background: #F5F5F5; }

/* Btn outline on light bg */
.btn-outline       { color: #2563EB; border-color: #2563EB; }
.btn-outline:hover { background: #2563EB; color: #fff; }

/* "Autres bungalows" related cards on detail pages */
.other-bungalows-grid .card         { background: #FFFFFF; }
.other-bungalows-grid .card h3      { color: #111827; }
.other-bungalows-grid .catalogue-price { color: #1D4ED8; }

/* Back link */
a.back-link { color: #2563EB; }

/* Merci page */
.merci-card            { background: #FFFFFF; border: 1px solid #E5E7EB; }
.merci-card h1,
.merci-card h2         { color: #111827; }
.merci-card p          { color: #374151; }

/* Responsive */
@media (max-width: 768px) {
  .detail-specs-grid { grid-template-columns: 1fr 1fr; }
}


/* ====================================================
   LIGHT THEME — clean comprehensive overrides
   ==================================================== */

/* Body defaults */
body          { color: #1F2937; }
h1, h2, h3, h4 { color: #111827; }
p             { color: #374151; }

/* NAV stays dark — text must be light */
.site-header  { color: #fff; }
.nav-links a  { color: rgba(255,255,255,.75); }
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-mobile a { color: rgba(255,255,255,.85); }

/* PAGE HERO stays dark */
.page-hero h1,
.page-hero p { color: #fff; }
.page-hero .breadcrumb { color: rgba(255,255,255,.55); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.55); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.3); }

/* HERO (homepage) stays dark */
.hero h1 { color: #fff; }
.hero-sub { color: rgba(255,255,255,.85); }
.hero-trust-item { color: rgba(255,255,255,.8); }

/* CTA SECTION stays blue */
.cta-section h2 { color: #fff; }
.cta-section p  { color: rgba(255,255,255,.88); }

/* FOOTER stays dark */
.site-footer h4              { color: #fff; }
.site-footer p               { color: rgba(255,255,255,.62); }
.site-footer a               { color: rgba(255,255,255,.65); }
.site-footer a:hover         { color: #fff; }
.footer-bottom               { color: rgba(255,255,255,.35); }
.footer-bottom a             { color: rgba(255,255,255,.35); }
.footer-bottom a:hover       { color: rgba(255,255,255,.7); }
.footer-contact-item         { color: rgba(255,255,255,.65); }
.footer-contact-item a       { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: #fff; }

/* OPTIONS SECTION (dark bg on homepage) */
.options-section h2              { color: #F0F0F0; }
.options-section .section-intro  { color: rgba(255,255,255,.65); }
.options-section .section-label  { color: #93C5FD; }
.option-card h3                  { color: #F0F0F0; }
.option-card p                   { color: rgba(255,255,255,.62); }

/* STICKY CTA BAR stays dark */
.sticky-cta-bar a { color: #fff; }

/* ── LIGHT CONTENT SECTIONS ── */

/* Section backgrounds alternation */
.section     { background: #FFFFFF; }
.section-alt { background: #F5F5F5; }

/* About / Présentation */
.about-feature { color: #374151; }
.about-text h2 { color: #111827; }
.about-text p  { color: #4B5563; }

/* Bungalow cards */
.card         { background: #FFFFFF; }
.card-title   { color: #111827; }
.card-desc    { color: #6B7280; }
.card-meta-item { color: #6B7280; }

/* Catalogue cards (bungalows.html) */
.catalogue-card           { background: #FFFFFF; }
.catalogue-card-body h3   { color: #111827; }
.catalogue-model-label    { color: #3B82F6; font-weight: 700; }
.catalogue-price          { color: #111827; }
.catalogue-price strong   { color: #1D4ED8; }
.catalogue-price .price-ht { color: #6B7280; }
.catalogue-usage          { color: #6B7280; }
.spec-badge               { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.cotes-note               { font-size: .72rem; color: #9CA3AF; font-style: italic; margin: .2rem 0 .35rem; }

/* Bungalow detail pages */
.detail-section-label        { color: #3B82F6; }
.detail-info h1              { color: #111827; }
.detail-info p               { color: #374151; }
.detail-specs-grid           { background: #F8FAFC; border: 1px solid #E5E7EB; }
.detail-spec-label           { color: #6B7280; }
.detail-spec-value           { color: #111827; font-weight: 700; }
.detail-options h3           { color: #111827; }
.detail-option-badge         { background: #DBEAFE !important; color: #1D4ED8 !important; }
.detail-cta                  { border-top-color: #E5E7EB; }
.detail-cta-phone            { color: #1F2937; }
.detail-cta-phone a          { color: #2563EB; }

/* Composition & matériaux (white block already) */
.detail-construction         { background: #FFFFFF; border-color: #D1D5DB; }
.construction-list li        { color: #374151; }
.construction-list li strong { color: #111827; }

/* FAQ */
.faq-item, details           { background: #FFFFFF; border: 1px solid #E5E7EB; }
details summary              { color: #111827; font-weight: 600; }
details > div                { color: #374151 !important; }
.faq-section                 { background: #F5F5F5; }
.faq-section h2              { color: #111827; }

/* Bungalows table */
.table-scroll                { border: 1px solid #E5E7EB; border-radius: var(--radius-md); }
.table-scroll th             { background: #1E293B !important; color: #fff !important; }
.table-scroll td             { color: #374151 !important; border-bottom: 1px solid #E5E7EB; }
.table-scroll tr:nth-child(even) td { background: #F9FAFB !important; }

/* Contact form */
.contact-form-card             { background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: var(--radius-lg); }
.contact-form-card h3          { color: #111827; }
.contact-info h2               { color: #111827; }
.contact-info p                { color: #4B5563; }
.contact-detail-label          { color: #6B7280; }
.contact-detail-value          { color: #1F2937; }
.contact-detail-value a        { color: #2563EB; }
.form-group label              { color: #374151; font-weight: 600; }
.form-group input,
.form-group select,
.form-group textarea {
  background: #F9FAFB;
  border: 1px solid #D1D5DB;
  color: #1F2937;
  border-radius: var(--radius-sm);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3B82F6;
  outline: none;
  background: #FFFFFF;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9CA3AF; }

/* Options compact cards (index.html) */
.options-compact-grid          { background: transparent; }
.optc-card                     { background: #FFFFFF; border: 1px solid #E5E7EB; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.optc-title                    { color: #111827; }
.optv2-badge                   { background: #DBEAFE; color: #1D4ED8; border: 1px solid #BFDBFE; }
.optv2-list li                 { color: #374151; }
.optv2-list li::before         { color: #3B82F6; }

/* Option detail pages */
.option-detail-layout          { gap: 2.5rem; }
.option-detail-desc h2         { color: #111827; }
.option-detail-desc p          { color: #374151; }
.option-detail-cta-box         { background: #F8FAFC; border: 1px solid #E5E7EB; }
.option-detail-cta-box .section-label  { color: #6B7280; }
.option-detail-cta-box .price-display  { color: #1D4ED8; font-size: 1.75rem; font-weight: 800; }
.option-detail-cta-box .price-note     { color: #9CA3AF; }
.option-detail-cta-box .phone-alt      { color: #9CA3AF; }
.option-detail-cta-box .phone-alt a    { color: #2563EB; }
.gallery-section-title         { color: #111827; }

/* Section intro & labels */
.section-intro  { color: #4B5563; }
.section-title  { color: #111827; }
.section-label  { color: #3B82F6; }

/* Réalisations section */
.realisations-section { background: #F5F5F5; }

/* Btn outline on light bg */
.btn-outline       { color: #2563EB; border-color: #2563EB; }
.btn-outline:hover { background: #2563EB; color: #fff; }

/* "Autres bungalows" related cards on detail pages */
.other-bungalows-grid .card         { background: #FFFFFF; }
.other-bungalows-grid .card h3      { color: #111827; }
.other-bungalows-grid .catalogue-price { color: #1D4ED8; }

/* Back link */
a.back-link { color: #2563EB; }

/* Merci page */
.merci-card            { background: #FFFFFF; border: 1px solid #E5E7EB; }
.merci-card h1,
.merci-card h2         { color: #111827; }
.merci-card p          { color: #374151; }

/* Responsive */
@media (max-width: 768px) {
  .detail-specs-grid { grid-template-columns: 1fr 1fr; }
}

/* Options section must stay dark even when it also carries .section class */
.options-section,
.section.options-section { background: #1E293B !important; }
.options-section h2,
.options-section .section-title { color: #F0F0F0 !important; }
.options-section .section-label { color: #93C5FD !important; }
.options-section .section-intro { color: rgba(255,255,255,.65) !important; }


/* ============================================================
   SECTION ALTERNATION — dark / light
   ============================================================ */

/* Dark sections (bungalows, FAQ) */
.section-dark { background: #1E293B !important; }
.section-dark .section-label       { color: #93C5FD !important; }
.section-dark .section-title,
.section-dark h2, .section-dark h3 { color: #F0F0F0 !important; }
.section-dark p, .section-dark .section-intro { color: rgba(255,255,255,.70) !important; }
.section-dark strong               { color: #fff !important; }

/* Bungalow cards sit white on dark bg */
.section-dark .card                { background: #FFFFFF; }
.section-dark .card h3             { color: #111827; }
.section-dark .card p              { color: #374151; }
.section-dark .card-tag            { background: #1E293B; color: #fff; }
.section-dark .spec-badge          { background: #EFF6FF; color: #1D4ED8; }
.section-dark .cotes-note          { color: #6B7280; }
.section-dark a.btn-outline        { color: #3B82F6; border-color: #3B82F6; }

/* FAQ items inside dark section — override inline styles */
.section-dark details              { border-color: rgba(255,255,255,.18) !important; }
.section-dark details summary      { background: #2D3748 !important; color: #F0F0F0 !important; }
.section-dark details summary svg  { stroke: #93C5FD; }
.section-dark details > div        { background: #374151 !important; color: rgba(255,255,255,.78) !important; }
.section-dark details > div strong { color: #fff !important; }
.section-dark details > div a      { color: #93C5FD !important; }

/* Options section — now light/white */
.options-section,
.section.options-section           { background: #FFFFFF !important; }
.options-section .section-label    { color: #3B82F6 !important; }
.options-section h2,
.options-section .section-title    { color: #111827 !important; }
.options-section .section-intro    { color: #374151 !important; }

/* Compact option cards — more contrast on white bg */
.optc-card                         { background: #F0F7FF !important; border: 1px solid #BFDBFE !important; }
.optc-card:hover                   { background: #DBEAFE !important; }
.optc-card .optc-title             { color: #111827 !important; }
.optc-card .optc-desc              { color: #374151 !important; }

/* Option detail CTA box — stronger contrast */
.option-detail-cta-box             { background: #EFF6FF !important; border: 2px solid #93C5FD !important; }
.option-detail-cta-box .section-label { color: #1D4ED8 !important; }
.option-detail-cta-box .price-display { color: #1E293B !important; }
.option-detail-cta-box .price-note    { color: #6B7280 !important; }
.option-detail-cta-box .phone-alt     { color: #374151 !important; }
.option-detail-cta-box .phone-alt a   { color: #2563EB !important; }

/* Cards on dark bg — force proper dark text (override section-dark h3 !important) */
.section-dark .card h3,
.section-dark .card .card-title     { color: #111827 !important; }
.section-dark .card p,
.section-dark .card .card-text      { color: #4B5563 !important; }
.section-dark .card strong          { color: #111827 !important; }
.section-dark .card .catalogue-price { color: #1D4ED8 !important; }

/* Tableau bungalows — lignes alternées plus visibles */
.table-scroll tr:nth-child(even) td { background: #DDE6F0 !important; }
.table-scroll tr:nth-child(odd)  td { background: #FFFFFF  !important; }
.table-scroll tr:hover td           { background: #C7D9EE !important; }

/* Catalogue cards — contraste sur fond blanc */
.catalogue-card {
  border: 1px solid #D1D5DB !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.catalogue-card:hover {
  border-color: #93C5FD !important;
  box-shadow: 0 6px 24px rgba(59,130,246,.15) !important;
  transform: translateY(-3px);
}

/* ============================================================
   MOBILE FIXES (375–480px)
   ============================================================ */

/* Hero — moins haut sur mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 420px;
    padding: 3.5rem 0 3rem;
  }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.6rem); line-height: 1.18; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.75rem; }
}

/* Galerie principale detail — moins haute sur mobile */
@media (max-width: 768px) {
  #gallery-main { height: 240px; }
  .detail-thumbs img { height: 80px; }
}
@media (max-width: 480px) {
  #gallery-main { height: 200px; }
  .detail-thumbs img { height: 72px; }
  /* Specs sur 1 colonne sous 400px */
  .detail-specs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .detail-specs-grid { grid-template-columns: 1fr; }
}

/* CTA box option — espace de separation quand stacked */
@media (max-width: 700px) {
  .option-detail-cta-box { margin-top: 1.5rem; }
}

/* Titres de section — line-height plus serré sur mobile */
@media (max-width: 480px) {
  .section-title { line-height: 1.2; }
  .section-intro { font-size: .95rem; }
}

/* Cards bungalow — image un peu moins haute sur mobile */
@media (max-width: 480px) {
  .catalogue-card-img img { height: 170px; }
  .card-img img { height: 170px; }
}

/* Compact option cards — meilleur espacement sur 1 colonne */
@media (max-width: 500px) {
  .optc-card { padding: 1.1rem 1rem; }
  .optc-title { font-size: 1rem; }
}

/* CTA section — boutons plus petits sur mobile */
@media (max-width: 480px) {
  .cta-section { padding: 3rem 0; }
  .cta-section h2 { font-size: 1.4rem; }
}

/* Footer — amelioration espacement mobile */
@media (max-width: 480px) {
  .footer { padding: 2.5rem 0 1.5rem; }
}

/* Bungalows page — table scroll indicator */
@media (max-width: 768px) {
  .table-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }
  .table-scroll::after {
    content: '92 Faites glisser pour voir';
    display: block;
    font-size: .72rem;
    color: #9CA3AF;
    text-align: right;
    margin-top: .35rem;
    font-style: italic;
  }
}

/* Hero trust bar — grille 2x2 sur mobile au lieu de colonne */
@media (max-width: 768px) {
  .hero-trust {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: .5rem .75rem;
  }
  .hero-trust .trust-item {
    flex: 0 0 calc(50% - .4rem);
    font-size: .78rem;
  }
}
@media (max-width: 480px) {
  .hero-trust .trust-item { font-size: .72rem; }
}

/* Hero trust items — 2 par ligne sur mobile (correcteur sélecteur) */
@media (max-width: 768px) {
  .hero-trust-item {
    flex: 0 0 calc(50% - .4rem) !important;
    font-size: .78rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Hero split — reset largeur content sur mobile */
@media (max-width: 768px) {
  .hero-content { max-width: 100% !important; }
}

/* Trust items — une seule ligne */
.hero-trust-item { font-size: .78rem !important; white-space: nowrap; }
