/* ==========================================================================
   ImpexDZ — Menage & Nettoyage Pro
   Palette claire teal/menthe + accent orange, typographie premium,
   imagerie traitee en duoton pour une identite coherente.
   ========================================================================== */

:root {
  --bg: #fbfdfc;
  --surface: #ffffff;
  --surface-alt: #f2faf7;
  --mint: #e4f8f0;
  --mint-strong: #baf0dd;
  --teal: #0f8a7e;
  --teal-dark: #0a6b61;
  --teal-darker: #0a3f3a;
  --orange: #ff8a3d;
  --orange-dark: #e8722a;
  --gold: #d4a94f;
  --text: #142523;
  --text-secondary: rgba(20, 37, 35, 0.68);
  --text-muted: rgba(20, 37, 35, 0.5);
  --border: rgba(20, 37, 35, 0.1);
  --border-strong: rgba(20, 37, 35, 0.16);
  --shadow-sm: 0 2px 10px rgba(10, 40, 35, 0.06);
  --shadow-md: 0 14px 34px rgba(10, 40, 35, 0.12);
  --shadow-lg: 0 30px 70px rgba(10, 40, 35, 0.18);
  --radius: 18px;
  --radius-sm: 10px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Plus Jakarta Sans', var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--teal-darker);
  letter-spacing: -.01em;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.15rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--text-secondary); }

section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--mint);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: inline-block; }

.section-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .96rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  font-family: var(--font-head);
}
.btn-primary { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); color: #fff; box-shadow: 0 10px 24px rgba(232, 114, 42, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(232, 114, 42, .4); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--teal-darker); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--teal-darker); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; justify-content: center; }

/* Top bar */
.top-bar { background: var(--teal-darker); color: rgba(255,255,255,.82); font-size: .82rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px; gap: 16px; flex-wrap: wrap; }
.top-bar a { color: rgba(255,255,255,.9); font-weight: 600; }
.top-bar a:hover { color: var(--orange); }
.top-bar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.top-bar-links span { display: inline-flex; align-items: center; gap: 6px; }
.top-bar-tag { color: rgba(255,255,255,.6); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 253, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.3rem; color: var(--teal-darker); font-family: var(--font-head); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff;
  box-shadow: 0 6px 14px rgba(15,138,126,.35);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--teal-darker); border-radius: 2px; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > a { font-weight: 600; font-size: .95rem; color: var(--text-secondary); padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav > a:hover, .main-nav > a.active { color: var(--teal); border-bottom-color: var(--teal); }
.nav-cta { margin-left: 6px; padding: 11px 22px; }

.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; width: 330px;
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .15s ease, translate .15s ease, visibility .15s;
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; translate: 0 0; }
.dropdown-panel a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; color: var(--text); }
.dropdown-panel a:hover { background: var(--mint); color: var(--teal-dark); }
.dd-icon { font-size: 1.05rem; width: 26px; text-align: center; }

/* ---------- Photo treatment (duoton de marque sur images provisoires) ---------- */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-md); background: var(--mint);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; filter: saturate(.92) contrast(1.05) brightness(.98); }
.photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(10, 63, 58, .5) 0%, rgba(15, 138, 126, .18) 45%, rgba(255, 138, 61, .22) 100%);
  mix-blend-mode: multiply;
}
.photo:hover img { transform: scale(1.06); }
.photo-caption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(10, 20, 18, .55); backdrop-filter: blur(4px);
  color: #fff; font-size: .82rem; font-weight: 700; padding: 7px 14px; border-radius: 999px;
}

/* Hero (image plein cadre)
   Le calque ::before neutralise la photo (assombrit + desature via
   backdrop-filter, quelle que soit sa luminosite d'origine) avant d'y poser
   une teinte de marque — garantit un texte lisible sur n'importe quel visuel
   provisoire, et donne un rendu "shootee pour la marque" plutot que stock brut. */
.hero-photo {
  position: relative; color: #fff; overflow: hidden;
  padding: 160px 0 136px;
  background-size: cover; background-position: center;
  isolation: isolate;
}
.hero-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  -webkit-backdrop-filter: brightness(.42) saturate(.55) contrast(1.08);
  backdrop-filter: brightness(.42) saturate(.55) contrast(1.08);
  background: linear-gradient(115deg, rgba(5, 26, 24, .92) 0%, rgba(8, 46, 42, .82) 40%, rgba(8, 46, 42, .58) 75%, rgba(8, 46, 42, .4) 100%);
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 120%, rgba(0,0,0,.35), transparent 60%);
}
.hero-photo .container { position: relative; z-index: 2; }
.hero-photo .eyebrow { background: rgba(255,255,255,.14); color: #fff; }
.hero-photo .eyebrow::before { background: var(--orange); }
.hero-photo h1 { color: #fff; max-width: 760px; text-shadow: 0 4px 28px rgba(0,0,0,.4); }
.hero-photo .lead { color: rgba(255,255,255,.88); max-width: 560px; font-size: 1.18rem; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero-photo .hero-badges { margin-top: 30px; }
.hero-photo .hero-badge { color: #fff; background: rgba(255,255,255,.12); padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); }
.hero-photo .breadcrumb { color: rgba(255,255,255,.68); }
.hero-photo .breadcrumb a { color: #fff; }
.hero-photo.hero-photo-sm { padding: 118px 0 96px; }
.hero-wave { display: block; width: 100%; height: 60px; margin-top: -2px; }

/* Hero (simple, pages interieures) */
.hero {
  padding: 84px 0 30px;
  background: radial-gradient(circle at 88% 10%, var(--mint) 0%, transparent 55%), var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero .lead { font-size: 1.15rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--teal-dark); }
.hero-badge .ic { font-size: 1.1rem; }
.hero-visual.photo { min-height: 380px; }

/* Trust bar */
.trust-bar { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--teal-darker); font-size: .92rem; }
.trust-item .ic {
  width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0;
}

/* Grid of cards */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: saturate(.92) contrast(1.05) brightness(.98); }
.card:hover .card-media img { transform: scale(1.08); }
.card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10, 63, 58, .38) 0%, rgba(15, 138, 126, .08) 60%, rgba(255, 138, 61, .16) 100%);
  mix-blend-mode: multiply;
}
.card-body { padding: 26px; }
.card .card-icon { font-size: 1.8rem; margin-bottom: 12px; display: inline-block; }
.card h3 { margin-bottom: .4em; font-size: 1.18rem; }
.card p { font-size: .95rem; }
.card a.card-link { font-weight: 700; color: var(--teal); font-size: .88rem; }
.card.flagship { border: 2px solid var(--orange); position: relative; }
.card.flagship::before {
  content: 'Service phare'; position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--orange); color: #fff; font-size: .7rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .03em;
  box-shadow: 0 6px 14px rgba(232,114,42,.4);
}

/* Split / feature sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { min-height: 320px; }
.feature-list { list-style: none; padding: 0; margin: 22px 0; }
.feature-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--border); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list .ic {
  color: #fff; background: var(--teal); font-weight: 900; font-size: .7rem;
  width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 3px;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 10px; }
.step .step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 16px;
  font-family: var(--font-head); box-shadow: 0 10px 22px rgba(15,138,126,.3);
}

/* Zones / chips */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--mint); color: var(--teal-dark); padding: 9px 18px; border-radius: 999px; font-size: .88rem; font-weight: 700; }

/* Pricing table */
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table th { background: var(--teal-darker); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; font-family: var(--font-head); }
.price-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.price-table tbody tr:hover { background: var(--mint); }
.price-table tr:last-child td { border-bottom: 0; }
.price-note { font-size: .85rem; color: var(--text-muted); margin-top: 14px; }

/* Testimonials */
.testimonial { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.testimonial .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial .avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.testimonial .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial .who-name { font-weight: 700; color: var(--teal-darker); font-size: .92rem; }
.testimonial .who-loc { font-size: .8rem; color: var(--text-muted); }

/* Before/after gallery */
.ba-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); background: var(--surface); }
.ba-media { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.ba-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: saturate(.92) contrast(1.05) brightness(.98); }
.ba-item:hover .ba-media img { transform: scale(1.06); }
.ba-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10, 63, 58, .3) 0%, transparent 55%, rgba(255, 138, 61, .14) 100%);
  mix-blend-mode: multiply;
}
.ba-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--teal-darker); font-size: .72rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em;
}
.ba-caption { padding: 14px 16px; font-size: .92rem; font-weight: 700; color: var(--teal-darker); }

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-darker) 100%);
  border-radius: 28px; padding: 64px; text-align: center; color: #fff;
}
.cta-banner::before {
  content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: var(--orange); opacity: .22; filter: blur(80px); top: -100px; right: -80px;
}
.cta-banner h2 { color: #fff; position: relative; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-banner .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.cta-banner .hero-actions { position: relative; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--teal-darker); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: #fff; color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,138,126,.15); }
.form-note { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }
.alert { padding: 15px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; font-size: .92rem; }
.alert-success { background: var(--mint); color: var(--teal-dark); border: 1px solid var(--mint-strong); }
.alert-error { background: #fdeceb; color: #a63244; border: 1px solid #f4c6c2; }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--teal); font-weight: 600; }

/* Blog */
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card .blog-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.blog-card .blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: saturate(.92) contrast(1.05) brightness(.98); }
.blog-card:hover .blog-thumb img { transform: scale(1.08); }
.blog-card .blog-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10, 63, 58, .35) 0%, transparent 60%);
  mix-blend-mode: multiply;
}
.blog-card .blog-body { padding: 22px; }
.blog-card .blog-date { font-size: .76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article .blog-cover { aspect-ratio: 21/9; margin-bottom: 34px; }
.blog-article h1 { margin-bottom: .2em; }
.blog-article .blog-meta { color: var(--text-muted); font-size: .88rem; margin-bottom: 30px; }
.blog-article h2 { margin-top: 1.6em; font-size: 1.4rem; }
.blog-article ul { color: var(--text-secondary); }

/* Team / about photo grid */
.about-photo { min-height: 260px; }

/* Footer */
.site-footer { background: var(--teal-darker); color: rgba(255,255,255,.82); padding: 70px 0 0; margin-top: 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; font-family: var(--font-head); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a { color: rgba(255,255,255,.75); font-size: .92rem; }
.site-footer a:hover { color: var(--orange); }
.footer-trust { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 14px; }
.footer-cta { color: var(--orange) !important; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.55); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.4rem; }
  .hero-photo { padding: 120px 0 100px; }
}

@media (max-width: 720px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .top-bar { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 16px 20px; gap: 4px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .dropdown-panel { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; display: none; translate: 0; }
  .nav-dropdown.open .dropdown-panel { display: grid; }
  .nav-cta { margin-left: 0; text-align: center; margin-top: 8px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .hero-photo { padding: 100px 0 80px; }
}
