
:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --orange: #f97316;
  --dark: #111827;
  --gray: #6b7280;
  --light: #f9fafb;
  --white: #ffffff;
  --radius: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; }
a { color: var(--green); text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.site-header { background: var(--dark); padding: 16px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--white); font-size: 1.3rem; font-weight: 800; }
.logo span { color: var(--green); }
.btn-devis { background: var(--green); color: var(--white); padding: 10px 20px; border-radius: var(--radius); font-weight: 700; font-size: .95rem; }
.btn-devis:hover { background: var(--green-dark); }
.hero { background: linear-gradient(135deg, #14532d 0%, #111827 100%); color: var(--white); padding: 80px 0 70px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; margin-bottom: 16px; line-height: 1.2; }
.hero h1 span { color: #4ade80; }
.hero p { color: #d1fae5; font-size: 1.1rem; margin-bottom: 28px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 6px 14px; border-radius: 99px; font-size: .85rem; font-weight: 600; }
.btn-primary { display: inline-block; background: var(--green); color: var(--white); padding: 16px 36px; border-radius: var(--radius); font-weight: 800; font-size: 1.1rem; box-shadow: 0 4px 16px rgba(22,163,74,.4); }
.btn-primary:hover { background: var(--green-dark); }
.hero-form { background: var(--white); border-radius: 16px; padding: 32px; box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.hero-form h2 { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.hero-form .sub { font-size: .85rem; color: var(--gray); margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #e5e7eb;
  border-radius: 7px; font-size: .9rem; outline: none; box-sizing: border-box;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--green); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.radio-group label { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: .9rem; cursor: pointer; }
.radio-group input[type=radio] { width: auto; }
.btn-submit { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; border: none; border-radius: 9px; padding: 14px 24px; font-size: 1rem; font-weight: 800; cursor: pointer; width: 100%; margin-top: 8px; box-shadow: 0 4px 12px rgba(22,163,74,.4); }
.btn-submit:hover { opacity: .9; }
.success-msg { display: none; background: #f0fdf4; border: 1px solid #86efac; border-radius: 10px; padding: 20px; text-align: center; color: #166534; font-weight: 600; }
.mentions-form { font-size: .72rem; color: #9ca3af; margin-top: 8px; text-align: center; }
.section { padding: 60px 0; }
.section-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.section-sub { color: var(--gray); margin-bottom: 36px; }
.avantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.avantage-card { background: var(--light); border-radius: 10px; padding: 24px; border-top: 4px solid var(--green); }
.avantage-card .icon { font-size: 2rem; margin-bottom: 12px; }
.avantage-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.avantage-card p { color: var(--gray); font-size: .9rem; line-height: 1.6; }
.aides-section { background: #f0fdf4; padding: 60px 0; }
.aides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.aide-card { background: var(--white); border-radius: 10px; padding: 24px; border: 1px solid #86efac; text-align: center; }
.aide-card .montant { font-size: 2rem; font-weight: 900; color: var(--green); }
.aide-card .label { font-size: .85rem; color: var(--gray); margin-top: 4px; }
.aide-card h3 { font-size: 1rem; font-weight: 700; margin: 12px 0 6px; }
.faq-item { background: var(--white); border: 1px solid #e5e7eb; border-radius: 10px; padding: 20px 24px; margin-bottom: 10px; cursor: pointer; }
.faq-item summary { font-weight: 700; font-size: .95rem; list-style: none; }
.faq-item p { color: var(--gray); margin-top: 10px; font-size: .9rem; line-height: 1.7; }
.cta-section { background: var(--green); color: var(--white); padding: 60px 0; text-align: center; }
.cta-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p { opacity: .9; margin-bottom: 28px; }
.cta-section .btn-primary { background: var(--white); color: var(--green); }
.site-footer { background: var(--dark); color: #9ca3af; padding: 32px 0; text-align: center; }
.site-footer p { margin-bottom: 8px; font-size: .9rem; }
.site-footer a { color: #d1d5db; }
.ville-hero { background: linear-gradient(135deg, #14532d, #111827); color: var(--white); padding: 60px 0 50px; }
.ville-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.ville-hero p { color: #d1fae5; font-size: 1.1rem; margin-bottom: 24px; }
.breadcrumb { font-size: .85rem; color: #6ee7b7; margin-bottom: 16px; }
.breadcrumb a { color: #6ee7b7; }
.content-section { padding: 60px 0; }
.content-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.content-section p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; max-width: 750px; }
.info-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 24px; }
.info-item { background: var(--light); border-radius: var(--radius); padding: 16px; border-left: 4px solid var(--green); }
.info-item strong { display: block; font-size: .8rem; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.voisines-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin-top: 20px; }
.voisine-link { display: block; background: var(--white); border: 1px solid #e5e7eb; border-radius: var(--radius); padding: 10px 14px; color: var(--dark); font-size: .85rem; font-weight: 600; }
.voisine-link:hover { border-color: var(--green); color: var(--green); }
.voisine-link span { display: block; font-size: .75rem; color: var(--gray); font-weight: 400; }
.dep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.dep-card { background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid #e5e7eb; }
.dep-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.dep-card a { color: var(--green); font-size: .85rem; font-weight: 600; display: block; margin-top: 12px; }
.city-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 20px; }
.city-list a { color: var(--dark); font-size: .85rem; padding: 4px 0; border-bottom: 1px solid #f3f4f6; }
.city-list a:hover { color: var(--green); }

@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-form { margin-top: 32px; }
}
