/* =====================================================================
   Val Energie SA — Feuille de style du site
   Style : doux, ludique et minimaliste — palette claire et aérée
   Police Inter auto-hébergée (aucun appel externe — RGPD-safe)
   ===================================================================== */

/* ---------- 0. Police auto-hébergée (Inter) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/inter-800.woff2") format("woff2");
}

/* ---------- 1. Variables ---------- */
:root {
  /* Palette alignée sur le logo Valenergie (marine / vert / orange / soleil) */
  --navy:        #15243d;   /* marine profond — sections sombres */
  --navy-dark:   #0e1a2d;   /* marine très profond — pied de page */
  --blue:        #2f7d9c;   /* accent froid discret — secondaire */
  --blue-light:  #e8f1f5;   /* bleu pâle */
  --green:       #2e9b76;   /* vert de marque — accent principal */
  --green-dark:  #1a6d54;   /* vert foncé — survol */
  --green-light: #e6f3ee;   /* vert menthe pâle */
  --amber:       #f5a623;   /* orange de marque — touche chaude */
  --sun:         #fcc84d;   /* jaune soleil — highlight */

  --ink:         #18283f;   /* marine sombre — titres */
  --body:        #515c6b;
  --muted:       #8a93a1;
  --line:        #e8ebf0;
  --bg:          #ffffff;
  --bg-soft:     #eef4f1;   /* menthe pâle — sections claires */
  --bg-tint:     #eaf2f4;

  --radius:      14px;
  --radius-lg:   26px;
  --radius-pill: 999px;
  --shadow-sm:   0 4px 18px rgba(28,71,32,.05);
  --shadow-md:   0 16px 40px rgba(28,71,32,.09);
  --shadow-lg:   0 28px 64px rgba(28,71,32,.12);

  --container:   1160px;
  --font:        "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.78;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.7rem; }
h2 { font-size: 2.05rem; }
h3 { font-size: 1.26rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 26px;
}

/* ---------- 3. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(46,155,118,.26); }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(46,155,118,.34); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 17px 34px; font-size: 1.04rem; }

/* ---------- 4. En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 88px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; text-decoration: none; }
.logo img { display: block; height: 64px; width: auto; }
.footer-logo img { height: 56px; filter: brightness(0) invert(1); opacity: .88; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .lt-name {
  font-size: 1.32rem; font-weight: 800;
  letter-spacing: .01em;
  display: inline-block;
}
.logo-text .lt-name .lt-val { color: var(--green); }
.logo-text .lt-name .lt-en  { color: var(--green-dark); }
.logo-text .lt-tag {
  font-size: .58rem; font-weight: 700; color: var(--green-dark);
  letter-spacing: .14em; text-transform: uppercase; margin-top: 5px;
  white-space: nowrap;
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block;
  padding: 10px 15px;
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
  border-radius: var(--radius-pill);
}
.main-nav a:hover { color: var(--green-dark); background: var(--bg-soft); }
.main-nav li.current > a { color: var(--green-dark); }

/* Sous-menu */
.has-sub { position: relative; }
.has-sub > a::after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
}
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 252px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { padding: 11px 15px; font-weight: 500; font-size: .94rem; border-radius: 12px; }
.sub-menu a:hover { background: var(--green-light); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink); font-size: .98rem;
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--green); }

/* Burger */
.burger {
  display: none;
  width: 48px; height: 48px;
  background: var(--bg-soft);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2.4px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%,-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.burger span::before { transform: translate(-50%,-8px); }
.burger span::after  { transform: translate(-50%,6px); }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translate(-50%,-50%) rotate(45deg); }
body.nav-open .burger span::after  { transform: translate(-50%,-50%) rotate(-45deg); }

/* ---------- 5. Héros ---------- */
.hero {
  background: var(--bg-soft);
  color: var(--body);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,155,118,.18), transparent 70%);
  top: -210px; right: -130px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.14), transparent 70%);
  bottom: -240px; left: -150px;
  pointer-events: none;
}
.hero-home { padding: 96px 0 104px; }
.hero-inner { max-width: 680px; position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-grid .hero-inner { max-width: 560px; }
.hero-art img { width: 100%; height: auto; display: block; }
.hero h1 { color: var(--ink); font-size: 3.05rem; margin-bottom: 22px; }
.hero p.lead { font-size: 1.21rem; color: var(--body); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .79rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-dark);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--green); display: inline-block; }
.hero .eyebrow { color: var(--green-dark); }

/* Héros de page intérieure */
.page-hero {
  background: var(--bg-soft);
  color: var(--body);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; right: -110px; top: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,155,118,.16), transparent 70%);
}
.page-hero .breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 16px; position: relative; z-index: 2; }
.page-hero .breadcrumb a { color: var(--green-dark); }
.page-hero .breadcrumb a:hover { color: var(--ink); }
.page-hero h1 { color: var(--ink); position: relative; z-index: 2; max-width: 780px; }
.page-hero p { color: var(--body); max-width: 690px; margin-top: 16px; font-size: 1.12rem; position: relative; z-index: 2; }

/* ---------- 6. Sections ---------- */
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section-navy h2 { color: #fff; }

.section-head { max-width: 730px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; }

/* ---------- 7. Grilles & cartes ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-link:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: transparent; }

.card-icon {
  width: 62px; height: 62px;
  border-radius: 19px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: var(--green-light);
  color: var(--green-dark);
}
.card-icon.green { background: var(--green-light); color: var(--green-dark); }
.card-icon.amber { background: #f8ece2; color: var(--amber); }
.card-icon svg { width: 31px; height: 31px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.card-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-weight: 700; font-size: .94rem; color: var(--green-dark);
}
.card-more svg { width: 16px; height: 16px; transition: transform .18s ease; }
.card-link:hover .card-more svg { transform: translateX(5px); }

/* ---------- 8. Listes à puces (check) ---------- */
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 13px;
  font-size: 1rem;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-light);
}
.check-list li::after {
  content: "";
  position: absolute; left: 8px; top: 7px;
  width: 6px; height: 10px;
  border-right: 2.4px solid var(--green-dark);
  border-bottom: 2.4px solid var(--green-dark);
  transform: rotate(45deg);
}
.check-list.on-navy li::before { background: rgba(255,255,255,.16); }
.check-list.on-navy li::after { border-color: #7fe3b8; }
.check-list.on-navy li { color: rgba(255,255,255,.9); }

/* ---------- 9. Blocs deux colonnes ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.narrow-gap { gap: 44px; }
.split-text h2 { margin-bottom: 18px; }

.visual-panel {
  border-radius: var(--radius-lg);
  min-height: 360px;
  background: linear-gradient(135deg, var(--navy), #2c6453);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.visual-panel.green { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.visual-panel.soft { background: linear-gradient(135deg, #dcefe4, var(--bg-soft)); }
.visual-panel svg { width: 56%; height: auto; opacity: .95; }
.visual-panel .vp-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.6px, transparent 1.6px);
  background-size: 28px 28px;
  opacity: .55;
}

/* ---------- 10. Bande statistiques ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.stat { text-align: center; padding: 8px; }
.stat .num { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.stat .lbl { font-size: .95rem; color: rgba(255,255,255,.78); margin-top: 10px; }
.section-navy .stat .num { color: #7fe3b8; }

/* ---------- 11. Étapes / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 8px; }
.step .step-num {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--green);
  color: #fff; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(46,155,118,.28);
}
.step h3 { font-size: 1.12rem; margin-bottom: 9px; }
.step p { font-size: .95rem; }
.step:not(:last-child)::before {
  content: "";
  position: absolute; top: 25px; left: 62px; right: -14px;
  height: 2px;
  background: var(--line);
}

/* ---------- 12. Bandeau CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 22px 48px rgba(46,155,118,.22);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.94); margin-bottom: 0; }
.cta-band .btn-ghost-light { border-color: #fff; }

/* ---------- 13. Marques / confiance ---------- */
.brand-strip {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 16px;
}
.brand-chip {
  padding: 13px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  letter-spacing: .03em;
}

/* ---------- 14. Encadrés ---------- */
.callout {
  background: var(--bg-tint);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.callout.green { background: var(--green-light); }
.callout h3 { font-size: 1.08rem; margin-bottom: 6px; }
.callout p { font-size: .98rem; margin-bottom: 0; }

/* ---------- 15. Accordéon / FAQ ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .faq-sign {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
}
.faq-q .faq-sign::before,
.faq-q .faq-sign::after {
  content: ""; position: absolute;
  background: var(--green);
  left: 50%; top: 50%;
  border-radius: 2px;
}
.faq-q .faq-sign::before { width: 12px; height: 2.4px; transform: translate(-50%,-50%); }
.faq-q .faq-sign::after  { width: 2.4px; height: 12px; transform: translate(-50%,-50%); transition: transform .2s ease; }
.faq-item.open .faq-sign::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { padding: 0 26px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
.faq-item.open .faq-a { padding: 0 26px 24px; max-height: 420px; }
.faq-a p { font-size: .98rem; }

/* ---------- Témoignages / avis clients ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 28px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.testimonial-stars { color: #f2b65e; font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial p { font-style: italic; color: var(--body); margin-bottom: 20px; }
.testimonial .t-author { margin-top: auto; font-weight: 700; color: var(--ink); font-size: .96rem; }
.testimonial .t-author span { display: block; font-weight: 500; color: var(--muted); font-size: .87rem; margin-top: 2px; }

/* ---------- 16. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; }
.info-card {
  display: flex; gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  margin-bottom: 16px;
}
.info-card .ic-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
}
.info-card .ic-icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.02rem; margin-bottom: 3px; }
.info-card p, .info-card a { font-size: .98rem; margin-bottom: 0; }

/* Formulaire */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46,155,118,.12);
}
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 15px 20px;
  background: var(--green-light);
  border-radius: 14px;
  color: var(--green-dark);
  font-weight: 600;
  font-size: .95rem;
}

/* ---------- 17. Pied de page ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 66px 0 0;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 50px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: #fff; }
.footer-about p { margin-bottom: 16px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .lt-name { color: #fff; }
.footer-contact-line { display: flex; gap: 10px; margin-bottom: 11px; align-items: flex-start; }
.footer-contact-line svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: #7fe3b8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .86rem;
  color: rgba(255,255,255,.55);
}

/* ---------- 18. Divers ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.lead-block { max-width: 760px; }
.prose p { margin-bottom: 1.1rem; }
.prose h3 { margin: 30px 0 12px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 19. E-commerce : réassurance, packs, badges, barre CTA ---------- */
.badge {
  display: inline-block;
  background: var(--green-light); color: var(--green-dark);
  font-size: .73rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; padding: 6px 13px; border-radius: var(--radius-pill);
}

/* Bandeau de réassurance */
.trust-bar { background: var(--green-light); }
.trust-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 14px 38px;
  max-width: var(--container); margin: 0 auto;
  padding: 22px 26px;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .95rem; color: var(--ink);
}
.trust-item svg { width: 21px; height: 21px; color: var(--green-dark); flex-shrink: 0; }

/* Packs / offres façon produit */
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.pack-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pack-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.pack-card.featured { border-color: var(--green); box-shadow: var(--shadow-md); }
.pack-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff;
  font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 18px; border-radius: var(--radius-pill); white-space: nowrap;
  box-shadow: 0 8px 18px rgba(46,155,118,.34);
}
.pack-icon {
  width: 58px; height: 58px; border-radius: 17px;
  background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pack-icon svg { width: 31px; height: 31px; }
.pack-card h3 { margin-bottom: 8px; }
.pack-tagline { font-size: .98rem; margin-bottom: 20px; }
.pack-card .check-list { margin-bottom: 26px; }
.pack-card .check-list li { font-size: .96rem; margin-bottom: 10px; }
.pack-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* Barre CTA collante */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--navy); color: #fff;
  transform: translateY(115%);
  transition: transform .32s ease;
  box-shadow: 0 -10px 32px rgba(0,0,0,.18);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .sc-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 13px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.sticky-cta .sc-text { font-weight: 700; font-size: 1rem; color: #fff; }
.sticky-cta .sc-actions { display: flex; align-items: center; gap: 14px; }
.sticky-cta .sc-phone {
  color: #fff; font-weight: 800; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.sticky-cta .sc-phone svg { width: 18px; height: 18px; color: #7fe3b8; }

/* ---------- 20. Responsive ---------- */
/* Bascule vers le menu mobile (l'en-tête complet ne tient plus) */
@media (max-width: 1200px) {
  .header-phone { display: none; }
  .burger { display: block; }
  .main-nav {
    position: fixed;
    top: 88px; left: 0; right: 0;
    height: calc(100vh - 88px);
    height: calc(100dvh - 88px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
    border-top: 1px solid var(--line);
  }
  body.nav-open .main-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .main-nav a { padding: 14px 14px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .has-sub > a::after { float: right; }
  .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    padding: 0 0 0 16px;
    display: none;
  }
  .has-sub.sub-open .sub-menu { display: block; }
  .main-nav .btn { margin-top: 16px; justify-content: center; }
}

@media (max-width: 980px) {
  h1 { font-size: 2.2rem; }
  .hero h1 { font-size: 2.4rem; }
  h2 { font-size: 1.75rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .step:not(:last-child)::before { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 34px; }
  section { padding: 76px 0; }
  .hero-home { padding: 72px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-grid .hero-inner { max-width: none; }
  .hero-art { max-width: 400px; margin: 6px auto 0; }
  .pack-grid { grid-template-columns: 1fr; gap: 34px; }
  .trust-row { gap: 12px 26px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero-home { padding: 64px 0 72px; }
  .hero h1 { font-size: 2rem; }
  section { padding: 60px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { padding: 36px 26px; }
  .form-card { padding: 28px 22px; }
  .hero-actions .btn, .main-nav .btn { width: 100%; justify-content: center; }
  .sticky-cta .sc-text { display: none; }
  .sticky-cta .sc-inner { justify-content: center; padding: 11px 16px; gap: 12px; }
  .pack-card { padding: 32px 24px 28px; }
  .trust-row { gap: 10px 20px; padding: 18px 20px; }
  .trust-item { font-size: .88rem; }
}

/* ---------- Logo dans le héros d'accueil ---------- */
.hero-logo { filter: drop-shadow(0 8px 22px rgba(21,36,61,.10)); }

/* ---------- Galerie « Nos réalisations » ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.realisation {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.realisation:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: transparent; }
.realisation .r-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.realisation .r-photo .vp-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.5px); background-size: 26px 26px; opacity: .5; }
.realisation .r-photo svg { width: 58px; height: 58px; opacity: .96; position: relative; z-index: 1; }
.realisation .r-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 13px; border-radius: var(--radius-pill);
}
.realisation .r-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.realisation h3 { font-size: 1.12rem; margin-bottom: 8px; }
.realisation .r-loc { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.realisation .r-loc svg { width: 14px; height: 14px; color: var(--green); }
.realisation p { font-size: .95rem; margin-bottom: 0; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Encarts compacts page d'accueil (4 tuiles au-dessus de la ligne de flottaison) ---------- */
.hero-tiles .card { padding: 22px 22px; }
.hero-tiles .card-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 14px; }
.hero-tiles .card-icon svg { width: 25px; height: 25px; }
.hero-tiles .card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.hero-tiles .card p { font-size: .92rem; margin-bottom: 8px; }
.hero-tiles .card-more { margin-top: 10px; font-size: .9rem; }
