/* ============================================
   HOSTELYA LODGE – Style inspiré Parcel
   Tons : Vert sauge (principal) + Terracotta (accent) + Crème
   ============================================ */

:root {
  --forest:       #4a6358;
  --forest-mid:   #5e7d6b;
  --forest-light: #8aab98;
  --forest-pale:  #eaf2ee;
  --terra:        #c4714a;
  --terra-light:  #d9906e;
  --terra-pale:   #f9ede7;
  --cream:        #f7f3ed;
  --cream-2:      #ede7de;
  --dark:         #1a2620;
  --mid:          #3d5248;
  --gray:         #6a8078;
  --gray-light:   #b2b8b0;
  --border:       #d6e2dc;
  --white:        #ffffff;

  --font-title:   'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h:        72px;
  --max-w:        1120px;
  --r:            12px;
  --r-lg:         28px;
  --r-xl:         48px;
  --shadow:       0 2px 16px rgba(0,0,0,0.07);
  --shadow-md:    0 8px 36px rgba(0,0,0,0.12);
  --t:            0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--dark); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ---- Typographie ---- */
h1 { font-family: var(--font-title); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; }
h2 { font-family: var(--font-title); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; line-height: 1.15; }
h3 { font-family: var(--font-title); font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p { line-height: 1.75; }

.label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--forest-mid); margin-bottom: 14px;
}
.label-terra { color: var(--terra); }

/* ---- Boutons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: 100px;
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.02em; transition: all var(--t);
  white-space: nowrap; border: 2px solid transparent;
}
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74,99,88,0.35); }
.btn-terra { background: var(--terra); color: var(--white); }
.btn-terra:hover { background: var(--terra-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,113,74,0.35); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest-pale); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-full { width: 100%; justify-content: center; }
.btn i { font-size: 0.82rem; }

/* ---- Fade-in ---- */
.fade { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade.visible { opacity: 1; transform: none; }

/* ---- Section spacings ---- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ---- Forme arrondie organique (style Parcel) ---- */
.organic { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; }
.organic-2 { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
.rounded-img { border-radius: var(--r-xl); overflow: hidden; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  background: rgba(247,243,237,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.nav-logo-name { font-family: var(--font-title); font-size: 1.35rem; font-weight: 700; color: var(--dark); letter-spacing: 0.04em; }
.nav-logo-sub { font-size: 0.56rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--terra); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: 100px;
  font-size: 0.87rem; font-weight: 600; color: var(--dark);
  transition: all var(--t);
}
.nav-link:hover { color: var(--forest); background: var(--forest-pale); }
.nav-link.active { color: var(--forest); font-weight: 700; background: var(--forest-pale); }
.nav-cta { margin-left: 20px; }
.nav-cta.btn { background: var(--terra) !important; color: var(--white) !important; border-color: var(--terra) !important; padding: 10px 22px; box-shadow: 0 4px 14px rgba(196,113,74,0.3); }
.nav-cta.btn:hover { background: var(--terra-light) !important; border-color: var(--terra-light) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,113,74,0.4); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; border-radius: 8px; transition: background var(--t); }
.nav-burger:hover { background: var(--forest-pale); }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--t); }

/* Drawer mobile */
.nav-drawer {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 999;
  padding: 28px 24px; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--border); overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-link { font-size: 1.05rem; padding: 14px 18px; border-radius: var(--r); }
.nav-drawer .nav-cta { margin: 20px 0 0; }
.nav-drawer .btn { width: 100%; justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark); color: var(--white); padding: 72px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.4); margin-top: 16px; line-height: 1.75; max-width: 260px; }
.footer-brand .nav-logo-name { color: var(--white); }
.footer-brand .nav-logo-sub { color: var(--forest-light); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07); display: flex; align-items: center;
  justify-content: center; color: rgba(255,255,255,0.45);
  font-size: 0.9rem; transition: all var(--t);
}
.footer-social a:hover { background: var(--forest-mid); color: var(--white); }
.footer h4 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.5); transition: color var(--t); }
.footer-links a:hover { color: var(--white); }
.footer-contact a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.5); transition: color var(--t); margin-bottom: 12px; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.22); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.22); transition: color var(--t); }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ============================================
   PAGE HEADER (bannière sous-pages)
   ============================================ */
.page-banner {
  background: var(--forest);
  padding: calc(var(--nav-h) + 64px) 0 64px;
  position: relative; overflow: hidden;
}
.page-banner::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-banner .label { color: rgba(255,255,255,0.55); }
.page-banner h1 { color: var(--white); margin-bottom: 16px; }
.page-banner p { font-size: 1.08rem; color: rgba(255,255,255,0.65); max-width: 560px; line-height: 1.8; }

/* ============================================
   HERO (accueil)
   ============================================ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
  background: var(--forest);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(26,18,12,0.78) 0%, rgba(26,18,12,0.4) 55%, rgba(26,18,12,0.2) 100%);
}
.hero-body {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + 60px) 32px 80px;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.hero-inner { max-width: 620px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px); border-radius: 100px;
  padding: 7px 18px; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
}
.hero-dot-anim { width: 7px; height: 7px; background: #8ecfa2; border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--terra-light); font-weight: 400; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-cards {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px); border-radius: var(--r-lg);
  padding: 18px 22px; min-width: 150px;
}
.hero-card-num { font-family: var(--font-title); font-size: 1.9rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 4px; }
.hero-card-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.4; }
.hero-dots-nav { position: absolute; bottom: 36px; right: 36px; z-index: 3; display: flex; gap: 8px; }
.hero-dot-btn {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: all var(--t);
}
.hero-dot-btn.active { background: var(--white); transform: scale(1.25); }

/* ============================================
   ACCUEIL – Sections
   ============================================ */

/* Intro 2 colonnes */
.home-intro { padding: 96px 0; background: var(--cream); }
.home-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.home-intro-visual { position: relative; }
.home-intro-img-main {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--r-xl); box-shadow: var(--shadow-md);
}
.home-intro-img-float {
  position: absolute; bottom: -28px; right: -24px;
  width: 52%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  border: 5px solid var(--cream); box-shadow: var(--shadow-md);
}
.home-intro-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--white); border-radius: var(--r);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
}
.badge-icon { width: 40px; height: 40px; background: var(--forest-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-icon i { color: var(--forest); }
.badge-text strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.badge-text span { font-size: 0.78rem; color: var(--gray); }
.home-intro-text h2 { margin-bottom: 18px; }
.home-intro-text p { color: var(--gray); margin-bottom: 28px; }
.home-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 34px; }
.home-feature { display: flex; align-items: center; gap: 11px; font-size: 0.93rem; color: var(--mid); }
.home-feature i { color: var(--forest-mid); width: 18px; text-align: center; }

/* Étapes (accueil) */
.home-steps { background: var(--dark); padding: 96px 0; }
.home-steps h2 { color: var(--white); text-align: center; margin-bottom: 12px; }
.home-steps-sub { text-align: center; color: rgba(255,255,255,0.6); margin-bottom: 64px; }
.steps-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.step-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  padding: 44px 36px; position: relative; transition: background var(--t);
}
.step-card:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.step-card:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.step-card:hover { background: rgba(255,255,255,0.13); }
.step-card-num {
  font-family: var(--font-title); font-size: 4rem; font-weight: 700;
  color: rgba(255,255,255,0.12); line-height: 1; margin-bottom: 20px;
  position: absolute; top: 24px; right: 28px;
}
.step-card-icon { width: 52px; height: 52px; background: var(--terra); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.step-card-icon i { color: var(--white); font-size: 1.15rem; }
.step-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.2rem; letter-spacing: 0.01em; }
.step-card p { font-size: 0.92rem; color: rgba(255,255,255,0.72); line-height: 1.8; }
.step-card-pill {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; padding: 7px 16px;
  background: var(--terra); border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: var(--white);
}

/* Marché rapide (accueil) */
.home-market { background: var(--white); padding: 96px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.home-market-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.home-market-text h2 { margin-bottom: 18px; }
.home-market-text p { color: var(--gray); margin-bottom: 32px; line-height: 1.8; }
.market-mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-stat { background: var(--white); border-radius: var(--r); padding: 22px 18px; text-align: center; box-shadow: var(--shadow); }
.mini-stat-num { font-family: var(--font-title); font-size: 2rem; font-weight: 700; color: var(--terra); display: block; line-height: 1; margin-bottom: 6px; }
.mini-stat-label { font-size: 0.78rem; color: var(--gray); line-height: 1.4; }

/* CTA band */
.cta-band { background: var(--dark); padding: 96px 0; text-align: center; }
.cta-band h2 { color: var(--terra-light); margin-bottom: 14px; }
.cta-band h2 em { color: var(--terra-light); font-style: italic; }
.cta-band p { color: rgba(255,255,255,0.6); font-size: 1.05rem; margin-bottom: 40px; }

/* ============================================
   PAGE MARCHÉ
   ============================================ */
.stats-strip { background: var(--dark); }
.stats-strip-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-block { padding: 52px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-block:last-child { border-right: none; }
.stat-block-num { font-family: var(--font-title); font-size: 3rem; font-weight: 700; color: var(--terra-light); display: block; line-height: 1; margin-bottom: 10px; }
.stat-block-label { font-size: 0.82rem; color: rgba(255,255,255,0.78); line-height: 1.5; max-width: 140px; margin: 0 auto; }

/* stat-block--animate : classe conservée pour compatibilité, mais les stats sont toujours visibles */

.trend-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.trend-card { background: var(--white); border-radius: var(--r-lg); padding: 32px 28px; border: 1px solid var(--border); transition: box-shadow var(--t), transform var(--t); }
.trend-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.trend-icon { width: 50px; height: 50px; background: var(--forest-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.trend-icon i { color: var(--forest-mid); font-size: 1.1rem; }
.trend-card h3 { margin-bottom: 10px; }
.trend-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.75; }
.trend-card strong { color: var(--forest); }
.trend-tag { display: inline-block; margin-top: 16px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terra); background: var(--terra-pale); padding: 4px 12px; border-radius: 100px; }

/* ---- Panier moyen ---- */
.panier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.panier-stats { display: flex; flex-direction: column; gap: 0; }
.panier-stat-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.panier-stat-item:first-child { padding-top: 0; }
.panier-stat-item:last-child { border-bottom: none; }
.panier-stat-num { font-family: var(--font-title); font-size: 2.4rem; font-weight: 700; color: var(--terra); display: block; line-height: 1; margin-bottom: 8px; }
.panier-stat-item p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; margin: 0; }
.panier-stat-item p em { color: var(--forest); font-style: normal; }
.panier-stat-item strong { color: var(--dark); }

.panier-services { background: var(--cream); border-radius: var(--r-lg); padding: 36px 32px; border: 1px solid var(--border); }
.panier-services-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.panier-services-header i { font-size: 1.3rem; color: var(--terra); }
.panier-services-header h3 { font-size: 1.1rem; line-height: 1.3; margin: 0; }
.panier-services-list { display: flex; flex-direction: column; gap: 20px; }
.panier-services-list li { display: flex; gap: 14px; align-items: flex-start; }
.panier-svc-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.panier-svc-icon i { font-size: 0.85rem; color: var(--terra); }
.panier-services-list strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--dark); margin-bottom: 3px; }
.panier-services-list span { font-size: 0.82rem; color: var(--gray); line-height: 1.6; }

.panier-quote { margin-top: 56px; background: var(--dark); border-radius: var(--r-lg); padding: 40px 48px; position: relative; }
.panier-quote .fa-quote-left { font-size: 1.8rem; color: var(--terra); margin-bottom: 16px; display: block; }
.panier-quote p { font-family: var(--font-title); font-size: 1.2rem; color: var(--white); line-height: 1.7; font-style: italic; margin: 0 0 16px; }
.panier-quote p em { color: var(--terra-light); font-style: normal; }
.panier-quote cite { font-size: 0.82rem; color: rgba(255,255,255,0.45); font-style: normal; }

.chart-wrap-card { background: var(--white); border-radius: var(--r-lg); padding: 40px 36px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.chart-wrap-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap; gap: 14px; }
.chart-wrap-header h3 { font-size: 1.1rem; }
.chart-legend { display: flex; gap: 20px; align-items: center; }
.chart-legend span { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--gray); }
.chart-legend i { display: block; width: 16px; height: 2px; background: var(--forest); border-radius: 2px; }
.chart-legend .dim i { background: var(--gray-light); }
.chart-area { height: 280px; }

.urgence-strip { background: var(--forest-pale); border: 2px solid var(--forest); border-radius: var(--r-lg); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.urgence-text { display: flex; align-items: flex-start; gap: 16px; flex: 1; min-width: 260px; }
.urgence-text i { color: var(--terra); font-size: 1.2rem; margin-top: 3px; flex-shrink: 0; }
.urgence-text p { font-size: 0.95rem; color: var(--mid); line-height: 1.7; }
.urgence-text strong { color: var(--forest); }

/* ============================================
   PAGE CONCEPT
   ============================================ */
.concept-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.concept-img-wrap { position: relative; }
.concept-img-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.concept-img-over {
  position: absolute; bottom: -24px; right: -20px;
  width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: 45% 55% 60% 40% / 50% 50% 50% 50%;
  border: 5px solid var(--cream); box-shadow: var(--shadow-md);
}
.concept-text h2 { margin-bottom: 18px; }
.concept-text p { color: var(--gray); margin-bottom: 24px; line-height: 1.8; }
.concept-checklist { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.concept-checklist li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.93rem; color: var(--mid); }
.concept-checklist li i { color: var(--forest-mid); margin-top: 3px; flex-shrink: 0; }

/* Valeurs */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value-card { background: var(--white); border-radius: var(--r-lg); padding: 32px 26px; border: 1px solid var(--border); text-align: center; transition: box-shadow var(--t), transform var(--t); }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-icon { width: 56px; height: 56px; background: var(--terra-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.value-icon i { color: var(--terra); font-size: 1.2rem; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* Dôme */
.dome-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.dome-img-wrap { position: relative; border-radius: var(--r-xl); overflow: hidden; }
.dome-img-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.dome-tag { position: absolute; top: 20px; left: 20px; background: var(--white); border-radius: 100px; padding: 8px 18px; font-size: 0.82rem; font-weight: 700; color: var(--forest); box-shadow: var(--shadow); }
.dome-specs { display: flex; flex-direction: column; gap: 30px; }
.spec-group h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--forest-mid); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.spec-group ul { display: flex; flex-direction: column; gap: 10px; }
.spec-group li { display: flex; align-items: center; gap: 10px; font-size: 0.91rem; color: var(--mid); }
.spec-group li i { color: var(--forest-light); font-size: 0.75rem; flex-shrink: 0; }

/* Galerie */
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; height: 380px; }
.gallery-cell { border-radius: var(--r-lg); overflow: hidden; height: 100%; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-cell:hover img { transform: scale(1.05); }

/* ============================================
   PAGE PARTENARIAT
   ============================================ */
.partner-steps { max-width: 780px; margin: 0 auto; }
.partner-step {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 28px; padding: 40px 0; border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.partner-step:last-child { border-bottom: none; }
.ps-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--forest-pale); color: var(--forest);
  font-family: var(--font-title); font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ps-body h3 { margin-bottom: 10px; }
.ps-body p { font-size: 0.93rem; color: var(--gray); line-height: 1.75; margin-bottom: 14px; }
.ps-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--forest-pale); color: var(--forest);
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
}
.ps-pill-terra {
  background: var(--terra-pale); color: var(--terra);
}

/* Pourquoi */
.why-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-text h2 { margin-bottom: 18px; }
.why-text > p { color: var(--gray); line-height: 1.8; margin-bottom: 36px; }
.why-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 36px; }
.why-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.why-item:first-child { border-top: 1px solid var(--border); }
.why-item-icon { width: 44px; height: 44px; background: var(--forest-pale); border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-item-icon i { color: var(--forest-mid); font-size: 1rem; }
.why-item h4 { font-size: 0.93rem; font-weight: 600; margin-bottom: 4px; }
.why-item p { font-size: 0.87rem; color: var(--gray); line-height: 1.6; }
.why-visual { position: relative; }
.why-visual-img { border-radius: var(--r-xl); overflow: hidden; }
.why-visual-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.why-quote-card { background: var(--dark); color: var(--white); border-radius: var(--r-lg); padding: 26px 28px; margin-top: 16px; }
.why-quote-card i { color: var(--terra-light); font-size: 1.4rem; display: block; margin-bottom: 12px; }
.why-quote-card p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.why-quote-card strong { color: #8ecfa2; }
.why-quote-card cite { font-size: 0.74rem; color: rgba(255,255,255,0.32); font-style: normal; }

/* ============================================
   PAGE FAQ
   ============================================ */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; gap: 20px; text-align: left;
  font-size: 0.97rem; font-weight: 500; color: var(--dark); transition: color var(--t);
}
.faq-btn:hover, .faq-item.open .faq-btn { color: var(--forest); }
.faq-toggle { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--t); }
.faq-toggle i { color: var(--gray); font-size: 0.73rem; transition: transform var(--t); }
.faq-item.open .faq-toggle { background: var(--forest); border-color: var(--forest); }
.faq-item.open .faq-toggle i { color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.faq-answer p { padding: 0 0 22px; font-size: 0.92rem; color: var(--gray); line-height: 1.8; }

/* ============================================
   PAGE CONTACT
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact-left h2 { margin-bottom: 16px; }
.contact-left > p { color: var(--gray); line-height: 1.8; margin-bottom: 32px; }
.contact-infos { display: flex; flex-direction: column; gap: 12px; }
.c-info { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); transition: border-color var(--t); }
a.c-info:hover { border-color: var(--forest); }
.c-info-icon { width: 38px; height: 38px; background: var(--forest-pale); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-info-icon i { color: var(--forest-mid); font-size: 0.9rem; }
.c-info strong { display: block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 2px; }
.c-info span { font-size: 0.92rem; color: var(--dark); }

.contact-form-box { background: var(--white); border-radius: var(--r-xl); padding: 44px 40px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.contact-form-box h2 { font-size: 1.7rem; margin-bottom: 6px; }
.contact-form-box > p { font-size: 0.88rem; color: var(--gray); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--dark);
  background: var(--cream); outline: none; resize: vertical;
  transition: border-color var(--t), box-shadow var(--t); -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 3px rgba(74,99,88,0.12); }
.form-group input.err, .form-group select.err { border-color: #c94a4a; }
.form-group textarea { min-height: 96px; }
.form-note { font-size: 0.74rem; color: var(--gray-light); text-align: center; margin-top: 12px; line-height: 1.5; }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 30px 20px; background: var(--forest-pale); border: 1.5px solid var(--forest); border-radius: var(--r); margin-top: 16px; }
.form-success.show { display: flex; }
.form-success i { font-size: 2rem; color: var(--terra); }
.form-success p { font-size: 0.93rem; color: var(--forest); font-weight: 500; line-height: 1.6; }

/* ============================================
   FAQ — CATEGORY TITLE
   ============================================ */
.faq-category-title {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 28px;
}
.faq-cat-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--forest-pale); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.faq-cat-icon i { color: var(--forest-mid); font-size: 1.1rem; }
.faq-category-title h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin: 0; }

/* ============================================
   GRILLES RESPONSIVES UTILITAIRES
   ============================================ */
/* Utilisé dans contact.html (3 colonnes) */
.three-col-responsive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Utilisé dans partenariat.html (2 colonnes) */
.two-col-responsive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ============================================
   FORM — ÉTAT ERREUR
   ============================================ */
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: #c94a4a;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(201,74,74,0.12);
}

/* ============================================
   NAVBAR BURGER — ANIMATION CROIX
   ============================================ */
.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.is-open span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BOUTON — TAILLE SMALL
   ============================================ */
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .home-intro-grid, .home-market-inner, .concept-split,
  .dome-grid, .why-split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .three-col-responsive { grid-template-columns: 1fr 1fr; }
  .two-col-responsive   { grid-template-columns: 1fr; }
  .panier-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-intro-img-float { display: none; }
  .concept-img-over { display: none; }
  .steps-row { grid-template-columns: 1fr; gap: 2px; }
  .step-card:first-child, .step-card:last-child { border-radius: 0; }
  .step-card:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .step-card:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .trend-grid { grid-template-columns: 1fr; }
  .stats-strip-inner { grid-template-columns: repeat(2,1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.15); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .gallery-cell { height: 220px; }
  .gallery-cell:first-child { grid-column: 1/-1; height: 260px; }
  .market-mini-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .hero-cards { flex-direction: column; }
  .hero-card { min-width: unset; }
  .stats-strip-inner { grid-template-columns: 1fr 1fr; }
  .stat-block:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.15); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form-box { padding: 0; border-radius: var(--r-lg); }
  #calendly-inline-widget { height: 780px !important; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; height: auto; }
  .gallery-cell:first-child { grid-column: auto; height: 220px; }
  .urgence-strip { flex-direction: column; }
  .partner-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .panier-quote { padding: 28px 24px; }
  .panier-quote p { font-size: 1rem; }
  .three-col-responsive { grid-template-columns: 1fr; }
  .footer-legal { gap: 12px; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .page-banner { padding-bottom: 44px; }
  .banner-kpis { flex-direction: column; }
}

/* ============================================
   CHATBOT HOSTELYA
   ============================================ */

/* --- Bouton flottant --- */
#hchat-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--white);
  border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(196,113,74,0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 9000;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
#hchat-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(196,113,74,0.55);
  background: var(--terra-light);
}
#hchat-fab.hchat-active { background: var(--dark); }
.hchat-fab-icon {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
}
.hchat-fab-badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--forest); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
  animation: hchat-pulse 2s infinite;
}
@keyframes hchat-pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}

/* --- Fenêtre --- */
#hchat-win {
  position: fixed;
  bottom: 100px; right: 28px;
  width: 360px; max-height: 560px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  display: flex; flex-direction: column;
  z-index: 8999;
  opacity: 0; transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  border: 1px solid var(--border);
}
#hchat-win.hchat-open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: all;
}

/* --- Header --- */
.hchat-header {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.hchat-header-left { display: flex; align-items: center; gap: 12px; }
.hchat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.hchat-header strong {
  display: block; color: var(--white);
  font-size: 0.92rem; font-weight: 700;
}
.hchat-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.74rem; color: rgba(255,255,255,0.65);
}
.hchat-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6dda8e;
  animation: hchat-pulse 2s infinite;
}
.hchat-close-btn {
  background: rgba(255,255,255,0.1); border: none;
  color: rgba(255,255,255,0.7); width: 30px; height: 30px;
  border-radius: 50%; cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.hchat-close-btn:hover { background: rgba(255,255,255,0.2); color: var(--white); }

/* --- Messages --- */
.hchat-messages {
  flex: 1; overflow-y: auto; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
}
.hchat-messages::-webkit-scrollbar { width: 4px; }
.hchat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.hchat-msg {
  max-width: 85%; padding: 11px 14px;
  border-radius: 16px; font-size: 0.87rem;
  line-height: 1.65; opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hchat-msg--in { opacity: 1; }

.hchat-msg--bot {
  background: var(--cream); color: var(--dark);
  border-radius: 4px 16px 16px 16px;
  align-self: flex-start;
  border: 1px solid var(--border);
}
.hchat-msg--bot ul { padding-left: 4px; margin: 8px 0 4px; display: flex; flex-direction: column; gap: 5px; }
.hchat-msg--bot li { list-style: none; font-size: 0.84rem; }
.hchat-msg--bot a { color: var(--terra); text-decoration: underline; }

.hchat-msg--user {
  background: var(--terra); color: var(--white);
  border-radius: 16px 4px 16px 16px;
  align-self: flex-end;
}

/* Indicateur de frappe */
.hchat-typing {
  display: flex; gap: 4px; align-items: center;
  padding: 10px 14px;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 4px 16px 16px 16px;
  align-self: flex-start; width: fit-content;
}
.hchat-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gray-light);
  animation: hchat-bounce 1.2s infinite ease-in-out;
}
.hchat-typing span:nth-child(2) { animation-delay: 0.2s; }
.hchat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes hchat-bounce {
  0%,80%,100% { transform: translateY(0); }
  40%          { transform: translateY(-6px); }
}

/* --- Suggestions --- */
.hchat-suggestions {
  padding: 6px 12px 8px;
  display: flex; flex-wrap: wrap; gap: 6px;
  flex-shrink: 0; border-top: 1px solid var(--border);
  background: var(--white);
  min-height: 0;
}
.hchat-sugg {
  background: var(--white); border: 1.5px solid var(--terra);
  color: var(--terra); border-radius: 100px;
  padding: 5px 13px; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
}
.hchat-sugg:hover { background: var(--terra); color: var(--white); }

/* --- Input --- */
.hchat-input-row {
  display: flex; gap: 8px; padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--white); flex-shrink: 0;
}
#hchatInput {
  flex: 1; border: 1.5px solid var(--border);
  border-radius: 100px; padding: 9px 16px;
  font-family: var(--font-body); font-size: 0.87rem;
  color: var(--dark); background: var(--cream);
  outline: none; transition: border-color 0.2s ease;
}
#hchatInput:focus { border-color: var(--terra); background: var(--white); }
#hchatInput::placeholder { color: var(--gray-light); }
#hchatSend {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--terra); color: var(--white);
  border: none; cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s ease, transform 0.2s ease;
}
#hchatSend:hover { background: var(--terra-light); transform: scale(1.08); }

/* --- Mobile --- */
@media (max-width: 640px) {
  #hchat-win {
    bottom: 0; right: 0; left: 0;
    width: 100%; border-radius: 20px 20px 0 0;
    max-height: 80vh;
  }
  #hchat-fab { bottom: 20px; right: 20px; }
}
