*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #1E4D2B; --green-light: #2D6A3F; --green-pale: #EAF3E5;
  --beige: #F2EBD9; --beige-dark: #D9CDB8; --dark: #1A2218;
  --text: #2E2E2E; --muted: #6B7568; --white: #FFFFFF; --cream: #F8FAF6; --border: #D6E5D0;
}
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--cream); color: var(--text); font-size: 15px; line-height: 1.6; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: var(--white); display: flex; justify-content: space-between; align-items: center; padding: 10px 40px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); border-bottom: 1px solid var(--border); }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-center a { text-decoration: none; color: var(--dark); font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 4px; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.nav-center a:hover, .nav-center a.active { background: var(--green-pale); color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-social { display: flex; gap: 8px; align-items: center; }
.nav-social a { color: var(--dark); opacity: 0.55; transition: opacity 0.2s; display: flex; align-items: center; }
.nav-social a:hover { opacity: 1; }
.nav-social svg { width: 18px; height: 18px; fill: currentColor; }
.nav-search { background: none; border: none; cursor: pointer; color: var(--dark); opacity: 0.55; transition: opacity 0.2s; display: flex; align-items: center; padding: 4px; }
.nav-search:hover { opacity: 1; }
.btn-devis { background: var(--green); color: var(--white); padding: 10px 20px; border-radius: 6px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
.btn-devis:hover { background: var(--green-light); }

/* MENU MOBILE */
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--dark); }
.nav-mobile-toggle svg { width: 24px; height: 24px; }
.nav-mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); z-index: 99; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.1); flex-direction: column; padding: 12px 20px 20px; gap: 4px; }
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { text-decoration: none; color: var(--dark); font-size: 15px; font-weight: 600; padding: 12px 16px; border-radius: 6px; transition: background 0.2s; }
.nav-mobile-menu a:hover { background: var(--green-pale); color: var(--green); }
.nav-mobile-menu .btn-devis { margin-top: 8px; text-align: center; justify-content: center; }
.nav-mobile-social { display: flex; gap: 16px; padding: 12px 16px 4px; }
.nav-mobile-social a { color: var(--dark); opacity: 0.6; }
.nav-mobile-social svg { width: 22px; height: 22px; fill: currentColor; }

/* SEARCH */
.search-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; align-items: flex-start; justify-content: center; padding-top: 80px; }
.search-overlay.open { display: flex; }
.search-box { background: var(--white); border-radius: 12px; padding: 20px; width: 100%; max-width: 560px; display: flex; gap: 10px; align-items: center; }
.search-box input { flex: 1; border: 1px solid var(--border); border-radius: 6px; padding: 12px 16px; font-size: 15px; font-family: 'Montserrat', sans-serif; outline: none; }
.search-box input:focus { border-color: var(--green); }
.search-box button { background: var(--green); color: var(--white); border: none; border-radius: 6px; padding: 12px 20px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'Montserrat', sans-serif; }

/* HERO */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--dark); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(20,40,20,0.92) 42%, rgba(30,77,43,0.4) 100%); }
.hero-content { position: relative; z-index: 2; padding: 80px 40px 110px; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(242,235,217,0.15); border: 1px solid var(--beige); color: var(--beige); font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 24px; letter-spacing: 0.5px; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.hero h1 em { font-style: italic; font-family: 'Lora', serif; color: var(--beige); font-weight: 400; }
.hero-sub { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.85; margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: var(--white); padding: 15px 30px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background 0.15s, transform 0.15s; }
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 8px; border: 2px solid rgba(255,255,255,0.5); color: var(--white); padding: 13px 28px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* HERO STATS — une seule ligne, centrée, bords arrondis en haut */
.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; background: var(--green); overflow: hidden; }
.hero-stat { padding: 16px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,0.15); flex: 0 0 auto; }
.hero-stat:last-child { border-right: none; }
.stat-num { font-size: 18px; font-weight: 800; color: var(--beige); }
.stat-label { font-size: 10px; color: rgba(255,255,255,0.75); font-weight: 500; margin-top: 2px; }

/* SECTIONS */
.section { padding: 80px 40px; }
.section-tag { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green-light); font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--dark); margin-bottom: 16px; line-height: 1.2; }
.section-title em { font-style: italic; font-family: 'Lora', serif; color: var(--green); font-weight: 400; }
.section-sub { color: var(--muted); font-size: 15px; max-width: 560px; line-height: 1.85; margin-bottom: 48px; }

/* PRESTATIONS */
.prestations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prestation-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; display: block; }
.prestation-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(30,77,43,0.13); }
.prestation-img { width: 100%; height: 165px; object-fit: cover; display: block; }
.prestation-body { padding: 18px 16px 20px; }
.prestation-num { font-size: 10px; letter-spacing: 2px; color: var(--green-light); font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.prestation-name { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.prestation-desc { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.prestation-link { font-size: 12px; font-weight: 700; color: var(--green); display: flex; align-items: center; gap: 4px; }

/* POURQUOI — emoji sur le côté du titre */
.pourquoi-section { background: var(--dark); padding: 72px 40px; }
.pourquoi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.pourquoi-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 20px 20px; transition: background 0.2s; }
.pourquoi-card:hover { background: rgba(255,255,255,0.09); }
.pourquoi-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pourquoi-icon { font-size: 22px; flex-shrink: 0; }
.pourquoi-title { font-size: 15px; font-weight: 700; color: var(--beige); }
.pourquoi-text { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; padding-left: 34px; }

/* AVANT/APRES */
.avantapres-section { padding: 80px 40px; }
.avantapres-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; border-radius: 10px; overflow: hidden; }
.aa-item { position: relative; overflow: hidden; }
.aa-item img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.4s; }
.aa-item:hover img { transform: scale(1.04); }
.aa-label { position: absolute; top: 12px; left: 12px; background: rgba(30,77,43,0.88); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: 1px; text-transform: uppercase; }
.aa-label.apres { background: rgba(242,235,217,0.92); color: var(--dark); }
.avantapres-cta { text-align: center; margin-top: 32px; }
.btn-outline-green { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--green); color: var(--green); padding: 13px 28px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background 0.2s, color 0.2s; }
.btn-outline-green:hover { background: var(--green); color: var(--white); }

/* AVIS */
.avis-section { background: var(--green-pale); padding: 80px 40px; }
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.avis-card { background: var(--white); border-radius: 10px; padding: 28px 24px; box-shadow: 0 4px 16px rgba(30,77,43,0.07); }
.avis-stars { color: #F5A623; font-size: 16px; margin-bottom: 12px; }
.avis-text { font-size: 14px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.avis-author { font-size: 13px; font-weight: 700; color: var(--green); }

/* A PROPOS */
.apropos-section { padding: 80px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.apropos-img { width: 100%; border-radius: 12px; object-fit: cover; height: 440px; display: block; }
.apropos-right h2 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 20px; line-height: 1.2; }
.apropos-right h2 em { font-style: italic; font-family: 'Lora', serif; color: var(--green); font-weight: 400; }
.apropos-right p { font-size: 15px; color: var(--muted); line-height: 1.9; margin-bottom: 16px; }

/* CONTACT */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; }
.contact-left { background: var(--green-pale); padding: 72px 48px; }
.contact-right { background: var(--beige); padding: 72px 48px; display: flex; flex-direction: column; justify-content: center; }
.contact-left h2 { font-size: 30px; font-weight: 800; color: var(--dark); margin-bottom: 36px; }
.contact-left h2 em { font-style: italic; font-family: 'Lora', serif; color: var(--green); font-weight: 400; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-value { font-size: 15px; font-weight: 600; color: var(--dark); }
.contact-value a { color: var(--dark); text-decoration: none; }
.contact-value a:hover { color: var(--green); }
.contact-right h3 { font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 14px; line-height: 1.25; }
.contact-right p { font-size: 14px; color: rgba(26,34,24,0.65); margin-bottom: 16px; line-height: 1.7; }
.btn-green { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: var(--white); padding: 15px 32px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; margin-top: 8px; transition: background 0.2s, transform 0.15s; }
.btn-green:hover { background: var(--green-light); transform: translateY(-2px); }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,0.4); display: flex; justify-content: space-between; align-items: center; padding: 22px 40px; font-size: 12px; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,0.06); }
footer strong { color: rgba(255,255,255,0.7); }
footer a { color: rgba(255,255,255,0.4); text-decoration: none; }
footer a:hover { color: rgba(255,255,255,0.7); }

/* PAGES PRESTATIONS */
.prestation-hero { background: var(--dark); padding: 72px 40px 60px; position: relative; overflow: hidden; min-height: 320px; display: flex; align-items: center; }
.prestation-hero img.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.prestation-hero-content { position: relative; z-index: 1; max-width: 680px; }
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.prestation-hero-content h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.prestation-hero-content p { color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.8; max-width: 520px; margin-bottom: 28px; }
.prestation-content { padding: 72px 40px; max-width: 900px; margin: 0 auto; }
.prestation-content h2 { font-size: 26px; font-weight: 800; color: var(--dark); margin: 48px 0 16px; }
.prestation-content h2:first-child { margin-top: 0; }
.prestation-content p { color: var(--muted); line-height: 1.9; margin-bottom: 16px; font-size: 15px; }
.prestation-content ul { list-style: none; padding: 0; margin-bottom: 24px; }
.prestation-content ul li { padding: 10px 0 10px 28px; position: relative; color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--border); }
.prestation-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.tips-box { background: var(--green-pale); border-left: 4px solid var(--green); border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 32px 0; }
.tips-box h3 { font-size: 15px; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.tips-box p { font-size: 14px; color: var(--text); line-height: 1.7; margin: 0; }
.prestation-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.prestation-photos img { width: 100%; border-radius: 8px; object-fit: cover; height: 240px; }
.cta-box { background: var(--green); color: var(--white); border-radius: 12px; padding: 40px 32px; text-align: center; margin-top: 56px; }
.cta-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,0.75); font-size: 14px; margin-bottom: 24px; }
.btn-beige { background: var(--beige); color: var(--dark); padding: 14px 32px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s; }
.btn-beige:hover { background: var(--beige-dark); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.hero-badge { animation: fadeUp 0.5s ease both; }
.hero h1 { animation: fadeUp 0.6s 0.1s ease both; }
.hero-sub { animation: fadeUp 0.6s 0.2s ease both; }
.hero-btns { animation: fadeUp 0.6s 0.3s ease both; }

/* RESPONSIVE TABLETTE */
@media (max-width: 900px) {
  nav { padding: 10px 18px; }
  .nav-center { display: none; }
  .nav-social { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero-content { padding: 60px 20px 100px; }
  .hero-stat { padding: 14px 16px; }
  .stat-num { font-size: 15px; }
  .stat-label { font-size: 9px; }
  .section { padding: 52px 20px; }
  .prestations-grid { grid-template-columns: 1fr 1fr; }
  .pourquoi-grid { grid-template-columns: 1fr 1fr; }
  .avantapres-grid { grid-template-columns: 1fr 1fr; }
  .aa-item img { height: 200px; }
  .avis-grid { grid-template-columns: 1fr; }
  .apropos-section { grid-template-columns: 1fr; gap: 32px; padding: 52px 20px; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 48px 24px; }
  footer { padding: 18px; flex-direction: column; text-align: center; }
  .prestation-photos { grid-template-columns: 1fr; }
  .prestation-content { padding: 48px 20px; }
  .prestation-hero { padding: 52px 20px 48px; }
  .pourquoi-section { padding: 52px 20px; }
}

/* RESPONSIVE MOBILE */
@media (max-width: 540px) {
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 14px; }
  .btn-primary, .btn-outline-white { padding: 12px 18px; font-size: 13px; }
  .hero-stat { padding: 12px 6px; flex: 1; min-width: 0; }
  .stat-num { font-size: 13px; }
  .stat-label { font-size: 8px; }
  .prestations-grid { grid-template-columns: 1fr 1fr; }
  .pourquoi-grid { grid-template-columns: 1fr; }
  .nav-logo img { height: 40px; }
  .btn-devis { padding: 8px 14px; font-size: 12px; }
}

/* HERO STATS — anti-coupure texte sur très petits écrans */
.hero-stat { overflow: hidden; }
.stat-num { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 400px) {
  .hero-stat { padding: 10px 4px; }
  .stat-num { font-size: 11px; }
  .stat-label { font-size: 7px; }
}

/* Ordre mobile : logo | devis | burger | loupe */
@media (max-width: 900px) {
  nav { flex-wrap: nowrap; }
  .nav-right { order: 2; gap: 8px; }
  .nav-mobile-toggle { order: 3; }
  .btn-devis { order: 1; }
  .nav-search { order: 2; }
  .nav-social { display: none; }
}

/* FORMULAIRE DEVIS */
.form-section { background: var(--cream); padding: 80px 40px; border-top: 1px solid var(--border); }
.form-inner { max-width: 640px; margin: 0 auto; }
.form-header { margin-bottom: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.form-group input, .form-group textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 13px 16px; font-size: 14px; font-family: 'Montserrat', sans-serif;
  color: var(--dark); background: var(--white); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,77,43,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%; background: var(--green); color: var(--white);
  border: none; border-radius: 8px; padding: 16px 24px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: 'Montserrat', sans-serif; transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--green-light); transform: translateY(-2px); }
.form-success {
  background: var(--green-pale); border: 1.5px solid var(--green);
  border-radius: 8px; padding: 20px 24px; font-size: 15px;
  font-weight: 600; color: var(--green); text-align: center; margin-top: 20px;
}
@media (max-width: 600px) {
  .form-section { padding: 52px 20px; }
}
