/* ============================================================
   Ramonage Brabant Wallon — Design Premium 2025
   Fonts: system stack (no external dependency)
   ============================================================ */

:root {
  --ink:       #1a1410;
  --charcoal:  #2c2218;
  --copper:    #c8621a;
  --copper-lt: #e07d35;
  --ember:     #f5a54a;
  --ivory:     #fdf8f2;
  --cream:     #f5ede0;
  --muted:     #7a6a5a;
  --border:    #e2d5c3;
  --white:     #ffffff;
  --font-head: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --shadow:    0 4px 28px rgba(26,20,16,.12);
  --shadow-lg: 0 12px 60px rgba(26,20,16,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

/* CRITICAL: prevent raw SVG from rendering huge */
svg {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0;
  vertical-align: middle;
  fill: currentColor;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { color: #3d2f22; }
a  { color: var(--copper); text-decoration: none; transition: color .2s; }
a:hover { color: var(--copper-lt); }
strong { font-weight: 600; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section { padding: 60px 0; }

/* HEADER */
.hdr {
  background: var(--charcoal);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--copper);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.topbar {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 12px 0; gap: 16px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 700;
  color: var(--ivory) !important;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 34px; height: 34px;
  background: var(--copper);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; line-height: 1;
}
.topbar nav { display: flex; align-items: center; gap: 18px; }
.topbar nav a {
  color: #d4c8b8 !important; font-size: .88rem;
  font-weight: 500; text-decoration: none;
}
.topbar nav a:hover { color: var(--ember) !important; }
.btn-nav {
  background: var(--copper) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 7px; font-weight: 700 !important;
}
.btn-nav:hover { background: var(--copper-lt) !important; }

/* HERO */
.hero { background: var(--charcoal); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 370px; gap: 44px; align-items: center; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(200,98,26,.22); border: 1px solid rgba(200,98,26,.4);
  color: var(--ember); font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 13px; border-radius: 50px; margin-bottom: 16px;
}
.hero h1 { color: var(--ivory); margin-bottom: 16px; }
.hero h1 span { color: var(--ember); }
.hero-lead { color: #c8b89e !important; font-size: 1rem; margin-bottom: 24px; max-width: 480px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.trust-pill {
  display: inline-block;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #d4c8b8; font-size: .8rem; padding: 5px 12px; border-radius: 50px;
}
.hero-cta {
  display: inline-block;
  background: var(--copper); color: #fff !important;
  font-size: .97rem; font-weight: 700;
  padding: 14px 28px; border-radius: 9px;
  box-shadow: 0 4px 20px rgba(200,98,26,.4);
  text-decoration: none; transition: background .2s, transform .15s;
}
.hero-cta:hover { background: var(--copper-lt) !important; transform: translateY(-2px); }

/* COMMUNE CARD (hero) */
.commune-card { background: var(--ivory); border-radius: 13px; padding: 26px; box-shadow: var(--shadow-lg); }
.commune-card h3 { font-size: 1rem; margin-bottom: 13px; color: var(--charcoal); }
.commune-card select {
  width: 100%; padding: 10px 13px;
  border: 2px solid var(--border); border-radius: 7px;
  font-family: var(--font-body); font-size: .92rem;
  color: var(--ink); background: var(--white);
  cursor: pointer; margin-bottom: 9px;
  -webkit-appearance: none; appearance: none;
}
.commune-card select:focus { outline: none; border-color: var(--copper); }
.commune-card button {
  width: 100%; padding: 11px;
  background: var(--copper); color: #fff;
  font-family: var(--font-body); font-size: .92rem; font-weight: 700;
  border: none; border-radius: 7px; cursor: pointer;
}
.commune-card button:hover { background: var(--copper-lt); }
.commune-card .hint { font-size: .78rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* STATS */
.stats-bar {
  background: var(--cream);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item { padding: 9px 12px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--copper); line-height: 1; display: block; }
.stat-label { font-size: .79rem; color: var(--muted); margin-top: 4px; }

/* WHY */
.why-section { background: var(--white); }
.section-intro { max-width: 580px; margin: 0 auto 40px; text-align: center; }
.section-intro h2 { margin-bottom: 11px; }
.section-intro p { color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: var(--ivory); border: 1px solid var(--border);
  border-radius: 13px; padding: 26px 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--copper); }
.why-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--copper), var(--ember));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px; line-height: 1;
  /* emoji containment */
  overflow: hidden; text-align: center;
}
.why-card h3 { font-size: 1rem; margin-bottom: 8px; }
.why-card p  { font-size: .88rem; color: var(--muted); }

/* COMMUNES GRID */
.communes-section { background: var(--ivory); }
.communes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 11px; }
.commune-link {
  display: block; background: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 15px; color: var(--ink) !important;
  font-size: .88rem; font-weight: 500; text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.commune-link:hover { border-color: var(--copper); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(200,98,26,.11); color: var(--copper) !important; }

/* CONTENT */
.content-section { background: var(--white); }
.content-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.content-cols h2 { margin-bottom: 14px; }
.content-cols p  { margin-bottom: 12px; color: #4a3a2c; font-size: .92rem; }
.content-cols ul { margin: 11px 0 12px 17px; }
.content-cols ul li { margin-bottom: 6px; color: #4a3a2c; font-size: .9rem; }
.info-box {
  background: var(--cream); border-left: 4px solid var(--copper);
  border-radius: 0 9px 9px 0; padding: 16px 20px; margin: 16px 0;
}
.info-box strong { color: var(--copper); font-size: .97rem; display: block; margin-bottom: 6px; }
.info-box p { font-size: .86rem; color: var(--muted); margin: 0; }

/* PRICING */
.pricing-section { background: var(--charcoal); padding: 60px 0; }
.pricing-section h2 { color: var(--ivory); text-align: center; margin-bottom: 9px; }
.pricing-section .sub { color: #9a8878; text-align: center; margin-bottom: 36px; font-size: .88rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-card {
  background: #3a2e22; border: 1px solid #5a4a38;
  border-radius: 12px; padding: 26px 22px; text-align: center;
  transition: border-color .25s, transform .25s;
}
.pricing-card:hover { border-color: var(--copper); transform: translateY(-3px); }
.pricing-card.featured { border-color: var(--copper); background: #4a3428; }
.pricing-type { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); margin-bottom: 9px; }
.pricing-range { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; color: var(--ivory); margin-bottom: 4px; }
.pricing-unit { font-size: .76rem; color: #9a8878; margin-bottom: 16px; }
.pricing-card ul { list-style: none; text-align: left; }
.pricing-card ul li { font-size: .82rem; color: #c0a888; padding: 4px 0; border-bottom: 1px solid #4a3a28; }
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li::before { content: '✓ '; color: var(--ember); }

/* FORM */
.form-section { background: var(--cream); }
.iframe-container { background: var(--white); border-radius: 13px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.iframe-bar { background: var(--charcoal); padding: 15px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.iframe-bar h2 { color: var(--ivory); font-size: 1rem; }
.secure-badge { display: inline-block; background: rgba(200,98,26,.2); border: 1px solid rgba(200,98,26,.35); color: var(--ember); font-size: .76rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.iframe-container iframe { width: 100%; height: 700px; border: none; display: block; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 11px; }

/* FAQ */
.faq-section { background: var(--white); }
.faq-grid { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 9px; }
details { background: var(--ivory); border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
details[open] { border-color: var(--copper); }
summary {
  padding: 15px 18px; font-weight: 600; font-size: .91rem;
  cursor: pointer; list-style: none; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
summary::-webkit-details-marker { display: none; }
details[open] summary { color: var(--copper); }
summary::after { content: '+'; font-size: 1.2rem; color: var(--copper); flex-shrink: 0; line-height: 1; }
details[open] summary::after { content: '×'; }
.faq-body { padding: 0 18px 16px; font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* FOOTER */
footer { background: var(--ink); color: #9a8878; padding: 44px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand p { font-size: .83rem; color: #7a6a5a; line-height: 1.7; margin-top: 11px; }
.footer-col h4 { font-family: var(--font-head); color: var(--ivory); font-size: .92rem; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: #7a6a5a; font-size: .83rem; text-decoration: none; }
.footer-col ul li a:hover { color: var(--ember); }
.footer-bottom { border-top: 1px solid #2c2218; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: .78rem; color: #5a4a3a; }

/* BREADCRUMBS */
.breadcrumbs { font-size: .81rem; color: var(--muted); padding: 13px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--copper); text-decoration: none; }

/* COMMUNE HERO */
.commune-hero { background: var(--charcoal); padding: 52px 0 60px; }
.commune-hero h1 { color: var(--ivory); margin-bottom: 12px; }
.commune-hero h1 span { color: var(--ember); }
.commune-hero .lead { color: #c0a888 !important; font-size: .99rem; max-width: 580px; margin-bottom: 22px; }
.commune-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.meta-chip { display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); color: #d4c8b8; font-size: .8rem; padding: 4px 12px; border-radius: 50px; }

/* COMMUNE CONTENT */
.commune-content { background: var(--white); padding: 52px 0; }
.commune-layout { display: grid; grid-template-columns: 1fr 310px; gap: 44px; align-items: start; }
.commune-body h2 { margin: 28px 0 12px; font-size: 1.4rem; }
.commune-body h2:first-child { margin-top: 0; }
.commune-body p  { margin-bottom: 12px; color: #4a3a2c; font-size: .92rem; }
.commune-body ul { margin: 10px 0 12px 17px; }
.commune-body ul li { margin-bottom: 6px; color: #4a3a2c; font-size: .9rem; }
.commune-sidebar { position: sticky; top: 78px; }
.sidebar-card { background: var(--cream); border: 1px solid var(--border); border-radius: 12px; padding: 22px; margin-bottom: 16px; }
.sidebar-card h3 { font-size: .97rem; margin-bottom: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.price-row:last-child { border-bottom: none; }
.price-val { font-weight: 700; color: var(--copper); }
.sidebar-cta { display: block; background: var(--copper); color: #fff !important; text-align: center; font-weight: 700; padding: 12px; border-radius: 8px; font-size: .92rem; text-decoration: none; box-shadow: 0 4px 14px rgba(200,98,26,.28); transition: background .2s; }
.sidebar-cta:hover { background: var(--copper-lt) !important; }

/* NEARBY */
.nearby-section { background: var(--cream); padding: 40px 0; }
.nearby-section h2 { margin-bottom: 16px; font-size: 1.35rem; }
.nearby-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.nearby-link { display: inline-block; background: var(--white); border: 1px solid var(--border); border-radius: 7px; padding: 7px 14px; font-size: .83rem; font-weight: 500; color: var(--ink) !important; text-decoration: none; transition: border-color .2s, color .2s; }
.nearby-link:hover { border-color: var(--copper); color: var(--copper) !important; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .hero-grid       { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr 1fr; }
  .stats-grid      { grid-template-columns: 1fr 1fr; }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .content-cols    { grid-template-columns: 1fr; gap: 26px; }
  .commune-layout  { grid-template-columns: 1fr; }
  .commune-sidebar { position: static; }
  .footer-grid     { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 580px) {
  .why-grid      { grid-template-columns: 1fr; }
  .communes-grid { grid-template-columns: 1fr 1fr; }
  section        { padding: 40px 0; }
  .topbar nav a:not(.btn-nav) { display: none; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.25rem; }
}
