/* =====================================================
   BH DELIVERY – Feuille de style principale
   ===================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:      #0d0d0d;
  --dark:       #1a1a1a;
  --gray-dark:  #3d3d3d;
  --gray:       #7a7a7a;
  --gray-light: #c8c8c8;
  --off-white:  #f5f5f3;
  --white:      #ffffff;
  --green:      #2d5a27;
  --green-mid:  #3d7a35;
  --green-light:#eaf5e8;
  --accent:     #1a1a1a;

  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow:     0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-white  { color: var(--white); }

.section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--dark);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-dark);
  max-width: 560px;
}

.section-sub {
  font-size: .95rem;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ── Boutons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--black);
  box-shadow: var(--shadow);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--black);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-large {
  padding: 18px 44px;
  font-size: 1rem;
}

/* ── NAVBAR ──────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
  padding: 0 24px;
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img { height: 40px; width: auto; }

.nav-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-hours {
  font-size: .82rem;
  color: var(--gray);
  font-weight: 500;
}

.nav-email,
.nav-phone {
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  transition: color .15s;
}
.nav-email:hover,
.nav-phone:hover { color: var(--green); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  background: var(--off-white);
  padding: 96px 24px;
  overflow: hidden;
}

.hero-container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: var(--white);
  border: 1px solid #e0e0e0;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-highlight {
  position: relative;
  display: inline-block;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: #d4f0ce;
  z-index: -1;
  border-radius: 3px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image { display: flex; justify-content: center; }

.hero-img-wrapper {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eaf5e8;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrapper svg { width: 100%; height: 100%; display: block; }

/* ── DEVIS ───────────────────────────────────────────── */
.devis {
  padding: 96px 24px;
  background: var(--white);
}

.devis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.devis-text .section-desc { margin-bottom: 32px; }

.price-card {
  background: var(--off-white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.price-amount-label {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.price-features {
  margin-top: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-features li {
  font-size: .92rem;
  color: var(--gray-dark);
  font-weight: 500;
  padding-left: 4px;
}

/* ── PRODUITS ────────────────────────────────────────── */
.produits {
  padding: 96px 24px;
  background: var(--off-white);
}

.produits .section-title { margin-bottom: 16px; }

.produits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.produit-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}

.produit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.produit-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}

.produit-icon svg { width: 100%; height: 100%; }

.produit-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
}

/* ── TARIFS ──────────────────────────────────────────── */
.tarifs {
  padding: 96px 24px;
  background: var(--white);
}

.tarifs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tarif-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

.tarif-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}

.tarif-amount-text {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--white);
}

.tarif-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  margin-top: 20px;
  line-height: 1.65;
}

.tarif-extra {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}

.tarif-garantie { margin-top: 24px; }

.garantie-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.tarif-info .section-desc { margin-bottom: 28px; }

.tarif-avantages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tarif-avantages li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--gray-dark);
  font-weight: 500;
}

.tarif-avantages li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── ÉCOLOGIE ────────────────────────────────────────── */
.ecologie {
  padding: 96px 24px;
  background: var(--green);
}

.eco-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.eco-icon { font-size: 1.2rem; }

.ecologie .section-title { margin-bottom: 56px; }

.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.eco-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: background .2s;
}

.eco-card:hover { background: rgba(255,255,255,.15); }

.eco-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.eco-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.eco-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
}

/* ── CONTACT ─────────────────────────────────────────── */
.contact {
  padding: 96px 24px;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-text .section-desc { margin-bottom: 36px; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  color: var(--dark);
  font-weight: 500;
  transition: color .15s;
}

a.contact-item:hover { color: var(--green); }

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 48px 24px 32px;
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}

.footer-legal {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  transition: color .15s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

/* ── PAGE CGV ────────────────────────────────────────── */
.legal {
  padding: 72px 24px 96px;
  background: var(--white);
}
.legal .container { max-width: 860px; }
.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.legal .legal-sub {
  color: var(--gray);
  font-size: .95rem;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 12px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.legal h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 20px 0 8px;
}
.legal p, .legal li {
  color: var(--gray-dark);
  font-size: .96rem;
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal ul { padding-left: 20px; list-style: disc; }
.legal ul li { margin-bottom: 6px; }
.legal .back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: .88rem;
  color: var(--green-mid);
  font-weight: 600;
}
.legal .back-link:hover { text-decoration: underline; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-container,
  .devis-grid,
  .tarifs-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-image { display: none; }
  .produits-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .tarifs-grid { gap: 48px; }
}

@media (max-width: 640px) {
  .navbar { padding: 0 16px; }
  .nav-info { display: none; }
  .hero, .devis, .produits, .tarifs, .ecologie, .contact {
    padding: 64px 16px;
  }
  .produits-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .eco-grid { grid-template-columns: 1fr; }
  .contact-cta { width: 100%; }
  .contact-cta .btn { width: 100%; text-align: center; }
  .price-amount-label { font-size: 2rem; }
  .tarif-amount-text { font-size: 2.2rem; }
  .footer-grid { flex-direction: column; gap: 24px; }
}
