/* =============================================
   CANAP'NET — Feuille de style globale
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap');

/* ── Variables ── */
:root {
  --c-primary:    #18534F;
  --c-primary-dk: #0f3835;
  --c-secondary:  #226D68;
  --c-light:      #ECF8F6;
  --c-accent:     #FEEAA1;
  --c-warm:       #D6955B;
  --c-white:      #ffffff;
  --c-dark:       #111827;
  --c-gray:       #6b7280;
  --c-gray-lt:    #f9fafb;
  --c-border:     #e5e7eb;

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

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  --sh-sm: 0 1px 4px rgba(0,0,0,.08);
  --sh-md: 0 4px 20px rgba(0,0,0,.10);
  --sh-lg: 0 12px 48px rgba(0,0,0,.14);

  --t: .28s ease;
  --max-w: 1180px;
  --pad: clamp(1rem, 4vw, 2rem);

  --header-h: 96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: var(--font-body); color: var(--c-dark); background: var(--c-white); line-height: 1.65; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--c-primary);
}
h1 { font-size: clamp(2rem,   5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { max-width: 68ch; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.section--light { background: var(--c-gray-lt); }
.section--green { background: var(--c-light); }
.section--dark  { background: var(--c-primary); color: var(--c-white); }
.section--dark h2, .section--dark h3 { color: var(--c-white); }
.section--dark p  { color: rgba(255,255,255,.85); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-2-fixed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3-fixed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-intro    { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.desktop-only  { }
.mobile-only   { display: none; }
.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.25rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Section header ── */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-warm);
  margin-bottom: .75rem;
}
.section-title { margin-bottom: .75rem; }
.section-sub {
  color: var(--c-gray);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
}
.btn-primary:hover { background: var(--c-primary-dk); transform: translateY(-1px); box-shadow: var(--sh-md); }

.btn-accent {
  background: var(--c-accent);
  color: var(--c-dark);
}
.btn-accent:hover { background: #fde57a; transform: translateY(-1px); box-shadow: var(--sh-md); }

.btn-outline {
  border: 2px solid currentColor;
  color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: white; }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,.6);
  color: white;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: white; }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }

/* ── Header ── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--sh-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Logo */
.logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--c-primary);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: var(--font-head);
  font-size: 1.3rem;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--c-primary);
  line-height: 1;
}
.logo-text span { color: var(--c-warm); }

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-item { position: relative; }

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-dark);
  padding: .4rem 0;
  display: flex;
  align-items: center;
  gap: .25rem;
  transition: color var(--t);
}
.nav-link:hover,
.nav-link.active { color: var(--c-primary); }
.nav-link .arrow {
  font-size: .6rem;
  transition: transform var(--t);
}
.nav-item:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--c-white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  min-width: 220px;
  padding: 1.25rem .5rem .5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t);
  border: 1px solid var(--c-border);
  pointer-events: none;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dropdown-link {
  display: block;
  padding: .55rem 1rem;
  border-radius: var(--r-sm);
  font-size: .88rem;
  color: var(--c-dark);
  transition: background var(--t), color var(--t);
}
.dropdown-link:hover { background: var(--c-light); color: var(--c-primary); }
.dropdown-separator {
  height: 1px;
  background: var(--c-border);
  margin: .3rem .5rem;
}

/* Nav CTA */
.btn-nav {
  background: var(--c-primary);
  color: white;
  padding: .55rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 600;
  transition: background var(--t);
}
.btn-nav:hover { background: var(--c-primary-dk); color: white; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: all var(--t);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--c-white);
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem var(--pad) 2rem;
  flex-direction: column;
  gap: .25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  display: block;
  padding: .85rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  color: var(--c-dark);
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav-link:hover { background: var(--c-light); color: var(--c-primary); }
.mobile-nav-group summary {
  padding: .85rem 1rem;
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
  border-bottom: 1px solid var(--c-border);
  list-style: none;
}
.mobile-nav-group[open] summary { background: var(--c-light); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.mobile-sub { padding-left: 1rem; }
.mobile-sub a {
  display: block;
  padding: .6rem 1rem;
  font-size: .9rem;
  color: var(--c-gray);
  border-bottom: 1px solid var(--c-border);
  transition: color var(--t);
}
.mobile-sub a:hover { color: var(--c-primary); }
.mobile-nav-cta { margin-top: 1.5rem; }

/* ── Footer ── */
.site-footer {
  background: var(--c-primary-dk);
  color: rgba(255,255,255,.8);
  padding-block: 3.5rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text { color: white; }
.footer-brand .logo-mark { background: var(--c-secondary); }
.footer-brand .logo { margin: 0 0 1rem -52px; }
.footer-tagline { font-size: .9rem; line-height: 1.6; max-width: 30ch; }
.footer-contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.footer-contact a:hover { color: var(--c-accent); }

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .9rem; transition: color var(--t); }
.footer-col ul li a:hover { color: var(--c-accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: white; }

/* ── Hero ── */
.hero {
  padding-top: var(--header-h);
  background: linear-gradient(140deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  color: white;
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(254,234,161,.12) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
  padding-block: 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.hero h1 { color: white; margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.1rem; opacity: .88; margin-bottom: 2rem; max-width: 46ch; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
.hero-stat-icon {
  width: 46px; height: 46px;
  background: rgba(255,255,255,.15);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.hero-stat-val { font-size: 1.5rem; font-weight: 700; color: var(--c-accent); line-height: 1; }
.hero-stat-lbl { font-size: .85rem; opacity: .8; }

/* Hero compact (sous-pages) */
.hero-compact {
  padding-top: var(--header-h);
  background: linear-gradient(140deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  color: white;
  padding-block: calc(var(--header-h) + 2rem) 3rem;
  position: relative;
}
.hero-compact::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(254,234,161,.1) 0%, transparent 60%);
}
.hero-compact .container { position: relative; z-index: 1; }
.hero-compact h1 { color: white; margin-bottom: 1rem; }
.hero-compact p  { opacity: .88; max-width: 56ch; font-size: 1.05rem; margin-bottom: 1.5rem; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--t); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--c-white);
  box-shadow: var(--sh-md);
  border-radius: var(--r-md);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}
.stat-item { text-align: center; }
.stat-val { font-size: 1.75rem; font-weight: 700; color: var(--c-primary); font-family: var(--font-head); line-height: 1; }
.stat-lbl { font-size: .78rem; color: var(--c-gray); margin-top: .2rem; }
.stat-sep { width: 1px; height: 40px; background: var(--c-border); }

/* ── Cards ── */
.card {
  background: var(--c-white);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  padding: 1.75rem;
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }

.card-icon {
  width: 60px; height: 60px;
  background: var(--c-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.card-icon i { font-size: 1.4rem; color: var(--c-primary); }
.grid-3-fixed .card { text-align: center; }
.grid-3-fixed .card .card-icon { margin-inline: auto; }
.grid-4 .card .card-icon { margin-inline: auto; }
.grid-2 a.card { text-align: center; }
.grid-2 a.card .card-icon { margin-inline: auto; }
.card__icon {
  width: 60px; height: 60px;
  background: var(--c-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  margin-inline: auto;
}
.card__icon i { font-size: 1.4rem; color: var(--c-primary); }
.card--feature { text-align: center; }
.card h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.card p   { color: var(--c-gray); font-size: .92rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-primary);
  transition: gap var(--t);
}
.card-link:hover { gap: .6rem; }

/* Feature card */
.feature-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--c-accent);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.feature-icon i { font-size: 1.2rem; color: var(--c-primary); }
.feature-card h3, .feature-card h4 { margin-bottom: .3rem; color: var(--c-primary); }
.feature-card p  { color: var(--c-gray); font-size: .9rem; }

/* Blog card */
.blog-card { overflow: hidden; }
.blog-card-img {
  aspect-ratio: 3 / 2;
  background: var(--c-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  margin: -1.75rem -1.75rem 1.5rem;
  overflow: hidden;
}
.blog-tag {
  display: inline-block;
  background: var(--c-light);
  color: var(--c-primary);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .65rem;
  border-radius: 100px;
  margin-bottom: .6rem;
}
.blog-meta { font-size: .82rem; color: var(--c-gray); margin-top: .5rem; }

/* Testimonial card */
.testimonial-card {
  padding: 2rem;
  border-radius: var(--r-md);
  background: var(--c-white);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border);
}
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; letter-spacing: .1em; }
.testimonial-text { color: var(--c-dark); font-size: .95rem; line-height: 1.7; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.author-avatar {
  width: 40px; height: 40px;
  background: var(--c-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--c-primary);
  font-size: .9rem;
}
.author-name { font-weight: 600; font-size: .9rem; }
.author-city { font-size: .8rem; color: var(--c-gray); }

/* ── Process steps ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 2rem;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  height: calc(100% - 48px);
  background: var(--c-border);
}
.step:last-child::before { display: none; }
.step-num {
  width: 48px; height: 48px;
  background: var(--c-primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-content h3, .step-content h4 { margin-bottom: .3rem; padding-top: .6rem; }
.step-content p  { color: var(--c-gray); font-size: .92rem; }

/* ── FAQ Accordion ── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--t);
}
.faq-item.open { box-shadow: var(--sh-sm); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: .95rem;
  text-align: left;
  color: var(--c-dark);
  gap: 1rem;
  background: var(--c-white);
  transition: background var(--t);
}
.faq-item.open .faq-question { background: var(--c-light); color: var(--c-primary); }
.faq-icon {
  width: 22px; height: 22px;
  background: var(--c-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  transition: transform var(--t), background var(--t);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--c-primary); color: white; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding var(--t);
}
.faq-answer-inner { padding: 0 1.4rem 1.25rem; color: var(--c-gray); font-size: .92rem; line-height: 1.75; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pricing-card {
  border: 2px solid var(--c-primary);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.pricing-card.popular {
  border-color: var(--c-primary);
  position: relative;
}
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .85rem;
  border-radius: 100px;
}
.pricing-name { font-weight: 700; color: var(--c-gray); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.pricing-price { font-size: 2.4rem; font-family: var(--font-head); color: var(--c-primary); line-height: 1; }
.pricing-unit { font-size: .8rem; color: var(--c-gray); margin-top: .2rem; }
.pricing-features { margin: 1.5rem 0; text-align: left; display: flex; flex-direction: column; gap: .6rem; }
.pricing-features li { font-size: .88rem; display: flex; align-items: flex-start; gap: .5rem; }
.pricing-features li::before { content: '✓'; color: var(--c-primary); font-weight: 700; flex-shrink: 0; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: white;
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(254,234,161,.15) 0%, transparent 60%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: white; margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.85); margin-bottom: 2rem; margin-inline: auto; }
.cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── City chips ── */
.city-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  margin-bottom: 2rem;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-inline: auto;
}
.map-embed iframe, .map-embed svg { width: 100%; height: 100%; display: block; }
@media (max-width: 640px) {
  .map-embed { aspect-ratio: 4 / 3; max-width: 100%; }
}
.city-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: 100px;
  padding: .45rem 1rem;
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--t);
}
.city-chip:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-light); }

/* ── Forms ── */
.form-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--c-border);
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-dark);
  font-size: .95rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(24,83,79,.1);
}
.form-control::placeholder { color: var(--c-gray); opacity: .7; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .78rem; color: var(--c-gray); margin-top: .3rem; }
.form-check { display: flex; align-items: flex-start; gap: .6rem; }
.form-check input { margin-top: 2px; accent-color: var(--c-primary); flex-shrink: 0; }
.form-check label { font-size: .85rem; color: var(--c-gray); }

/* ── Alert / Infobanner ── */
.alert {
  padding: .9rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-info    { background: var(--c-light); border: 1px solid #99d6cd; color: var(--c-primary); }
.alert-warm    { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* ── Table ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { background: var(--c-primary); color: white; padding: .75rem 1rem; text-align: left; font-weight: 600; }
td { padding: .7rem 1rem; border-bottom: 1px solid var(--c-border); }
tr:nth-child(even) td { background: var(--c-gray-lt); }
tr:hover td { background: var(--c-light); }

/* ── Inline phone/link ── */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--c-primary);
  font-size: 1.1rem;
}
.phone-link:hover { color: var(--c-secondary); }

/* ── Page layout ── */
.page-body { padding-top: var(--header-h); }

/* ── Article / Blog ── */
.article-meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 2rem; }
.article-date, .article-read { font-size: .85rem; color: var(--c-gray); }
.article-content { max-width: 72ch; }
.article-content h2 { margin: 2rem 0 .75rem; }
.article-content h3 { margin: 1.5rem 0 .5rem; }
.article-content p  { margin-bottom: 1rem; color: var(--c-dark); line-height: 1.8; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content li { margin-bottom: .4rem; line-height: 1.7; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content a { color: var(--c-primary); text-decoration: underline; }

/* ═══════════════════════════════════════════
   CLASSES PAGES VILLES (BEM)
═══════════════════════════════════════════ */

/* Hero compact — modifieur BEM utilisé dans les pages villes */
.hero--compact {
  min-height: auto;
  padding-block: calc(var(--header-h) + 2.5rem) 3rem;
  display: block;
}
.hero--compact .container { position: relative; z-index: 1; }
.hero--compact h1 { color: white; margin-bottom: 1rem; }

/* Badge (étiquette ville dans le hero compact) */
.badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.9);
}

/* Hero content BEM */
.hero__content { position: relative; z-index: 1; }
.hero__lead {
  font-size: 1.05rem;
  opacity: .88;
  margin-bottom: 1.75rem;
  max-width: 56ch;
  color: white;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Boutons BEM */
.btn--primary   { background: var(--c-primary); color: var(--c-white); }
.btn--primary:hover { background: var(--c-primary-dk); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn--outline   { border: 2px solid currentColor; color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: white; }
.btn--outline-light { border: 2px solid rgba(255,255,255,.6); color: white; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,.15); border-color: white; }

/* Alertes BEM */
.alert--warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.alert--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

/* Card feature BEM */
.card--feature {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--c-white);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  padding: 1.25rem;
  transition: box-shadow var(--t), transform var(--t);
}
.card--feature:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.card__icon {
  width: 44px; height: 44px;
  background: var(--c-light);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.card--feature h3 { margin-bottom: .25rem; font-size: 1rem; color: var(--c-primary); }
.card--feature p  { color: var(--c-gray); font-size: .88rem; max-width: none; }

/* FAQ BEM */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq__item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--t);
}
.faq__item.open { box-shadow: var(--sh-sm); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: .95rem;
  text-align: left;
  color: var(--c-dark);
  gap: 1rem;
  background: var(--c-white);
  transition: background var(--t);
  cursor: pointer;
}
.faq__question::after {
  content: '+';
  width: 24px; height: 24px;
  background: var(--c-light);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  transition: transform var(--t), background var(--t);
}
.faq__item.open .faq__question { background: var(--c-light); color: var(--c-primary); }
.faq__item.open .faq__question::after { transform: rotate(45deg); background: var(--c-primary); color: white; }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq__answer p { padding: 0 1.4rem 1.25rem; color: var(--c-gray); font-size: .92rem; line-height: 1.75; margin: 0; max-width: none; }

/* Steps BEM */
.step__number {
  width: 48px; height: 48px;
  background: var(--c-primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step__content h3 { margin-bottom: .3rem; padding-top: .5rem; color: var(--c-primary); }
.step__content p  { color: var(--c-gray); font-size: .92rem; max-width: none; }

/* Section header BEM */
.section__header { text-align: center; margin-bottom: 2.5rem; }
.section__header h2 { margin-bottom: .6rem; }
.section__header p  { color: var(--c-gray); font-size: 1.05rem; margin-inline: auto; }

/* Tableau de tarifs pages villes */
.pricing-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pricing-table th { background: var(--c-primary); color: white; padding: .75rem 1rem; text-align: left; font-weight: 600; }
.pricing-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--c-border); }
.pricing-table tr:nth-child(even) td { background: var(--c-gray-lt); }
.pricing-table tr:hover td { background: var(--c-light); }

/* CTA pages villes */
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Breadcrumb nav hors hero (pages villes) */
.breadcrumb-nav {
  background: var(--c-light);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb-nav .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .2rem;
  padding-block: .75rem;
  font-size: .82rem;
  color: var(--c-gray);
}
.breadcrumb-nav .breadcrumb a { color: var(--c-primary); transition: color var(--t); }
.breadcrumb-nav .breadcrumb a:hover { color: var(--c-primary-dk); }
.breadcrumb-nav .breadcrumb li + li::before { content: '›'; margin-right: .2rem; color: var(--c-gray); }
.breadcrumb-nav .breadcrumb [aria-current] { color: var(--c-gray); }

/* Testimonials pages villes */
.testimonial-card p { font-style: italic; color: var(--c-dark); font-size: .93rem; line-height: 1.7; max-width: none; }
.testimonial-card strong { display: block; margin-top: 1rem; font-weight: 600; font-size: .88rem; color: var(--c-primary); }

/* City chips pages villes */
.city-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .5rem; }

/* Grille 2 colonnes homepage (remplace les inline styles) */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.section-grid--start { align-items: flex-start; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */

/* — Tablette 960px — */
@media (max-width: 960px) {
  .main-nav  { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card  { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3       { grid-template-columns: repeat(2, 1fr); }
  .grid-3-fixed { grid-template-columns: repeat(2, 1fr); }
  .grid-4       { grid-template-columns: repeat(2, 1fr); }
  /* Inverser image/texte si l'image vient en 2e colonne */
  .section-grid > *:last-child { order: -1; }
  .section-grid--start > *:last-child { order: 0; }
}

/* — Mobile 640px — */
@media (max-width: 640px) {
  /* Stats bar */
  .stats-bar { flex-direction: column; gap: 1rem; padding: 1rem 1.25rem; }
  .stat-sep  { width: 100%; height: 1px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Hero */
  .hero { min-height: auto; padding-bottom: 2.5rem; }
  .hero-cta  { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; width: 100%; }
  .hero-badge { font-size: .75rem; }

  /* CTA banners */
  .cta-group, .cta-banner__actions { flex-direction: column; align-items: stretch; }
  .cta-group .btn, .cta-banner__actions .btn { justify-content: center; }

  /* Grid collapse */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2-fixed { grid-template-columns: 1fr; }
  .grid-3-fixed { grid-template-columns: 1fr; }
  .grid-4       { grid-template-columns: 1fr; }
  .grid-intro { grid-template-columns: 1fr; gap: 2rem; }
  .desktop-only { display: none; }
  .mobile-only  { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .material-card img { height: 260px; }
  .material-card { min-height: 260px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }

  /* Steps */
  .step { gap: 1rem; }
  .step-num, .step__number { width: 40px; height: 40px; font-size: 1rem; }
  .step::before { left: 19px; top: 42px; height: calc(100% - 42px); }

  /* FAQ */
  .faq-question, .faq__question { font-size: .88rem; padding: .85rem 1rem; }

  /* Cards */
  .card { padding: 1.25rem; text-align: center; }
  .card-icon { margin-inline: auto; }
  .testimonial-card { padding: 1.25rem; }
  .feature-card, .card--feature { flex-direction: column; gap: .75rem; align-items: center; text-align: center; }

  /* Tables scroll */
  .pricing-table, table { font-size: .82rem; }
  .pricing-table th, .pricing-table td,
  table th, table td { padding: .55rem .65rem; }

  /* Section header */
  .section__header { margin-bottom: 1.75rem; }
}

/* ═══════════════════════════════════════════
   STICKY PHONE BAR (mobile uniquement)
═══════════════════════════════════════════ */
.sticky-phone {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  box-shadow: 0 -4px 24px rgba(0,0,0,.22);
}
.sticky-phone a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .6rem .4rem;
  gap: .15rem;
  color: white;
  font-weight: 700;
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.2;
  transition: filter .2s;
}
.sticky-phone a:hover { filter: brightness(1.1); }
.sticky-phone__icon { font-size: 1.25rem; }
.sticky-phone__call  { background: var(--c-primary); }
.sticky-phone__wa    { background: #25D366; }
.sticky-phone__devis { background: var(--c-warm); }
@media (max-width: 640px) {
  .sticky-phone { display: flex; }
  body { padding-bottom: 62px; }
}

/* ═══════════════════════════════════════════
   MATERIAL CARDS (image overlay — /nettoyage-canape/)
═══════════════════════════════════════════ */
.material-card {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t);
}
.material-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.material-card img {
  width: 100%; height: 380px;
  object-fit: cover; display: block;
}
.material-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,56,53,.9) 0%, rgba(15,56,53,.25) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.material-card h3 { color: white; margin-bottom: .3rem; font-size: 1.25rem; }
.material-card p  { color: rgba(255,255,255,.82); font-size: .88rem; line-height: 1.55; max-width: none; margin-bottom: .75rem; }
.material-card .card-link { color: var(--c-accent); font-size: .82rem; font-weight: 700; }
