/* ============================================
   CONTACT GESTION CEE - Styles principaux
   Palette naturelle : verts, beige, blanc cassé
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* Palette naturelle */
  --green-dark:    #2d5a27;
  --green-main:    #3d7a35;
  --green-mid:     #5a9e50;
  --green-light:   #8ec987;
  --green-pale:    #d4ead1;
  --green-ghost:   #eef6ec;
  --beige:         #f5f0e8;
  --beige-mid:     #e8dfc8;
  --cream:         #fdfaf5;
  --white:         #ffffff;
  --text-dark:     #1e2d1c;
  --text-mid:      #3d5238;
  --text-light:    #6b8a64;
  --text-muted:    #9ab094;
  --border:        #d0e4cc;
  --shadow:        rgba(45, 90, 39, 0.12);
  --shadow-strong: rgba(45, 90, 39, 0.22);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-ghost); }
::-webkit-scrollbar-thumb { background: var(--green-light); border-radius: 3px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { color: var(--text-mid); line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-main);
  background: var(--green-ghost);
  border: 1px solid var(--green-pale);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title { color: var(--text-dark); margin-bottom: 0.75rem; }
.section-sub   { color: var(--text-light); max-width: 600px; font-size: 1.05rem; }
.text-center   { text-align: center; }
.mx-auto       { margin-left: auto; margin-right: auto; }

/* ============ LAYOUT ============ */
.container {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
}

section { padding: 80px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-main);
  color: white;
  border-color: var(--green-main);
  box-shadow: 0 4px 14px var(--shadow);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-strong);
}

.btn-outline {
  background: transparent;
  color: var(--green-main);
  border-color: var(--green-main);
}
.btn-outline:hover {
  background: var(--green-main);
  color: white;
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--beige);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 34px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ============ NAVBAR ============ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

#navbar.scrolled {
  box-shadow: 0 4px 20px var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-dark);
}
.nav-logo-text span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--green-main);
  background: var(--green-ghost);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }

  #navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 10px 30px var(--shadow);
  }
  #navbar.menu-open .nav-links a { display: block; padding: 10px 16px; }
}

/* ============ HERO ============ */
#hero {
  padding-top: 70px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-ghost) 0%, var(--beige) 50%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--green-pale) 0%, transparent 70%);
  top: -200px; right: -150px;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--beige-mid) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-main);
  color: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}
.hero-title em {
  font-style: italic;
  color: var(--green-main);
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green-dark);
  line-height: 1;
}
.hero-stat span {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 60px var(--shadow-strong);
  max-width: 420px;
  width: 100%;
  border: 1px solid var(--border);
}

.hero-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-img-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--green-ghost);
}
.hero-img-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-img-item:hover img { transform: scale(1.05); }
.hero-img-item.span-2 { grid-column: span 2; aspect-ratio: 2/1; }

.hero-img-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.hero-img-footer span { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }
.hero-img-footer strong { font-size: 0.95rem; color: var(--green-dark); }

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
}

/* ============ IMPACT STRIP ============ */
#impact {
  padding: 32px 0;
  background: var(--green-dark);
  color: white;
}

.impact-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.impact-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.impact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
}
.impact-item span { font-size: 0.8rem; opacity: 0.8; }

/* ============ PRODUITS ============ */
#produits { background: var(--cream); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow-strong);
  border-color: var(--green-light);
}

.product-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--green-ghost);
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }

.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--green-main);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.product-economy {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--beige);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid var(--green-pale);
}

.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-body h3 {
  font-size: 1rem;
  color: var(--text-dark);
}
.product-body p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--green-ghost);
}

.product-price strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-dark);
}
.product-price span { font-size: 0.7rem; color: var(--text-light); }

/* ============ SIMULATEUR ============ */
#simulateur { background: var(--green-ghost); }

.simulator-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px var(--shadow);
  max-width: 800px;
  margin: 2rem auto 0;
}

.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.sim-field { display: flex; flex-direction: column; gap: 8px; }
.sim-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
}
.sim-field input[type="range"] {
  -webkit-appearance: none;
  height: 5px;
  background: var(--green-pale);
  border-radius: 5px;
  outline: none;
}
.sim-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-main);
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow);
}
.sim-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-dark);
}

.sim-results {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sim-result-item {
  text-align: center;
  background: var(--green-ghost);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--green-pale);
}
.sim-result-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green-dark);
}
.sim-result-item span { font-size: 0.78rem; color: var(--text-light); }

@media (max-width: 600px) {
  .sim-grid { grid-template-columns: 1fr; }
  .sim-results { grid-template-columns: 1fr; }
}

/* ============ SERVICES ============ */
#services { background: var(--beige); }

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}

.service-icon {
  width: 56px; height: 56px;
  background: var(--green-ghost);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--green-pale);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; }

/* ============ VIDEO ============ */
#tutoriel { background: var(--cream); }

.video-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px var(--shadow-strong);
  max-width: 820px;
  margin: 2rem auto 0;
}

.video-player {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--text-dark);
}

.video-player video {
  width: 100%; height: 100%;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  cursor: pointer;
  transition: var(--transition);
}
.video-overlay:hover { background: rgba(0,0,0,0.2); }
.video-overlay.hidden { display: none; }

.play-btn {
  width: 72px; height: 72px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: transform var(--transition);
}
.play-btn:hover { transform: scale(1.1); }

.video-caption {
  padding: 1.25rem 1.5rem;
  background: var(--green-ghost);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.video-caption p { font-size: 0.85rem; color: var(--text-mid); margin: 0; }

/* ============ TÉMOIGNAGES ============ */
#temoignages { background: var(--green-ghost); }

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.temoignage-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  position: relative;
}

.temo-stars { color: #e8a726; font-size: 1rem; margin-bottom: 0.75rem; }
.temo-quote { font-size: 0.9rem; color: var(--text-mid); font-style: italic; margin-bottom: 1.25rem; line-height: 1.7; }
.temo-author { display: flex; align-items: center; gap: 10px; }
.temo-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-dark);
  flex-shrink: 0;
}
.temo-name { font-weight: 600; font-size: 0.85rem; color: var(--text-dark); }
.temo-role { font-size: 0.75rem; color: var(--text-light); }

@media (max-width: 760px) { .temoignages-grid { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
#faq { background: var(--cream); }

.faq-list {
  max-width: 720px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}
.faq-question:hover { background: var(--green-ghost); }
.faq-question.active { color: var(--green-main); background: var(--green-ghost); }

.faq-icon {
  font-size: 1rem;
  color: var(--green-main);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-question.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer.open { max-height: 300px; }

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ============ À PROPOS ============ */
#apropos { background: var(--beige); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-affiche {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 50px var(--shadow-strong);
  border: 1px solid var(--border);
}
.about-affiche img { width: 100%; display: block; }

.about-content { display: flex; flex-direction: column; gap: 1.25rem; }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.5rem 0;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.about-feature-icon {
  font-size: 1.1rem;
  color: var(--green-main);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-feature p { font-size: 0.85rem; margin: 0; color: var(--text-mid); }
.about-feature strong { font-size: 0.9rem; color: var(--text-dark); display: block; margin-bottom: 2px; }

.about-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--green-ghost);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-pale);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
}
.contact-row strong { color: var(--text-dark); }

@media (max-width: 800px) { .about-inner { grid-template-columns: 1fr; } }

/* ============ FORMULAIRE DEVIS ============ */
#devis { background: var(--green-dark); }

.devis-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.devis-info h2, .devis-info p { color: white; }
.devis-info p { opacity: 0.8; }
.devis-info h2 { margin-bottom: 1rem; }

.devis-perks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.devis-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.devis-perk-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.devis-contact-direct {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
}
.devis-contact-direct p { color: rgba(255,255,255,0.7); font-size: 0.82rem; margin-bottom: 0.75rem; }
.devis-contact-direct a {
  color: var(--green-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 4px;
}
.devis-contact-direct a:hover { color: white; }

.devis-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 1rem;
}
.form-group.span-2 { grid-column: span 2; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
}

.form-control {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--green-mid);
  background: white;
  box-shadow: 0 0 0 3px rgba(90, 158, 80, 0.12);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control { resize: vertical; min-height: 90px; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] { accent-color: var(--green-main); width: 16px; height: 16px; }

.honeypot { display: none; }

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.form-submit-note { font-size: 0.75rem; color: var(--text-muted); }

#form-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 0.75rem;
}
#form-message.success { background: var(--green-ghost); color: var(--green-dark); border: 1px solid var(--green-pale); display: block; }
#form-message.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; display: block; }

@media (max-width: 800px) {
  .devis-inner { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-group.span-2 { grid-column: span 1; }
}

/* ============ CATALOGUE / FICHES ============ */
#catalogue { background: var(--cream); }

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.catalogue-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.catalogue-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px var(--shadow);
  border-color: var(--green-light);
  color: var(--green-dark);
}
.catalogue-item .cat-icon { font-size: 2.2rem; }
.catalogue-item strong { font-size: 0.9rem; font-family: var(--font-display); }
.catalogue-item span { font-size: 0.75rem; color: var(--text-light); }

/* ============ CONTACT ============ */
#contact { background: var(--beige); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
}
.contact-info-card h3 { margin-bottom: 1.25rem; }

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px;
  background: var(--green-ghost);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-row strong { display: block; font-size: 0.85rem; color: var(--text-dark); margin-bottom: 2px; }
.contact-info-row a, .contact-info-row span { font-size: 0.88rem; color: var(--text-light); text-decoration: none; display: block; }
.contact-info-row a:hover { color: var(--green-main); }

.map-placeholder {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--green-ghost);
  border: 1px solid var(--border);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}
.map-placeholder .map-emoji { font-size: 2.5rem; }

@media (max-width: 800px) { .contact-inner { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.6); }

.footer-col h4 {
  font-family: var(--font-display);
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-col ul li a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--green-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============ UTILITAIRES ============ */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--green-ghost);
  color: var(--green-dark);
  border: 1px solid var(--green-pale);
}

.divider {
  width: 40px;
  height: 3px;
  background: var(--green-main);
  border-radius: 2px;
  margin: 0.75rem 0 1.25rem;
}
.divider.center { margin-left: auto; margin-right: auto; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ============ MODAL PRODUIT ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-card {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  transform: scale(0.95);
  transition: var(--transition);
}
.modal-overlay.open .modal-card { transform: scale(1); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.modal-header h3 { font-size: 1.1rem; }
.modal-close {
  background: var(--green-ghost);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--green-pale); color: var(--green-dark); }

.modal-body { padding: 1.5rem; }

.modal-img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: var(--green-ghost);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.modal-specs { display: flex; flex-direction: column; gap: 0.4rem; margin: 1rem 0; }
.modal-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.modal-spec::before { content: '✓'; color: var(--green-main); font-weight: 700; }

.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--green-ghost);
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
}
.modal-price { font-family: var(--font-display); font-size: 2rem; color: var(--green-dark); }
.modal-price small { font-family: var(--font-body); font-size: 0.75rem; color: var(--text-light); }

/* ============ SCROLL TO TOP ============ */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--green-main);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--shadow-strong);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(10px);
  z-index: 900;
}
#scrollTop.visible { opacity: 1; transform: none; }
#scrollTop:hover { background: var(--green-dark); transform: translateY(-2px); }
